/* CSS Reset & Base 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;
}

body {
  line-height: 1;
  min-height: 100vh;
  background: #F7F3EC;
  color: #3C3B36;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ol, ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

*:focus {
  outline: 2px solid #C9A045;
  outline-offset: 2px;
}

/* Container & Sections */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 16px 0 rgba(60, 59, 54, 0.06);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  color: #3C3B36;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 8px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 8px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 6px;
}

p, li, .text-section {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #3C3B36;
  line-height: 1.7;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

ul, ol {
  margin-left: 22px;
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 4px;
}

strong, b {
  color: #3C3B36;
  font-weight: 600;
}

/* Header & Logo */
header {
  width: 100%;
  position: sticky;
  top: 0;
  background: linear-gradient(90deg, #F7F3EC 0%, #f3ecd3 100%);
  z-index: 100;
  box-shadow: 0 1px 8px 0 rgba(60, 59, 54, 0.05);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}
.logo img {
  height: 48px;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: #3C3B36;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F7F3EC;
  color: #C9A045;
}

.cta-button {
  background: linear-gradient(90deg, #C9A045 0%, #EED077 100%);
  color: #3C3B36;
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  padding: 11px 28px;
  border-radius: 24px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(201, 160, 69, 0.12);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-left: 14px;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #bb8c11 0%, #C9A045 100%);
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #C9A045;
  cursor: pointer;
  margin-left: 10px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(60,59,54,0.96);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.60,.02,.32,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 26px 0 0 26px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-start;
  cursor: pointer;
  z-index: 1201;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 60px;
  gap: 18px;
  padding: 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(201,160,69,0.15);
  color: #C9A045;
}

/* Hide desktop nav / show burger on mobile */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-button {
    margin-left: 0;
  }
}

/* Main Content & Hero Section */
main {
  width: 100%;
  min-height: 60vh;
  padding-top: 0;
}
.hero-section {
  padding: 0;
  margin-bottom: 56px;
  background: linear-gradient(90deg, #F7F3EC 0%, #E3D3BC 100%);
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
  box-shadow: 0 8px 24px 0 rgba(201, 160, 69, 0.07);
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 330px;
  justify-content: center;
}
.hero-section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}
.hero-section p {
  font-size: 1.18rem;
  color: #47453F;
}

/* Feature Grid */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  gap: 15px;
  padding: 28px 18px 22px 18px;
  border-radius: 20px;
  box-shadow: 0 4px 20px 0 rgba(60,59,54,0.06);
  min-width: 220px;
  flex: 1 1 220px;
  max-width: 290px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, background 0.25s;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
}
.feature-item h3 {
  margin-bottom: 4px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 28px 0 rgba(201, 160, 69, 0.10);
  background: #FFF8ED;
}

/* Service Cards */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.service-card {
  background: #FFF8ED;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(60,59,54,0.045);
  padding: 22px 20px 20px 24px;
  flex: 1 1 250px;
  min-width: 240px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, background 0.25s;
}
.service-card h3 {
  color: #C9A045;
  font-size: 1.13rem;
}
.service-card a {
  color: #3C3B36;
  font-weight: 600;
  background: none;
  border: none;
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  transition: color 0.15s;
  margin-top: 12px;
}
.service-card a:hover,
.service-card a:focus {
  color: #C9A045;
  text-decoration: underline;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 8px 20px 0 rgba(201, 160, 69, 0.09);
  background: #FFEEC5;
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(60,59,54,0.06);
  width: 100%;
  max-width: 560px;
}
.testimonial-card p {
  color: #2A2926;
  font-size: 1.1rem;
  margin-bottom: 7px;
}
.testimonial-meta {
  color: #C9A045;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
}

/* FAQ Blocks */
.faq-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.faq-item {
  background: #FFF8ED;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px 0 rgba(60,59,54,0.05);
  flex: 1 1 200px;
  min-width: 200px;
  max-width: 380px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, background 0.2s;
}
.faq-item h3 {
  color: #C9A045;
  font-size: 1.07rem;
}
.faq-item:hover, .faq-item:focus-within {
  background: #FFF6DC;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(90deg, #EED077 0%, #F7F3EC 100%);
  border-radius: 28px;
  box-shadow: 0 4px 18px 0 rgba(201, 160, 69, 0.10);
  margin-bottom: 60px;
  padding: 60px 20px;
}
.cta-section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.cta-section h2 {
  font-size: 2.1rem;
}

/* Footer */
footer {
  background: linear-gradient(90deg, #F7F3EC 70%, #E3D3BC 100%);
  margin-top: 56px;
  padding: 44px 0 26px 0;
  color: #3C3B36;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo {
  flex: 0 0 62px;
  margin-bottom: 10px;
}
.footer-logo img {
  width: 62px;
  height: 62px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 190px;
}
.footer-nav a {
  color: #3C3B36;
  font-size: 0.98rem;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #C9A045;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97rem;
  color: #3C3B36;
  max-width: 310px;
  line-height: 1.5;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 6px;
}

/* Cards */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 18px 22px 18px 22px;
  border-radius: 17px;
  background: #FFF8ED;
  box-shadow: 0 3px 16px 0 rgba(201, 160, 69, 0.07);
  transition: box-shadow 0.17s;
}
.card-content:hover, .card-content:focus-within {
  box-shadow: 0 10px 26px 0 rgba(201, 160, 69, 0.14);
}

/* Spacing and Alignment Patterns */
.section {margin-bottom: 60px; padding: 40px 20px;}
.card-container {display: flex; flex-wrap: wrap; gap: 24px;}
.card {margin-bottom: 20px; position: relative;}
.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; align-items: center; gap: 20px; padding: 20px;}
.feature-item {display: flex; flex-direction: column; align-items: flex-start; gap: 15px;}

/* Info Row (Kontakt) */
.info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFF8ED;
  border-radius: 14px;
  padding: 9px 14px;
  color: #3C3B36;
  font-size: 0.98rem;
  margin-top: 12px;
}
.info-row img {
  width: 18px;
  height: 18px;
}

/* Shortcuts Overview (Tipps & Tricks) */
.shortcuts-overview {
  background: #FFEEC5;
  padding: 14px 18px 14px 18px;
  border-radius: 13px;
  margin-top: 14px;
  margin-bottom: 14px;
}
.shortcuts-overview h3 {
  color: #C9A045; margin-bottom:6px;
}

/* Support Options */
.support-options {
  margin-top: 18px;
  background: #FFF8ED;
  padding: 12px 16px;
  border-radius: 13px;
  color: #3C3B36;
  font-size: 0.98rem;
}
.support-options a {
  color: #C9A045;
  text-decoration: underline;
}

/* Input (Rezepte Suche) */
input[type='search'] {
  padding: 12px 16px;
  border-radius: 16px;
  border: 1.5px solid #E1D3B0;
  background: #fff;
  font-size: 1.06rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-top: 14px;
  margin-bottom: 8px;
  transition: border-color 0.22s;
  width: 100%;
  max-width: 380px;
}
input[type='search']:focus {
  border-color: #C9A045;
}

/* Visual Elements: Buttons & Links */
button, 
a.button, input[type='button'], input[type='submit'] {
  cursor: pointer;
  font-family: 'Roboto Slab', serif;
  transition: background 0.22s, color 0.15s, box-shadow 0.17s;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #3C3B36;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5000;
  padding: 26px 20px 18px 20px;
  box-shadow: 0 -4px 24px 0 rgba(60,59,54,0.12);
  animation: fadeinbottom 0.4s cubic-bezier(.60,.02,.32,1);
}
@keyframes fadeinbottom {
  0% {transform: translateY(100%);} 100% {transform: translateY(0);}
}
.cookie-banner-text {
  max-width: 820px;
  font-size: 1rem;
  margin-bottom: 16px;
  color: #fff;
  text-align: center;
}
.cookie-banner-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #C9A045;
  color: #3C3B36;
  border-radius: 18px;
  border: none;
  padding: 10px 28px;
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  margin-bottom: 0;
  transition: background 0.20s, color 0.20s;
  font-weight: 600;
}
.cookie-btn.secondary {
  background: #fff;
  color: #3C3B36;
  border: 1px solid #C9A045;
}
.cookie-btn.settings {
  background: #EED077;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #3C3B36;
  color: #fff;
  border: 1px solid #C9A045;
}
/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 6000;
  top: 0; left: 0; width: 100vw; height:100vh;
  background: rgba(60,59,54,0.84);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeinmodal 0.3s;
}
@keyframes fadeinmodal {
  0% { opacity:0; } 100% { opacity:1;}
}
.cookie-modal {
  background: #fff;
  color: #3C3B36;
  border-radius: 18px;
  max-width: 410px;
  width: 90vw;
  padding: 32px 24px 22px 24px;
  box-shadow: 0 5px 32px 0 rgba(201,160,69,0.21);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalpop 0.18s cubic-bezier(.60,.02,.32,1);
}
@keyframes modalpop {
  0% { transform: scale(0.92); opacity:0.6;} 100%{ transform: scale(1); opacity:1;}
}
.cookie-modal h2 {
  color: #C9A045;
  font-size: 1.23rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FFF8ED;
  padding: 13px 16px;
  border-radius: 14px;
  color: #3C3B36;
  font-size: 1rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: #C9A045;
  width: 18px;
  height: 18px;
  margin-right: 4px;
}
.cookie-category .required-label {
  color: #C9A045;
  font-size: 0.98rem;
  margin-left: 6px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 18px;
  background: none;
  border: none;
  color: #3C3B36;
  font-size: 1.44rem;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1100px) {
  .feature-grid, .service-cards, .faq-blocks {
    flex-wrap: wrap;
    gap: 20px;
  }
  .feature-item, .service-card, .faq-item {min-width:170px;}
}
@media (max-width: 900px) {
  .container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .feature-item, .service-card, .faq-item {
    min-width: 150px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    height: 66px;
    gap: 10px;
  }
  .section {
    margin-bottom: 36px;
    padding: 28px 5px;
  }
  .content-wrapper {
    gap: 15px;
  }
  .hero-section .container {
    min-height: 200px;
  }
  .cta-section {
    padding: 38px 6px;
  }
  .feature-grid,
  .service-cards,
  .faq-blocks {
    gap: 14px;
  }
  .feature-item,
  .service-card,
  .faq-item {
    min-width: 88vw;
    max-width: 98vw;
    width: 100%;
    align-items: flex-start;
  }
  .testimonial-card {
    max-width: 99vw;
  }
  .card-container, .content-grid {
    gap: 12px;
  }
  .footer-nav {
    min-width: 99px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .logo img {
    height: 38px;
  }
  .footer-logo img {
    width: 42px; height: 42px;
  }
  .cta-section h2 {
    font-size: 1.24rem;
  }
  .cookie-banner {
    padding: 20px 5px 10px 5px;
  }
  .cookie-banner-text {
    font-size: 0.97rem;
  }
}

/* Transitions & Microinteractions */
a, button, .cta-button, .service-card, .feature-item, .faq-item {
  transition: background 0.18s, color 0.17s, box-shadow 0.18s;
}

/* Visual Hierarchy (last to ensure specificity) */
h1 {color: #3C3B36; font-size:2.38rem;}
h2 {color: #C9A045; font-size:2rem;}
h3 {color: #3C3B36;}
section {
  margin-bottom:40px;
}
@media (max-width:400px){
  .cookie-modal{padding:10px 6px 11px 8px; max-width:99vw;}
}

/* Accessibility - Better contrast for testimonials */
.testimonial-card {
  background: #fff;
  color: #222;
  box-shadow: 0 4px 18px 0 rgba(60,59,54,0.10);
}
.testimonial-card .testimonial-meta {
  color: #C9A045;
}

/* Hide scroll on mobile menu open */
body.mobile-menu-open {
  overflow: hidden;
}

/* End of CSS */
