/* 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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F4F5F7;
  color: #22313F;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #22443F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #DA9D2F;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}
strong, b {
  font-weight: 700;
}

/* MAIN TYPOGRAPHY ------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #22313F;
  letter-spacing: 0.01em;
  margin-bottom: 0.5em;
}
h1 {
  font-size: 2.5rem; /* 40px */
  font-weight: 800;
  margin-bottom: 0.7em;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.65em;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5em;
  color: #386641;
}
h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #386641;
}
.text-section p,
.content-wrapper p,
p {
  margin-bottom: 1em;
}

/******************* CONTAINER, SECTIONS, GRID, LAYOUT *******************/
.container {
  width: 100%;
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(56, 101, 65, 0.06);
}
.content-wrapper {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.text-section {
  margin-bottom: 20px;
}

/******************* FLEXBOX MANDATORY PATTERNS *************************/
.card-container, .features-grid, .footer-grid, .testimonial-list, .service-accordion-list, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #F6F7F4;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(56, 101, 65, 0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 32px rgba(56, 101, 65, 0.14);
  transform: translateY(-2px) scale(1.015);
}
.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 {
  background: #f8fbe9;
  color: #22313F;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(93, 153, 96, 0.07);
  margin-bottom: 24px;
  min-width: 320px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/******************* HEADER & NAVIGATION ********************************/
header {
  background: #FCF9F2;
  box-shadow: 0 3px 10px rgba(218,157,47,0.03);
  border-radius: 0 0 24px 24px;
  padding-top: 19px;
  padding-bottom: 19px;
  margin-bottom: 22px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
header a img {
  height: 46px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #22313F;
  letter-spacing: 0.02em;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
}
header nav a:hover, header nav a:focus, .mobile-nav a:hover, .mobile-nav a:active {
  background: #E2EED6;
  color: #386641;
}
header .cta.primary {
  background: #386641;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 14px 26px;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(56,101,65,0.12);
  margin-left: 24px;
  transition: background 0.2s, transform 0.2s;
}
header .cta.primary:hover, header .cta.primary:focus {
  background: #5E8A57;
  color: #fff;
  transform: scale(1.05) translateY(-1px);
}

/* ************** MOBILE NAVIGATION HAMBURGER MENU ******************** */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 23px;
  right: 22px;
  z-index: 2100;
  width: 50px;
  height: 50px;
  background: #fff;
  border: 2px solid #386641;
  border-radius: 50%;
  font-size: 2.1rem;
  color: #386641;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(56,101,65,0.19);
  cursor: pointer;
  transition: background 0.2s, border 0.2s;
}
.mobile-menu-toggle:active {
  background: #F6F1E8;
  border-color: #b8bc9a;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FCF9F2EE;
  z-index: 2200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.61,-0.36,.56,1.44);
  box-shadow: 0 0 20px 2px rgba(34,49,63,0.17);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #386641;
  font-size: 2.1rem;
  font-weight: 700;
  align-self: flex-end;
  margin: 20px 18px 0 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #8bb977;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 46px 0 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.19rem;
  font-weight: 600;
  color: #22313F;
  background: transparent;
  border-radius: 7px;
  padding: 12px 0 12px 2px;
  transition: color 0.15s, background 0.16s;
}

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

/******************* HERO & SECTIONS ************************************/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 28px;
  box-shadow: 0 8px 22px rgba(56,101,65,0.07);
}
.features-grid > div {
  flex: 1 1 320px;
  min-width: 230px;
  background: #eef7ec;
  padding: 28px 18px 22px 18px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .19s, background .18s, transform .18s;
  box-shadow: 0 1px 6px rgba(93,153,96,0.1);
  margin-bottom: 20px;
}
.features-grid > div:hover {
  box-shadow: 0 2px 18px rgba(93,153,96,0.19);
  background: #e4edd9;
  transform: translateY(-3px) scale(1.025);
}
.features-grid img {
  width: 38px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: #d1eabf;
  padding: 6px;
}

/******************* BUTTONS & CTAS **************************************/
.cta, .cta.primary {
  display: inline-block;
  background: #eef7ec;
  color: #386641;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
  border-radius: 12px;
  padding: 13px 26px;
  margin-top: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 2px 8px rgba(93,153,96,0.11);
  transition: background 0.19s, color 0.18s, box-shadow 0.2s, transform 0.17s;
}
.cta.primary {
  background: #22313F;
  color: #fff;
  margin-top: 0;
}
.cta:hover, .cta:focus {
  background: #d1eabf;
  color: #22313F;
  box-shadow: 0 4px 24px rgba(91, 144, 65, 0.19);
  transform: translateY(-1px) scale(1.03);
}
.cta.primary:hover, .cta.primary:focus {
  background: #386641;
  color: #FFF;
}

/******************* FOOTER **********************************************/
footer {
  background: #22313F;
  color: #fff;
  border-radius: 22px 22px 0 0;
  padding: 42px 0 22px 0;
  box-shadow: 0 -6px 30px rgba(56,101,65,0.12);
  margin-top: 70px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-grid > div {
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-grid nav a {
  color: #f8fbe9;
  font-size: 1.01rem;
  margin-bottom: 4px;
  transition: color 0.19s;
  letter-spacing: 0.01em;
}
.footer-grid nav a:hover, .footer-grid nav a:focus {
  color: #DA9D2F;
  text-decoration: underline;
}
footer img {
  width: 50px;
  margin-bottom: 10px;
}

/******************* TESTIMONIALS ***************************************/
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #f8fbe9;
  color: #22313F;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(93,153,96, 0.10);
  margin-bottom: 24px;
  min-width: 320px;
  flex: 1 1 330px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(93,153,96,0.19);
  transform: scale(1.025) translateY(-2px);
}
.testimonial-content p {
  margin-bottom: 0.4em;
}
.testimonial-meta span:first-child {
  font-weight: 700;
  color: #22313F;
  font-size: 1.06rem;
}
.testimonial-meta span:last-child {
  font-size: 1.15rem;
  color: #B5C59F;
  letter-spacing: 0.04em;
}

/******************* TABLES (Pricing) ***********************************/
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  font-size: 1rem;
}
.pricing-table thead {
  background: #EEF7EC;
}
.pricing-table th, .pricing-table td {
  padding: 14px 12px;
  text-align: left;
}
.pricing-table tr {
  border-bottom: 1px solid #EDDDC4;
}
.pricing-table tbody tr:hover {
  background: #F8F7E9;
}
.pricing-table th {
  color: #22313F;
  font-weight: 700;
  font-size: 1.05rem;
}
.pricing-table td {
  color: #386641;
  font-size: 1.01rem;
}

/******************* ACCORDIONS (Services) ******************************/
.service-accordion-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-accordion-list > div {
  flex: 1 1 320px;
  background: #eef7ec;
  padding: 24px 20px 18px 20px;
  border-radius: 15px;
  min-width: 220px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(91,144,65,0.08);
  transition: box-shadow 0.18s, background 0.18s, transform .19s;
}
.service-accordion-list > div:hover {
  box-shadow: 0 2px 18px rgba(91,144,65,0.16);
  background: #e4edd9;
  transform: translateY(-2px) scale(1.018);
}

/******************* RESPONSIVE BREAKPOINTS *****************************/
@media (max-width: 990px) {
  .features-grid, .testimonial-list, .footer-grid, .service-accordion-list, .card-container, .content-grid {
    gap: 18px;
  }
  .footer-grid {
    flex-direction: column;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    gap: 0;
  }
  section {
    border-radius: 14px;
    padding: 24px 10px;
    margin-bottom: 36px;
  }
  h1 { font-size: 1.62rem; }
  h2 { font-size: 1.28rem; }
  .features-grid > div, .service-accordion-list > div, .testimonial-card, .card {
    min-width: 98%;
    padding-left: 13px;
    padding-right: 13px;
  }
  .features-grid, .testimonial-list, .service-accordion-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 20px;
  }
  .footer-grid {
    flex-direction: column;
    gap: 22px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/******************* ORGANIC SHAPES & TEXTURES **************************/
body {
  background-color: #F4F5F7;
  background-image: url('data:image/svg+xml;utf8,<svg width="100%25" height="100%25" xmlns="http://www.w3.org/2000/svg"><ellipse fill="%23eef7ec" rx="230" ry="56" cx="230" cy="70"/><ellipse fill="%23f8fbe9" rx="90" ry="34" cx="850" cy="62"/><ellipse fill="%23e8e1cd22" rx="160" ry="28" cx="480" cy="660"/></svg>');
  background-repeat: no-repeat;
  background-position: top right, top left, bottom center;
  background-size: 60vw 170px, 30vw 80px, 80vw 70px;
}

section {
  position: relative;
  overflow: visible;
}
section::before {
  content: '';
  position: absolute;
  z-index: 0;
  left: -50px;
  top: -24px;
  width: 96px;
  height: 42px;
  background: #E2EED6;
  border-radius: 46% 54% 44% 56% / 62% 55% 45% 38%;
  opacity: 0.24;
  pointer-events: none;
}
section::after {
  content: '';
  position: absolute;
  z-index: 0;
  right: -38px;
  bottom: -24px;
  width: 70px;
  height: 38px;
  background: #EDDDC4;
  border-radius: 54% 38% 54% 62% / 70% 30% 60% 40%;
  opacity: 0.18;
  pointer-events: none;
}
@media (max-width: 600px) {
  section::before, section::after {
    display: none;
  }
}

/******************* ORGANIC BUTTON SHADOWS *****************************/
.cta, .cta.primary, button, input[type=submit] {
  box-shadow: 0 4px 10px rgba(218,157,47,.12), 0 1.5px 10px rgba(93,153,96,0.04);
}

/******************* COMPANY INFO & MAP HINT ****************************/
.company-info, .contact-form-hint, .location-map-hint {
  background: #E2EED6;
  color: #22313F;
  border-radius: 13px;
  padding: 18px 16px 14px 16px;
  margin-bottom: 18px;
  font-size: 1rem;
}
.company-info a {
  color: #386641;
  font-weight: 600;
  word-break: break-all;
}

/******************* COOKIE CONSENT BANNER & MODAL **********************/
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #eef7ec;
  box-shadow: 0 -4px 40px rgba(56,101,65,0.13), 0 0px 0px rgba(218,157,47,0.00);
  color: #22313F;
  z-index: 2300;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 26px;
  padding: 26px 13px 19px 13px;
  font-size: 1.03rem;
  animation: fadeInSlideUp .37s cubic-bezier(.73,-0.36,.29,1.38);
}
@keyframes fadeInSlideUp {
  0% { opacity:0; transform:translateY(40px) }
  100% { opacity:1; transform:translateY(0); }
}
.cookie-consent-banner p {
  max-width: 500px;
  margin-bottom: 0;
}
.cookie-consent-actions {
  display: flex;
  gap: 13px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 11px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0;
  cursor: pointer;
  background: #386641;
  color: #fff;
  box-shadow: 0 1px 8px rgba(91, 144, 65, 0.08);
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
}
.cookie-btn.settings {
  background: #DA9D2F;
  color: #22313F;
}
.cookie-btn.reject {
  background: #d9534f;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #22313F;
  color: #fff;
  box-shadow: 0 7px 22px rgba(56,101,65,0.19);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #eeb748;
  color: #22313F;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #9c3935;
}

/*************** COOKIE MODAL *******************************************/
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2350;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(34,49,63,0.36);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 38px 24px 28px 24px;
  min-width: 300px;
  max-width: 97vw;
  box-shadow: 0 8px 60px rgba(56,101,65,0.21);
  color: #22313F;
  position: relative;
  animation: fadeIn 0.3s;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: #386641;
  font-weight: 700;
  margin-bottom: 13px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 17px;
}
.cookie-modal-category label {
  font-weight: 600;
}
.cookie-modal-category input[type=checkbox] {
  accent-color: #386641;
  width: 21px;
  height: 21px;
}
.cookie-modal-close {
  position: absolute;
  top: 19px;
  right: 19px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #5E8A57;
  cursor: pointer;
  line-height: 1;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #DA9D2F;
}
.cookie-modal-actions {
  display: flex;
  gap: 19px;
  margin-top: 28px;
  justify-content: flex-end;
}
/* Responsive cookie modal */
@media (max-width: 600px) {
  .cookie-modal {
    min-width: 0;
    padding: 16px 5vw 14px 5vw;
  }
  .cookie-modal-actions {
    flex-direction: column;
    gap: 9px;
    margin-top: 16px;
  }
}

/*************** UTILITIES **********************************************/
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-40 { margin-top: 40px !important; }
.radius-0 { border-radius: 0 !important; }
.wrap { flex-wrap: wrap !important; }

/*************** ACCESSIBLE FOCUS STYLES ********************************/
a, button, .cta, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-modal-close {
  outline: none;
  box-shadow: none;
}
a:focus-visible, button:focus-visible, .cta:focus-visible, .cookie-btn:focus-visible,
.mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible, .cookie-modal-close:focus-visible {
  outline: 3px solid #8bb977;
  outline-offset: 2px;
}

/*************** MISC: HR **********************************************/
hr {
  border: none;
  border-top: 1.5px dashed #e4edd9;
  margin: 28px 0;
}

/*************** HIDDEN FOR JS FALLBACKS *******************************/
[hidden] { display: none !important; }

/*************** FORMS (Contact Info only) ******************************/
.contact-form-hint {
  font-size: 1rem;
  background: #FCF9F2;
  border-left: 6px solid #E2EED6;
  margin-bottom: 22px;
}

/*************** ORGANIC NATURE ELEMENT ENHANCEMENTS *******************/
.features-grid > div, .service-accordion-list > div, .card, .testimonial-card {
  background-image: url('data:image/svg+xml;utf8,<svg width="100%25" height="36" xmlns="http://www.w3.org/2000/svg"><ellipse fill="%23e2eed6" cx="26" cy="18" rx="20" ry="12" opacity="0.13"/><ellipse fill="%23edddc4" cx="235" cy="25" rx="28" ry="11" opacity="0.10"/></svg>');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 120px 36px;
}

/*************** BRAND COLORS CSS VARIABLES FOR FUTURE USE *************/
:root {
  --color-primary: #22313F;
  --color-secondary: #F4F5F7;
  --color-accent: #DA9D2F;
  --color-green-dark: #386641;
  --color-green-light: #E2EED6;
  --color-beige: #EDDDC4;
}

/* END CSS NATURE_ORGANIC for RaumVollendung Leipzig */
