/* ===== 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;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #3a2523;
  min-height: 100vh;
}
ol,ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  background: none;
}
img {
  border: 0;
  max-width: 100%;
  display: inline-block;
}
button,input,select,textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

/* ===== BRAND TYPOGRAPHY ===== */
@import url('https://fonts.googleapis.com/css?family=Merriweather:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #3a2523;
  font-size: 16px;
  background: #FFFFFF;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: #7C463F;
  line-height: 1.17;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}
p,li,blockquote,cite {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #3a2523;
}
blockquote {
  font-style: italic;
  color: #7C463F;
  background: #FAF6F1;
  border-left: 4px solid #D19560;
  padding: 22px 24px 22px 28px;
  border-radius: 0 18px 18px 0;
  margin-bottom: 10px;
}
cite {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: #AD661A;
  margin-left: 8px;
  margin-bottom: 2px;
}
strong {
  font-weight: 600;
  color: #7C463F;
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F4E1C5;
  border-radius: 22px;
  box-shadow: 0 2px 14px -4px rgba(124,70,63,0.055);
}

@media (max-width: 860px) {
  .section {
    padding: 32px 8px;
  }
}

@media (max-width: 580px) {
  .section {
    margin-bottom: 36px;
    padding: 24px 6px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  flex: 1 1 270px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px -2px rgba(124,70,63,0.14);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 22px;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid #F4E1C5;
}
.card:hover {
  box-shadow: 0 6px 22px -6px #AD661A88;
  transform: translateY(-4px) scale(1.01);
}

.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;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  border: 1.5px solid #F4E1C5;
  box-shadow: 0 2px 12px -2px #AD661A22;
  margin-bottom: 24px;
  min-width: 0;
  transition: box-shadow 0.22s, background 0.32s;
}
.testimonial-card:hover {
  background: #FAF7F4;
  box-shadow: 0 6px 22px -7px #D1956055;
}

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

/* ----------- NAVIGATION HEADER ----------- */
header {
  background: #fff;
  box-shadow: 0 2px 10px -6px #7C463F33;
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px 12px 20px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  color: #7C463F;
  padding: 7px 10px;
  border-radius: 10px;
  position: relative;
  transition: color 0.16s, background 0.24s;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4E1C5;
  color: #AD661A;
}
.main-nav .cta-button {
  padding: 7px 19px;
  background: #AD661A;
  color: #fff;
  border-radius: 16px;
  font-size: 1.06rem;
  font-weight: 700;
  margin-left: 8px;
  box-shadow: 0 2px 12px -6px #AD661A44;
  transition: background 0.16s, box-shadow 0.2s;
  border: none;
}
.main-nav .cta-button:hover, .main-nav .cta-button:focus {
  background: #D19560;
  color: #7C463F;
  box-shadow: 0 6px 20px -6px #AD661A99;
}

/* Hamburger Mobile Button */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #7C463F;
  cursor: pointer;
  border-radius: 12px;
  padding: 5px 11px;
  margin-left: 16px;
  transition: background 0.15s;
  z-index: 1003;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F4E1C5;
}

@media (max-width: 950px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ----------- MOBILE MENU OVERLAY ----------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(248,242,236,0.98);
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(0.85,0,0.2,1);
  z-index: 1200;
  overflow-y: auto;
  box-shadow: 0 4px 44px -10px #7C463F44;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 26px;
  right: 30px;
  background: #fff;
  color: #7C463F;
  border: 2px solid #F4E1C5;
  font-size: 2.1rem;
  border-radius: 50%;
  width: 41px;
  height: 41px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.18s, color 0.14s, border 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F4E1C5;
  color: #AD661A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 76px;
  margin-left: 38px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Merriweather', serif;
  color: #7C463F;
  padding: 12px 0;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 10px;
  width: 100%;
  transition: color 0.16s, background 0.21s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4E1C5;
  color: #AD661A;
}
.mobile-nav .cta-button {
  color: #fff;
  background: #AD661A;
  padding: 10px 26px;
  border-radius: 18px;
  font-size: 1.11rem;
  margin: 0 0 0 0;
  box-shadow: 0 2px 12px -6px #AD661A44;
}
.mobile-nav .cta-button:hover, .mobile-nav .cta-button:focus {
  background: #D19560;
  color: #7C463F;
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none;
  }
}

/* ========== FOOTER STYLING ========== */
footer {
  background: #F4E1C5;
  color: #7C463F;
  margin-top: 60px;
  font-size: 1rem;
  border-top: 2px solid #D19560;
  box-shadow: 0 -2px 13px -8px #AD661A22;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 34px 12px 19px 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 1rem;
  font-family: 'Merriweather', serif;
}
.footer-nav a {
  color: #7C463F;
  padding: 7px 8px;
  border-radius: 8px;
  transition: background 0.18s, color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #E7CCB2;
  color: #AD661A;
}
.social-links {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 10px;
}
.social-links a img {
  width: 30px;
  height: 30px;
  filter: grayscale(50%);
  transition: filter 0.18s, transform 0.18s;
}
.social-links a:hover img, .social-links a:focus img {
  filter: none;
  transform: scale(1.07);
}
footer p {
  font-size: 0.96rem;
  text-align: center;
  color: #7C463F;
}

/* ========== BUTTONS ========== */
.cta-button, .button, button, input[type=submit], .cookie-btn {
  display: inline-block;
  background: #AD661A;
  color: #fff;
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 20px;
  padding: 10px 32px;
  border: none;
  box-shadow: 0 2px 12px -6px #AD661A44;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.21s, color 0.13s;
  margin-top: 10px;
  letter-spacing: 0.008em;
}
.cta-button:hover, .cta-button:focus,
.button:hover, .button:focus,
.cookie-btn:hover, .cookie-btn:focus {
  background: #D19560;
  color: #7C463F;
  box-shadow: 0 6px 20px -6px #AD661A98;
}

/* Secondary & Outlined Button (e.g. for cookie "Einstellungen") */
.button-outline, .cookie-btn-outline {
  background: #fff;
  color: #AD661A;
  border: 2px solid #AD661A;
  border-radius: 20px;
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 9px 24px;
  margin-right: 12px;
  transition: background 0.14s, border 0.2s, color 0.12s;
}
.button-outline:hover, .button-outline:focus,
.cookie-btn-outline:hover, .cookie-btn-outline:focus {
  background: #AD661A;
  color: #fff;
  border-color: #AD661A;
}
.button-secondary, .cookie-btn-secondary {
  background: #F4E1C5;
  color: #7C463F;
  border: 2px solid #D19560;
  padding: 9px 24px;
  border-radius: 16px;
  margin-right: 10px;
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  font-weight: 700;
  transition: background 0.16s, color 0.13s;
}
.button-secondary:hover, .button-secondary:focus,
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus {
  background: #E7CCB2;
  color: #AD661A;
  border-color: #AD661A;
}

/* ============= FORMS ============= */
input, textarea, select {
  border: 1.5px solid #D19560;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 1rem;
  background: #FAF6F1;
  color: #7C463F;
  margin-bottom: 16px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #AD661A;
  outline: none;
}
label {
  display: block;
  font-family: 'Merriweather', serif;
  color: #7C463F;
  font-size: 1.09rem;
  font-weight: 600;
  margin-bottom: 6px;
}

/* ========== LISTS & ICONS ========== */
ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 10px;
}
ul li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 12px;
  color: #3a2523;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.0rem;
}
ul li img {
  width: 24px;
  height: 24px;
  margin-right: 7px;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 480px) {
  ul li {
    font-size: 0.96rem;
    padding-left: 8px;
    gap: 7px;
  }
  ul li img {
    width: 21px;
    height: 21px;
  }
}

/* ---- RECIPE PREVIEW GRID INSIDE PAGES ---- */
.recipe-preview {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 4px;
  margin-bottom: 14px;
}
.recipe-preview h3 {
  font-size: 1.16rem;
  color: #AD661A;
  margin-bottom: 4px;
  font-family: 'Merriweather', serif;
}
.recipe-preview p {
  font-size: 1rem;
  line-height: 1.62;
  color: #3a2523;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    padding: 0 2vw;
    text-align: left;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 11px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .logo img {
    height: 34px;
  }
  .container {
    padding-left: 7px; padding-right: 7px;
  }
}
/* ========== COOKIE CONSENT BANNER ========== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: #F4E1C5;
  color: #4C2D25;
  box-shadow: 0 -4px 32px -11px #7C463F33;
  border-top: 2px solid #AD661A44;
  z-index: 1500;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 24px 16px 19px 16px;
  font-size: 1.01rem;
  gap: 30px;
  transition: transform 0.29s;
}
#cookie-banner.hide {
  transform: translateY(120%);
}
#cookie-banner .banner-message {
  flex: 1 1 460px;
  font-size: 1rem;
  color: #4C2D25;
  padding-right: 20px;
}
#cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
@media (max-width: 640px) {
  #cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 16px 8px 13px 8px;
  }
  #cookie-banner .banner-message {
    padding-right: 0;
  }
}

/* Cookie Consent Buttons */
.cookie-btn { }
.cookie-btn-outline {
  background: #fff;
  color: #AD661A;
  border: 2px solid #AD661A;
}

.cookie-btn-settings {
  background: #7C463F;
  color: #fff;
  border-radius: 14px;
  border: none;
  padding: 7px 22px;
  margin-left: 8px;
  font-family: 'Merriweather', serif;
  font-size: 1.02rem;
  font-weight: 600;
  transition: background 0.13s, color 0.13s;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #AD661A;
}

/* =========== COOKIE CONSENT MODAL =========== */
#cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1600;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(60,34,24,0.32);
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
#cookie-modal-overlay.open {
  display: flex;
}
#cookie-modal {
  background: #fff;
  border-radius: 22px;
  max-width: 430px;
  width: 95vw;
  box-shadow: 0 12px 44px -15px #7C463F40;
  padding: 32px 24px 26px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalAppear 0.33s cubic-bezier(0.62, 0, 0.18, 1);
}
@keyframes modalAppear {
  from { transform: scale(0.82) translateY(40px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
#cookie-modal h2 {
  font-size: 1.28rem;
  color: #AD661A;
  margin-bottom: 3px;
}
#cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-bottom: 11px;
}
#cookie-modal .category-label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #7C463F;
  flex: 1 1 180px;
}
#cookie-modal .category-toggle {
  display: flex;
  align-items: center;
}
.category-toggle input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: #AD661A;
  border-radius: 5px;
}
.category-toggle .cookie-required {
  font-size: 0.98rem;
  color: #BDA07B;
  font-style: italic;
  margin-left: 6px;
}
#cookie-modal .cookie-controls {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 12px;
  justify-content: flex-end;
}
#cookie-modal .cookie-btn, #cookie-modal .cookie-btn-outline {
  margin: 0;
  font-size: 1.04rem !important;
  padding: 8px 24px !important;
}
#cookie-modal .cookie-close-btn {
  position: absolute;
  top: 21px;
  right: 20px;
  background: none;
  color: #7C463F;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  transition: background 0.17s, color 0.13s;
}
#cookie-modal .cookie-close-btn:hover, #cookie-modal .cookie-close-btn:focus {
  background: #F4E1C5;
  color: #AD661A;
}

/* =========== UTILITIES & MISC =========== */
.bg-primary { background: #7C463F !important; color:#fff !important; }
.bg-secondary { background: #F4E1C5 !important; color:#7C463F !important; }
.bg-accent { background: #AD661A !important; color: #fff !important; }
.text-primary { color: #7C463F !important; }
.text-accent { color: #AD661A !important; }
.text-secondary { color: #D19560 !important; }

/* Icon in contact/address section */
.text-section img {
  display: inline-block;
  vertical-align: middle;
  width: 23px;
  height: 23px;
  margin-right: 7px;
  margin-bottom: 4px;
}

/* Add breathing room to all cards/sections */
main section {
  margin-bottom: 48px;
  width: 100%;
}
@media (max-width: 600px) {
  main section {
    margin-bottom: 28px;
  }
}

/* Page-specific
------------------------------- */
.content-wrapper a.cta-button {
  margin-top: 10px;
  margin-bottom: 4px;
}

/* Newsletter confirmation / thank you page */
.text-section a.cta-button {
  margin-top: 6px;
}

/* Add white background to main on legal pages (to contrast with footer) */
main section .text-section {
  background: none;
  box-shadow: none;
}

/* Legal pages paragraphs spacing */
.text-section p + h2 {
  margin-top: 16px;
}

/* Hide mobile menu accessible only on mobile */
@media (max-width: 768px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none;
  }
}

/* ===== ELEGANT CLASSIC CARD EFFECTS ===== */
.card, .testimonial-card {
  box-shadow: 0 2px 16px -3px #AF836533;
  border-radius: 18px;
  border: 1.5px solid #F4E1C5;
}

.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 34px -10px #7C463F44;
  transition: box-shadow 0.25s, background 0.25s;
}

/********* Subtle classic line accent (optional) *********/
hr {
  border: none;
  border-top: 1.5px solid #D19560;
  margin: 35px 0;
}

/* ========== ANIMATIONS ========== */
.cta-button, .button, .cookie-btn, .button-outline, .button-secondary, .cookie-btn-outline {
  transition-property: background, color, box-shadow, border;
  transition-duration: 0.18s, 0.13s, 0.23s, 0.22s;
  transition-timing-function: ease;
}

a, button, .cta-button {
  outline: none;
}
a:focus-visible, button:focus-visible, .cta-button:focus-visible {
  box-shadow: 0 0 0 3px #AD661A44;
  outline: 2px solid #AD661A;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 11px;
  background: #FAF6F1;
  border-radius: 13px;
}
::-webkit-scrollbar-thumb {
  background: #E7CCB2;
  border-radius: 13px;
}
::-webkit-scrollbar-thumb:hover {
  background: #D19560;
}

/* =========== ACCESSIBILITY ========= */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
