/* --- CSS RESET and NORMALIZATION (mobile-first, wide support) --- */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #FAF9F6;
  color: #193252;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #193252;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #4CA151;
  outline-offset: 2px;
}
a:hover {
  color: #4CA151;
}

button {
  font: inherit;
  border: none;
  cursor: pointer;
  background: none;
}
ul, ol {
  list-style: none;
}

hr {
  border: 0;
  height: 1px;
  background: #DEE3EA;
  margin: 32px 0;
}

/* --- COLOR PALETTE (Earth/Nature Organic + Brand) --- */
:root {
  --brand-primary: #193252;
  --brand-secondary: #DEE3EA;
  --brand-accent: #FFC33B;
  --nature-green: #4CA151;
  --nature-brown: #988360;
  --nature-sand: #FAF9F6;
  --nature-olive: #AAB892;
  --nature-stone: #E6E1D6;
  --nature-dark: #232A23;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #193252;
  line-height: 1.15;
  letter-spacing: 1px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }
p, li {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #232A23;
  margin-bottom: 16px;
}
strong { font-weight: 600; }

/* --- CONTAINER and SECTION LAYOUTS --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FAF9F6;
  border-radius: 42px 16px 32px 32px / 32px 48px 20px 32px;
  box-shadow: 0 2px 22px 0 rgba(76, 161, 81, 0.09);
}
.hero {
  min-height: 320px;
  background: linear-gradient(135deg, #FAF9F6 70%, #DEE3EA 100%);
  border-radius: 0 0 64px 64px;
  padding: 64px 0 56px 0;
  margin-bottom: 60px;
  box-shadow: 0 4px 32px 0 rgba(76,161,81,0.08);
  position: relative;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* --- FLEXBOX CONTAINER PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #FFF;
  border-radius: 30px 14px 26px 22px;
  box-shadow: 0 8px 24px 0 rgba(25,50,82,0.08);
  border: 1px solid #E6E1D6;
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 12px 28px 0 rgba(76,161,81,0.13);
  transform: translateY(-4px) scale(1.01);
}
.card:last-child { margin-bottom: 0; }

.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: #E6E1D6;
  border-radius: 28px 18px 32px 16px;
  box-shadow: 0 2px 15px 0 rgba(25,50,82,0.07);
  min-width: 260px;
  max-width: 400px;
  flex: 1 1 250px;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  color: #232A23;
}
.testimonial-card strong {
  color: #193252;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  border-radius: 20px 24px 32px 16px;
  box-shadow: 0 2px 12px 0 rgba(170,184,146,0.08);
  border: 1px solid #AAB89210;
  padding: 24px 20px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.feature-item:hover {
  box-shadow: 0 6px 18px 0 rgba(76,161,81,0.17);
  transform: translateY(-2px) scale(1.01);
}
.features-grid, .service-list, .service-grid, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.service-item {
  background: #E6E1D6;
  border-radius: 18px 12px 24px 8px;
  box-shadow: 0 2px 12px 0 rgba(170,184,146,0.07);
  padding: 26px 18px;
  margin-bottom: 20px;
  flex: 1 1 245px;
  min-width: 200px;
  transition: box-shadow 0.18s;
}
.service-item strong {
  color: #4CA151;
}
.service-item:last-child {
  margin-bottom: 0;
}

.metropolen-list, .contact-block, .contact-quick, .footer-brand {
  margin-bottom: 18px;
}

/* --- BUTTONS & ACTION ELEMENTS --- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #4CA151 60%, #AAB892 140%);
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 28px 14px 24px 20px;
  padding: 14px 36px;
  min-width: 138px;
  box-shadow: 0 2px 12px 0 rgba(76,161,81,0.10);
  border: none;
  cursor: pointer;
  margin-top: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.13s, box-shadow 0.18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #232A23;
  color: #FFC33B;
  transform: translateY(-2px) scale(1.03);
}

/* --- HEADER and NAVIGATION --- */
header {
  background: #FAF9F6;
  box-shadow: 0 2px 14px rgba(76,161,81,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  min-height: 68px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
header img {
  max-height: 46px;
  margin-right: 16px;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  color: #193252;
  font-size: 1.05rem;
  padding: 6px 12px;
  border-radius: 7px;
  transition: color 0.16s, background 0.18s;
}
nav a:hover, nav a:focus {
  color: #4CA151;
  background: #AAB89226;
}
.mobile-menu-toggle {
  display: none;
  background: #AAB892;
  color: #FAF9F6;
  font-size: 2.1rem;
  border-radius: 12px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  z-index: 101;
  transition: background 0.16s, transform 0.16s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #193252;
  color: #FFC33B;
}

/* --- MOBILE MENU - Hamburger Navigation --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(25,50,82,0.96);
  transform: translateX(-110vw);
  transition: transform 0.39s cubic-bezier(0.69,0,0.12,1);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 24px;
  padding-left: 0;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #FFC33B;
  font-size: 2.25rem;
  margin-left: 20px;
  margin-bottom: 12px;
  align-self: flex-start;
  border: none;
  cursor: pointer;
  transition: color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FAF9F6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-left: 36px;
  margin-top: 12px;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 4px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #4CA151;
  color: #FFC33B;
}

/* --- Main, Section, and Content Styles --- */
main {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 60px;
  background: #FAF9F6;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 30px;
}
.features-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 14px 0 0 0;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.process-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
}
.process-icons img {
  height: 46px;
  width: 46px;
}

ul, ol {
  padding-left: 18px;
  margin-bottom: 22px;
}
ul li, ol li {
  margin-bottom: 8px;
  color: #232A23;
}
ul li strong, ol li strong {
  color: #4CA151;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: linear-gradient(92deg, #E6E1D6 70%, #AAB892 134%);
  border-radius: 38px 22px 38px 22px / 38px 22px 38px 22px;
  padding: 40px 0;
  margin-bottom: 60px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #FFF;
  color: #232A23;
  box-shadow: 0 4px 14px 0 rgba(25,50,82,0.10);
  padding: 32px 26px;
  border-radius: 28px 14px 28px 14px;
  margin-bottom: 20px;
  min-width: 250px;
  flex: 1 1 250px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 24px 0 rgba(76,161,81,0.15);
  transform: scale(1.02);
}
.testimonial-card strong {
  color: #193252;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 10px;
}

/* --- CONTACT + INFOS --- */
.contact-block, .contact-quick, .footer-contact {
  background: #d9e0cef9;
  border-radius: 18px 8px 18px 8px;
  padding: 20px;
  color: #ced4dd;
  font-size: 1.02rem;
  margin-bottom: 20px;
}
.contact-quick {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
}
.contact-info {
  flex: 1 1 150px;
}

/* --- FOOTER --- */
footer {
  background: #2c558d;
  color: #FFF;
  padding: 52px 0 34px 0;
  border-radius: 54px 0 0 0 / 80px 0 0 44px;
  margin-top: 50px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 46px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.footer-brand p {
  color: #AAB892;
  font-size: 0.98rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a {
  color: #DEE3EA;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: #FFC33B;
}
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-legal a {
  color: #AAB892;
  font-size: 0.89rem;
}
.footer-legal a:hover {
  color: #FFC33B;
}
.footer-contact {
  background-color: #E6E1D6;
  font-size: 0.97rem;
  margin-top: 20px;
  background: none;
  padding: 0;
  border-radius: 0;
}
.footer-contact a {
  color: #FFC33B;
}
.footer-contact a:hover {
  text-decoration: underline;
}
.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 16px;
}
.footer-social img {
  width: 32px;
  height: 32px;
  filter: grayscale(18%) brightness(1.15);
  transition: filter 0.18s, transform 0.15s;
  cursor: pointer;
}
.footer-social img:hover {
  filter: none;
  transform: scale(1.13);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: #193252;
  color: #FFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  justify-content: center;
  padding: 24px 18px 14px 18px;
  box-shadow: 0 -2px 18px 0 rgba(25,50,82,0.08);
  border-radius: 22px 22px 0 0;
  font-size: 1rem;
  animation: cookieBannerIn 0.68s cubic-bezier(0.23, 1, 0.32, 1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(80px); opacity: 0.2; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-btn-group {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.cookie-btn {
  background: #4CA151;
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 18px 8px 16px 8px;
  padding: 10px 26px;
  font-size: 1rem;
  margin-right: 2px;
  border: none;
  transition: background 0.13s, box-shadow 0.18s;
  box-shadow: 0 2px 6px 0 rgba(76,161,81,0.13);
  cursor: pointer;
}
.cookie-btn:last-child {
  margin-right: 0;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #AAB892;
  color: #193252;
}
.cookie-btn.settings {
  background: #FFC33B;
  color: #193252;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #4CA151;
  color: #FFF;
}
.cookie-btn.reject {
  background: #AAB892;
  color: #232A23;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FFC33B;
  color: #193252;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  z-index: 9999;
  background: rgba(25,50,82,0.53);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #FAF9F6;
  color: #193252;
  border-radius: 28px 16px 28px 16px;
  padding: 32px 22px 22px 22px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 8px 36px 0 rgba(25,50,82,0.21);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalOpen 0.38s cubic-bezier(0.23, 1, 0.32, 1);
}
@keyframes modalOpen {
  from { transform: translateY(140px) scale(0.96); opacity: 0.2; }
  to { transform: none; opacity: 1; }
}
.cookie-modal-content h2 {
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
}
.cookie-category span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-right: 10px;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #AAB892;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-toggle:checked {
  background: #4CA151;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 1px 3px 0 rgba(25,50,82,0.10);
  transition: left 0.2s;
}
.cookie-toggle:checked:before {
  left: 19px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #4CA151;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #193252;
}

/* --- RESPONSIVE DESIGN: MOBILE FIRST --- */
@media (max-width: 1200px) {
  .container {
    max-width: 980px;
  }
  footer .container {
    gap: 24px;
  }
}
@media (max-width: 992px) {
  .container {
    max-width: 740px;
  }
  .features-grid, .service-grid, .testimonial-slider {
    gap: 16px;
  }
  .card, .testimonial-card, .feature-item, .service-item {
    padding: 18px;
  }
  footer .container {
    flex-direction: column;
    gap: 34px;
  }
  .footer-brand, .footer-nav, .footer-contact {
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.17rem; }
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
  .hero {
    padding: 38px 0 25px 0;
  }
  .footer-contact {
    margin-top: 8px;
    background-color: #E6E1D6;
  }
  .content-wrapper {
    gap: 12px;
  }
  .features-grid, .service-grid, .testimonial-slider, .process-icons {
    flex-direction: column;
    gap: 12px;
  }
  .feature-item, .testimonial-card, .service-item, .card {
    min-width: 0;
    width: 100%;
    padding: 15px 12px;
  }
  .testimonials {
    padding-left: 0; padding-right: 0;
  }
  .section, section {
    padding: 22px 6px;
    margin-bottom: 34px;
    border-radius: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .contact-quick, .footer-brand {
    flex-direction: column;
    gap: 10px;
  }
  .footer-brand img {
    max-width: 95px;
  }
}

@media (max-width: 650px) {
  /* Show mobile burger, hide desktop nav */
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 12px 18px;
  }
  .footer-social img {
    width: 28px; height: 28px;
  }
}

@media (max-width: 520px) {
  .hero { padding: 16px 0 24px 0; }
  h1, h2 { font-size: 1.17rem; }
  .cta-btn { padding: 10px 12px; font-size: 0.98rem; }
  .footer-brand p { font-size: 0.88rem; }
  .cookie-modal-content { min-width: 94vw; padding: 18px 3vw; }
}

/* --- SCROLLBAR --- */
body::-webkit-scrollbar { width: 13px; background: #E6E1D6; }
body::-webkit-scrollbar-thumb { background: #AAB892; border-radius: 12px; }

/* --- MICRO-ANIMATIONS --- */
.card, .feature-item, .service-item, .testimonial-card {
  will-change: transform, box-shadow;
}
.cta-btn, .cookie-btn, .mobile-menu-toggle {
  will-change: background, color, transform;
}

/* --- UTILITY CLASSES and MISC. --- */
.hide { display: none !important; }
.show { display: block !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-green { color: #4CA151; }
.bg-olive { background: #AAB892 !important; }
.bg-sand { background: #FAF9F6 !important; }
.bg-stone { background: #E6E1D6 !important; }

/* --- ORGANIC SHAPES FOR HERO & SECTION BG --- */
.hero, .section, section {
  /* Organic border-radius set above */
  box-shadow: 0 2px 44px 0 rgba(76,161,81,0.09);
}

/* --- FORMS (optional, if forms present) --- */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 14px;
  border-radius: 14px 7px 14px 7px;
  border: 1px solid #AAB89260;
  outline: none;
  background: #FAF9F6;
  color: #193252;
  margin-bottom: 12px;
  box-shadow: 0 1px 2px 0 rgba(170,184,146,0.06);
  transition: border-color 0.13s, box-shadow 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #4CA151;
  box-shadow: 0 2px 6px 0 rgba(76,161,81,0.11);
}

/* --- FAQ/Accordion (add if FAQ present) --- */
.accordion {
  border: 1px solid #AAB89240;
  border-radius: 14px;
  background: #FFF;
  margin-bottom: 24px;
}
.accordion-header {
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 600;
}
.accordion-content {
  padding: 12px 18px;
  display: none;
}
.accordion-content.open {
  display: block;
}

/* --- Accessibility: Focus outline for tab navigation --- */
a:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-nav a:focus {
  outline: 2px solid #FFC33B;
  outline-offset: 2px;
}

/* --- END OF STYLE.CSS --- */
