/* ---------------------------------------
   CSS RESET & BASE 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%; vertical-align:baseline; box-sizing:border-box;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  display:block;
}
body {
  line-height:1.5;
  background:#F5F2EE;
  color:#223645;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size:16px;
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
a {
  color: #7FA53C;
  text-decoration: none;
  transition: color 0.18s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #223645;
  text-decoration: underline;
}
img {
  max-width:100%; height:auto; display:block;
}
ul, ol {
  padding-left:1.4em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom:0.7em;
}

/* ---------------------------------------
   TYPOGRAPHY HIERARCHY
--------------------------------------- */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: bold;
  color: #223645;
  margin-bottom: 18px;
  letter-spacing: -1px;
  line-height:1.2;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.9rem;
  font-weight: bold;
  color: #7FA53C;
  margin-bottom: 16px;
  line-height:1.2;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #223645;
  margin-bottom: 13px;
  line-height:1.15;
}
p {
  font-size: 1rem;
  margin-bottom: 1.1em;
  color: #223645;
}
strong, b {
  color:#223645;
  font-weight:bold;
}
.text-section {
  margin-bottom: 24px;
}
.text-section h2, .text-section h3 {
  margin-bottom: 10px;
}

/* ---------------------------------------
   FLEX & SPACING CLASSES (MANDATORY)
--------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.container {
  width:100%; max-width:1200px; margin:0 auto; padding:0 16px;
  display: flex; flex-direction: column;
  gap:24px;
}
.content-wrapper {
  display: flex; flex-direction: column; gap:20px; width:100%;
}
.features-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 0;
  align-items: stretch;
}
.features-list li {
  background: #fff;
  border-radius: 22px;
  padding: 24px 22px 20px 22px;
  min-width: 210px;
  box-shadow: 0 4px 20px 0 rgba(34,54,69,.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position:relative;
  transition: box-shadow 0.18s, transform 0.16s;
}
.features-list li img {
  width: 36px; height: 36px; margin-bottom:4px;
  filter: drop-shadow(0 2px 10px rgba(127,165,60,0.13));
}
.features-list li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: #7FA53C;
  font-weight: 700;
}
.features-list li p {
  font-size: 0.95rem;
  color: #223645;
  margin-bottom:0;
}
.features-list li:hover, .features-list li:focus {
  box-shadow: 0 8px 26px 0 rgba(127,165,60,0.16);
  transform: translateY(-2px) scale(1.025);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px 0 rgba(34,54,69,.07);
  padding: 28px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 8px 26px 0 rgba(127,165,60,0.16);
  transform: translateY(-3px) 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 {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f8f8f5;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(34,54,69,0.08);
  margin-bottom: 20px;
  min-width: 0;
}
.testimonial-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap:8px;
}
.testimonial-card p {
  font-size:1.08rem;
  color:#222;
  font-style:italic;
  margin-bottom: 0.2em;
}
.testimonial-card span {
  font-size:0.96rem;
  color:#7FA53C;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---------------------------------------
   HEADER & NAVIGATION
--------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 3px 24px 0 rgba(34,54,69,.09);
  width:100%;
  z-index: 50;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 14px 16px 10px 16px;
  justify-content: space-between;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #223645;
  letter-spacing:0.01em;
  font-weight: 600;
  padding: 6px 0;
  position:relative;
  transition: color 0.19s;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0%;
  height: 3px;
  background: #7FA53C;
  border-radius: 6px;
  margin-top: 2px;
  transition: width 0.24s cubic-bezier(.77, 0, .175, 1);
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 80%;
}
.main-nav a:hover,.main-nav a:focus {
  color: #7FA53C;
}

.cta-button {
  background: #7FA53C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 100px;
  padding: 11px 32px 11px 32px;
  box-shadow: 0 4px 18px 0 rgba(127,165,60,0.11);
  transition: background 0.15s, color 0.12s, transform 0.10s;
  cursor:pointer;
  margin-left: 26px;
  letter-spacing:0.03rem;
  position:relative;
  overflow:hidden;
}
.cta-button:hover, .cta-button:focus {
  background: #223645;
  color: #fff;
  transform: translateY(-2px) scale(1.045);
}

/* Hamburger (mobile menu toggle) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #7FA53C;
  cursor: pointer;
  margin-left: 22px;
  padding: 5px 5px 1px 5px;
  transition: color 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #223645;
}

/* MOBILE NAVIGATION */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left:0; bottom:0;
  background: rgba(34,54,69,.97);
  transform: translateX(110%);
  transition: transform 0.32s cubic-bezier(.77,0,.175,1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
  opacity:0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events:auto;
  opacity:1;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.8rem;
  color: #fff;
  cursor: pointer;
  padding: 10px 20px 10px 17px;
  margin: 12px 12px 12px 0;
  align-self: flex-end;
  z-index: 1102;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  margin-top: 40px;
  align-items: flex-start;
  padding: 28px 34px 40px 34px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  letter-spacing:0.04em;
  font-weight:600;
  text-decoration:none;
  padding:14px 0;
  border-radius: 7px;
  min-width: 200px;
  transition: background 0.16s, color 0.13s;
  line-height: 1.2;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #7FA53C;
  color: #fff;
}

/* Overlay disables scroll on open mobile menu (optional helper class) */
body.mobile-menu-open {
  overflow: hidden;
  touch-action:none;
}

/* ---------------------------------------
   HERO & SECTIONS
--------------------------------------- */
.hero {
  background: linear-gradient(88deg,#F5F2EE 66%,#7FA53C 110%);
  padding:68px 0 60px 0;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .container {
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.9rem;
  color: #223645;
  font-weight: bold;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.15rem;
  color: #223645;
  line-height: 1.5;
}
.hero .cta-button {
  margin-top:28px;
  font-size:1.09rem;
}

section {
  margin-bottom:60px; padding: 40px 20px;
  width: 100%;
}

@media (max-width: 768px) {
  .hero { padding:36px 0 24px 0; min-height:180px; }
  section { padding:22px 6px; margin-bottom:36px; }
}

/* ---------------------------------------
   FOOTER
--------------------------------------- */
footer {
  background: #223645;
  color: #fff;
  padding: 44px 0 20px 0;
}
footer .container {
  align-items: flex-start;
  flex-direction: column;
  gap:14px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 6px;
}
.footer-nav a {
  color:#fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color 0.15s;
  opacity: 0.8;
}
.footer-nav a:hover,.footer-nav a:focus {
  opacity: 1;
  color: #7FA53C;
}
.footer-meta {
  font-size: 0.98rem;
  color: #C1D4A6;
  opacity:0.88;
}

/* ---------------------------------------
   BUTTONS & INTERACTIVE ELEMENTS
--------------------------------------- */
button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border:none;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.15s, color 0.12s, box-shadow 0.15s, transform 0.1s;
}
.btn-primary {
  background: #7FA53C;
  color: #fff;
  box-shadow: 0 2px 14px 0 rgba(127,165,60,0.09);
}
.btn-primary:hover,.btn-primary:focus {
  background: #223645;
  color: #fff;
  transform:translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: #fff;
  color: #7FA53C;
  box-shadow: 0 1px 6px 0 rgba(127,165,60,0.10);
  border: 2px solid #7FA53C;
}
.btn-secondary:hover,.btn-secondary:focus {
  background: #7FA53C;
  color: #fff;
  border-color:#223645;
}
.btn-accent {
  background:#223645;
  color: #fff;
}
.btn-accent:hover,.btn-accent:focus {
  background:#7FA53C;
  color: #fff;
}

/* Micro-interactions */
a, button, .cta-button, .features-list li, .card {
  transition: color 0.2s, background 0.19s, box-shadow 0.15s, transform 0.13s;
}

/* ---------------------------------------
   COOKIE CONSENT BANNER & MODAL
--------------------------------------- */
#cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff9ee;
  color: #223645;
  padding: 22px 18px 22px 24px;
  box-shadow: 0 -2px 18px 0 rgba(127,165,60,0.14);
  z-index: 1550;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 34px;
  width: 100%;
  flex-wrap: wrap;
  font-size: 1rem;
  animation: cookie-banner-in 0.65s cubic-bezier(.77,.01,.33,1);
}
@keyframes cookie-banner-in {
  0% { opacity:0; transform:translateY(85px); }
  100% { opacity:1; transform:translateY(0); }
}
#cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap:18px;
  align-items:center;
  flex-wrap: wrap;
}
#cookie-banner button {
  min-width:110px;
  padding:10px 23px;
  font-size: 1rem;
}
#cookie-banner .btn-accent {
  background: #223645;
  color: #fff;
  border: none;
}
#cookie-banner .btn-secondary {
  background: #fff;
  color: #7FA53C;
  border:1.5px solid #7FA53C;
}
#cookie-banner .btn-secondary:hover,
#cookie-banner .btn-secondary:focus {
  background:#7FA53C;
  color:#fff;
}
#cookie-banner .btn-settings {
  background: #fff9ee;
  color: #223645;
  border: 1px solid #7FA53C;
}
#cookie-banner .btn-settings:hover,
#cookie-banner .btn-settings:focus {
  background: #7FA53C;
  color: #fff;
  border-color:#223645;
}

/* Cookie preferences modal */
#cookie-modal {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: rgba(34,54,69,0.82);
  z-index: 1600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity:0;
  pointer-events: none;
  transition: opacity 0.17s;
}
#cookie-modal.open {
  opacity:1;
  pointer-events:auto;
}
.cookie-modal-content {
  background: #fff9ee;
  color: #223645;
  border-radius: 27px;
  box-shadow: 0 6px 32px 0 rgba(127,165,60,0.23);
  padding: 45px 36px 36px 36px;
  min-width: 320px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  position:relative;
  animation: cookie-modal-popup 0.52s cubic-bezier(.77,.01,.33,1);
}
@keyframes cookie-modal-popup {
  0% { opacity:0; transform: scale(0.79) translateY(80px); }
  100% { opacity:1; transform: scale(1) translateY(0); }
}
.cookie-modal-content h2 {
  margin-bottom: 10px;
  color: #7FA53C;
}
.cookie-category {
  display:flex;
  align-items:center;
  gap:20px;
  margin-bottom:14px;
}
.cookie-category label {
  font-size:1.07rem; color:#223645;
}
.cookie-category input[type='checkbox']{
  accent-color: #7FA53C;
  width: 22px; height:22px;
  margin-right:9px;
}
.cookie-modal-actions {
  display:flex; flex-direction: row; gap:14px; margin-top:10px;
}
.cookie-modal-close {
  position: absolute; top:14px; right:22px;
  background:none;
  border:none;
  font-size:2.28rem; color:#7FA53C; cursor:pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #223645;
}

/* ---------------------------------------
   RESPONSIVE DESIGN
--------------------------------------- */
@media (max-width: 1000px) {
  .features-list {
    gap: 20px;
  }
  .card-container,.content-grid {
    gap:18px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
  }
  .footer-nav {
    gap: 14px;
    flex-wrap: wrap;
  }
}
@media (max-width: 860px) {
  .container { max-width:95vw; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 12px;
  }
  .main-nav {
    display: none!important;
  }
  .cta-button {
    margin-left: auto;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .content-wrapper, .container {
    gap: 13px;
  }
  .hero h1 {
    font-size: 1.73rem;
    margin-bottom: 14px;
  }
  .features-list {
    flex-direction: column;
    gap: 17px;
  }
  .card-container, .content-grid, .footer-nav {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 11px;
    padding: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap:18px;
    align-items: flex-start;
  }
  #cookie-banner {
    flex-direction: column;
    gap:22px;
    font-size:0.98rem;
    padding: 17px 8px 17px 12px;
  }
  .cookie-modal-content { padding:20px 8px 28px 15px; min-width:0; }
}
@media (max-width: 420px) {
  .footer-meta { font-size:0.86rem; }
  .footer-nav a { font-size:0.9rem; }
  .hero h1 { font-size:1.35rem; }
  .cta-button, .btn, button { font-size:0.97rem; }
}
/* ---------------------------------------
   ARTISTIC DECORATIVE ELEMENTS
--------------------------------------- */
.features-list li::before {
  content: '';
  display:block;
  width:38px;height:7px;
  background:#F5F2EE;
  border-radius:7px;
  position:absolute;
  top:-15px; left:22px;
  z-index:1;
  opacity:.55;
}
.features-list li:nth-child(2)::before {
  background:#cbe69d;
  width:36px;
}
.features-list li:nth-child(3)::before {
  background:#eedde8;
  width:46px;
}
.features-list li:nth-child(4)::before {
  background:#a9d0ed;
  width:29px;
}

/* Artistic line in hero */
.hero .content-wrapper {
  position:relative;
}
.hero .content-wrapper::after {
  content:'';
  display:block;
  height:6px; width:84px;
  background:#7FA53C;
  border-radius:8px;
  margin-top:18px;
  opacity:.15;
}

/* Dividers for artistic feel */
.section:not(.hero):not(:first-child)::before {
  content:"";
  display:block;
  width:66px;
  height:5px;
  border-radius: 6px;
  background: #cbe69d;
  opacity:0.33;
  margin-bottom: 22px;
}

/* ---------------------------------------
   FORMS (Kontakt)
--------------------------------------- */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 13px;
  border: 1.6px solid #C1D4A6;
  font-size: 1rem;
  padding: 13px 13px;
  margin-bottom: 17px;
  background: #fff;
  color:#223645;
  width:100%;
  resize: vertical;
  box-shadow: 0 0 0 1px #fff inset;
  transition: border 0.13s;
}
input:focus, textarea:focus, select:focus {
  outline:none;
  border-color: #7FA53C;
}
label {
  color:#223645;
  font-size:0.99rem;
  font-family:'Montserrat',Arial,sans-serif;
  margin-bottom:4px;
  display:block;
}

/* ---------------------------------------
   UTILITIES
--------------------------------------- */
.hide {
  display: none !important;
}

/* Spacing helpers */
.mb-2 { margin-bottom:16px; }
.mb-3 { margin-bottom:24px; }
.mt-2 { margin-top:16px; }
.mt-3 { margin-top:24px; }

/* ---------------------------------------
   PRINT STYLES
--------------------------------------- */
@media print {
  header, footer, .mobile-menu, #cookie-banner, #cookie-modal {
    display: none !important;
  }
  body { background: #fff; }
}

/* ---------------------------------------
   END CSS
--------------------------------------- */
