/* RESET AND 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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F5F0EB;
  color: #3C2A1E;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* VINTAGE_RETRO FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800;600&family=Roboto:wght@400;500;700&display=swap');

:root {
  --primary: #355C3A;
  --primary-dark: #2A482E;
  --secondary: #F5F0EB;
  --accent: #B44E20;
  --accent-dark: #8B3200;
  --vintage-yellow: #F4D06F;
  --vintage-blue: #678D58;
  --vintage-pale: #E1C699;
  --vintage-red: #CE5621;
  --white: #fff;
  --dark: #3C2A1E;
}

/* LAYOUT CONTAINERS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(52,34,19,0.08);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1.5px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 0 var(--vintage-yellow), 0 8px 14px rgba(52,34,19,0.09);
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--dark);
  font-size: 1rem;
  margin-bottom: 12px;
}
ul, ol {
  margin-left: 24px;
}
strong {
  font-weight: 700;
}
a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--primary-dark);
}

/* HEADER & MAIN NAVIGATION */
header {
  width: 100%;
  background-color: var(--vintage-yellow);
  box-shadow: 0 3px 20px 0 rgba(180,78,32,0.06);
  padding: 0;
  border-bottom: 5px solid var(--primary);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  height: 48px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin-left: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 0px;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: all 0.18s;
}
header nav a:hover, header nav a:focus {
  border-bottom: 2.5px dotted var(--accent-dark);
  color: var(--accent-dark);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 28px;
  border-radius: 28px;
  box-shadow: 0 4px 16px 0 rgba(180,78,32,0.10);
  border: none;
  cursor: pointer;
  margin-left: 36px;
  transition: background 0.17s, box-shadow 0.17s, transform 0.13s;
  text-shadow: 0 1px 4px rgba(52,34,19,0.13);
  letter-spacing: 1.4px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent-dark);
  transform: translateY(-1px) scale(1.06);
  box-shadow: 0 6px 24px 0 rgba(52,34,19,0.10);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 18px;
  z-index: 1100;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 50px;
  box-shadow: 0 4px 16px 0 rgba(53,92,58,0.13);
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--accent-dark);
}

/* MOBILE NAVIGATION */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: var(--vintage-yellow);
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.83,-0.01,.13,1.04);
  box-shadow: 6px 0 36px -8px rgba(52,34,19,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 22px 0 0;
  background: transparent;
  color: var(--accent-dark);
  border: none;
  font-size: 2.15rem;
  cursor: pointer;
  z-index: 1210;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  padding: 32px 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary);
  background: none;
  border-radius: 6px;
  padding: 10px 0px 10px 8px;
  margin-bottom: 0px;
  width: 100%;
  text-align: left;
  display: block;
  transition: background 0.17s, color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent-dark);
  background: var(--vintage-pale);
}

/* MAIN & RESPONSIVE SECTIONS */
main {
  margin-top: 0;
  padding-bottom: 40px;
  background: var(--secondary);
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FEATURES-GRID & FEATURE */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature {
  background: var(--vintage-pale);
  border-radius: 14px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  padding: 32px 26px 28px 26px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 2px 10px 0 rgba(180,78,32,0.08);
  border: 2.5px dashed var(--vintage-yellow);
  transition: box-shadow 0.16s, border 0.16s, transform 0.14s;
  position: relative;
  z-index: 1;
}
.feature:hover {
  box-shadow: 0 6px 32px 0 rgba(52,34,19,0.17);
  border-color: var(--primary);
  transform: translateY(-5px) scale(1.025);
}
.feature-icon {
  font-size: 2.2rem;
  color: var(--accent-dark);
  filter: drop-shadow(0 5px 13px var(--vintage-yellow));
  margin-bottom: 4px;
  text-shadow: 0 1px 0 var(--white), 0 0 16px var(--accent-dark);
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(53,92,58,0.11);
  position: relative;
  border: 1.5px solid var(--vintage-pale);
}
.testimonial-card p {
  color: var(--dark);
  font-size: 1.1rem;
  font-style: italic;
  flex: 1 1 auto;
}
.testimonial-card span {
  min-width: 120px;
  color: var(--accent-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
}

/* SEARCH BAR & FILTER BUTTONS (Rezepte) */
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 18px 0;
}
.search-bar input {
  flex: 1 1 auto;
  padding: 10px 14px;
  border-radius: 8px;
  border: 2px solid var(--vintage-pale);
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.search-bar button {
  background: var(--primary);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  cursor: pointer;
  margin-left: 0px;
  transition: background 0.13s;
}
.search-bar button:hover, .search-bar button:focus {
  background: var(--accent-dark);
}
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}
.category-filters button {
  background: var(--vintage-yellow);
  border: 1.7px solid var(--accent);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 16px;
  padding: 8px 20px;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.category-filters button:hover, .category-filters button:focus {
  background: var(--accent-dark);
  color: var(--white);
}

/* FAQ ACCORDION (kontakt) */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-accordion h3 {
  font-size: 1.15rem;
  color: var(--accent-dark);
  cursor: pointer;
  background: var(--vintage-yellow);
  border-radius: 6px;
  padding: 12px 18px;
  margin: 0;
  transition: background 0.13s;
}
.faq-accordion h3:hover {
  background: var(--vintage-pale);
}
.faq-answer {
  background: var(--secondary);
  border-left: 4px solid var(--accent);
  margin-left: 10px;
  padding: 12px 16px;
  border-radius: 6px;
  display: none;
}
.faq-accordion h3.active + .faq-answer {
  display: block;
}

/* CARD CONTAINER GENERIC */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 10px 0 rgba(53,92,58,0.09);
  background: var(--white);
  border-radius: 10px;
}

/* CONTENT GRID & TEXT/IMAGE */
.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;
}

/* ADDRESS & CONTACT */
.address-info, .business-hours, .contact-info {
  font-size: 1.07rem;
  margin-bottom: 10px;
}
.contact-info img, .footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 8px;
  vertical-align: text-bottom;
}

/* RESPONSIVE */
@media (max-width: 1023px) {
  .features-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .feature {
    max-width: 100%;
  }
}
@media (max-width: 890px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  header nav {
    margin-left: 0;
    margin-top: 8px;
  }
  .cta-btn {
    margin-left: 0;
    margin-top: 8px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 26px 10px;
  }
  .container {
    padding: 0 8px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature {
    padding: 22px 14px 18px 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 15px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header nav,
  .cta-btn {
    display: none;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.2rem;
  }
}

/* FOOTER */
footer {
  background: var(--vintage-blue);
  color: var(--white);
  padding: 44px 0 0 0;
  border-top: 7px double var(--vintage-yellow);
  box-shadow: 0 -4px 20px 0 rgba(52,34,19,0.05);
}
footer .container {
  display: flex;
  flex-direction: row;
  gap: 38px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 30px;
  flex-wrap: wrap;
}
footer img {
  height: 44px;
  margin-bottom: 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: var(--vintage-yellow);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-shadow: 0 1px 6px rgba(52,34,19,0.13);
  transition: color 0.18s;
}
footer nav a:hover {
  color: var(--vintage-pale);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.95rem;
  color: var(--secondary);
  margin-top: 8px;
}
@media (max-width: 850px) {
  footer .container {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  footer img {
    margin-bottom: 4px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--vintage-yellow);
  box-shadow: 0 -5px 22px 0 rgba(53,92,58,0.14);
  z-index: 1300;
  display: none;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 5vw 22px 5vw;
  font-size: 1rem;
  gap: 18px;
  border-top: 4px solid var(--primary);
  animation: cookieBannerFadeIn 0.5s;
}
@keyframes cookieBannerFadeIn {
  from { bottom: -140px; opacity: 0; }
  to { bottom: 0; opacity: 1; }
}

.cookie-banner-text {
  flex: 1 1 auto;
  color: var(--primary);
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.99rem;
  box-shadow: 0 2px 8px 0 rgba(180,78,32,0.10);
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.14s;
}
.cookie-btn.secondary {
  background: var(--primary);
}
.cookie-btn.settings {
  background: var(--vintage-blue);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--accent-dark);
  box-shadow: 0 4px 16px 0 rgba(52,34,19,0.13);
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(53,92,58,0.36);
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalAppear 0.3s;
}
@keyframes cookieModalAppear {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--white);
  border-radius: 14px;
  max-width: 410px;
  width: 90vw;
  box-shadow: 0 6px 48px 0 rgba(52,34,19,0.16);
  padding: 28px 24px 21px 24px;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1410;
  animation: modalSlideUp .4s;
}
@keyframes modalSlideUp {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.cookie-modal .cookie-modal-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cookie-switch input[type="checkbox"] {
  accent-color: var(--accent);
  width: 20px;
  height: 20px;
  cursor: pointer;
  border-radius: 6px;
  border: 1.6px solid var(--primary);
  margin: 0;
}
.cookie-switch label {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--primary);
  margin-left: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  color: var(--accent-dark);
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 1420;
  transition: color .17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--accent);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 16px 10px;
  }
  .cookie-modal {
    padding: 19px 6vw 16px 6vw;
    max-width: 98vw;
  }
}

/* VINTAGE PATTERNS FOR RETRO VIBE */
.section {
  position: relative;
  overflow: visible;
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  right: 26px;
  top: 18px;
  width: 82px;
  height: 44px;
  opacity: 0.08;
  background-image: repeating-linear-gradient(135deg, var(--vintage-yellow), var(--vintage-yellow) 5px, transparent 5px, transparent 12px);
  z-index: 0;
  pointer-events: none;
}

/* Micro interactions & focus states */
a, button, .cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
}
a:focus, .cta-btn:focus, button:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  box-shadow: 0 0 4px 2px var(--vintage-pale);
  border-radius: 3px;
}
.feature:focus-within {
  box-shadow: 0 0 0 3px var(--accent), 0 6px 32px 0 rgba(52,34,19,0.17);
}

::-webkit-input-placeholder { color: #93816B; opacity:1; }
:-ms-input-placeholder { color: #93816B; opacity:1; }
::placeholder { color: #93816B; opacity:1; }

/* Accessibility: high contrast for testimonials */
.testimonial-card,
.faq-answer {
  background: #fffbe5;
  color: #3C2A1E;
}

/* ADDITIONAL RETRO DETAILS (borders, drop-shadows) */
.feature, .faq-accordion h3, .category-filters button {
  border-style: dashed;
}

/* Spacing overrides and prevention of content overlap */
.section > .container, 
.section > div.container, 
.section .content-wrapper,
.section .features-grid {
  margin-bottom: 0;
  gap: 0px;
}

/* Ensure at least 20px margin between cards/sections */
.section + .section, 
.features-grid > .feature + .feature, 
.card-container > .card + .card, 
.testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* Custom scrollbars for vintage flair */
::-webkit-scrollbar {
  width: 13px;
  background: var(--secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--vintage-yellow);
  border-radius: 12px;
  border: 3px solid var(--secondary);
}

/* Utility classes */
.text-section {
  margin-bottom: 20px;
}

/* Hide visually but accessible */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* END VINTAGE RETRO CSS */
