/*--------------------------------------------------
  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, menu, 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, 
main, 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;
}
/* Set up base box sizing and remove outlines*/
*, *::before, *::after { box-sizing: inherit; }
:focus { outline: 2px solid #BF360C; outline-offset: 2px; }

html {
  scroll-behavior: smooth;
  font-size: 16px; /* For rem scaling */
  background: #FAFAF9;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #212121;
  background: #FAFAF9;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #BF360C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #995126;
  text-decoration: underline;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #212121;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1rem; margin-bottom: 8px; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
}

.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #494949;
  margin-bottom: 28px;
  font-size: 1.125rem;
  line-height: 1.7;
}

/*--------------------------------------------------
  CONTAINER & LAYOUT
---------------------------------------------------*/
.container {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Section and content wrappers */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  .section { padding: 32px 8px; margin-bottom: 36px; }
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* Features and Cards */
.feature-grid,
.card-container,
.testimonial-grid,
.blog-card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
  margin-bottom: 8px;
}
.card-container { gap: 24px; }

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

.card,
.feature-box {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(64,42,0,0.06);
  margin-bottom: 20px;
  padding: 26px 22px 24px 22px;
  min-width: 220px;
  flex: 1 1 260px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
  border: 1px solid #f0e9e0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover, .feature-box:hover {
  box-shadow: 0 6px 32px rgba(64,42,0,0.14);
  transform: translateY(-2px) scale(1.018);
}

/* Testimonial Card */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 24px 22px 24px;
  background: #FFF3E0;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(191,54,12,0.08);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 420px;
  flex: 1 1 280px;
  color: #212121;
  border: 1px solid #f9e9d3;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 22px rgba(191,54,12,0.23);
  transform: translateY(-2px) scale(1.017);
}
.testimonial-card p {
  font-size: 1.06rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #312D26;
  margin-bottom: 0;
}
.testimonial-card .rating {
  font-size: 1.2rem;
  color: #BF360C;
  margin-top: 0.5em;
}

/* Category tags - Rezepte */
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.category-tags span {
  background: #FFF3E0;
  color: #BF360C;
  font-family: 'Montserrat';
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid #F8E0C8;
  letter-spacing: 0.01em;
  user-select: none;
}

.quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
  margin-top: 6px;
}
.quicklinks a {
  background: #fff;
  color: #BF360C;
  font-weight: 500;
  border-radius: 16px;
  padding: 7px 18px;
  border: 1px solid #f9e9d3;
  transition: background 0.16s, color 0.16s, border 0.16s;
}
.quicklinks a:hover, .quicklinks a:focus {
  background: #FFF3E0;
  color: #993408;
  border: 1px solid #E08853;
}

/* List styles */
ul li, ol li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
  font-size: 1rem;
}
ul li::before {
  content: '\2022';
  color: #BF360C;
  position: absolute;
  left: 0;
  font-size: 1.12em;
  top: 0.14em;
  font-family: 'Montserrat', Arial, sans-serif;
}
.legal-text ul li::before {
  color: #8D572A;
}
ol li {
  padding-left: 0;
  margin-left: 16px;
  list-style-type: decimal;
  font-size: 1rem;
}
ol {
  margin-left: 24px;
}

/*--------------------------------------------------
  NAVIGATION
---------------------------------------------------*/
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(33,33,33,0.05);
  padding: 0;
  z-index: 60;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 16px;
  position: relative;
}
header img { height: 44px; display: block; }
nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
header nav a {
  color: #312D26;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.03rem;
  padding: 8px 0;
  position: relative;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
header nav a:hover, header nav a:focus {
  color: #BF360C;
}

/* CTA button */
.cta-primary {
  display: inline-block;
  background: #BF360C;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  border: none;
  border-radius: 24px;
  padding: 10px 32px;
  font-size: 1.1rem;
  font-weight: bold;
  transition: background 0.2s, transform 0.18s, box-shadow 0.2s, color 0.16s;
  box-shadow: 0 2px 8px rgba(191,54,12,0.10);
  margin-left: 18px;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.03em;
}
.cta-primary:hover, .cta-primary:active, .cta-primary:focus {
  background: #993408;
  color: #FFF3E0;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 4px 22px rgba(191,54,12,0.19);
  text-decoration: none;
}

/* HEADER RESPONSIVE */
.mobile-menu-toggle {
  display: none;
  background: #FFF3E0;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  padding: 6px 14px;
  margin-left: 12px;
  color: #BF360C;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(191,54,12,0.06);
  transition: background 0.18s, color 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFDBB6;
  color: #312D26;
}

@media (max-width: 980px) {
  header nav,
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/*-------------------------------
  MOBILE MENU OVERLAY
-------------------------------*/
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,33,33,0.94);
  z-index: 9999;
  transform: translateX(100vw);
  transition: transform 0.32s cubic-bezier(0.5,0,0.2,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 22px;
  background: #FFF3E0;
  color: #BF360C;
  border: none;
  border-radius: 50%;
  font-size: 2.2rem;
  padding: 6px 15px;
  cursor: pointer;
  z-index: 10011;
  box-shadow: 0 3px 8px rgba(33,33,33,0.12);
  transition: background 0.18s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFDBB6;
  color: #993408;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  margin-top: 88px;
  margin-left: 32px;
}
.mobile-nav a {
  color: #FFF3E0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFA58B;
  border-bottom: 2px solid #FFA58B;
}
@media (max-width: 480px) {
  .mobile-nav { margin-left: 22px; }
}


/*--------------------------------------------------
  FOOTER
---------------------------------------------------*/
footer {
  padding: 40px 0 22px 0;
  background: #FFF3E0;
  box-shadow: 0 -3px 24px rgba(191,54,12,0.05);
  font-size: 1rem;
  color: #312D26;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 12px;
}
footer nav a {
  color: #BF360C;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.89;
  transition: color 0.18s;
}
footer nav a:hover { color: #993408; }
.footer-contact {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: #484236;
}
.footer-contact a { color: #A54F18; }
footer span {
  font-size: 0.96rem;
  opacity: 0.7;
  margin-top: 14px;
  display: block;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 12px;
  }
  footer nav {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 5px;
  }
}

/*--------------------------------------------------
  SECTIONS: AWARDS, HERO, CTA
---------------------------------------------------*/
.awards {
  text-align: left;
  margin-top: 16px;
  color: #8D572A;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
}

.text-center {
  text-align: center;
  align-items: center;
}

/*--------------------------------------------------
  RESPONSIVE FLEX LAYOUT PATTERNS
---------------------------------------------------*/
@media (max-width: 900px) {
  .feature-grid, .card-container, .testimonial-grid, .blog-card-container {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 9px;
    max-width: 99vw;
  }
  .content-wrapper, .feature-grid, .testimonial-grid, .card-container, .blog-card-container {
    flex-direction: column;
    gap: 13px;
    align-items: stretch;
  }
  .card, .feature-box, .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: none;
  }
}

/*--------------------------------------------------
  UTILITY
---------------------------------------------------*/
.background-accent 
{ background: #FFF3E0; }

.legal-text {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FFF;
  padding: 28px 20px;
  border-radius: 15px;
  box-shadow: 0 1px 8px rgba(33,33,33,0.06);
  margin-top: 10px;
  color: #212121;
  line-height: 1.7;
}

strong { font-weight: 700; color: #BF360C; }

/*--------------------------------------------------
  BUTTONS / LINKS / MICRO-INTERACTIONS
---------------------------------------------------*/
button, .btn, input[type=submit] {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 22px;
  background: #BF360C;
  color: #fff;
  font-weight: bold;
  font-size: 1.05rem;
  padding: 8px 26px;
  cursor: pointer;
  transition: background 0.19s, color 0.15s, box-shadow 0.21s, transform 0.17s;
  box-shadow: 0 1px 7px rgba(191,54,12,0.11);
}
button:hover, .btn:hover, input[type=submit]:hover {
  background: #993408;
  color: #FFF3E0;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 5px 22px rgba(191,54,12,0.15);
}

button:active, .btn:active {
  background: #BF360C;
  color: #fff;
  box-shadow: 0 2px 7px rgba(191,54,12,0.13);
}

/*--------------------------------------------------
  FORMS (extra for kontakt, newsletter, etc.)
---------------------------------------------------*/
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 9px 13px;
  border: 1px solid #e1d2c1;
  border-radius: 7px;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
  background: #FFF;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #BF360C;
}

label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #212121;
}

/*--------------------------------------------------
  COOKIE CONSENT BANNER & MODAL
---------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #FFF3E0;
  color: #312D26;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 15000;
  padding: 22px 32px 22px 24px;
  box-shadow: 0 -3px 22px rgba(191,54,12,0.12);
  gap: 30px;
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(55px);
  transition: opacity 0.32s, transform 0.28s, visibility 0.26s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}
.cookie-banner-message {
  flex: 1 1 auto;
  margin-right: 18px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-btn {
  font-size: 1.01rem;
  padding: 8px 20px;
  border-radius: 16px;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: background 0.18s, color 0.15s;
  margin-left: 0;
  cursor: pointer;
}
.cookie-btn.accept {
  background: #BF360C;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #993408;
  color: #FFF3E0;
}
.cookie-btn.reject {
  background: #fff;
  color: #BF360C;
  border: 1px solid #E4B08B;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FFD6B3;
  color: #993408;
  border: 1px solid #E4B08B;
}
.cookie-btn.settings {
  background: #FFF3E0;
  color: #A98A72;
  border: 1px solid #FFE4C6;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFE4C6;
  color: #BF360C;
  border: 1px solid #BF360C;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 13px 11px 13px 13px;
    font-size: 0.98rem;
  }
  .cookie-banner-actions {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 16000;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,33,33,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #FFF;
  padding: 36px 28px 28px 28px;
  border-radius: 18px;
  box-shadow: 0 6px 38px rgba(33,33,33,0.21);
  width: 90vw;
  max-width: 420px;
  color: #212121;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
  animation: cookieModalFadeIn 0.38s cubic-bezier(.52,.18,.43,1.01);
}
@keyframes cookieModalFadeIn {
  from {transform: translateY(40px) scale(.98); opacity:0.2;}
  to {transform: translateY(0) scale(1); opacity: 1;}
}
.cookie-modal h2 {
  font-size: 1.34rem;
  color: #BF360C;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}
.cookie-modal label {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #312D26;
}
.cookie-modal input[type=checkbox] {
  accent-color: #BF360C;
  width: 20px;
  height: 20px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: #FFF3E0;
  color: #BF360C;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  padding: 4px 8px;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal-close:hover { background: #FFD6B3; }

/* Essential category always checked, disabled */
.cookie-category input[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/*--------------------------------------------------
  SCROLLBAR (match style)
---------------------------------------------------*/
::-webkit-scrollbar {
  height: 10px;
  width: 12px;
  background: #FFF3E0;
}
::-webkit-scrollbar-thumb {
  background: #E4B08B;
  border-radius: 8px;
}

/*--------------------------------------------------
  TRANSITIONS & FOCUS STATES FOR ACCESSIBILITY
---------------------------------------------------*/
.card, .feature-box, .testimonial-card, .cta-primary, .quicklinks a, .btn, button,
.cookie-btn, .cookie-modal, .feature-box img, .category-tags span, .card-content {
  transition: box-shadow 0.18s, background 0.2s, color 0.16s, transform 0.16s;
}

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

/*--------------------------------------------------
  PRINT (min. support)
---------------------------------------------------*/
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer {
    display: none !important;
  }
  body { background: #fff; }
}
