/* CSS RESET & BASE STYLES --------------------------------------------------- */
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, 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F9FBFB;
  color: #232B2B;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* BRAND COLORS ---------- */
:root {
  --color-primary: #16827A;
  --color-secondary: #F7B32B;
  --color-accent: #ffffff;
  --color-grey-100: #f4f6f6;
  --color-grey-200: #e8eded;
  --color-grey-300: #d3dfdf;
  --color-dark: #232B2B;
  --color-text-light: #ffffff;
}

/* TYPOGRAPHY --------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&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;
  font-weight: 700;
  color: var(--color-dark);
}
h1 { font-size: 2.5rem; margin-bottom: 18px; line-height: 1.11; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }
p, ul, li, blockquote { font-size: 1rem; margin-bottom: 10px; }
ul, ol { margin-left: 22px; }
strong, b { font-weight: 700; }
.subheadline { color: var(--color-primary); font-size: 1.15rem; margin-bottom: 10px; font-weight: 600; }

/* LINKS & BUTTONS --------------------------------------------- */
a { color: var(--color-primary); text-decoration: none; transition: color 0.25s; }
a:hover, a:focus { color: var(--color-secondary); text-decoration: underline; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg,var(--color-primary) 60%,var(--color-secondary) 100%);
  color: var(--color-accent);
  border: none;
  border-radius: 28px;
  padding: 0.75em 2.2em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 3px 16px 0 rgba(22,130,122,0.09);
  outline: none;
  margin: 16px 0;
  transition: background 0.25s, transform 0.2s;
  position: relative;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg,var(--color-secondary) 30%,var(--color-primary) 100%);
  color: var(--color-text-light);
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 6px 20px 0 rgba(22,130,122,0.13);
  text-decoration: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  cursor: pointer;
}

/* LAYOUT CONTAINERS -------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}

/* FLEXBOX ALIGNMENT -------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-grey-100);
  box-shadow: 0 4px 26px 0 rgba(22,130,122,0.10);
  border-radius: 20px;
  padding: 24px 20px;
  min-width: 260px;
  max-width: 360px;
  transition: box-shadow 0.22s, transform 0.19s;
}
.card:hover {
  box-shadow: 0 7px 32px 0 rgba(22,130,122,0.18);
  transform: translateY(-4px) scale(1.025);
}
.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;
  background: var(--color-grey-100);
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(22,130,122,0.07);
  margin-bottom: 20px;
  min-width: 235px;
  max-width: 540px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION ------------------------------------------------- */
.hero {
  background: linear-gradient(100deg, var(--color-primary) 58%, var(--color-secondary) 100%);
  color: var(--color-accent);
  padding-top: 38px;
  padding-bottom: 50px;
  min-height: 340px;
  display: flex;
  align-items: center;
  width: 100%;
}
.hero h1, .hero .subheadline {
  color: var(--color-accent);
}
.hero .btn-primary {
  margin-top: 18px;
}

/* NAVIGATION --------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 4px 32px 0 rgba(22,130,122,0.07);
  position: relative;
  z-index: 8;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 12px 0;
  gap: 15px;
  min-height: 60px;
}
nav img {
  height: 38px;
  margin-right: 18px;
  display: block;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  list-style: none;
  margin: 0;
  align-items: center;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--color-dark);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
nav ul li a:hover, nav ul li a:focus {
  color: var(--color-primary);
}
nav .btn-primary {
  margin-left: 24px;
}

/* MOBILE MENU -------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  background: transparent;
  border-radius: 5px;
  padding: 6px 14px;
  position: absolute;
  right: 18px;
  top: 16px;
  z-index: 26;
  transition: background 0.18s, color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-grey-200);
  color: var(--color-secondary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 2px 0 28px 2px rgba(22,130,122,0.15);
  z-index: 99;
  transform: translateX(-110vw);
  transition: transform 0.4s cubic-bezier(0.56, -0.08, 0.52, 1.08);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: var(--color-primary);
  font-size: 2.1rem;
  border-radius: 50%;
  padding: 6px 14px;
  align-self: flex-end;
  margin: 22px 20px 0 0;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-grey-200);
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 45px 30px 0 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--color-dark);
  padding: 9px 0;
  width: 100%;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-primary);
  color: var(--color-text-light);
}

@media (max-width: 1024px) {
  nav ul { gap: 13px; }
  nav .btn-primary { margin-left: 6px; padding: 10px 22px; font-size: 1rem; }
}
@media (max-width: 900px) {
  nav ul { display: none; }
  nav .btn-primary { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 560px) {
  nav img, footer img { height: 30px; }
}

/* FOOTER ------------------------------------------------------- */
footer {
  background: #fff;
  box-shadow: 0 -4px 32px 0 rgba(22,130,122,0.07);
  font-size: 1rem;
  color: var(--color-dark);
  padding: 36px 0 22px 0;
  width: 100%;
}
footer .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  padding: 0;
}
footer nav a {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus { color: var(--color-secondary); }
.contact-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.98rem;
  color: var(--color-dark);
  margin-top: 6px;
}
.contact-footer img {
  height: 17px;
  vertical-align: text-bottom;
  margin-right: 6px;
  display: inline-block;
}

@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  footer nav { flex-wrap: wrap; gap: 14px; }
}

/* FEATURE-GRID AND SECTION-SPECIFIC FLEX LAYOUTS ---------------------------- */
.features .feature-grid,
.services-preview .feature-grid,
.recipe-list .recipe-cards,
.services .service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
  width: 100%;
}
.features .feature-grid > div,
.services-preview .feature-grid > div,
.recipe-list .recipe-card,
.services .service-cards > div {
  background: var(--color-accent);
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(22,130,122,0.07);
  padding: 22px 24px;
  min-width: 235px;
  max-width: 345px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.features .feature-grid > div:hover,
.services-preview .feature-grid > div:hover,
.recipe-list .recipe-card:hover,
.services .service-cards > div:hover {
  box-shadow: 0 7px 22px 0 rgba(22,130,122,0.13);
  transform: translateY(-3px) scale(1.02);
}
.features .feature-grid img,
.services-preview .feature-grid img {
  height: 38px;
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .features .feature-grid,
  .services-preview .feature-grid,
  .recipe-list .recipe-cards,
  .services .service-cards {
    gap: 17px;
    justify-content: flex-start;
  }
}
@media (max-width: 650px) {
  .features .feature-grid,
  .services-preview .feature-grid,
  .recipe-list .recipe-cards,
  .services .service-cards {
    flex-direction: column;
    gap: 13px;
  }
  .features .feature-grid > div,
  .services-preview .feature-grid > div,
  .recipe-list .recipe-card,
  .services .service-cards > div {
    min-width: 100%;
    max-width: 100%;
    padding: 18px 13px;
  }
}

/* BADGE (REZEPTZEIT ETC) ----------------------------------------------- */
.badge {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-accent);
  font-size: 0.96rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 4px 13px;
  border-radius: 16px;
  margin: 10px 0 7px 0;
}
.quick-tips {
  background: var(--color-grey-200);
  color: var(--color-dark);
  font-size: 0.92rem;
  border-radius: 11px;
  padding: 6px 11px;
  margin-top: 6px;
  box-shadow: 0 2px 7px 0 rgba(22,130,122,0.04);
}

/***** PRICING TAGS *****/
.price-tag {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 4px 13px;
  margin-top: 14px;
}

/***** USP HIGHLIGHT *****/
.usp-highlight {
  background: var(--color-primary);
  color: var(--color-text-light);
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 16px;
  letter-spacing: 0.01em;
}

/****** TESTIMONIALS ******/
.testimonial {
  background: linear-gradient(90deg, var(--color-grey-100) 60%, var(--color-grey-200) 100%);
  border-radius: 26px;
  padding: 32px 10px;
}
.testimonial h2 {
  margin-bottom: 12px;
}
.testimonial-card {
  border-left: 4px solid var(--color-primary);
  background: #fff;
  color: #232B2B;
  font-size: 1.08rem;
}
.testimonial-card blockquote {
  color: #232B2B;
  font-size: 1.10rem;
  font-style: italic;
  border: none;
  background: none;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-size: 1rem;
}

/****** NEWSLETTER-SIGNUP & CTA APP ******/
.newsletter-signup, .cta-app {
  background: linear-gradient(80deg, var(--color-secondary) 13%, var(--color-primary) 100%);
  border-radius: 24px;
  color: var(--color-accent);
  margin-top: 37px;
}
.newsletter-signup h2,
.cta-app h2,
.newsletter-signup p,
.cta-app p { color: var(--color-accent); }

/****** FILTERBAR ******/
.filterbar {
  background: var(--color-grey-100);
  border-radius: 18px;
  margin-bottom: 32px;
  padding-top: 18px;
}
.filterbar .content-wrapper {
  flex-direction: row;
  gap: 42px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-options,
.sorting {
  display: flex;
  flex-direction: row;
  gap: 9px;
  align-items: center;
}
.filterbar button {
  background: var(--color-grey-200);
  color: var(--color-dark);
  border-radius: 11px;
  padding: 6px 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 500;
  transition: background 0.18s, color 0.18s;
}
.filterbar button:hover,
.filterbar button.active {
  background: var(--color-primary);
  color: var(--color-text-light);
}

/****** SEARCH BAR ******/
.search-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin-top: 21px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 2px 14px 0 rgba(22,130,122,0.06);
  padding: 6px 8px;
  width: 100%;
  max-width: 395px;
}
.search-bar input {
  border: none;
  background: transparent;
  padding: 10px 14px;
  font-size: 1.1rem;
  flex: 1 1 auto;
  outline: none;
  border-radius: 20px;
}
.search-bar button {
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: 50%;
  padding: 7px 8px 7px 7px;
  margin-left: 3px;
  display: flex;
  align-items: center;
  border: none;
  transition: background 0.2s;
}
.search-bar button:hover, .search-bar button:focus {
  background: var(--color-secondary);
}
.search-bar button img {
  height: 19px;
  width: 19px;
  display: block;
}

/***** GENERAL TEXT-SECTION *****/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.text-section ul {
  margin-left: 14px;
  margin-bottom: 6px;
}
.text-section li {
  margin-bottom: 4px;
  font-size: 1rem;
  list-style: disc;
}

/***** MODAL AND BANNER STYLES (COOKIE CONSENT) ******/
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  z-index: 1110;
  background: #fff;
  color: #1f2626;
  box-shadow: 0 -2px 28px 0 rgba(22,130,122,0.08);
  border-top: 5px solid var(--color-secondary);
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
  justify-content: center;
  padding: 22px 14px 26px 14px;
  min-height: 114px;
  width: 100%;
  animation: bannerDropIn 0.33s cubic-bezier(.72,.2,.23,.84);
}
@keyframes bannerDropIn {
  from { opacity: 0; transform: translateY(100px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 4px;
}
.cookie-banner .btn-cookie {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 18px;
  padding: 8px 22px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner .btn-cookie.secondary { background: var(--color-secondary); color: #232B2B; }
.cookie-banner .btn-cookie.ghost { background: #fff; color: var(--color-primary); border: 2px solid var(--color-primary); }
.cookie-banner .btn-cookie:hover {
  background: var(--color-secondary);
  color: #232B2B;
}

/* COOKIE MODAL ------------------------------------------------ (
   Popup for cookie preferences) */
.cookie-modal-bg {
  background: rgba(35, 43, 43, 0.45);
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.25s;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 4px 33px 0 rgba(22,130,122,0.19);
  max-width: 420px;
  padding: 32px 30px 30px 30px;
  width: 90vw;
  color: #232B2B;
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: flex-start;
  animation: modalUpIn 0.23s cubic-bezier(.62,.13,.13,1.09);
  position: relative;
}
@keyframes modalUpIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  padding: 9px 0;
  width: 100%;
}
.cookie-modal .category-label {
  font-weight: 600;
  min-width: 97px;
}
.cookie-modal input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  margin-top: 0;
}
.cookie-modal .always-on {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 0.97rem;
  margin-left: 7px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .btn-cookie-modal {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 23px;
  border-radius: 18px;
  border: none;
  font-weight: 700;
  background: var(--color-primary);
  color: #fff;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal .btn-cookie-modal.ghost {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.cookie-modal .btn-cookie-modal:hover {
  background: var(--color-secondary);
  color: #232B2B;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 1.6rem;
  color: var(--color-primary);
  background: transparent;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s;
  z-index: 4;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  background: var(--color-grey-200);
  color: var(--color-secondary);
}

/* RESPONSIVE DESIGN ---------------------------------- */
@media (max-width: 1080px) {
  .container { max-width: 99%; }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .content-wrapper, .section {
    padding-left: 7px;
    padding-right: 7px;
  }
  .hero {
    padding-left: 0;
    padding-right: 0;
    padding-top: 26px;
    min-height: 210px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px; padding-right: 8px;
  }
  .content-wrapper { gap: 18px; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .hero { min-height: 164px; }
  .section { padding: 26px 3px; margin-bottom: 37px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.52rem; }
  h3 { font-size: 1.12rem; }
  .newsletter-signup, .cta-app { border-radius: 16px; padding: 16px 6px; }
}
@media (max-width: 560px) {
  .hero, .footer { padding: 16px 0; }
  .footer .content-wrapper { gap: 11px; }
  .testimonial-card, .card, .features .feature-grid > div, .services .service-cards > div {
    padding: 13px 8px;
    font-size: 0.97rem;
  }
}

/* TRANSITIONS & MICRO-INTERACTIONS ------------------------------ */
input, button, .btn-primary, .card, .feature-grid > div {
  transition: box-shadow 0.18s, background 0.19s, color 0.18s, transform 0.18s;
}
.card, .testimonial-card, .newsletter-signup, .cta-app, .service-cards > div {
  transition: box-shadow 0.19s, transform 0.17s;
}

/* Hide cookie-modal and banner by default; shown via JS (not included here) */
.cookie-banner[hidden] {
  display: none !important;
}
.cookie-modal-bg[hidden] {
  display: none !important;
}

/* Extra helpers */
.sr-only {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    border:0;
}

/***** END OF CSS *****/
