/* RESET & BASE STYLES ------------------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F2F6F3;
  color: #1A2E24;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 1em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #22543D;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
p {
  margin-bottom: 1em;
}
a {
  color: #22543D;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus,
a:hover {
  color: #BC7123;
  outline: none;
}
strong {
  font-weight: 700;
  color: #22543D;
}
em {
  font-style: italic;
  color: #BC7123;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 6px 24px 0 rgba(34,84,61,.05);
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #FFFFFF;
  margin-bottom: 20px;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(34,84,61,.11);
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 30px 0 rgba(34,84,61,.18);
  transform: translateY(-2px);
  z-index: 2;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F2F6F3;
  border-left: 8px solid #BC7123;
  padding: 20px 28px 20px 24px;
  margin-bottom: 20px;
  border-radius: 14px;
  min-width: 260px;
  max-width: 520px;
  box-shadow: 0 2px 14px 0 rgba(34,84,61,.08);
  font-size: 1.0625rem;
  color: #163125;
}
.testimonial-card p {
  color: #163125;
  margin-bottom: 6px;
  font-weight: 600;
}
.testimonial-card span {
  color: #A25000;
  font-weight: 700;
  font-size: 1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F2F6F3;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
}

/* HEADER & NAVIGATION ----------------------------------------------------------- */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 16px 0 rgba(34,84,61,.09);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 20px 0 12px 0;
}
.main-nav > a img {
  height: 54px;
  width: auto;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  list-style: none;
}
.main-nav li {
  margin: 0 4px;
}
.main-nav ul a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #22543D;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.main-nav ul a:hover, .main-nav ul a:focus, .main-nav ul .active {
  background: #22543D;
  color: #F2F6F3;
}
.cta-btn {
  background: #BC7123;
  color: #FFFFFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.13rem;
  padding: 12px 28px;
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(34,84,61,.10);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, transform 0.16s, box-shadow 0.15s;
  margin-left: 18px;
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #A25000;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(34,84,61,.18);
}

/* MOBILE NAVIGATION ------------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: relative;
  background: #22543D;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  padding: 6px 16px;
  margin-left: 8px;
  cursor: pointer;
  z-index: 1201;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #BC7123;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: 0 2px 30px rgba(34,84,61,.16);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.53,.04,.32,.87);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  margin: 24px 28px 8px 0;
  border: none;
  background: transparent;
  color: #22543D;
  cursor: pointer;
  z-index: 1202;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #BC7123;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin: 42px 0 0 40px;
  width: 80vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.24rem;
  font-weight: 700;
  color: #22543D;
  background: #F2F6F3;
  padding: 14px 32px 14px 14px;
  border-radius: 12px;
  width: 100%;
  margin-bottom: 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #22543D;
  color: #fff;
}

@media (max-width: 1050px) {
  .main-nav ul {
    gap: 16px;
  }
  .cta-btn {
    margin-left: 0;
    padding: 12px 18px;
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 850px) {
  .main-nav ul {
    gap: 9px;
  }
}
@media (max-width: 815px) {
  .main-nav ul,
  .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* SECTIONS & GENERAL CONTENT --------------------------------------------------- */
main > section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 6px 24px 0 rgba(34,84,61,.06);
}
main > section:last-child, .section:last-child {
  margin-bottom: 0;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* LISTS & LIST HIERARCHY -------------------------------------------------------- */
ul, ol {
  margin-bottom: 16px;
  color: #163125;
  font-size: 1rem;
}
ul > li:not(:last-child), ol > li:not(:last-child) {
  margin-bottom: 8px;
}
ul li strong {
  color: #BC7123;
  font-weight: 800;
}
ul li em {
  color: #22543D;
  font-style: normal;
  font-weight: 600;
}

/* FOOTER ------------------------------------------------------------------------ */
footer {
  background: #22543D;
  color: #fff;
  padding: 32px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
footer nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 10px;
}
footer nav ul li a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 6px 16px;
  border-radius: 10px;
  transition: background 0.2s;
}
footer nav ul li a:hover,
footer nav ul li a:focus {
  background: #BC7123;
  color: #fff;
}
footer p {
  font-size: 1rem;
  color: #F2F6F3;
  letter-spacing: 0.01em;
  margin-bottom: 0;
  text-align: center;
}

/* BUTTONS & LINKS --------------------------------------------------------------- */
button,
input[type="button"],
input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.18s, transform 0.14s;
  background: #BC7123;
  color: #fff;
  padding: 12px 20px;
  font-size: 1rem;
  margin-bottom: 6px;
  outline: none;
}
button:focus,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  background: #A25000;
  color: #fff;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 4px 16px rgba(34,84,61,.11);
}

/* FORMS ------------------------------------------------------------------------- */
input,
select,
textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1.5px solid #22543D;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
  background: #F2F6F3;
  color: #163125;
  transition: border 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #BC7123;
  outline: none;
}

/* MICRO-INTERACTIONS & DECORATIVE GEOMETRIC EFFECTS ----------------------------- */
.section, .card, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.14s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(34,84,61,.24);
  transform: scale(1.015) translateY(-2px);
}

/* SPACING & FLEX WRAPPING - ESSENTIALS ------------------------------------------ */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }

/* RESPONSIVE DESIGN: MOBILE-FIRST ----------------------------------------------- */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 1.45rem;
    margin-bottom: 16px;
  }
  .main-nav {
    flex-direction: row;
    gap: 18px;
    padding-top: 12px;
    padding-bottom: 8px;
  }
  .container {
    padding: 0 8px;
  }
  .section,
  main > section,
  .card {
    padding: 22px 6px;
    border-radius: 18px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .testimonial-card,
  .feature-item {
    padding: 15px 12px 15px 12px;
    border-radius: 10px;
  }
  .card-container, .content-grid {
    gap: 12px;
  }
  .text-image-section, .content-grid, .content-wrapper {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .mobile-nav {
    margin: 30px 0 0 14px;
    gap: 12px;
  }
}

@media (max-width: 500px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.16rem; }
  .main-nav > a img {
    height: 38px;
  }
  .section,
  main > section {
    padding: 10px 2px;
    border-radius: 10px;
  }
  .testimonial-card, .feature-item {
    font-size: 0.99rem;
    padding: 10px 7px 10px 7px;
  }
  .cta-btn {
    padding: 9px 14px;
    font-size: 0.95rem;
    border-radius: 9px;
  }
}

/* COOKIE BANNER & MODAL --------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #22543D;
  color: #fff;
  z-index: 2000;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 18px 12px 18px 12px;
  gap: 20px;
  box-shadow: 0 -2px 18px 0 rgba(34,84,61,0.12);
  font-size: 1rem;
  animation: cookie-slide-in 0.6s cubic-bezier(.37,.44,.39,.98);
}
@keyframes cookie-slide-in {
  0% { transform: translateY(100%); opacity: 0; }
  65% { transform: translateY(-12px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 180px;
  min-width: 120px;
  color: #fff;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  margin-left: 0;
  transition: background 0.2s, color 0.2s, box-shadow 0.17s, transform 0.10s;
  outline: none;
  box-shadow: 0 1px 8px rgba(34,84,61,.09);
}
.cookie-btn.accept {
  background: #BC7123;
  color: #fff;
}
.cookie-btn.reject {
  background: #F2F6F3;
  color: #22543D;
  border: 1.5px solid #BC7123;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #A25000;
  color: #fff;
  box-shadow: 0 4px 18px #BC712368;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #fff;
  color: #BC7123;
  border-color: #A25000;
}

/* Cookie Settings Modal */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 2001;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,84,61,0.77);
  justify-content: center;
  align-items: center;
  animation: cookie-fade-in 0.4s cubic-bezier(.37,.44,.39,.98);
}
@keyframes cookie-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal.visible {
  display: flex;
}
.cookie-modal__content {
  background: #FFFFFF;
  padding: 32px 24px;
  border-radius: 18px;
  max-width: 420px;
  margin: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 6px 30px 0 rgba(34,84,61,.18);
  font-size: 1.09rem;
  color: #163125;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.3rem;
  color: #22543D;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 6px;
  font-weight: 800;
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 14px;
  font-size: 1.3rem;
  background: none;
  border: none;
  color: #BC7123;
  cursor: pointer;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 8px 2px 8px 2px;
}
.cookie-category label {
  font-size: 1rem;
  color: #22543D;
  font-weight: 600;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
}
.cookie-category--essential label::after {
  content: ' (immer aktiv)';
  color: #BC7123;
  font-size: 0.93rem;
  font-weight: 700;
  margin-left: 8px;
}
.cookie-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
@media (max-width: 520px) {
  .cookie-modal__content {
    padding: 14px 6px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 14px 3px;
  }
}

/* ACCESSIBILITY FOCUS --------------------------------------------------------*/
a:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, button:focus {
  outline: 3px solid #BC7123;
  outline-offset: 2px;
}

/* MISC BOLD/GEO/ACCENTIVE GEOMETRIC ELEMENTS ----------------------------------- */
.section, .card, .testimonial-card, .feature-item {
  border-radius: 20px;
}
@media (max-width: 600px) {
  .section, .card, .testimonial-card, .feature-item {
    border-radius: 9px;
  }
}

/* HIGH CONTRAST & MODERN-BOLD HIERARCHY ---------------------------------------*/
h1, h2, h3 {
  color: #22543D;
  font-weight: 900;
}
h1 + p, h2 + p {
  font-size: 1.15rem;
  color: #163125;
}
.testimonial-card {
  color: #273E33;
}

/* VISUAL HOVER EFFECTS ---------------------------------------------------------*/
.card:hover, .feature-item:hover {
  border-left: 8px solid #BC7123;
  box-shadow: 0 8px 32px 0 rgba(34,84,61,.15);
}

/* HELPER CLASSES ---------------------------------------------------------------*/
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-40 { margin-top: 40px !important; }

/* END OF CSS */
