/* === CSS RESET & BASE === */
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;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,main,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #141414;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #141414;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
ul, ol {
  margin-left: 1.5em;
}
strong { font-weight: 600; }

/* === TYPOGRAPHY SCALE === */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  letter-spacing: -0.5px;
  font-weight: 700;
  color: #000;
  margin-bottom: 24px;
  line-height: 1.12;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  letter-spacing: -0.2px;
  font-weight: 700;
  color: #141414;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}
p, li, dd {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
  margin-bottom: 16px;
}
li {
  padding-left: 0.1em;
}
small {
  font-size: 0.93em;
  color: #757575;
}

/* === LAYOUT CONTAINER, FLEXBOX === */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(20,20,20,0.07);
  position: sticky;
  top: 0;
  z-index: 1100;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 14px;
}
.logo img {
  height: 42px;
  min-width: 44px;
}
nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
nav.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06em;
  color: #222;
  letter-spacing: 0.03em;
  padding: 5px 0;
  position: relative;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
nav.main-nav a:hover, nav.main-nav a:focus {
  color: #34623F;
}

/* === CTA BUTTON === */
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08em;
  font-weight: 700;
  color: #fff;
  background: #141414;
  border: none;
  border-radius: 28px;
  padding: 11px 32px;
  margin-left: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.18s, color 0.2s;
  display: inline-block;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #34623F;
  color: #fff;
  box-shadow: 0 6px 20px rgba(20,30,20,0.14);
}

/* === BURGER MENU (MOBILE) === */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.15rem;
  color: #141414;
  padding: 4px 14px;
  border-radius: 22px;
  cursor: pointer;
  margin-left: 8px;
  z-index: 2001;
  display: none; /* Show on mobile via media query */
  transition: background 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ececec;
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background: #fff;
  z-index: 2200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 38px 0;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.62,0,.37,1);
  box-shadow: 0 0 40px rgba(0,0,0,0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #141414;
  padding: 14px 22px 10px 8px;
  cursor: pointer;
  align-self: flex-end;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 32px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #222;
  padding: 8px 0;
  transition: color 0.18s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #34623F;
}

/* === HERO SECTION === */
.hero-section {
  background: #fff;
  border-bottom: 2px solid #eee;
  margin-bottom: 60px;
  padding: 56px 0 38px 0;
}
.hero-section .content-wrapper {
  gap: 16px;
}
.hero-section h1 {
  color: #141414;
}
.hero-section p {
  color: #222;
  font-size: 1.17rem;
  margin-bottom: 12px;
}

/* === FEATURES SECTION === */
.features-section {
  background: #f8f8f8;
  margin-bottom: 60px;
  padding: 40px 0;
}
.features-section .content-wrapper {
  gap: 26px;
}
.features-section ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.features-section li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05em;
  color: #181818;
  background: #fff;
  border-radius: 18px;
  padding: 13px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.048);
}
.features-section li img {
  height: 22px;
  width: 22px;
  flex-shrink: 0;
  filter: grayscale(1) contrast(1.2);
}

/* === SERVICES SECTION (INDEX & PAGES) === */
.services-section,
.services-main-section {
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 0;
}
.services-section .content-wrapper,
.services-main-section .content-wrapper {
  gap: 27px;
}
.services-section ul,
.services-main-section ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.services-section li, .services-main-section li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.08em;
  color: #191919;
  background: #F6F6F6;
  border-radius: 13px;
  padding: 11px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  gap: 9px;
}
.services-section li span, .services-main-section li em {
  margin-left: auto;
  font-weight: 700;
  color: #34623F;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #fff;
  padding: 1px 9px;
  border-radius: 8px;
  font-size: 1em;
  letter-spacing: 0.01em;
}

/* === ABOUT SECTION === */
.about-section, .about-main-section {
  background: #f8f8f8;
  margin-bottom: 60px;
  padding: 40px 0;
}
.about-section .content-wrapper, .about-main-section .content-wrapper {
  gap: 22px;
}
.about-section ul, .about-main-section ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1em;
}

/* === PHILOSOPHY SECTION === */
.philosophy-section {
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 0;
}
.philosophy-section .content-wrapper {
  gap: 21px;
}
.philosophy-section ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.philosophy-section li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #191919;
  font-size: 1.03em;
}
.philosophy-section li img {
  height: 20px;
  width: 20px;
  filter: grayscale(1) contrast(1.15);
}

/* === CTA SECTION === */
.cta-section {
  background: #141414;
  padding: 48px 0 40px 0;
  margin-bottom: 60px;
  color: #fff;
}
.cta-section h2, .cta-section p {
  color: #fff !important;
}
.cta-section .cta-btn {
  background: #fff;
  color: #141414;
}
.cta-section .cta-btn:hover, .cta-section .cta-btn:focus {
  background: #34623F;
  color: #fff;
}

/* === LEGAL SECTIONS === */
.legal-section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.legal-section .content-wrapper {
  gap: 23px;
}
.legal-section ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.legal-section li {
  color: #212121;
  font-size: 1em;
}

/* === TESTIMONIALS === */
.testimonials-section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.testimonials-section .content-wrapper {
  gap: 26px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1.4px solid #ddd;
  border-radius: 17px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  padding: 28px 31px 22px 28px;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #111;
  font-size: 1.08em;
  margin-bottom: 7px;
}
.testimonial-card strong {
  color: #34623F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.96em;
  font-weight: 700;
}

/* === THANK YOU SECTION === */
.thankyou-section-submit {
  margin-bottom: 60px;
  padding: 50px 0 40px 0;
}
.thankyou-section-submit .content-wrapper {
  justify-content: center;
  align-items: center;
  gap: 26px;
}

/* === REFERENZEN SECTION === */
.referenzen-section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.referenzen-section .content-wrapper {
  gap: 22px;
}
.impact-stories {
  margin-top: 28px;
  background: #f6f6f6;
  border-radius: 9px;
  padding: 18px 22px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.impact-stories h3 { margin-bottom: 16px; font-size: 1.15em; }
.impact-stories ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* === CONTACT SECTION === */
.contact-section {
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 0;
}
.contact-section .content-wrapper {
  gap: 20px;
}
.contact-section .address-block {
  background: #F6F6F6;
  padding: 18px 20px 12px 20px;
  border-radius: 13px;
  font-size: 1em;
  color: #222;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.map-placeholder {
  background: #f3f3f3;
  color: #181818;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  justify-content: center;
}

/* === FOOTER === */
.site-footer {
  background: #141414;
  color: #eee;
  padding: 44px 0 28px;
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.site-footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.site-footer img {
  max-width: 68px;
  margin-bottom: 13px;
}
.site-footer p {
  color: #eee;
  font-size: 1em;
  margin-bottom: 0;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 0.97em;
  color: #bbb;
  letter-spacing: 0.01em;
}
.site-footer nav a {
  color: #bbb;
  transition: color 0.18s;
}
.site-footer nav a:hover, .site-footer nav a:focus {
  color: #fff;
}
.site-footer .social-links {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 7px;
}
.site-footer .social-links span {
  color: #bbb;
  margin-right: 8px;
  font-size: 0.99em;
}
.site-footer .social-links img {
  width: 26px;
  height: 26px;
  filter: grayscale(1) contrast(1.12);
  cursor: pointer;
  transition: filter 0.2s;
}
.site-footer .social-links img:hover, 
.site-footer .social-links img:focus {
  filter: contrast(1.5) grayscale(0.5) brightness(1.34);
}

/* === GENERIC FLEX LAYOUTS === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.056);
  padding: 22px 24px 18px 24px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === DL FAQ === */
dl {
  margin: 0 0 18px 0;
  padding: 0;
}
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.02em;
  margin-top: 10px;
  color: #141414;
}
dd {
  margin-bottom: 5px;
  color: #232323;
  font-size: 0.98em;
  margin-left: 0.5em;
}

/* === SPACING between elements === */
section, .section {
  margin-bottom: 60px;
}

/* === MICRO-INTERACTIONS & TRANSITIONS === */
button, .cta-btn, input[type="submit"] {
  transition: background 0.16s, color 0.15s, box-shadow 0.18s;
}
.card, .testimonial-card, .address-block {
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .testimonial-card:hover, .address-block:hover {
  box-shadow: 0 8px 26px rgba(20,20,20,0.12);
  transform: translateY(-2px) scale(1.009);
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9001;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #141414ee;
  color: #fff;
  padding: 16px 0;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.17);
  font-size: 1em;
  animation: cookiebanner-slidein 0.33s cubic-bezier(.45,0,.6,1);
}
@keyframes cookiebanner-slidein {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-inner {
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
}
.cookie-banner p {
  margin-bottom: 7px;
  color: #fff;
  font-size: 1em;
}
.cookie-banner .cookie-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 23px;
  padding: 9px 19px;
  font-size: 1em;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.18s, color 0.16s, box-shadow 0.16s;
}
.cookie-banner .cookie-accept {
  background: #fff;
  color: #141414;
}
.cookie-banner .cookie-accept:hover {
  background: #34623F;
  color: #fff;
}
.cookie-banner .cookie-reject {
  background: #191919;
  color: #fff;
  border: 1px solid #fff;
}
.cookie-banner .cookie-reject:hover {
  background: #fff;
  color: #141414;
}
.cookie-banner .cookie-settings {
  background: none;
  color: #fff;
  border: 1px solid #fff;
}
.cookie-banner .cookie-settings:hover {
  background: #fff;
  color: #141414;
}

/* === COOKIE SETTINGS MODAL === */
.cookie-modal-overlay {
  position: fixed;
  z-index: 9100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100dvh;
  background: rgba(20,20,20,0.62);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookie-modal-in 0.27s cubic-bezier(.49,0,.57,1);
}
@keyframes cookie-modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 17px;
  padding: 32px 28px 24px 28px;
  min-width: 311px;
  width: 98%;
  max-width: 425px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  box-shadow: 0 8px 34px rgba(0,0,0,0.13);
  animation: scaleInModal 0.27s cubic-bezier(.43,0,.61,1);
}
@keyframes scaleInModal {
  0% { opacity: 0.6; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.29em;
  margin-bottom: 13px;
  color: #141414;
  letter-spacing: -0.03em;
}
.cookie-modal ul {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1em;
  color: #222;
}
.cookie-modal label {
  flex: 1;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #34623F;
  width: 18px; height: 18px;
  margin-right: 5px;
}
.cookie-modal .essential {
  font-weight: 700;
  color: #222 !important;
}
.cookie-modal .cookie-modal-row {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 21px;
  padding: 8px 16px;
  font-size: 1em;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.18s, color 0.16s;
}
.cookie-modal .save-btn {
  background: #34623F;
  color: #fff;
}
.cookie-modal .save-btn:hover {
  background: #191919;
}
.cookie-modal .modal-cancel {
  background: none;
  border: 1px solid #141414;
  color: #141414;
}
.cookie-modal .modal-cancel:hover {
  background: #eee;
}

/* === RESPONSIVE QUERIES (MOBILE-FIRST) === */
@media (max-width: 900px) {
  .header .container { padding: 0 10px; }
  .site-footer .container { padding: 0 10px; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.28rem; }
  .container { padding: 0 10px; }
  .site-footer .content-wrapper { gap: 25px; flex-direction: column; }
  .site-footer .social-links { margin-top: 12px; }

  header .main-nav, header .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
  }

  /* Mobile menu full width on small screens */
  .mobile-menu {
    padding: 0 0 50px 0;
  }

  .content-wrapper, .section .content-wrapper {
    gap: 16px;
  }
  .features-section ul,
  .services-section ul, .services-main-section ul,
  .about-section ul, .about-main-section ul {
    gap: 12px;
  }
  .card-container, .content-grid, .card {
    gap: 14px;
  }
  /* text-image sections stack on mobile */
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .section {
    padding: 32px 8px;
    margin-bottom: 42px;
  }
  .hero-section { padding: 36px 0 18px 0; }
  .about-section, .about-main-section, .philosophy-section,
  .services-section, .services-main-section, .contact-section,
  .referenzen-section, .testimonials-section, .cta-section, .legal-section {
    padding: 26px 0;
    margin-bottom: 34px;
  }
  .testimonial-card, .card {
    padding: 19px 13px 14px 13px;
  }
  .impact-stories {
    padding: 12px 9px;
    margin-top: 17px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.03rem; }
  .container { padding: 0 2vw; }
  .hero-section, .about-section, .services-section, .contact-section, .cta-section, .legal-section { padding: 21px 0 4px 0; }
}

/* === MONOCHROME SOPHISTICATED PALETTE OVERRIDES === */
body {
  background: #fff;
  color: #181818;
}
.card, .testimonial-card, .about-section, .philosophy-section, .legal-section, .address-block {
  background: #fff;
  border-radius: 14px;
}
hr {
  border: none;
  border-bottom: 1.2px solid #e5e5e5;
  margin: 32px 0;
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #eee;
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: #fff;
}

/* === BRAND FOCUS (MONOCHROME WITH BRAND ACCENTS) === */
.cta-btn, .cookie-banner .cookie-accept, .cookie-modal .save-btn {
  background: #141414;
  color: #fff;
}
.cta-btn:hover, .cta-btn:focus, .cookie-banner .cookie-accept:hover, .cookie-modal .save-btn:hover {
  background: #34623F;
  color: #fff;
}
.services-section li span, .services-main-section li em, .testimonial-card strong {
  color: #34623F;
}
a, nav.main-nav a, .mobile-nav a {
  color: #191919;
}
a:hover, a:focus, nav.main-nav a:hover, .mobile-nav a:hover {
  color: #34623F;
}

/* === ACCESSIBILITY AND CONTRAST === */
.testimonial-card, .address-block, .about-section, .philosophy-section, .services-section, .features-section, .contact-section {
  color: #181818;
  background: #fff;
}
/* Ensuring white backgrounds and dark text in testimonials and reviews for contrast */

/* === PRINT-FRIENDLY ==== */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, .site-footer {
    display: none !important;
  }
  .container { max-width: none; }
}
