/* =============================================================
   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, 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 {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: #FAF6F0;
  color: #1b232f;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: #197278;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4E944F;
}

ul, ol {
  margin-left: 1.2em;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
}

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

/*
  ================
  BRAND VARIABLES
  ================
*/
:root {
  --primary: #197278;
  --primary-dark: #155a60;
  --secondary: #4E944F;
  --secondary-dark: #30602e;
  --accent: #FAF6F0;
  --gray-100: #f1f3f6;
  --gray-200: #e2e7ec;
  --gray-300: #d0d7df;
  --gray-400: #b1bac7;
  --gray-500: #7d8896;
  --gray-600: #5a6270;
  --gray-900: #1b232f;
  --success: #4E944F;
  --danger: #D7263D;
  --white: #fff;
  --shadow: 0 6px 24px 0 rgba(21,41,56,0.07),0 1.5px 6px 0 rgba(21,41,56,.06);
  --radius: 14px;
}

/* ===============================================
   TYPOGRAPHY
   =============================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem;  margin-bottom: 20px; }
h2 { font-size: 2rem;    margin-bottom: 18px; }
h3 { font-size: 1.4rem;  margin-bottom: 10px; }
h4 { font-size: 1.1rem; }

p, ul, ol, li, blockquote, span, label {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--gray-900);
}

blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--primary-dark);
  padding-left: 16px;
  border-left: 4px solid var(--secondary);
  margin-bottom: 0;
}

strong, b {
  font-weight: bold;
}

/* Typography scale for sections */
.section h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
.section h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.section p {
  font-size: 1rem;
}

/* ===============================================
   LAYOUT HELPERS: CONTAINERS, FLEX & SPACING
   =============================================== */
.container {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--gray-100);
  border-radius: var(--radius);
  box-shadow: 0 3px 12px 0 rgba(25,51,66,0.07);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 0;
  flex: 1 1 300px;
  max-width: 700px;
  color: var(--gray-900);
}

.testimonial-meta span {
  font-size: 0.95rem;
  color: var(--gray-600);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--gray-100);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px 0 rgba(25,51,66,0.04);
  padding: 22px 16px 20px 16px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 20px;
  transition: box-shadow 0.3s, transform 0.2s;
}

.feature-item:hover, .feature-item:focus {
  box-shadow: 0 6px 24px 0 rgba(25,51,66,0.10);
  transform: translateY(-3px) scale(1.015);
}

.feature-item > img {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
}

/* List helpers */
.checklist, .feature-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 0;
}
.checklist li:before {
  content: '\2713';
  color: var(--secondary);
  font-weight: bold;
  margin-right: 8px;
}
.feature-list li {
  position: relative;
  padding-left: 22px;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 10px; height: 10px;
  border-radius: 100%;
  background: var(--primary);
}

/***************************
  HERO SECTIONS
***************************/
.hero {
  background: linear-gradient(112deg, var(--accent) 70%, #e2e7ec 100%);
  padding-top: 50px;
  padding-bottom: 40px;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.hero .content-wrapper {
  max-width: 640px;
  gap: 24px;
}
.hero h1 {
  color: var(--primary-dark);
  font-size: 2.35rem;
  margin-bottom: 14px;
}
.hero p {
  color: var(--gray-600);
  font-size: 1.18rem;
}

/***************************
  MAIN NAVIGATION
***************************/
header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(25,51,66,0.06);
  position: relative;
  z-index: 1001;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  gap: 18px;
}
.main-nav > a > img {
  height: 38px;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  gap: 30px;
  list-style: none;
  align-items: center;
}
.main-nav ul li a {
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--primary-dark);
  letter-spacing: 0.01em;
  transition: color 0.2s, text-decoration 0.2s;
  padding: 4px 8px;
  border-radius: 4px;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  color: var(--secondary);
  background: var(--gray-100);
  text-decoration: underline;
}
.cta-button {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 25px;
  padding: 10px 26px;
  font-size: 1.04rem;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 4px 10px -6px var(--primary);
  border: none;
  margin-left: 18px;
}
.cta-button:hover, .cta-button:focus {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px -6px var(--secondary);
}

/********************
 MOBILE MENU
********************/
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--primary-dark);
  background: transparent;
  padding: 7px 14px;
  border-radius: 6px;
  margin-left: auto;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: rgba(250,246,240,0.98);
  z-index: 3000;
  box-shadow: -8px 0 32px 2px rgba(25,114,120,0.07);
  transition: transform 0.38s cubic-bezier(.79,.05,.24,.99);
  transform: translateX(0);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(-100vw);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  font-size: 2.2rem;
  color: var(--primary-dark);
  padding: 13px 18px 9px 9px;
  border-radius: 50%;
  margin: 14px 16px 0 0;
  transition: background 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--gray-200);
}
.mobile-nav {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 0 36px;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: var(--primary-dark);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 12px 0;
  transition: color 0.21s;
  border-bottom: 1px solid var(--gray-200);
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: var(--gray-100);
}

/********************
 RESPONSIVE NAV BREAKPOINTS
********************/
@media (max-width: 1120px) {
  .container {
    max-width: 97vw;
  }
  .main-nav {
    max-width: 97vw;
  }
}
@media (max-width: 992px) {
  .main-nav ul {
    gap: 18px;
  }
  .container, .main-nav {
    padding: 0 12px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }
  .cta-button {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 430px) {
  .main-nav > a > img {
    height: 32px;
  }
  .cta-button {
    font-size: 1rem;
    padding: 9px 15px;
  }
  .mobile-nav a {
    font-size: 1.08rem;
  }
}

/********************************************
   SECTIONS & CARDS SPACING
********************************************/
.features {
  background: none;
  box-shadow: none;
  margin-bottom: 40px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.feature-descriptions {
  margin-top: 18px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 15px;
}
.recipe-list, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.recipe-item, .service-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 16px 16px 16px;
  margin-bottom: 12px;
  min-width: 220px;
  flex: 1 1 290px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s, transform 0.14s;
}
.recipe-item:hover, .service-item:hover {
  box-shadow: 0 9px 28px -12px var(--primary-dark);
  transform: translateY(-3px) scale(1.01);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.faq-item {
  background: var(--gray-100);
  border-radius: var(--radius);
  box-shadow: 0 1.5px 8px 0 rgba(65,98,112,0.06);
  padding: 16px 13px;
  margin-bottom: 0;
}
.faq-item h3 {
  margin-bottom: 7px;
  color: var(--secondary-dark);
  font-weight: 600;
}

/********************************************
   CONTACT SECTION
********************************************/
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  margin: 14px 0 32px 0;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--gray-900);
}
.contact-details img {
  width: 28px;
}
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 10px 16px;
  margin-top: 8px;
  font-size: 1rem;
}

/********************************************
   CONTROLS, FILTER-TAGS (FOR rezepte)
********************************************/
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-bottom: 18px;
}
.controls input[type=text] {
  font-size: 1rem;
  padding: 9px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--gray-300);
  background: var(--gray-100);
  color: var(--gray-900);
  outline: none;
  width: 220px;
  transition: border-color 0.18s;
}
.controls input[type=text]:focus {
  border-color: var(--primary);
}
.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.98rem;
  border-radius: 13px;
  padding: 5px 15px;
  font-weight: 500;
  transition: background 0.2s;
  cursor: pointer;
}
.tag:hover { background: var(--secondary); }

/********************************************
   FOOTER
********************************************/
footer {
  background: var(--primary);
  color: var(--white);
  padding-top: 38px;
  padding-bottom: 22px;
  margin-top: 50px;
  position: relative;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 36px 50px;
  align-items: flex-start;
  justify-content: flex-start;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 266px;
}
.footer-branding img {
  width: 40px;
  height: 40px;
}
.footer-branding p {
  font-size: 1rem;
  color: var(--accent);
}
.footer-nav, .legal-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a, .legal-nav a {
  color: var(--white);
  font-size: 1.03rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 2px 0;
  opacity: 0.95;
  transition: color 0.2s, opacity 0.2s;
}
.footer-nav a:hover, .legal-nav a:hover {
  opacity: 1;
  color: var(--secondary);
}
.legal-nav {
  margin-top: 10px;
}
.social-media {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 10px;
}
.social-media a {
  display: flex;
  background: var(--white);
  border-radius: 50%;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 7px 0 rgba(30,50,77,0.1);
}
.social-media img {
  width: 19px; height: 19px;
}
.social-media a:hover { background: var(--secondary); }
.footer-contact {
  margin-top: 20px;
  font-size: 0.97rem;
  color: var(--accent);
}

/********************************************
  COOKIE CONSENT BANNER & MODAL
********************************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--white);
  border-top: 2px solid var(--primary);
  box-shadow: 0 -3px 20px 0 rgba(34,56,77,.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  z-index: 3200;
  padding: 19px 24px 18px 24px;
  gap: 26px;
  transition: transform 0.3s, opacity 0.25s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  max-width: 440px;
  color: var(--primary-dark);
  font-size: 1.06rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 1.03rem;
  cursor: pointer;
  transition: background 0.18s, color 0.21s;
  background: var(--gray-400);
  color: var(--gray-900);
}
.cookie-banner .accept {
  background: var(--primary);
  color: var(--white);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--secondary);
}
.cookie-banner .reject {
  background: var(--gray-200);
  color: var(--gray-900);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--danger);
  color: var(--white);
}
.cookie-banner .settings {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--gray-100);
  color: var(--secondary);
  border-color: var(--secondary);
}

.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 3600;
  background: rgba(25,114,120,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.21s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal .modal-content {
  background: var(--white);
  max-width: 390px;
  border-radius: 14px;
  padding: 34px 32px 22px 32px;
  box-shadow: 0 9px 36px 0 rgba(21,41,56,0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  color: var(--primary);
  font-size: 2rem;
  border-radius: 50%;
  padding: 3px 8px;
}
.cookie-modal .close-modal:hover {
  background: var(--gray-200);
}
.cookie-modal h2 {
  margin-bottom: 12px;
  color: var(--secondary);
  font-size: 1.23rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  width: 21px; height: 21px;
  accent-color: var(--primary);
}
.cookie-category .always-on {
  color: var(--success);
  font-size: 0.96rem;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  border-radius: 16px;
  padding: 8px 18px;
  border: none;
}

/* ===============================================
   MEDIA QUERIES: RESPONSIVE FLEX & LAYOUTS
   =============================================== */
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .contact-details {
    gap: 14px 26px;
  }
}
@media (max-width: 768px) {
  .section, .hero, .features {
    padding: 28px 10px;
  }
  .content-wrapper,
  .feature-grid, .service-list, .recipe-list {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item, .recipe-item, .service-item, .testimonial-card {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
  }
  .about .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .hero .container {
    padding: 0 5px;
  }
  .footer-branding {
    max-width: 100%;
  }
}
@media (max-width: 500px) {
  .container {
    padding: 0 5px;
  }
  .section {
    padding: 18px 2px;
  }
  .hero h1 { font-size: 1.67rem; }
  .section h2 { font-size: 1.23rem; }
  .footer-branding p { font-size: 0.97rem; }
  .footer-contact { font-size: 0.85rem; }
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 21px 10px 16px 10px;
    align-items: flex-start;
  }
  .cookie-banner .cookie-text {
    font-size: 0.98rem;
    max-width: 99vw;
  }
  .cookie-modal .modal-content {
    max-width: 98vw;
    padding: 24px 6px 16px 10px;
  }
}

/* ==================================
  BUTTON / LINK MICRO-INTERACTIONS
================================== */
button, .cta-button, .cookie-banner button, .cookie-modal button, .tag {
  transition: background 0.21s, color 0.18s, transform 0.22s, box-shadow 0.16s;
}
button:active, .cta-button:active, .tag:active {
  transform: scale(0.96);
}
.legal-nav a:active, .footer-nav a:active, .mobile-nav a:active {
  transform: translateX(4px);
}

/* ============================== */
/*  FORMS & MISC UTILITIES        */
/* ============================== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.5px solid var(--gray-300);
  padding: 7px 12px;
  background: var(--gray-100);
  color: var(--gray-900);
  margin-bottom: 12px;
}

/********************************************
   MISC/UTILITY
*********************************************/
.bg-white {
  background: var(--white);
}
.text-primary {
  color: var(--primary) !important;
}
.text-secondary {
  color: var(--secondary) !important;
}
.text-gray {
  color: var(--gray-500) !important;
}
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-center { align-items: center !important; justify-content: center !important; }

/* disables user-select for main navigation on touch devices */
@media (hover: none) {
  .main-nav, .footer-nav, .legal-nav {
    user-select: none;
    -webkit-user-select: none;
  }
}

/********************************************
   OVERRIDE: ENSURE FLEXBOX IS USED, NOT GRID
*********************************************/
/* No grid properties used in this stylesheet. All layout containers use flexbox and gap properties as required. */
