/* --------------------------------
   CSS RESET & NORMALIZE
----------------------------------*/
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, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  background: #fff;
  color: #252A2E;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}
ul, ol {
  list-style: none;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
table {
  border-collapse: collapse;
  width: 100%;
}
hr {
  border: none;
  height: 1px;
  background: #EAEAEA;
}

/* --------------------------------
   BRAND BASE & TYPOGRAPHY
----------------------------------*/
:root {
  --primary: #288B3A;
  --secondary: #A2A125;
  --accent: #FFFFFF;
  --neutral: #F7F8F6;
  --text: #252A2E;
  --border: #EAEAEA;
  --shadow: 0 2px 16px rgba(40,139,58,0.07);
  --radius: 14px;
  --transition: 0.2s cubic-bezier(.45, .05, .55, .95);
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: var(--accent);
  color: var(--text);
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
h1 { font-size: 2.75rem; line-height: 1.1; margin-bottom: 18px; }
h2 { font-size: 2rem;   line-height: 1.18; margin-bottom: 16px; }
h3 { font-size: 1.25rem; line-height: 1.3;  margin-bottom: 10px; }
h4, h5, h6 { font-weight: 600; }
p, li, td, th {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}
.text-section p, .text-section ul li {
  margin-bottom: 12px;
}

strong { font-weight: 600; }

/* Paragraph vertical rhythm */
.text-section {
  margin-bottom: 24px;
}

/* --------------------------------
   CONTAINERS AND SECTIONS
----------------------------------*/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--accent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 26px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 265px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 8px 24px rgba(40,139,58,0.12);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--neutral);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  min-width: 220px;
}

.cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  background: var(--neutral);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 22px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.cta-wrapper h2 {
  text-align: center;
}

/* --------------------------------
   HEADER & NAVIGATION
----------------------------------*/
header {
  width: 100%;
  background: var(--accent);
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
nav.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
nav.main-nav a {
  color: var(--text);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 6px;
  border-radius: 6px;
  transition: color 0.13s, background 0.13s;
}
nav.main-nav a:hover,
nav.main-nav a:focus {
  background: #e9f6ec;
  color: var(--primary);
}
nav.main-nav a.btn-primary {
  font-weight: 700;
  color: var(--accent);
  background: var(--primary);
  padding: 9px 22px;
  border-radius: 70px;
  margin-left: 10px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 3px 8px rgba(40,139,58,0.07);
}
nav.main-nav a.btn-primary:hover,
nav.main-nav a.btn-primary:focus {
  background: var(--secondary);
  color: #252A2E;
  box-shadow: 0 4px 30px rgba(162,161,37,0.12);
}

/* Hamburger (Mobile) Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.15rem;
  color: var(--primary);
  border-radius: 70px;
  padding: 7px 15px 7px 11px;
  cursor: pointer;
  border: 1.5px solid #e0e9e2;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 4px;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 18px rgba(40,139,58,0.08);
  z-index: 101;
  transform: translateX(-102vw);
  transition: transform 0.36s cubic-bezier(.45, .05, .55, .95);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 32px;
  padding-left: 0;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  font-size: 2.15rem;
  padding: 7px 14px 7px 6px;
  border: none;
  color: var(--secondary);
  cursor: pointer;
  margin-right: 12px;
  border-radius: 100px;
  transition: background 0.1s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #f0f0f2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 10px;
  align-items: center;
}
.mobile-nav a {
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  padding: 13px 0;
  width: 100%;
  text-align: center;
  border-radius: 24px;
  transition: background var(--transition), color var(--transition);
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--neutral);
  color: var(--secondary);
}

@media (max-width: 940px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 941px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --------------------------------
   SECTION - HERO, FEATURES, CTA
----------------------------------*/
section { /* For breathing room and clarity */
  margin-bottom: 60px;
  padding: 40px 0;
}
section > .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Features */
.content-wrapper > ul,
.content-wrapper > ol {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: stretch;
}
.content-wrapper > ul > li {
  background: var(--neutral);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1 1 245px;
  min-width: 235px;
  padding: 30px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.content-wrapper > ul > li:hover {
  box-shadow: 0 8px 24px rgba(40,139,58,0.12);
  transform: translateY(-4px) scale(1.014);
}
.content-wrapper > ul > li img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}
.content-wrapper > ul > li h3 {
  font-size: 1.18rem;
  margin-bottom: 4px;
  color: var(--primary);
}
.content-wrapper > ul > li p {
  font-size: 1rem;
  color: var(--text);
  opacity: 0.86;
  margin-bottom: 0;
}

.text-section ul {
  margin-bottom: 18px;
}
.text-section ul li{
  position: relative;
  padding-left: 0;
  margin-bottom: 10px;
}
.text-section ul li::before {
  content: '\2022';
  color: var(--secondary);
  font-weight: bold;
  display: inline-block;
  width: 1.2em;
  margin-left: -1.2em;
  font-size: 1.1em;
  line-height: 1.2;
}

/* --------------------------------
   TESTIMONIALS
----------------------------------*/
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  margin-top: 10px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px 16px 22px;
  background: var(--neutral);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 260px;
  max-width: 350px;
  margin-bottom: 20px;
}
.testimonial-card blockquote {
  color: #374141;
  opacity: 1;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  margin-bottom: 6px;
  quotes: '\201C''\201D''\2018''\2019';
}
.testimonial-card span {
  color: var(--primary);
  font-size: 0.96rem;
  font-weight: 600;
  opacity: 0.98;
}

/* Contrast for accessibility */
.testimonial-card, .testimonial-card blockquote, .testimonial-card span {
  background: var(--neutral);
  color: #232A27;
}

/* --------------------------------
   BUTTONS & INTERACTIVE
----------------------------------*/
.btn-primary, a.btn-primary, button.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  color: var(--accent) !important;
  background: var(--primary);
  border: none;
  border-radius: 70px;
  padding: 12px 32px;
  box-shadow: 0 3px 8px rgba(40,139,58,0.10);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  display: inline-block;
  margin-top: 10px;
  letter-spacing: 0.01em;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--secondary);
  color: #232A27 !important;
  box-shadow: 0 11px 24px -6px rgba(162,161,37,0.13);
  text-decoration: none !important;
}
.btn-secondary {
  background: var(--secondary);
  color: var(--accent);
  border-radius: 70px;
  padding: 12px 32px;
  font-size: 1.08rem;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: var(--accent);
}

/* --------------------------------
   TABLES (Vergleich etc.)
----------------------------------*/
table { border-collapse: collapse; width: 100%; background: var(--neutral); border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; box-shadow: var(--shadow); }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border);}
th { font-family: 'Montserrat', Arial, sans-serif; color: var(--primary); font-size: 1.12rem; background: #F2F5F2; }
tbody tr:last-child td { border-bottom: none; }
td span { color: var(--secondary); font-weight: 500; }

/* --------------------------------
   FAQ ACCORDION
----------------------------------*/
.faq-section {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 20px;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--neutral);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 22px 20px 12px 18px;
  margin-bottom: 0;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: 0 8px 24px rgba(40,139,58,0.14); }
.faq-item h3 {
  margin-bottom: 7px;
  font-size: 1.12rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
}
.faq-item p { color: #374141; margin-bottom: 0; }
.faq-contact-prompt {
  background: #f7f9f7;
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 7px;
}

/* --------------------------------
   FOOTER
----------------------------------*/
footer {
  width: 100%;
  background: var(--neutral);
  border-top: 1px solid var(--border);
  padding: 24px 0 16px 0;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #848974;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 10px;
  border-radius: 8px;
  transition: background 0.13s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #edf2ec;
  color: var(--primary);
}
.footer-contact {
  color: #1D221D;
  font-size: 0.97rem;
  opacity: 0.95;
  margin-top: 0;
}
.footer-contact a {
  color: var(--primary); text-decoration: underline;
}

/* --------------------------------
   COOKIE CONSENT BANNER
----------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fcfcfd;
  border-top: 1.5px solid var(--border);
  box-shadow: 0 -2px 16px 0 rgba(26,46,21,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 18px 22px 18px;
  z-index: 2200;
  animation: fadein-bottom 0.5s cubic-bezier(.55,.01,.55,.95);
}
@keyframes fadein-bottom {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner-message {
  max-width: 680px;
  color: #313131;
  font-size: 1.025rem;
  flex: 1;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.cookie-btn, .cookie-btn-primary {
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 70px;
  padding: 10px 27px;
  font-size: 1.04rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--neutral);
  color: var(--primary);
  transition: background var(--transition), color var(--transition);
}
.cookie-btn-primary {
  background: var(--primary);
  color: var(--accent);
}
.cookie-btn-primary:hover, .cookie-btn-primary:focus {
  background: var(--secondary);
  color: #232A27;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #e9f6ec;
  color: var(--primary);
}
.cookie-settings-btn {
  background: #F1F3F5;
  color: var(--primary);
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--secondary);
  color: var(--accent);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(45,62,36,0.18);
  z-index: 3300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein-modal 0.35s cubic-bezier(.45,.05,.55,.95);
}
@keyframes fadein-modal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--accent);
  max-width: 430px;
  width: 97vw;
  border-radius: var(--radius);
  box-shadow: 0 8px 54px rgba(40,139,58,0.13);
  padding: 34px 22px 22px 28px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 9px;
}
.cookie-toggle {
  appearance: none;
  outline: none;
  background: #EAEAEA;
  height: 24px;
  width: 44px;
  border-radius: 33px;
  position: relative;
  cursor: pointer;
  transition: background 0.13s;
  margin-right: 8px;
}
.cookie-toggle:checked {
  background: var(--primary);
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  transition: left 0.16s cubic-bezier(.85,.08,.76,.73);
}
.cookie-toggle:checked::after {
  left: 22px;
  background: var(--accent);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 22px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #a3ab96;
  cursor: pointer;
  border-radius: 50px;
  padding: 1px 7px;
  z-index: 500;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: #f0f2ef;
  color: #6e875d;
}

/* Essential cookies always enabled style */
.cookie-modal .cookie-category[data-essential] .cookie-toggle {
  opacity: 0.48;
  pointer-events: none;
}

/* --------------------------------
   RESPONSIVE/MOBILE
----------------------------------*/
@media (max-width: 960px) {
  .container { max-width: 94vw; }
  .footer-nav { gap: 10px; }
  header .container { gap: 10px; }
}
@media (max-width: 900px) {
  .testimonials {
    flex-wrap: wrap;
    gap: 15px;
  }
  .testimonial-card {
    min-width: 220px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .container { max-width: 99vw; padding: 0 9px; }
  section { padding: 30px 0; }
  .section{ padding: 32px 10px; }
  header .container {
    min-height: 46px;
    padding: 0 9px;
    gap: 0;
  }
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.05rem; }
  nav.main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .content-wrapper > ul, .content-wrapper > ol {
    gap: 12px;
  }
  .content-wrapper > ul > li, .feature-item, .card {
    min-width: 0;
    padding: 18px 10px 18px 11px;
  }
  .testimonials {
    gap: 12px;
  }
  .testimonial-card {
    padding: 13px 9px 12px 12px;
    margin-bottom: 9px;
    min-width: 0;
    max-width: 100%;
  }
  .cta-wrapper {
    padding: 16px 7px;
    gap: 12px;
  }
  .content-grid,
  .card-container {
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .content-wrapper > ul, .content-wrapper > ol {
    flex-direction: column;
    gap: 8px;
  }
  .cta-wrapper {
    padding: 11px 3px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 11px;
    align-items: flex-start;
  }
  .cookie-banner-message { max-width: 98vw; }
}

/* --------------------------------
   UTILITY/HELPER
----------------------------------*/
.mt8 { margin-top: 8px; }
.mt16 { margin-top: 16px; }
.mb8 { margin-bottom: 8px; }
.mb16 { margin-bottom: 16px; }
.mb24 { margin-bottom: 24px; }
.text-center { text-align: center; }

/* --------------------------------
   SCROLLBAR (Minimal)
----------------------------------*/
::-webkit-scrollbar { width: 10px; background: #f6f6f6; }
::-webkit-scrollbar-thumb { background: #e0eacd; border-radius: 8px; }

/* --------------------------------
   PRINT (Remove banner etc.)
----------------------------------*/
@media print {
  .cookie-banner, .cookie-modal-overlay, .mobile-menu { display: none !important; }
  header, footer { background: #fff; color: #000; }
}
