/* ================================
   Heimatküche Express TECH_FUTURISTIC STYLE
   Modern responsive flexbox CSS ONLY
   Brand Colors: #264019 (primary), #FFFFFF (secondary), #A02612 (accent)
   Fonts: Montserrat (display), Open Sans (body)
   ================================ */

/* ==== 1. CSS RESET & BASE ==== */
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,
main, 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 {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #192918 0%, #27461e 100%);
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  background-attachment: fixed;
}
img, svg { max-width: 100%; display: block; }

/* ==== 2. FONT FACE ==== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 24px rgba(160,38,18,0.18), 0 1px 0 #264019;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.5rem; line-height: 1.3; }
h4, h5, h6 { font-size: 1.1rem; }
p, ul, ol, li, label {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #eee;
  font-size: 1.125rem;
}
strong { font-weight: bold; color: #A02612; }

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
@media (max-width: 900px) {
  .section { margin-bottom: 40px; padding: 24px 8px; }
}

/* ==== 3. LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #203017;
  border-radius: 16px;
  box-shadow: 0 2px 32px 0 rgba(41,68,32,0.14);
  border: 1.5px solid #2d4320;
  margin-bottom: 20px;
  padding: 28px 28px 22px 28px;
  position: relative;
  min-width: 240px;
  max-width: 380px;
  transition: box-shadow 0.22s cubic-bezier(.4,0,.2,1),box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 4px 32px 0 #A02612, 0 2px 16px 0 rgba(160, 38, 18, 0.15);
  border-color: #A02612;
}
.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: stretch;
    gap: 20px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  margin-bottom: 20px;
  background: #F8F5F0;
  color: #192918;
  border-radius: 20px;
  box-shadow: 0 2px 24px 0 rgba(41,68,32,0.19);
  border: 1px solid #e9e8e6;
}
.testimonial-card p, .testimonial-card span, .testimonial-card strong {
  color: #264019;
}
.testimonial-card strong {
  color: #A02612;
}

/* ==== 4. NAVIGATION & HEADER ==== */
header {
  width: 100%;
  background: #192918;
  padding: 0 0 0 0;
  box-shadow: 0 4px 22px 0 rgba(35,65,25,0.07);
  position: relative;
  z-index: 200;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  height: 76px;
}
nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  list-style: none;
}
nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.22s cubic-bezier(.5,0,.2,1);
  position: relative;
}
nav ul li a:hover, nav ul li a:focus {
  background: #203017;
  color: #A02612;
  box-shadow: 0 2px 20px 0 #A02612;
}
.logo img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 0 8px #19341c77);
}
.cta-button {
  background: #A02612;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.105rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 13px 28px;
  box-shadow: 0 4px 18px 0 #A0261275, 0 1px 0 #fff7 inset;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background 0.22s, box-shadow 0.21s;
  margin-left: 10px;
  display: inline-block;
  position: relative;
}
.cta-button:hover, .cta-button:focus {
  background: #ff2400;
  box-shadow: 0 2px 14px 0 #A02612, 0 1px 0 #fff0 inset;
  color: #fff;
  outline: none;
}

/* ==== 5. MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #fff;
  margin-left: 15px;
  z-index: 303;
  cursor: pointer;
  transition: color 0.22s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #A02612;
  outline: none;
}
.mobile-menu {
  display: none;
}
@media (max-width: 970px) {
  nav ul { display: none; }
  nav .cta-button { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 970px) {
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(25,41,24,0.98);
    z-index: 401;
    transform: translateX(-100vw);
    transition: transform 0.38s cubic-bezier(.7,0,.3,1);
    box-shadow: 0 4px 60px 0 #26401977;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    align-self: flex-end;
    margin: 16px 28px 18px 0;
    background: transparent;
    color: #fff;
    font-size: 2.2rem;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 450;
  }
  .mobile-menu-close:hover, .mobile-menu-close:focus {
    color: #A02612;
    outline: none;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    margin: 24px 36px 0 36px;
    z-index: 408;
  }
  .mobile-nav a {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 0;
    border-radius: 8px;
    width: 100%;
    transition: background 0.18s;
  }
  .mobile-nav a:hover,
  .mobile-nav a:focus {
    background: #264019;
    color: #A02612;
  }
}

/* ==== 6. FOOTER ==== */
footer {
  width: 100%;
  background: #203017;
  color: #c3c3be;
  padding: 54px 0 16px 0;
  box-shadow: 0 -2px 18px 0 #26401966;
}
footer .container {
  align-items: flex-start;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
footer img {
  min-width: 56px;
  max-width: 84px;
  filter: drop-shadow(0 10px 40px #38383830);
  margin-bottom: 20px;
}
footer .text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 180px;
}
footer .text-section h3 {
  color: #A02612;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
footer .text-section ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
footer .text-section a {
  color: #fff;
  text-decoration: underline;
  font-size: 1.04rem;
  transition: color 0.23s;
}
footer .text-section a:hover, footer .text-section a:focus {
  color: #A02612;
  text-decoration: none;
}
footer .text-section p {
  color: #d0d0ca;
  font-size: 1.02rem;
}
footer .cta-button {
  margin-top: 10px;
  background: #A02612;
}
@media (max-width: 700px) {
  footer .content-wrapper { flex-direction: column; gap: 22px; align-items: stretch; }
  footer img { margin-bottom: 14px; }
}


/* ==== 7. FORMS & SEARCH ==== */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1.5px solid #2d4320;
  background: #fff;
  color: #264019;
  margin-bottom: 16px;
  font-size: 1.07rem;
  transition: border 0.18s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
  border: 1.5px solid #A02612;
  outline: none;
}
label {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #A02612;
}
.search-filter {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff2ed11;
  padding: 22px 18px 18px 18px;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 #A0261245;
  width: 100%;
  margin-bottom: 20px;
}
.search-filter label { color: #264019; }
.search-filter input[type="text"] { max-width: 380px; }
.search-filter > div {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.search-filter button {
  background: #264019;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  border: none;
  border-radius: 7px;
  padding: 9px 22px;
  cursor: pointer;
  box-shadow: 0 1px 8px 0 #A0261222;
  transition: background 0.2s, color 0.22s, box-shadow 0.18s;
}
.search-filter button:hover, .search-filter button:focus {
  background: #A02612;
  color: #fff;
  box-shadow: 0 1px 16px 0 #A0261266;
}


/* ==== 8. LISTS, ICONS, MISC ==== */
ul {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
ul li {
  font-size: 1.07rem;
  padding-left: 2px;
  display: flex;
  align-items: center;
  color: #fff;
  gap: 12px;
}
ul li img {
  height: 25px;
  width: auto;
  margin-right: 7px;
  filter: drop-shadow(0 2px 8px #A0261242) drop-shadow(0 2px 2px #26401955);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 16px;
}
.text-section p, .text-section ul li, .text-section h3 {
  color: #fff;
}

/* ========= 9. UTILS & EFFECTS ========= */

::-webkit-scrollbar {
  width: 8px;
  background: #203017;
}
::-webkit-scrollbar-thumb {
  background: #264019;
  border-radius: 14px;
}

section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 900px) {
  section { margin-bottom: 40px; padding: 22px 0; }
}

/* Micro-interactions & Animations */
.card, .testimonial-card, .cta-button, .search-filter button {
  transition: box-shadow .21s cubic-bezier(.4,0,.2,1), background .18s, border-color .16s;
}

.card:active, .cta-button:active, .search-filter button:active {
  transform: translateY(1px) scale(0.98);
}

a { transition: color 0.17s, background 0.17s; }
a:focus { outline: 2px solid #A02612; outline-offset: 3px; }

/* ========= 10. COOKIE CONSENT BANNER ========= */
.cookie-banner {
  width: 100%;
  max-width: 100vw;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9000;
  background: #192918;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 28px;
  box-shadow: 0 -2px 24px 0 #A0261270;
  font-size: 1.08rem;
  animation: cookie-in 0.6s cubic-bezier(.77,0,.18,1);
}
.cookie-banner.hidden { display: none; }
@keyframes cookie-in {
  from { transform: translateY(+110px); opacity:0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  flex:1;
  color: #fff;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
}
.cookie-btn {
  background: #264019;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 9px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  margin-left: 0;
  box-shadow: 0 1px 16px 0 #A0261244;
  transition: background 0.2s, color 0.2s;
}
.cookie-btn.primary {
  background: #A02612;
  color: #fff;
}
.cookie-btn.settings {
  background: #ffe3d7;
  color: #A02612;
}
.cookie-btn.reject {
  background: #203017;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #ff2400;
  color: #fff;
  outline: none;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fff8f4; color: #A02612;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    font-size: 0.97rem;
    padding: 18px 10px;
  }
  .cookie-banner-actions { justify-content: flex-start; gap: 7px; }
}

/* ==== Cookie Preferences Modal ==== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  left: 0; right:0; top:0; bottom:0;
  background: rgba(25,41,24,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-in 0.4s ease;
}
@keyframes modal-in {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  color: #264019;
  border-radius: 18px;
  box-shadow: 0 2px 48px 0 #A0261280;
  max-width: 360px;
  width: 96%;
  padding: 34px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modal-content-in 0.5s cubic-bezier(.55,0,.11,1);
}
@keyframes modal-content-in {
  from { transform: scale(0.9) translateY(30px); }
  to { transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.34rem;
  color: #A02612;
  margin-bottom: 7px;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 7px;
  background: #f8f4f0;
  color: #333;
}
.cookie-option .label { flex:1; color: #264019; font-weight: 600; }
.cookie-option .switch {
  width: 42px;
  height: 26px;
  border-radius: 14px;
  background: #dcdbe2;
  position: relative;
  cursor: pointer;
  transition: background .18s;
  display: flex;
  align-items: center;
}
.cookie-option .switch.enabled {
  background: #A02612;
}
.cookie-option .switch .dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  margin-left: 3px;
  margin-right: 3px;
  transition: transform 0.15s;
}
.cookie-option .switch.enabled .dot {
  transform: translateX(14px);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.cookie-modal button,
.cookie-modal .cookie-btn {
  padding: 10px 20px;
  background: #A02612;
  color: #fff;
  border: none;
  border-radius: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0;
  cursor: pointer;
  box-shadow: 0 1px 8px 0 #A0261255;
  transition: background 0.16s, color 0.13s;
}
.cookie-modal .cookie-btn.secondary {
  background: #264019;
}
.cookie-modal .cookie-btn:focus {
  outline: 2px solid #A02612; outline-offset: 2px;
}
.cookie-modal .close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  color: #A02612;
  font-size: 1.8rem;
  border: none;
  cursor: pointer;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  color: #ff2400;
}

/* ==== 11. RESPONSIVE DESIGN ==== */
@media (max-width: 1200px) {
  .container { max-width: 98vw; padding: 0 6vw; }
  nav { max-width: 98vw; }
}
@media (max-width: 900px) {
  .container { max-width: 100vw; padding: 0 3vw; }
  nav { max-width: 100vw; padding: 0 3vw; gap: 12px; }
}
@media (max-width: 700px) {
  section, .section { padding: 18px 0; }
  .container { padding: 0 7px; max-width: 100vw; }
  nav { padding: 0 4px; height: 62px; }
  .cta-button { padding: 12px 15px; font-size: 0.99rem; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.27rem; }
  h3 { font-size: 1.07rem; }
  .content-wrapper { gap: 16px; }
}

/* ==== 12. SELECTION COLOR ==== */
::selection { background: #A02612; color: #fff; }

/* =========================
   END Heimatküche Express
   ========================= */
