/* ===================================================
   Mondlicht Vital - Sophisticated Monochrome CSS Theme
   ===================================================*/

/* ===== CSS RESET (normalize some 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, 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;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #17191A;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #17191A;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #33665F; /* Brand primary */
  text-decoration: none;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 1.5em;
}
ul {
  list-style: disc;
}
ol {
  list-style: decimal;
}
strong, b {
  font-weight: 600;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #17191A;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
h1 { font-size: 2.75rem; line-height: 1.14; 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; }
p, li {
  font-size: 1rem;
  font-weight: 400;
  color: #222;
  margin-bottom: 8px;
}

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

/* Typography scale for hierarchy *used below for special text elements */
.display-1 { font-size: 3rem; font-family: 'Montserrat', sans-serif; font-weight: 700; }
.display-2 { font-size: 2.25rem; font-family: 'Montserrat', sans-serif; font-weight: 600; }

/* ===== Layout Containers ===== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.text-section {
  max-width: 700px;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 28px rgba(30,30,30,0.08);
}

@media (max-width: 900px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 36px;
  }
}

@media (max-width: 600px) {
  .text-section {
    max-width: 100%;
  }
  .section {
    padding: 24px 2vw;
    border-radius: 12px;
  }
}

/* ====== Navigation ====== */
header   { background: #fff; border-bottom: 1px solid #e1e1e1; position: relative; z-index: 30; }
header nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header nav > a img {
  height: 44px;
  width: auto;
}
header nav ul {
  display: flex;
  gap: 20px;
  align-items: center;
  list-style: none;
  margin-left: 32px;
}
header nav ul li a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  text-decoration: none;
  color: #222;
  padding: 10px 8px;
  border-radius: 6px;
  font-size: 1rem;
  transition: background 0.18s, color 0.18s;
}
header nav ul li a:hover,
header nav ul li a:focus {
  background: #efefef;
  color: #33665F;
}
header nav .cta-primary {
  margin-left: 16px;
}

/* ===== CTA Button ===== */
.cta-primary {
  display: inline-block;
  background: #17191A;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1.125rem;
  padding: 14px 36px;
  border-radius: 32px;
  box-shadow: 0 2px 12px 0 rgba(20, 20, 20, 0.10);
  transition: background .22s, color .22s, box-shadow .22s, transform .20s;
  text-decoration: none;
  border: none;
  cursor: pointer;
  outline: none;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #33665F;
  box-shadow: 0 4px 18px 0 rgba(51,102,95,0.16);
  color: #fff !important;
  transform: translateY(-2px) scale(1.025);
}

/* ====== Mobile Menu Styles ====== */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #17191A;
  font-size: 2.1rem;
  font-weight: 700;
  border: none;
  margin-left: 20px;
  outline: none;
  cursor: pointer;
  z-index: 106;
  transition: color .21s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #33665F;
}
.mobile-menu {
  position: fixed;
  z-index: 110;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #f8f8f9;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.77,0,.18,1);
  box-shadow: -3px 0 24px rgba(30,30,30,0.10);
  padding-top: 20px;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #17191A;
  font-size: 2.1rem;
  align-self: flex-end;
  margin-right: 24px;
  margin-bottom: 18px;
  cursor: pointer;
  z-index: 111;
  transition: color .21s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #33665F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  padding: 0 28px;
  margin-top: 28px;
  z-index: 112;
}
.mobile-nav a {
  font-size: 1.09rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #17191A;
  text-decoration: none;
  padding: 14px 0;
  width: 100%;
  border-bottom: 1px solid #e1e1e1;
  transition: color 0.15s, background 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #fff;
  background: #33665F;
  border-radius: 3px;
  padding-left: 6px;
}

@media (max-width: 1000px) {
  header nav ul,
  header nav .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width:1000px) {
  .mobile-menu, .mobile-menu-toggle { display: none!important; }
}

/* ===== Sections and Cards ===== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 32px;
  justify-content: flex-start;
}
.feature-item {
  background: #fafbfc;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(30,30,30,0.04);
  padding: 28px 20px 24px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow .19s, transform .15s;
  border: 1px solid #e3e3e6;
}
.feature-item img {
  height: 46px;
  width: 46px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: 0 1px 4px rgba(51,102,95,0.06);
}
.feature-item h3 {
  font-size: 1.20rem;
  color: #222;
  margin-bottom: 4px;
}
.feature-item p {
  color: #47494b;
  font-size: 1rem;
}
.feature-item:hover {
  box-shadow: 0 8px 30px rgba(51,102,95,0.13);
  transform: translateY(-3px) scale(1.01);
  border-color: #bcbcbc;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-card {
  background: #f6f6f8;
  padding: 32px 26px 28px 26px;
  border-radius: 14px;
  flex: 1 1 210px;
  min-width: 180px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  border: 1px solid #e3e3e6;
  box-shadow: 0 2px 12px rgba(30,30,30,0.07);
  transition: box-shadow .18s, border .18s, transform .19s;
}
.service-card h3 {
  font-size: 1.10rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.service-card .service-price {
  font-family: 'Montserrat', sans-serif;
  background: #ececec;
  color: #222;
  padding: 7px 16px;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 8px;
  align-self: flex-start;
}
.service-card:hover {
  box-shadow: 0 8px 30px rgba(51,102,95,0.13);
  border-color: #bcbcbc;
  transform: translateY(-2px) scale(1.01);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}

/* Testimonials */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px 20px 24px;
  background: #fff;
  color: #1e2224;
  border-radius: 13px;
  border: 1.5px solid #e5e6e7;
  box-shadow: 0 1.5px 16px rgba(30,30,30,0.09);
  min-width: 230px;
  max-width: 420px;
  margin-bottom: 20px;
  transition: box-shadow .21s, border .18s, transform .18s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 28px rgba(40,40,40,0.18);
  border-color: #b0b0b0;
  transform: scale(1.015);
}
.testimonial-card p {
  color: #222 !important;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 6px;
  font-weight: 400;
}
.testimonial-card strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #33665F;
  font-weight: 700;
  align-self: flex-end;
}

/* Blog list */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}
.blog-list li {
  background: #f7f8fa;
  border: 1px solid #e7e7eb;
  border-radius: 11px;
  padding: 22px 18px;
  margin-bottom: 8px;
  transition: box-shadow 0.16s, border 0.16s, transform .18s;
}
.blog-list li:hover {
  border: 1.5px solid #222;
  box-shadow: 0 5px 20px rgba(30,30,30,0.09);
  transform: scale(1.017);
}
.category-list {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.category-list li {
  background: #fff;
  padding: 7px 16px;
  border-radius: 22px;
  color: #47494b;
  border: 1px solid #dfdfdf;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: .99rem;
}

.newsletter-signup {
  background: #f6f6f7;
  border-radius: 14px;
  padding: 38px 26px 20px 26px;
  text-align: center;
  box-shadow: 0 1.5px 8px rgba(30,30,30,0.05);
}
.newsletter-signup h2 { margin-top: 0; }

/* Contact Snippet */
.contact-snippet {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.contact-snippet a.cta-primary {
  margin-top: 14px;
  align-self: flex-start;
}

/* ====== Footer ====== */
footer {
  background: #121314;
  color: #fff;
  padding: 35px 0 24px 0;
  margin-top: 48px;
  border-top: 2px solid #222;
}
footer .container {
  align-items: center;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
footer nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 1rem;
  margin-bottom: 4px;
  color: #efefef;
}
footer nav a {
  color: #e5e5e5;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  padding: 2px 5px;
  border-radius: 3px;
  transition: background .13s, color .13s;
}
footer nav a:hover,
footer nav a:focus {
  color: #F3EDA0;
  background: rgba(51,102,95,0.13);
}
.footer-info p {
  font-size: .97rem;
  color: #bbb;
  margin-bottom: 4px;
}
.footer-info a { color: #B0DFC7; }

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: #222;
  color: #fff;
  width: 100vw;
  padding: 22px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: 0 -3px 22px rgba(30,30,30,0.15);
  animation: slideUpIn .44s cubic-bezier(.6,0,.16,1);
}
@keyframes slideUpIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  max-width: 650px;
  text-align: center;
  color: #fff;
  font-size: 1.05rem;
}
.cookie-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 5px;
  align-items: center;
}
.cookie-btn {
  background: #fff;
  color: #222;
  border: none;
  outline: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .98rem;
  padding: 11px 26px;
  border-radius: 28px;
  margin: 0;
  cursor: pointer;
  transition: background .16s, color .16s, box-shadow .19s;
  box-shadow: 0 1.5px 8px rgba(40,40,40,0.13);
}
.cookie-btn.accept {
  background: #33665F;
  color: #fff;
}
.cookie-btn.accept:hover { background: #1e2224; }
.cookie-btn.reject {
  background: #fff;
  color: #1e2224;
}
.cookie-btn.reject:hover {
  background: #F3EDA0;
  color: #17191A;
}
.cookie-btn.settings {
  background: #B0DFC7;
  color: #172820;
}
.cookie-btn.settings:hover { background: #fff; color: #33665F; }

@media (max-width: 600px) {
  .cookie-banner {
    padding: 16px 4vw;
  }
  .cookie-banner-content {
    font-size: 1rem;
  }
  .cookie-banner-btns {
    flex-direction: column;
    gap: 12px;
  }
}

/* ===== Cookie Modal ===== */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(16,17,18,0.80);
  z-index: 151;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn .34s;
}
@keyframes fadeIn {
  0% { opacity:0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #1e2224;
  border-radius: 18px;
  max-width: 420px;
  width: 97vw;
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 6px 38px rgba(0,0,0,0.18);
  font-size: 1.01rem;
  position: relative;
  animation: slideUpIn .38s;
}
.cookie-modal h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.26rem;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 5px 0 17px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f5f5f7;
  padding: 10px 12px;
  border-radius: 11px;
}
.cookie-category label {
  flex: 1 1 auto;
  color: #222;
}
.cookie-category input[type="checkbox"] {
  accent-color: #33665F; /* fallback handled by browser */
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 22px;
  top: 19px;
  border: none;
  background: none;
  color: #222;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color .16s;
  z-index: 3;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #33665F;
}

/* ===== Utility Classes & Effects ===== */
.shadow-sm      { box-shadow: 0 2px 8px rgba(30,30,30,0.06); }
.shadow-md      { box-shadow: 0 7px 22px rgba(51,102,95,0.12); }
.rounded-xxl    { border-radius: 28px; }
.rounded-xl     { border-radius: 16px; }
.rounded        { border-radius: 8px;  }
.text-center    { text-align: center;  }
.text-right     { text-align: right;   }
.text-left      { text-align: left;    }

/* Hidden utility */
.hidden         { display: none !important; }

/* ===== Responsive Flex Direction for key sections ===== */
@media (max-width: 768px) {
  .feature-grid, .service-list, .testimonial-slider, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .footer .content-wrapper,
  footer .content-wrapper {
    align-items: stretch;
  }
}

/* ===== Elegant Monochrome Color Palette ===== */
body, .container, .section {
  background: #fff;
  color: #17191A;
}
section {
  /* dramatic contrast for monochrome sections */
  box-shadow: 0 2px 24px rgba(0,0,0,0.02);
}
.feature-item, .service-card, .testimonial-card, .blog-list li, .newsletter-signup {
  background: #fff;
  border-color: #dadada;
  color: #17191A;
}
footer {
  background: #101112;
}

/* ===== Form/Inputs (if used) ===== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 9px;
  border: 1.5px solid #cfcfcf;
  padding: 11px 16px;
  outline: none;
  font-size: 1rem;
  color: #222;
  background: #fafafa;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #33665F;
}

/* ===== Animations and Micro-interactions ===== */
.card, .feature-item, .service-card, .testimonial-card, .blog-list li {
  transition: box-shadow .16s, transform .16s, border .15s;
}
.cta-primary, .cookie-btn {
  transition: background 0.18s, color 0.18s, box-shadow .18s, transform .18s;
}

/* ===== Accessibility fixes ===== */
:focus-visible {
  outline: 2px solid #33665F!important;
  outline-offset: 2px;
}

/* ====== Scrollbar custom (if supported) ===== */
::-webkit-scrollbar {
  width: 9px;
  background: #fafafa;
}
::-webkit-scrollbar-thumb {
  background: #dbdbdb;
  border-radius: 5px;
}

/* ====== Brand Color Accent Elements (accents always minimal; monochrome dominant!) ===== */
a, .cta-primary, .cookie-btn.accept, .footer-info a, .mobile-nav a:focus, .mobile-nav a:hover {
  accent-color: #33665F;
}

/* Hide outline for mouse, show for keyboard nav (for accessibility) */
*:focus:not(:focus-visible) {
  outline: none;
}

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