/* === CSS RESET & NORMALIZATION === */
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;
  font-family: inherit;
  box-sizing: border-box;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, footer, header, nav, section { display: block; }
body { line-height: 1.6; background: #F7F9F7; color: #2D3723; font-family: 'Roboto', Arial, sans-serif; min-height: 100vh; }
ul, ol { padding-left: 1.2rem; margin-bottom: 1em; }
a { color: #284663; text-decoration: none; transition: color 0.18s; }
a:hover, a:focus { color: #446e52; }
img { max-width: 100%; border-radius: 8px; }
table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
th, td { padding: 14px 12px; border-bottom: 1px solid #e3e3cb; text-align: left; }
th { background: #e1ebd4; }


/* === BRAND COLORS & ROOT VARS === */
:root {
  --color-primary: #284663;
  --color-secondary: #D6EAEF;
  --color-accent: #F8C300;
  --color-green-900: #265029;
  --color-green-700: #446e52;
  --color-green-200: #e2efde;
  --color-brown: #a49875;
  --color-clay: #e3e3cb;
  --color-bg: #F7F9F7;
  --color-white: #fff;
  --radius: 18px;
  --shadow-small: 0 1px 5px rgba(20,40,20,0.06);
  --shadow-medium: 0 4px 16px rgba(55,65,40,0.15);
}


/* === TYPOGRAPHY for 'nature_organic' === */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {font-family: 'Montserrat', Arial, sans-serif; color: #265029;}
h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 22px; letter-spacing: -1px; }
h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 18px; }
h3 { font-size: 1.16rem; font-weight: 600; margin-bottom: 10px; }
h4, h5, h6 {font-weight: 600;}
p { font-size: 1.06rem; line-height: 1.7; margin-bottom: 1.1em; }
strong, b { color: #284663; font-weight: 700; }


/* === CORE LAYOUT CONTAINERS === */
.container {
  width: 100%; max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px; padding-right: 20px;
  display: flex; flex-direction: column; gap: 0;
}
.content-wrapper {
  display: flex; flex-direction: column; gap: 24px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
  padding: 32px 26px;
  margin-bottom: 32px;
  position: relative;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex; flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--color-green-200);
  box-shadow: var(--shadow-small);
  position: relative;
  padding: 22px 18px;
  display: flex; flex-direction: column; gap: 12px;
  min-width: 220px;
  flex: 1 1 250px;
}

.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;
  border-radius: 22px;
  background: #E8F6EA;
  color: #284663;
  font-size: 1rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-small);
  border: 1.5px solid #aacba7;
}
.testimonial-card p {
  margin: 0 0 6px 0;
  color: #284663;
  font-style: italic;
}
.testimonial-card span {
  font-size: 1.08rem;
  color: #446e52;
  font-weight: 600;
}

.feature-item {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 260px;
  min-width: 220px;
  background: #ecf6e8;
  padding: 24px 20px 16px;
  border-radius: 16px;
  box-shadow: var(--shadow-small);
  border: 1.5px solid #e2efde;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px) scale(1.02);
}

.tips > ul {
  background: #f1faee;
  border-radius: 13px;
  padding: 14px 18px;
  color: #265029;
  font-size: 1.01em;
  box-shadow: var(--shadow-small);
  margin: 15px 0 0 0;
  list-style-type: disc;
}

.text-section {
  background: #f4f8f6;
  padding: 24px 22px;
  border-radius: 15px;
  box-shadow: var(--shadow-small);
  margin-bottom: 20px;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 14px;
  background: #e2efde;
  border-radius: 14px;
  box-shadow: var(--shadow-small);
  margin-bottom: 24px;
}

.faq-group {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.faq-group > div {
  flex: 1 1 235px;
  background: #f9f6ec;
  border-radius: 15px;
  padding: 19px 18px 11px;
  box-shadow: var(--shadow-small);
}

/* === HEADER & MAIN NAV === */
header {
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(70,90,50,.05);
  position: sticky;
  top: 0; left: 0; z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px; padding-bottom: 14px;
}
header img[alt="RentenWeiser"] {
  height: 50px; width: auto; display: block;
  border-radius: 10px;
  background: none;
}

.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 1.05em;
}
.main-nav a {
  color: #265029;
  padding: 7px 5px 7px 5px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background .16s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: #284663;
}
.cta-main {
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 10px 22px;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1em;
  margin-left: 14px;
  box-shadow: var(--shadow-small);
  letter-spacing: 0.5px;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.cta-main:hover, .cta-main:focus {
  background: #ffe570;
  color: #265029;
  box-shadow: var(--shadow-medium);
}

/* === CTA BUTTONS === */
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none; outline: none;
  border-radius: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-small);
  font-size: 1.07em;
  transition: background 0.15s, color 0.15s, box-shadow .18s, transform .14s;
  padding: 11px 28px;
  margin-top: 10px;
}
.cta-primary {
  background: linear-gradient(90deg, #b8efae 0, var(--color-accent) 100%);
  color: #284663;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #ecf6e8 0%, #ffe570 100%);
  color: #265029;
  box-shadow: var(--shadow-medium);
  transform: translateY(-1px) scale(1.03);
}

.cta-secondary {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-green-900);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-green-200);
  color: var(--color-green-900);
  box-shadow: var(--shadow-small);
}

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #265029;
  color: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  gap: 18px;
  box-shadow: 0 -2px 18px rgba(50,70,50,0.15);
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(.5,1.2,.5,1.01);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-text {
  flex: 1;
  color: #fff; font-size: 1.03em;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  font-size: 1em;
  box-shadow: var(--shadow-small);
  cursor: pointer;
  padding: 8px 18px;
  transition: background .15s, color .13s;
}
.cookie-banner .accept {
  background: #b8efae; color: #265029;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #ffe570; color: #284663;
}
.cookie-banner .decline {
  background: #fff; color: #284663;
  border: 1.5px solid #F8C300;
}
.cookie-banner .decline:hover, .cookie-banner .decline:focus {
  background: var(--color-clay); color: #265029;
}
.cookie-banner .settings {
  background: transparent; color: #ffe570;
  border: 1.5px solid #ffe570;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #ffe570; color: #265029;
}

/* COOKIE SETTINGS MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #fff;
  z-index: 10002;
  min-width: 295px;
  max-width: 96vw;
  width: 420px;
  border-radius: 24px;
  box-shadow: var(--shadow-medium);
  display: flex; flex-direction: column;
  gap: 18px;
  padding: 35px 26px 26px 26px;
  opacity: 1; visibility: visible;
  transition: opacity .21s cubic-bezier(.5,.5,.7,1);
}
.cookie-modal.hide {
  opacity: 0; visibility: hidden; pointer-events: none;
}
.cookie-modal h2 {
  color: #265029;
  font-size: 1.29em;
  margin-top: -7px;
  margin-bottom: 5px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: transparent; border: none;
  color: var(--color-green-900);
  font-size: 1.5em;
  cursor: pointer;
}
.cookie-modal ul {
  margin: 0;
  padding-left: 14px;
  display: flex; flex-direction: column; gap: 14px;
}
.cookie-modal .cookie-category {
  display: flex; flex-direction: row; align-items: center; gap: 12px;
  padding: 10px 0;
}
.cookie-modal label {
  font-size: 1.06em; color: #2D3723;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  flex: 1;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #b8efae;
  width: 21px; height: 21px;
}
.cookie-modal .essential {
  color: #284663;
}
.cookie-modal .btn-group {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 8px 16px;
  border-radius: 9px;
  border: none;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: var(--shadow-small);
  cursor: pointer;
  font-size: 1em;
  background: #e2efde; color: #284663;
  transition: background .15s, color .13s;
}
.cookie-modal .save {
  background: #b8efae; color: #265029;
}
.cookie-modal .save:hover, .cookie-modal .save:focus {
  background: #ffe570; color: #285829;
}
.cookie-modal .cancel {
  background: #fff; color: #284663;
  border: 1.5px solid #b8efae;
}
.cookie-modal .cancel:hover, .cookie-modal .cancel:focus {
  background: var(--color-clay); color: #265029;
}

/* === FOOTER === */
footer {
  background: #e2efde;
  padding: 40px 0 0 0;
  margin-top: 50px;
  box-shadow: 0 0 9px rgba(70,90,50,0.03);
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 34px;
  padding: 24px 20px 32px 20px;
}
.footer-branding {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
}
.footer-branding img {
  height: 40px; width: auto; margin-bottom: 5px;
  background: none;
}
.footer-branding span {
  font-size: 0.97em; color: #265029;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.97em;
}
.footer-links a {
  color: #265029;
}
.footer-links a:hover, .footer-links a:focus { color: #284663; text-decoration: underline; }
.footer-contact {
  font-size: 1em;
  color: #446e52;
  line-height: 1.45;
}
.footer-contact a { color: #284663; }
.footer-contact a:hover, .footer-contact a:focus { color: #265029; text-decoration: underline; }


/* === MOBILE NAVIGATION (BURGER MENU) === */
.mobile-menu-toggle {
  display: flex;
  align-items: center; justify-content: center;
  position: fixed;
  top: 17px; right: 17px;
  z-index: 100;
  width: 44px; height: 44px;
  background: #e2efde;
  color: #265029;
  border-radius: 15px;
  border: none;
  font-size: 1.8em; font-weight: 700;
  box-shadow: var(--shadow-small);
  cursor: pointer;
  transition: background .15s, color .11s, box-shadow .18s;
  outline: none;
  display: none;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #b8efae;
  color: #284663;
  box-shadow: var(--shadow-medium);
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 90vw; max-width: 350px;
  height: 100vh;
  background: #fff;
  z-index: 1001;
  box-shadow: -6px 0 24px rgba(40,70,50,0.17);
  transform: translateX(100%);
  transition: transform 0.29s cubic-bezier(.53,1.22,.41,1.01);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 0;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  position: absolute;
  right: 22px; top: 18px;
  background: transparent;
  color: #284663;
  border: none;
  font-size: 2.0em; font-weight: 700;
  cursor: pointer;
  z-index: 1010;
  padding: 4px;
  transition: color .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #446e52;
}
.mobile-nav {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 77px 22px 22px 34px;
  gap: 18px;
}
.mobile-nav a {
  font-size: 1.09em; color: #265029;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 10px 0;
  border-radius: 8px;
  width: 100%;
  transition: background .13s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e2efde; color: #284663;
}

/* HIDE DESKTOP NAV ON MOBILE */
@media (max-width: 992px) {
  .main-nav, .cta-main {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  header .container {
    gap: 0;
    padding-top: 10px; padding-bottom: 10px;
  }
}

/* === RESPONSIVE LAYOUT: FLEXDIRECTION COLUMN ON MOBILE === */
@media (max-width: 768px) {
  .container {
    padding-left: 9px; padding-right: 9px;
  }
  .content-wrapper {
    padding: 22px 6px;
  }
  .section {
    margin-bottom: 30px;
    padding: 22px 5px;
  }
  .feature-grid, .content-grid, .faq-group, .card-container {
    flex-direction: column;
    gap: 20px !important;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 11px;
  }
  footer .container {
    flex-direction: column;
    padding: 18px 7px 24px 7px;
    gap: 22px;
  }
}

/* === FINE-TUNE HEADINGS & SPACING ON MOBILE === */
@media (max-width: 700px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.04rem; }
  .cta-main, .cta-primary, .cta-secondary {
    font-size: 1em;
    padding: 9px 14px;
  }
}


/* === GENERAL ORGANIC/NATURE VISUALS === */
body {
  background: #f7f9f7 url('../assets/texture-leaves.jpg') repeat top left;
  background-size: 650px 650px;
}
.card, .feature-grid > div, .faq-group > div, .testimonial-card, .text-section, .content-wrapper {
  border-radius: 15px 28px 18px 22px/28px 18px 22px 15px;
  /* Slightly organic/irregular rounded corners */
}
section {
  background: #F7F9F7;
  background-image: url('../assets/organic-shape.svg');
  background-repeat: no-repeat;
  background-position: right -70px top -30px;
  background-size: 340px 180px;
}


/* === TABLE STYLES === */
table thead th {
  color: #265029;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #e1ebd4;
  font-size: 1.05em;
}
tbody td, tbody th {
  color: #284663;
  font-size: 1em;
}

/* === MICRO-INTERACTIONS, TRANSITIONS === */
button, .cta-main, .cta-primary, .cta-secondary, .cookie-banner button {
  transition: background .13s, color .12s, box-shadow .11s, transform .17s;
}
.card, .feature-grid > div, .faq-group > div, .testimonial-card { transition: box-shadow .18s, transform .19s; }
.card:hover, .faq-group > div:hover, .testimonial-card:hover {
  box-shadow: var(--shadow-medium);
  transform: scale(1.01);
}

/* === Z-INDEX, NO OVERLAP === */
.section, .content-wrapper, .container, header, main, footer, .card, .testimonial-card {
  z-index: auto;
  position: relative;
}

/* ==== FORMATTING LISTS, ETC === */
ul li, ol li { margin-bottom: 7px; }

/* === ACCESSIBLE FOCUS OUTLINE === */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 3px solid #F8C300;
  outline-offset: 2px;
}

/* === PRINT FRIENDLY === */
@media print { .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal { display: none !important; } }

/* === SPECIAL: THANK YOU (SUCCESS) SECTION === */
.thank-you-section {
  text-align: center;
  padding: 50px 18px 60px;
}

/* ==== ACCESSIBILITY: USED HIGH CONTRAST IN TESTIMONIALS SECTION === */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #284663 !important;
  background: #E8F6EA !important;
}

/* === DISABLE ABSOLUTE FOR CONTENT === */
.card, .content-wrapper, .faq-group > div {
  position: relative;
}

/* === ADDITIONAL ORGANIC DECORATIONS === */
@media (min-width: 880px) {
  section {
    background-image: url('../assets/organic-shape.svg'), url('../assets/leaf-edge.svg');
    background-position: right -140px top -30px, left -90px bottom -40px;
    background-size: 340px 180px, 180px 330px;
  }
}

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