/* RESET & NORMALIZE – KochZeit Genuss */
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;
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background-color: #FAFAF6;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #24425A;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: #24425A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D9B47C;
  outline: none;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  display: block;
}
input, select, textarea, button {
  font-family: inherit;
  font-size: 100%;
  border-radius: 4px;
  border: 1px solid #e4e4e4;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #24425A;
  font-weight: 900;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; letter-spacing: -1.5px; }
h2 { font-size: 2rem; margin-top: 32px; }
h3 { font-size: 1.25rem; margin-top: 24px; letter-spacing: 0.5px; }
.section {margin-bottom: 60px; padding: 40px 20px;}

/* CONTAINER & GRID SYSTEM */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.content-wrapper {
  padding: 32px 0 32px 0;
  margin-bottom: 24px;
  position: relative;
}

/* FLEX-BASED LAYOUTS (Vivid Artistic Rhythm) */
.feature-grid, .recipes-list, .tips-list, .popular-hacks, .story-spotlight {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.feature-grid li, .popular-hacks li {
  background: #fffbe8;
  color: #24425A;
  padding: 18px 20px 18px 48px;
  border-radius: 28px 8px 32px 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  position: relative;
  min-width: 220px;
  box-shadow: 0 2px 8px 0 rgba(217, 180, 124, 0.10);
  margin-bottom: 10px; /* for older browsers */
  display: flex;
  align-items: center;
  gap: 14px;
}
.feature-grid li img, .popular-hacks li img {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fffdf6;
  border-radius: 18px 18px 36px 8px;
  box-shadow: 0 4px 16px 0 rgba(36, 66, 90, 0.11);
  padding: 30px 22px;
  min-width: 270px;
  flex: 1 1 270px;
  transition: box-shadow 0.35s;
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(36,66,90,0.16);
}
.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;
  margin-bottom: 20px;
  background: #FFF;
  border-radius: 24px 8px 32px 12px;
  box-shadow: 0 2px 12px 0 rgba(36, 66, 90, 0.11);
  border-left: 6px solid #D9B47C;
  min-width: 260px;
  transition: box-shadow 0.3s, border-left 0.3s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(36,66,90,0.14);
  border-left: 8px solid #24425A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.story-spotlight, .tips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 24px;
}
.tip-card {
  background: #f0f4f8;
  border-radius: 13px 34px 8px 28px;
  padding: 22px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 rgba(217, 180, 124, 0.06);
  min-width: 220px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #24425A;
}

/**** BRAND COLORS & ARTISTIC ACCENTS ****/
:root {
  --primary: #24425A;
  --secondary: #D9B47C;
  --accent: #FFFFFF;
  --muted: #F7F3ED;
}

body {
  background-color: var(--muted);
  color: var(--primary);
}

.cta-button {
  display: inline-block;
  color: var(--accent);
  background: var(--secondary);
  border: none;
  padding: 14px 38px;
  border-radius: 28px 12px 36px 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 2px 12px 0 rgba(36, 66, 90, 0.08);
  margin-top: 16px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
  cursor: pointer;
  letter-spacing: 0.05em;
}
.cta-button:hover, .cta-button:focus {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 4px 20px 2px rgba(36,66,90,0.18);
  transform: translateY(-3px) scale(1.03) rotate(-1.5deg);
  outline: none;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 1px 8px 0 rgba(36,66,90,0.07);
  position: relative;
  z-index: 100;
}
nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
  padding: 18px 0;
}
nav.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  padding: 7px 13px;
  border-radius: 18px 7px 20px 8px;
  transition: background 0.22s, color 0.2s;
}
nav.main-nav a.cta-button {
  padding: 10px 26px;
  background: var(--secondary);
  color: var(--accent);
}
nav.main-nav a.cta-button:hover {
  background: var(--primary);
  color: var(--secondary);
}
nav.main-nav a:hover:not(.cta-button), nav.main-nav a:focus:not(.cta-button) {
  background: var(--secondary);
  color: var(--primary);
}
nav.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 12px;
  border-radius: 14px 36px 14px 18px;
}

.mobile-menu-toggle {
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  font-size: 2rem;
  padding: 8px 14px;
  border-radius: 18px 7px 20px 8px;
  cursor: pointer;
  display: none;
  z-index: 120;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 rgba(36,66,90,0.10);
}
.mobile-menu-toggle:focus {
  outline: 2px dashed var(--primary);
  outline-offset: 3px;
}
@media (max-width: 992px) {
  .mobile-menu-toggle {display: block;}
  nav.main-nav {display: none;}
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,66,90,0.96);
  color: var(--accent);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 52px 22px 30px 24px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.35s;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  font-size: 2rem;
  padding: 6px 18px;
  border-radius: 20px 8px 24px 14px;
  cursor: pointer;
  margin-bottom: 42px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:focus {
  outline: 2px dashed var(--accent);
  outline-offset: 2px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 18px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--accent);
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 18px 0 10px 0;
  border-bottom: 1px solid rgba(217, 180, 124, 0.16);
  width: 100%;
  display: block;
  transition: color 0.19s, background 0.23s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: rgba(255,255,255,0.07);
}

/********** MAIN PAGE **********/
.subheadline {
  font-size: 1.3rem;
  margin: 12px 0 18px 0;
  color: #24425A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.newsletter-section ul {
  margin-bottom: 14px;
  margin-top: 8px;
}
.newsletter-section ul li {
  font-size: 1.08rem;
  margin-bottom: 6px;
  color: #24425A;
}
.cta-section {
  background: #D9B47C;
  border-radius: 36px 8px 28px 12px;
  color: var(--primary);
  text-align: center;
  margin-top: 26px;
  box-shadow: 0 2px 16px 0 rgba(217, 180, 124, 0.14);
}
.cta-section h2, .cta-section p {
  color: var(--primary);
}

/**** REZEPTE, TIPS CARDS, FILTER ****/
.search-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
  align-items: center;
}
.search-filter input[type="text"] {
  flex: 1 1 180px;
  padding: 12px 16px;
  border-radius: 13px;
  border: 1px solid #D9B47C;
  background: #fffef8;
  color: #24425A;
  font-size: 1rem;
  margin-right: 8px;
  transition: border 0.2s;
}
.search-filter input[type="text"]:focus {
  outline: none;
  border: 2px solid #24425A;
}
.search-filter select {
  padding: 7px 12px;
  border-radius: 7px;
  border: 1.5px solid #D9B47C;
  background: #fffbe8;
  font-size: 1rem;
  color: #24425A;
}

.sorting-options {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.sorting-options select {
  padding: 6px 10px;
  border-radius: 7px;
  border: 1.5px solid #D9B47C;
  background: #fffbe8;
  color: #24425A;
}

/********** RECIPE CARDS **********/
.recipes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 18px;
}
.recipe-card {
  background: #FFF;
  border-radius: 24px 10px 20px 36px;
  box-shadow: 0 3px 16px 0 rgba(36, 66, 90, 0.12);
  padding: 28px 20px 20px 22px;
  flex: 1 1 280px;
  min-width: 240px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.28s, transform 0.18s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.recipe-card h3 {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  margin-bottom: 7px;
}
.recipe-card a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 4px;
  align-self: flex-end;
  transition: color 0.18s;
}
.recipe-card a:hover {
  color: var(--primary);
  text-decoration: underline wavy #D9B47C;
}
.recipe-card .recipe-label, .recipe-card .recipe-region {
  display: inline-block;
  font-size: 0.95rem;
  color: #FFF;
  background: #24425A;
  padding: 2px 13px;
  border-radius: 15px 5px 14px 8px;
  margin-top: 0px;
  margin-bottom: 5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/***** FAQ SECTION, DL *****/
.faq-section dl {
  margin-top: 8px;
  padding-left: 0;
}
.faq-section dt {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 6px;
  font-size: 1.06rem;
}
.faq-section dd {
  margin-bottom: 10px;
  margin-left: 0;
  color: #24425A;
  font-size: 1rem;
}

/***** MAP/ADDRESS *******/
.map-section {
  background: #FFF;
  border-radius: 14px 28px 10px 24px;
  box-shadow: 0 2px 12px rgba(36,66,90,0.09);
  padding: 32px 22px;
  margin-bottom: 20px;
}

/**** FOOTER ****/
footer {
  background: #24425A;
  color: var(--accent);
  padding: 0 0 16px 0;
  margin-top: 38px;
}
footer .container {
  padding: 0 14px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  padding: 34px 0 0 0;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.footer-nav a {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline dotted #D9B47C;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97rem;
}
.footer-contact img {
  width: 15px;
  height: 15px;
  margin-right: 9px;
  vertical-align: middle;
}

/**** TESTIMONIALS ****/
.testimonials-section {
  margin: 32px 0;
  padding: 0;
}
.testimonials-section h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 22px;
}
.testimonial-card p {
  color: #1F2D3D;
  font-size: 1.08rem;
}
.testimonial-card strong {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

/****** COOKIE CONSENT BANNER ******/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #24425A;
  color: #fff;
  padding: 28px 18px 22px 18px;
  box-shadow: 0 -7px 18px 0 rgba(36,66,90,0.12);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: transform 0.35s, opacity 0.18s;
}
.cookie-banner.hide {
  transform: translateY(135%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.cookie-banner button {
  padding: 10px 18px;
  border-radius: 18px 7px 18px 8px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.2s, color 0.2s, transform 0.22s;
}
.cookie-banner .cookie-accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .cookie-accept:hover {
  background: #fff;
  color: var(--primary);
  transform: scale(1.03);
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #24425A;
}
.cookie-banner .cookie-reject:hover {
  background: #D9B47C;
  color: #262626;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: var(--secondary);
  border: 2px dashed var(--secondary);
}
.cookie-banner .cookie-settings:hover {
  background: var(--secondary);
  color: #24425A;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,66,90,0.72);
  z-index: 10009;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: #f0f4f8;
  color: #24425A;
  border-radius: 28px 12px 24px 6px;
  box-shadow: 0 8px 36px 0 rgba(36,66,90,0.17);
  padding: 38px 28px 28px 28px;
  min-width: 285px;
  max-width: 96vw;
  font-family: 'Open Sans', Arial, sans-serif;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #D9B47C;
  color: #24425A;
  border: none;
  font-size: 1.4rem;
  border-radius: 50%;
  cursor: pointer;
  padding: 4px 10px;
  transition: background 0.2s;
}
.cookie-modal-close:hover {
  background: #24425A;
  color: #fff;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: #D9B47C;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  justify-content: flex-end;
}
.cookie-category.essential label {
  font-weight: 700;
  color: #24425A;
  opacity: 0.75;
}
.cookie-category.essential input {
  accent-color: #24425A;
}

/**** TYPOGRAPHY / FONTS / ARTISTIC SCALE ****/
.text-section {
  font-size: 1.07rem;
}
.text-section strong {color: #24425A;}
.text-section em {color: #D9B47C;}

/****** STORY SPOTLIGHT CARDS ******/
.story-spotlight article {
  background: #fffbe8;
  border-radius: 24px 8px 36px 14px;
  padding: 22px 20px;
  min-width: 240px;
  box-shadow: 0 2px 12px 0 rgba(217, 180, 124, 0.07);
  margin-bottom: 20px;
  font-size: 1.04rem;
  color: #24425A;
  font-family: 'Open Sans', Arial, sans-serif;
}
.story-spotlight h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #24425A;
  font-size: 1.08rem;
  margin-bottom: 6px;
}

/* Animations */
.cta-button, .cookie-banner button, .mobile-menu, .mobile-menu-toggle, .card, .recipe-card, .tip-card, .testimonial-card, .story-spotlight article {
  transition: box-shadow 0.25s, background 0.21s, color 0.21s, transform 0.19s;
}
.cta-button:active, .cookie-banner button:active {
  transform: scale(0.97);
}

/******* RESPONSIVE DESIGN (MOBILE-FIRST) *******/
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
}
@media (max-width: 768px) {
  nav.main-nav {display: none;}
  .mobile-menu-toggle {display: block;}
  .container {
    max-width: 100vw;
    padding: 0 6px;
  }
  .content-wrapper {
    padding: 10px 0 10px 0;
    margin-bottom: 18px;
  }
  .feature-grid, .recipes-list, .tips-list, .story-spotlight, .popular-hacks, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonials-section {
    margin: 18px 0;
  }
  .newsletter-section ul li, .text-section ul li {
    padding-left: 0!important;
    min-width: 140px;
    font-size: 1rem;
  }
  .footer-nav {
    gap: 15px;
    flex-wrap: wrap;
  }
  .footer-contact {
    font-size: 0.97rem;
  }
  .cta-section {
    padding: 18px 8px;
    border-radius: 24px 8px 16px 12px;
  }
  h1 {font-size: 2rem;}
  h2 {font-size: 1.4rem;}
}
@media (max-width: 480px) {
  .card, .recipe-card, .tip-card, .story-spotlight article, .testimonial-card {
    padding: 14px 8px;
  }
  .footer-contact p { font-size: 0.94rem; }
  .cookie-banner { font-size: 0.96rem; }
}

/* Artistic Headline Font Fallbacks */
@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), local('Montserrat-Regular'),
    url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&display=swap');
  font-weight: 700 900;
  font-style: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans'), local('OpenSans-Regular'),
    url('https://fonts.googleapis.com/css?family=Open+Sans:wght@400;600;700&display=swap');
  font-weight: 400 700;
  font-style: normal;
}

/****** Misc Artistic Details ******/
blockquote, .testimonial-card p:first-child {
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  letter-spacing: 0.01em;
  color: #24425A;
  margin-bottom: 9px;
}
hr {
  border: none;
  border-top: 2px dashed var(--secondary);
  margin: 38px 0 18px 0;
}
::-webkit-input-placeholder { color: #8C8992; opacity: 1; }
::-moz-placeholder { color: #8C8992; opacity: 1; }
:-ms-input-placeholder { color: #8C8992; opacity: 1; }
::placeholder { color: #8C8992; opacity: 1; }

/* Hide scroll for mobile nav when open */
body.mobile-open {
  overflow: hidden;
}

/***** Accessibility ******/
:focus {
  outline: 2px solid #D9B47C;
  outline-offset: 1px;
}

/***** Print ******/
@media print {
  header, .mobile-menu, .mobile-menu-toggle, footer, .cookie-banner, .cookie-modal-overlay, .cta-button { display: none !important; }
  main { padding: 0 !important; }
}
