/* --------------------
   CSS RESET & BASELINE
---------------------*/
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #f5f7f3;
  color: #2a3018;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
input, button, textarea, select {
  font: inherit;
}
a {
  color: #17417e;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #295c2b;
  text-decoration: underline;
}

/* -------------------
   BRAND TYPOGRAPHY
--------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #17417e;
  font-weight: bold;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.4rem; margin-bottom: 20px; }
h2 { font-size: 1.6rem; margin-bottom: 16px; color: #224132; }
h3 { font-size: 1.2rem; margin-bottom: 12px; color: #224132; }
h4, h5, h6 { font-size: 1rem; color: #224132; }
p {
  font-size: 1rem;
  color: #2a3018;
  margin-bottom: 12px;
}
strong, b {
  font-weight: bold;
  color: #295c2b;
}

/* Ensure better list spacing */
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
ul li, ol li { margin-bottom: 8px; }

/* -------------------------
   COLOR PALETTE & ORGANIC
---------------------------*/
:root {
  --brand-primary: #17417e;
  --brand-secondary: #e8f0fc;
  --brand-accent: #ffb300;
  --nature-green: #295c2b;
  --nature-gold: #bd9500;
  --earth-brown: #786455;
  --nature-bg: #f5f7f3;
  --stone-gray: #aab397;
  --leaf-green: #7cb342;
  --sand: #f2e8d6;
  --white: #fff;
  --black: #151b0d;
  --shadow: 0 2px 12px rgba(80,96,76,0.07);
  --radius-main: 18px;
}

body {
  background: var(--nature-bg);
  color: #364336;
}

/* Organic Section Shapes (BG/Decor) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

/* Overlap visual with subtle organic shape - pseudo for hero/cta */
.hero, .cta {
  background: linear-gradient(120deg, var(--brand-secondary) 70%, var(--leaf-green) 100%);
  border-radius: 0 0 44px 44px/0 0 80px 80px;
  margin-bottom: 60px;
  position: relative;
}
.hero::before, .cta::before {
  content: '';
  display: block;
  position: absolute;
  left: -40px; top: -40px;
  width: 120px; height: 120px;
  background: var(--leaf-green);
  opacity: 0.10;
  border-radius: 100px 70px 100px 60px/60px 100px 100px 70px;
  z-index: 0;
}
.hero .content-wrapper, .cta .content-wrapper {
  position: relative;
  z-index: 1;
}

/* -------------------
   LAYOUT CONTAINERS
--------------------*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Cards and Flex Layouts */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--sand);
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px;
  min-width: 230px;
  flex: 1 1 300px;
  transition: transform 0.13s, box-shadow 0.13s;
}
.card:hover, .card:focus {
  transform: translateY(-4px) scale(1.018);
  box-shadow: 0 4px 30px rgba(99,117,87,0.19);
}

.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: #fffdf7;
  border-radius: 22px;
  box-shadow: 0 2px 16px rgba(49, 55, 36, 0.08);
  margin-bottom: 20px;
  color: #2a3018;
}

.feature-item, .service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--sand);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  flex: 1 1 240px;
  min-width: 230px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-item img, .service-item img { width: 42px; height: auto; }
.feature-item:hover, .service-item:hover {
  box-shadow: 0 6px 32px rgba(89,105,73,0.18);
  transform: translateY(-4px) scale(1.014);
}

/* Feature Grid */
.feature-grid, .service-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.guarantee-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 10px;
}
.guarantee-badges span {
  display: flex;
  align-items: center;
  background: var(--brand-secondary);
  color: var(--nature-green);
  border-radius: 12px;
  padding: 6px 16px;
  font-size: 1rem;
  gap: 7px;
  font-weight: 500;
}
.guarantee-badges img { width: 26px; height: auto; }

/**********
  FOOTER
***********/
footer {
  background: var(--brand-secondary);
  padding: 32px 0 0 0;
  /* rounded top edge for nature look */
  border-radius: 48px 48px 0 0 / 84px 84px 0 0;
  margin-top: 80px;
  color: #284130;
  font-size: 0.95rem;
}
.footer-logo {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #17417e;
  padding: 3px 0;
  border-radius: 7px;
  font-size: 1rem;
  transition: background 0.14s;
}
.footer-nav a:hover {
  background: var(--leaf-green);
  color: #fff;
}
.footer-contact {
  margin-bottom: 10px;
  color: #2a3018;
}
.footer-contact a {
  color: #295c2b;
  text-decoration: underline;
}

/* ----------------------
   NAVIGATION  & HEADER
------------------------*/
header {
  background: var(--white);
  box-shadow: 0 1px 16px rgba(88,105,92, 0.08);
  border-radius: 0 0 44px 44px/0 0 54px 54px;
  position: sticky;
  top: 0;
  z-index: 110;
}
header .container {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 16px;
  min-height: 76px;
  position: relative;
  justify-content: space-between;
}

nav.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-grow: 1;
  margin-left: 30px;
}
.main-nav a {
  color: #17417e;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 5px 14px;
  border-radius: 10px;
  transition: background 0.14s, color 0.16s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--leaf-green);
  color: #fff;
}

.cta-btn {
  display: inline-block;
  background: var(--leaf-green);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(151,163,139,0.10);
  outline: none;
  border: none;
  cursor: pointer;
  transition: background 0.14s, box-shadow 0.18s, transform 0.11s;
  margin-left: 20px;
  letter-spacing: 0.04em;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 3px 18px rgba(51, 80, 61, 0.16);
  transform: translateY(-2px) scale(1.02)
}

button, .mobile-menu-toggle, .mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.8rem;
  color: var(--brand-primary);
  transition: background 0.14s, color 0.14s;
}

.mobile-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--brand-secondary);
  border-radius: 16px;
  font-size: 2.3rem;
  margin-left: 18px;
  transition: background 0.14s, color 0.14s;
  z-index: 202;
}
.mobile-menu-toggle:focus,.mobile-menu-toggle:hover {
  background: var(--leaf-green);
  color: #fff;
}

/*********************
  MOBILE MENU STYLES
**********************/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #f9fbf6;
  z-index: 2200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.83,.08,.55,1.08);
  box-shadow: 2px 0 44px rgba(61, 77, 62, 0.084);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 23px 32px 0 0;
  font-size: 2.4rem;
  background: var(--leaf-green);
  color: #fff;
  border-radius: 12px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.17s, color 0.11s;
}
.mobile-menu-close:hover {
  background: var(--brand-primary);
  color: var(--brand-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-left: 32px;
  margin-top: 38px;
  font-size: 1.2rem;
}
.mobile-nav a {
  color: #17417e;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 13px 0 13px 7px;
  width: 100%;
  border-radius: 8px;
  transition: background 0.12s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--leaf-green);
  color: #fff;
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 1000px) {
  nav.main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
}

/***************************
  SECTION LAYOUT SPACING
***************************/
section {
  width: 100%;
}
.text-section {
  margin-bottom: 22px;
  color: #2d3b23;
}

/***************************
  ACCORDION FAQS (faq.html)
***************************/
.accordion-faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.faq-item {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(127,135,120,0.08);
  padding: 24px 22px;
  margin-bottom: 10px;
  color: #284130;
  transition: box-shadow 0.12s;
}
.faq-item h2 {
  font-size: 1.15rem;
  margin-bottom: 7px;
  color: var(--leaf-green);
}
.faq-item p {
  font-size: 1rem;
  color: #2d3b23;
}

/***************************************
  HERO, FEATURES, CTA (/ etc.)
****************************************/
.hero h1, .cta h2 {
  font-size: 2.3rem;
  color: var(--brand-primary);
  margin-bottom: 16px;
}
.hero p, .cta p {
  color: #294c2b;
  font-size: 1.13rem;
  margin-bottom: 18px;
}
.features h2, .services h1, .services h2, .trust h2 {
  color: #295c2b;
}

/****************************
   PRICING & TABLE STYLES
*****************************/
.price-tables {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 32px;
  margin-bottom: 32px;
}
.price-tables .text-section {
  background: var(--sand);
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(157,167,120,0.06);
  flex: 1 1 250px;
  min-width: 220px;
}

/*****************************
  TRUST (index/ueber-uns)
******************************/
.trust ul, .steps ol {
  background: var(--sand);
  border-radius: 14px;
  padding: 20px 28px;
  margin-bottom: 18px;
  color: #2d3b23;
}
.trust ul li {
  color: #294c2b;
  font-size: 1.07rem;
  margin-bottom: 10px;
  list-style: disc inside;
}
.trust .guarantee-badges {
  margin-top: 14px;
}

/****************************
   CONTACT/INFO BLOCKS
*****************************/
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: flex-start;
  margin-top: 15px;
}
.contact-details .text-section {
  min-width: 240px;
  flex: 1 1 320px;
}
.hours ul {
  background: var(--sand);
  border-radius: 11px;
  padding: 20px 32px;
  color: #2a3018;
  margin-bottom: 18px;
  list-style: disc inside;
}

/********************
  ORGANIC BUTTONS
*********************/
button, .cta-btn {
  outline: none;
  border: none;
  cursor: pointer;
}
.cta-btn:active {
  transform: scale(0.98);
}

/********************
  OL/UL for steps
*********************/
.steps ol {
  padding-left: 20px;
  margin-bottom: 20px;
}
.steps ol li {
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #28502b;
}

/********************
  MODALS & OVERLAYS (Cookie)
*********************/
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 24px;
  background: #fff;
  box-shadow: 0 2px 40px rgba(90,110,60,0.12);
  border-radius: 22px;
  border: 1.5px solid var(--leaf-green);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 6000;
  padding: 22px 24px 22px 27px;
  align-items: stretch;
  max-width: 480px;
  margin: 0 auto;
  animation: cookie-slideup 0.4s cubic-bezier(.47,1.64,.41,.93);
}
@keyframes cookie-slideup {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-banner p {
  color: #143019;
  font-size: 1.03rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-btn {
  background: var(--leaf-green);
  color: #fff;
  padding: 10px 32px;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  transition: background 0.18s, box-shadow 0.16s, color 0.11s;
  border: none;
  outline: none;
  cursor: pointer;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: var(--brand-primary);
  color: var(--brand-accent);
}
.cookie-btn.reject {
  background: #ebcd7d;
  color: #283c1a;
}
.cookie-btn:active {
  transform: scale(0.97);
}
.cookie-btn.settings {
  background: var(--stone-gray);
  color: #2a3018;
}

.cookie-modal-backdrop {
  position: fixed;
  left:0; top:0; width:100vw; height:100vh;
  background: rgba(14,18,10,0.21);
  z-index: 6500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  border-radius: 28px 28px 0 0;
  padding: 34px 32px 26px 34px;
  box-shadow: 0 4px 36px rgba(85, 92, 45,0.19);
  min-width: 330px;
  max-width: 98vw;
  max-height: 90vh;
  z-index: 6600;
  margin-bottom: 0;
  animation: modal-slideup 0.3s cubic-bezier(.26,1.02,.72,.86);
}
@keyframes modal-slideup {
  from { transform: translateY(260px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  color: var(--brand-primary);
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}
.cookie-modal .cookie-category {
  font-size: 1.06rem;
  color: #2a3018;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-modal .cookie-category input[type=checkbox] {
  accent-color: var(--leaf-green);
  width: 18px;
  height: 18px;
  border-radius: 5px;
  margin-right: 6px;
}
.cookie-modal .cookie-category input[disabled] {
  accent-color: #b1bdb2;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}

/*************************
  THANK YOU / CONFIRMATION
**************************/
.confirmation {
  background: linear-gradient(105deg, var(--leaf-green) 18%, var(--brand-secondary) 88%);
  border-radius: 0 0 65px 65px/0 0 110px 110px;
  min-height: 280px;
}
.confirmation h1 {
  color: var(--brand-primary);
  font-size: 2.2rem;
}
.confirmation .cta-btn {
  margin-top: 10px;
}

/**************************
   MEDIA QUERIES (Mobile)
***************************/
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
    padding: 0 10px;
  }
  .feature-grid, .service-categories, .card-container, .content-grid, .contact-details, .price-tables {
    flex-direction: column;
    gap: 20px;
  }
  .features .feature-grid, .services .service-categories {
    gap: 18px;
  }
  .content-wrapper {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 28px 6vw;
  }
  .hero, .cta {
    border-radius: 0 0 26px 26px/0 0 44px 44px;
    padding-bottom: 22px;
  }
  .content-wrapper {
    padding: 0;
  }
  .footer-nav, .footer-contact {
    flex-direction: column;
    gap: 10px;
  }
  .contact-details {
    flex-direction: column;
    gap: 14px;
  }
  .price-tables, .service-categories, .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card, .faq-item {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .card, .feature-item, .service-item {
    min-width: 0;
    width: 100%;
  }
  .cookie-banner {
    left: 7px; right: 7px; max-width: 98vw;
    padding: 18px 10px 16px 10px;
  }
  .cookie-modal {
    padding: 20px 7vw 17px 7vw;
    min-width: 0;
    width: 98vw;
  }
}
@media (max-width: 540px) {
  .hero h1, .cta h2, .confirmation h1 { font-size: 1.5rem; }
  h2 { font-size: 1.14rem; }
  h3 { font-size: 1rem; }
  .footer-logo img { width: 72px; }
  .section { padding: 18px 3vw; }
}

/*************
  MICRO-INTERACTIONS
**************/
a, button, .cta-btn, .mobile-menu-close, .mobile-menu-toggle, .footer-nav a {
  transition: background 0.16s, color 0.17s, box-shadow 0.15s, transform 0.13s;
}

/*************************************
  NATURE/ORGANIC THEME FORMS & INPUTS
**************************************/
input, textarea, select {
  border: 1.5px solid var(--stone-gray);
  border-radius: 11px;
  background: #fff;
  padding: 11px 15px;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #284130;
  transition: border 0.16s;
  box-shadow: 0 2px 8px rgba(181, 194, 175, 0.07);
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--leaf-green);
  outline: none;
}

/*********************************************
  FORMS & TOUCH TARGETS (for future requests)
**********************************************/
button, .cookie-btn, .cta-btn, .footer-nav a, .main-nav a, .mobile-nav a {
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
}

/*********************************************
  ACCESSIBILITY & FOCUS
**********************************************/
*:focus-visible {
  outline: 2.5px solid var(--brand-accent);
  outline-offset: 2.5px;
}

/*********************************************
  HEIGHT ADJUSTMENTS FOR CTA SECTIONS
**********************************************/
.cta .content-wrapper,
.hero .content-wrapper {
  justify-content: center;
  align-items: flex-start;
  min-height: 150px;
}

/*********************************************
  MISC. FIXES & CONSISTENCY
**********************************************/
.section:last-child { margin-bottom: 0; }
footer .container { padding-bottom: 26px; }

/*********************************************
  Z-INDEX STAGING (nav, menu, banners)
**********************************************/
header { z-index: 1200; }
.mobile-menu { z-index: 2200; }
.cookie-banner { z-index: 6000; }

/*********************************************
  PRINT FRIENDLY DOCS
**********************************************/
@media print {
  * { background: #fff !important; color: #000 !important; }
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
}
