/* ----------------------------------------------------------
   Arcane Keeps Ernährung – Professional Corporate CSS Styles
-------------------------------------------------------------
   Mobile-first, responsive, modern, accessible, flexbox layout only
   Brand colors: #205329 (primary), #FFFFFF (secondary), #B87A11 (accent)
   Font display: Montserrat, Font body: Open Sans
--------------------------------------------------------------
*/

/* CSS RESET & NORMALIZE (simplified) */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
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: inherit; vertical-align: baseline;
}
html, body { height: 100%; line-height: 1.52; background: #F7F8F6; color: #23343B; }
body { font-family: 'Open Sans', Arial, sans-serif; font-size: 16px; font-weight: 400; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img, picture, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font-family: inherit; font-size: inherit; line-height: inherit; }
button { cursor: pointer; border: none; background: none; }
:focus { outline: 2px solid #B87A11; outline-offset: 2px; }

/* -----------------------------
   Typography Scale & Spacing
------------------------------- */
h1 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 2.2rem; font-weight: 700; color: #205329; margin-bottom: 24px; line-height: 1.18; }
h2 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 1.7rem; font-weight: 600; color: #205329; margin-bottom: 18px; line-height: 1.22; }
h3 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 1.2rem; font-weight: 600; color: #23343B; margin-bottom: 12px; }
h4, h5, h6 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-weight: 500; color: #23343B; }
p, ul, ol, li, span { font-size: 1rem; color: #23343B; }
p { margin-bottom: 16px; }
strong { font-weight: 700; color: #205329; }

/* Links */
a { color: #205329; transition: color 0.18s; }
a:hover, a:focus { color: #B87A11; }

/* -----------------------------
   Layout Containers
------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(32,83,41,0.06), 0 1.5px 4px rgba(35,52,59,0.09);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/*------------------------
   Header & Navigation
--------------------------*/
header {
  width: 100%;
  background: #205329;
  color: #FFF;
  box-shadow: 0 2px 12px rgba(35,52,59,0.06);
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  display: flex; align-items: center;
}
.logo img { height: 44px; }
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  color: #F7F8F6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 8px;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E5F6EA;
  color: #205329;
}
.cta-btn {
  margin-left: 24px;
  background: #B87A11;
  color: #FFFFFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 11px 24px;
  border-radius: 28px;
  box-shadow: 0 2px 12px rgba(184,122,17,0.14);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #205329;
  color: #FFF;
  box-shadow: 0 4px 20px rgba(35,52,59,0.13);
}

/* MOBILE HEADER NAVIGATION */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2.1rem;
  padding: 5px 6px;
  border-radius: 6px;
  z-index: 1202;
  margin-left: 14px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E39F29;
  color: #205329;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #205329;
  color: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.36s cubic-bezier(.77,0,.18,1), opacity 0.26s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 16px 26px 10px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E39F29;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 40px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  padding: 10px 6px;
  border-radius: 4px;
  transition: color 0.14s, background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B87A11;
  color: #205329;
}

/* Show/Hide nav (desktop vs mobile) */
.main-nav, .cta-btn { display: none; }
@media (min-width: 1024px) {
  .main-nav, .cta-btn { display: flex; }
  .mobile-menu-toggle { display: none; }
}

/* ---------------
   Responsive
----------------- */
@media (min-width: 1024px) {
  .header .container { flex-direction: row; }
}
@media (min-width: 768px) {
  .container { padding-left: 36px; padding-right: 36px; }
  .section { padding: 64px 36px; }
}

/* ------------------
   HERO & CONTENT
-------------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.text-section h2 { margin-top: 0; }
.text-section span { color: #205329; font-weight: 500; font-family: 'Montserrat', Arial, sans-serif; font-size: 1.07rem; }

/* Professional Features/Icons Section*/
.features-grid, .principle-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-top: 8px;
}
.features-grid > div, .principle-list > div {
  flex: 1 1 230px;
  min-width: 200px;
  background: #F7F8F6;
  padding: 24px 18px;
  border-radius: 13px;
  box-shadow: 0 2px 6px rgba(35,52,59,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.features-grid img, .principle-list img {
  width: 36px; height: 36px;
  margin-bottom: 6px;
  opacity: 0.95;
}
.features-grid h3, .principle-list h3 { margin-bottom: 7px; margin-top: 5px; }

/* Steps, Services */
.services-list, .step-list, .benefit-list, .features-list, .faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  margin-top: 10px;
}
.services-list li, .step-list li, .benefit-list li, .features-list li, .faq-list div {
  background: #F7F8F6;
  border-radius: 8px;
  padding: 13px 16px;
  box-shadow: 0 2px 8px rgba(32,83,41,0.05);
  margin-bottom: 12px;
}
.features-list img { width: 26px; height: 26px; vertical-align: middle; margin-right: 7px; }

.faq-list div { display: flex; flex-direction: column; gap: 7px; }

/* cards container */
.card-container {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(35,52,59,0.075);
}
.card-content {
  display: flex; flex-direction: column; justify-content: center; padding: 24px;
}

.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F7F8F6;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(35,52,59,0.12);
  border-left: 5px solid #205329;
}
.testimonial-card p {
  font-size: 1.06rem;
  color: #23343B;
  font-style: italic;
  margin-bottom: 7px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #205329;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Recipe page categories & filters */
.categories-list {
  margin-bottom: 14px;
  display: flex; flex-direction: row; gap: 24px; flex-wrap: wrap;
}
.categories-list ul { display: flex; flex-direction: row; gap: 16px; flex-wrap: wrap; }
.categories-list li {
  background: #E5F6EA; color: #205329; font-weight: 700; padding: 4px 14px; border-radius: 10px; font-family: 'Montserrat', Arial, sans-serif; margin-bottom: 8px;
}
.filters-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 10px;
}
.filters-bar label { font-size: 1rem; color: #205329; }
.filters-bar input[type="text"] {
  padding: 8px 12px;
  border-radius: 7px;
  border: 1px solid #C4CDCA;
  background: #FFFFFF;
  font-size: 1rem;
  transition: border 0.17s;
  margin-right: 8px;
}
.filters-bar input[type="text"]:focus {
  border: 1.5px solid #B87A11;
}
.diet-filter-tags {
  display: flex; gap: 8px;
}
.diet-filter-tags span {
  background: #205329; color: #FFF; border-radius: 15px; font-size: 0.93rem;
  padding: 5px 11px; font-family: 'Montserrat', Arial, sans-serif; font-weight: 500;
  letter-spacing: 0.01em;
}

/* ---------------------
   Footer
-----------------------*/
footer {
  background: #23343B;
  color: #EFEFEF;
  padding: 42px 0 26px 0;
  width: 100%;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo img {
  height: 44px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 8px;
}
.footer-nav a {
  color: #E5F6EA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #B87A11;
}
.footer-contact {
  max-width: 300px;
  font-size: 0.96rem;
  margin-top: 7px;
}
.footer-contact a { color: #B87A11; }
.footer-contact a:hover { text-decoration: underline; }

@media (max-width: 1023px) {
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}

/* -----------------------------------
   Responsive Typography & Layout
--------------------------------------*/
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  .section { padding: 30px 10px; margin-bottom: 38px; }
  .container { padding-left: 9px; padding-right: 9px; }
  .footer-logo img, .logo img { height: 36px; }
  .main-nav, .cta-btn { display: none !important; }
  .categories-list, .features-grid, .principle-list, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section { flex-direction: column; gap: 16px; }
  .testimonials-card, .card {
    margin-bottom: 14px;
  }
  .content-wrapper { gap: 12px; }
}

/* ------------------------------------------
   Buttons & UI Elements (with micro-interactions)
--------------------------------------------*/
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
}
button:active, .cta-btn:active, .mobile-menu-toggle:active, .mobile-menu-close:active {
  transform: scale(0.97);
}
input[type='text']:focus {
  border-color: #B87A11;
}

/* -----------------------------------------
   Cookie Consent Banner & Modal Styles
-------------------------------------------*/
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 2002;
  background: #23343B;
  color: #FFF;
  width: 100vw;
  padding: 22px 16px;
  box-shadow: 0 -2px 14px rgba(32,83,41,0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  animation: bannerSlideIn .68s cubic-bezier(.78,-0.01,.19,1.02);
}
@keyframes bannerSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.cookie-consent-banner span, .footer-contact p {
  color: white;
}

.cookie-consent-buttons {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 22px;
  border: none;
  border-radius: 19px;
  margin-right: 2px;
  font-weight: 500;
  transition: background 0.13s, color 0.14s;
  box-shadow: 0 1px 5px rgba(184,122,17,0.10);
}
.cookie-btn.accept {
  background: #205329; color: #FFF;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #B87A11;
  color: #FFFFFF;
}
.cookie-btn.reject {
  background: #B87A11; color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #2C6E3C; color: #fff;
}
.cookie-btn.settings {
  background: #F7F8F6; color: #205329;
  border: 1.4px solid #205329;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #205329;
  color: #FFF;
}
.cookie-consent-banner a { color: #B87A11; text-decoration: underline; }

/* Modal overlay & window for Cookie Preferences */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,52,59,0.62);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.cookie-modal {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(32,83,41,0.13);
  max-width: 370px;
  width: 94vw;
  padding: 34px 23px 26px 23px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  animation: cookieModalIn .43s cubic-bezier(.73,-0.1,.19,1.07);
  position: relative;
}
@keyframes cookieModalIn {
  from { transform: translateY(50px) scale(0.93); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.24rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #205329; margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 9px;
}
.cookie-category label {
  font-size: 1rem;
  color: #23343B;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-category input[type="checkbox"] {
  accent-color: #205329;
  width: 22px; height: 22px;
}
.cookie-category[data-essential] input[type="checkbox"] {
  accent-color: #B87A11;
}
.cookie-category[data-essential] label {
  color: #B87A11;
  font-weight: bold;
}
.cookie-modal-buttons {
  display: flex;
  gap: 14px;
}
.cookie-modal-close {
  position: absolute; top: 10px; right: 18px; background: none; border: none; color: #205329; font-size: 1.44rem; cursor: pointer; transition: color 0.2s;
}
.cookie-modal-close:hover { color: #B87A11; }

/*-----------------------------
 Accessibility: focus styles
-------------------------------*/
a:focus, button:focus, input:focus { outline: 2px solid #B87A11; outline-offset: 2px; }

/*----------------------
  Misc Utility classes
------------------------*/
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.d-flex { display: flex; }
.gap-20 { gap: 20px; }
.rounded { border-radius: 16px; }
.shadow {
  box-shadow: 0 4px 18px rgba(32,83,41,0.12);
}

/* --------------------------------------
 SCROLLBAR Styling for polished feel
-----------------------------------------*/
::-webkit-scrollbar { width: 10px; background: #F7F8F6; }
::-webkit-scrollbar-thumb { background: #C4CDCA; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #205329; }

/* ---------------------------------------
 Special: Disabled/Muted/etc
------------------------------------------*/
.muted, .disabled {
  color: #8C9791 !important;
  opacity: 0.76;
  pointer-events: none;
}
section {
  padding: 20px 0;
}

/* End Arcane Keeps Ernährung – Professional Corporate CSS */
