/* -------------------------
   HAUT & HAAR HARMONIE CSS
   Modern_Bold style, Flexbox only
------------------------- */

/* --- CSS RESET & NORMALIZATION --- */
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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #F6F6F6;
  color: #222;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img { max-width: 100%; display: block; height: auto; }
a { color: #355D4A; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #193024; text-decoration: underline; }
ul, ol { list-style: none; }

/* --- REMOVE tap highlight on mobile --- */
* { -webkit-tap-highlight-color: rgba(0,0,0,0); }

/* --- FONTS (FALLBACKS) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; color: #355D4A; }
h2 { font-size: 1.8rem; margin-bottom: 20px; color: #222; }
h3 { font-size: 1.25rem; color: #355D4A; margin-bottom: 14px; font-weight: 700; }
h4 { font-size: 1.125rem; color: #355D4A; font-weight: 700; }

p, li, span { font-family: 'Open Sans', Arial, sans-serif; font-weight: 400; font-size: 1rem; line-height: 1.7; }
p { margin-bottom: 16px; }
strong, b { font-weight: 700; }

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

/* --- HEADER --- */
header {
  background: #ffffff;
  border-bottom: 4px solid #8DC4B8;
  box-shadow: 0 2px 8px 0 rgba(35, 93, 74, 0.04);
  position: relative;
  z-index: 1000;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  min-height: 70px;
}
.logo img {
  height: 44px;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #355D4A;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.18s;
  padding: 6px 6px 8px 6px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #fff;
  background: #355D4A;
  border-radius: 10px 10px 0 0;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  background: #8DC4B8;
  color: #355D4A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  padding: 13px 32px;
  margin-left: 24px;
  box-shadow: 0 4px 18px 0 rgba(141, 196, 184, 0.13);
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  outline: none;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus {
  background: #355D4A;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px 0 rgba(35, 93, 74, 0.17);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #355D4A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid #355D4A;
  border-radius: 30px;
  padding: 12px 30px;
  text-transform: uppercase;
  margin-top: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #355D4A;
  color: #fff;
  border-color: #355D4A;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: #355D4A;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: none;
  z-index: 2002;
  padding: 4px 12px;
  border-radius: 10px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #8DC4B8;
  color: #fff;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(53,93,74,0.94);
  transform: translateX(-102vw);
  transition: transform 0.45s cubic-bezier(.62,.4,.25,1), opacity 0.23s;
  z-index: 2000;
  opacity: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open { transform: translateX(0); opacity: 1; }
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  font-family: 'Montserrat', Arial,sans-serif;
  font-weight: 900;
  align-self: flex-end;
  margin: 20px 22px 0 0;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 2003;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #8DC4B8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  padding: 40px 32px 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 18px 4px 12px 0;
  border-radius: 8px;
  transition: background 0.19s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #8DC4B8;
  background: rgba(141,196,184,0.10);
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(100deg, #F6F6F6 80%, #8DC4B8 110%);
  box-shadow: 0 4px 34px 0 rgba(35, 93, 74, 0.09);
  border-radius: 0 0 30px 30px;
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 300px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 22px;
  max-width: 650px;
  padding: 30px 0 40px 0;
}
.hero h1 {
  font-size: 2.5rem;
  color: #355D4A;
  font-weight: 900;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.18rem;
}

/* --- FLEXBOX LAYOUT RULES --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features, .services, .about, .contact {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(53,93,74, 0.06);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features .content-wrapper,
.services .content-wrapper,
.about .content-wrapper,
.contact .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 5px 20px 0 rgba(53,93,74,0.11);
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover { box-shadow: 0 12px 38px 0 rgba(53,93,74,0.22); transform: translateY(-3px) scale(1.05); }

.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;
  border-radius: 16px;
  background: #F6F6F6;
  box-shadow: 0 2px 8px 0 rgba(53,93,74,0.06);
  margin-bottom: 20px;
  flex: 1 1 320px;
  max-width: 455px;
  min-width: 240px;
  transition: box-shadow 0.22s, background 0.16s;
}
.testimonial-card:hover, .testimonial-card:focus {
  background: #fff;
  box-shadow: 0 12px 40px 0 rgba(141,196,184,0.16);
}
.testimonial-card p {
  color: #222;
  font-size: 1.06rem;
  font-style: italic;
  margin: 0 0 8px 0;
}
.client-name {
  font-weight: 700;
  color: #355D4A;
  margin-right: 8px;
  font-size: 0.98rem;
}
.star-rating {
  color: #FFBA08;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F6F6F6;
  border-radius: 15px;
  padding: 24px 22px;
  box-shadow: 0 2px 8px 0 rgba(53,93,74,0.04);
  margin-bottom: 20px;
}

/* --- FEATURE GRID --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 6px;
  justify-content: flex-start;
}
.feature-grid > li,
.feature-grid > div {
  background: #F6F6F6;
  border-radius: 16px;
  box-shadow: 0 1px 6px 0 rgba(53,93,74,0.03);
  flex: 1 1 270px;
  min-width: 220px;
  max-width: 335px;
  padding: 24px 20px 20px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.feature-grid > li:hover, .feature-grid > div:hover {
  box-shadow: 0 8px 32px 0 rgba(53,93,74,0.09);
  transform: translateY(-2px) scale(1.02);
}
.feature-grid img {
  height: 44px;
  margin-bottom: 18px;
}
.feature-grid strong,
.feature-grid h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: #355D4A;
  font-size: 1.18rem;
  margin-bottom: 8px;
  display: block;
}
.feature-grid p,
.feature-grid span {
  color: #222;
  line-height: 1.6;
  font-size: 1rem;
}

/* --- BLOG FEATURES --- */
.featured-article {
  background: #8DC4B8;
  color: #fff;
  border-radius: 10px;
  padding: 20px 24px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  box-shadow: 0 1px 8px 0 rgba(35,93,74,0.10);
  margin-bottom: 20px;
}
.featured-article strong {
  color: #fff;
  font-size: 1.11rem;
  font-family: 'Montserrat', Arial;
  font-weight: 900;
}

/* --- CONTACT INFO --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}
.contact-info img { height: 20px; }

.map {
  background: #F6F6F6;
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 1px 6px 0 rgba(53,93,74,0.05);
  margin-bottom: 16px;
  font-size: 0.98rem;
}

/* --- FOOTER --- */
footer {
  background: #355D4A;
  color: #fff;
  padding: 40px 0 24px 0;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  position: relative;
  width: 100%;
  z-index: 90;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.footer-menu {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.footer-menu a {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: color 0.18s;
}
.footer-menu a:hover,
.footer-menu a:focus { color: #8DC4B8; text-decoration: underline; }
.footer-contact {
  font-size: 0.94rem;
  color: #cdebe3;
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-contact img {
  height: 32px;
  margin-right: 10px;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a img {
  height: 24px;
  opacity: 0.87;
  transition: opacity 0.19s;
}
.footer-social a:hover img {
  opacity: 1;
  filter: drop-shadow(0 0 5px #8DC4B8);
}
.footer-legal {
  font-size: 0.95rem;
  color: #cdebe3;
  margin-top: 12px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 4px solid #355D4A;
  box-shadow: 0 -6px 26px 0 rgba(53,93,74,0.07);
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 30px 24px 24px 24px;
  animation: slideInBottom 0.55s cubic-bezier(.35,.52,.17,1);
}
.cookie-consent-banner p {
  color: #222;
  font-size: 1rem;
}
.cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.cookie-btn {
  background: #355D4A;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 14px;
  font-weight: 900;
  font-size: 1rem;
  padding: 11px 23px;
  cursor: pointer;
  transition: background 0.21s, color 0.17s, box-shadow 0.16s;
}
.cookie-btn.accept {
  background: #8DC4B8;
  color: #355D4A;
}
.cookie-btn.settings {
  background: transparent;
  color: #355D4A;
  border: 2px solid #355D4A;
  font-weight: 700;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #193024;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F6F6F6;
  color: #355D4A;
  border-color: #8DC4B8;
}

@keyframes slideInBottom {
  from { transform: translateY(100%); opacity: 0.4; }
  to   { transform: translateY(0); opacity: 1; }
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(34,34,34,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4100;
  animation: fadeInBg 0.2s cubic-bezier(.57,.19,.24,.98);
}
@keyframes fadeInBg {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 40px 0 rgba(53,93,74,0.18);
  padding: 38px 34px 32px 34px;
  max-width: 450px;
  min-width: 270px;
  margin: 0 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalPopIn 0.33s cubic-bezier(.43,.25,.23,1);
}
@keyframes modalPopIn {
  from { transform: scale(.82) translateY(80px); opacity: 0.6; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute; top: 18px; right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #355D4A;
  font-weight: 900;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: #8DC4B8; }
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #355D4A;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  background: #F6F6F6;
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 1rem;
}
.cookie-category.essential {
  color: #355D4A;
  font-weight: 700;
}
.cookie-toggle {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #d2e4de;
  border-radius: 13px;
  outline: none;
  transition: background 0.17s;
  position: relative;
  cursor: pointer;
  vertical-align: middle;
}
.cookie-toggle:checked {
  background: #8DC4B8;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px; left: 2px;
  box-shadow: 0 2px 6px 0 rgba(53,93,74,0.13);
  transition: left 0.16s;
}
.cookie-toggle:checked:before {
  left: 22px;
}

/* --- PAGE SECTIONS --- */
section {
  margin-bottom: 60px;
}
section .container > .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

ul li {
  margin-bottom: 14px;
}
ul li:last-child { margin-bottom: 0; }

/* --- UTILITY CLASSES --- */
.hide { display: none !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* --- MEDIA QUERIES: RESPONSIVE (Mobile-First) --- */
@media (max-width: 1150px) {
  .feature-grid > li, .feature-grid > div {
    flex: 1 1 300px;
    min-width: 170px;
    max-width: 48vw;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 14px;
  }
  .feature-grid { gap: 20px; }
  .feature-grid > li, .feature-grid > div {
    min-width: 150px;
    max-width: 95vw;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    padding: 0 10px;
    flex-wrap: wrap;
    height: 56px;
    min-height: 56px;
  }

  .main-nav,
  .cta-primary {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 10px;
    top: 10px;
  }

  .hero {
    padding: 16px 0 0 0;
    border-radius: 0 0 22px 22px;
  }

  .hero h1 { font-size: 1.6rem; }
  .hero .content-wrapper { padding: 16px 0 24px 0; }

  .section, .features, .services, .about, .contact {
    padding: 26px 5px;
    margin-bottom: 32px;
    border-radius: 12px;
  }

  .feature-grid { flex-direction: column; gap: 18px; }
  .feature-grid > li, .feature-grid > div {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    max-width: 100vw;
    min-width: 0;
    padding: 14px;
  }

  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .content-grid { flex-direction: column; gap: 12px; }

  footer .container { gap: 10px; }
  .footer-menu { flex-direction: column; gap: 4px; }
  .footer-contact { flex-direction: column; gap: 6px; }
  .footer-social { gap: 12px; }
}
@media (max-width: 480px) {
  .cookie-modal-content {
    padding: 18px 7vw;
    min-width: 0;
  }
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.card, .feature-grid > li, .feature-grid > div, .testimonial-card,
.cta-primary, .cta-secondary, .cookie-btn, .footer-social a img,
.mobile-nav a {
  transition: box-shadow 0.16s, transform 0.17s, background 0.16s, color 0.17s;
}

/* --- VISUAL GEOMETRIC DECOR (OPTIONAL, ex. / only) --- */
.hero:after {
  content: '';
  display: block;
  position: absolute;
  right: 0; top: 0; height: 120px; width: 124px;
  z-index: 0;
  background: #8DC4B8;
  opacity: 0.13;
  clip-path: polygon(60% 0%, 100% 23%, 82% 80%, 55% 75%, 30% 100%, 0% 70%, 0% 0%);
  pointer-events: none;
}

/* --- ACCESSIBILITY --- */
:focus {
  outline: 2px dashed #8DC4B8;
  outline-offset: 2px;
}

/* --- END DEFINITIONS --- */
