/* ---------------------------------------------------------------
   CSS RESET & BASE 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F9F8F6;
  color: #254234;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #33613f;
  text-decoration: underline;
  transition: color 0.2s;
  cursor: pointer;
  text-underline-offset: 2px;
}
a:hover, a:focus {
  color: #F2A03D;
}
button {
  font-family: inherit;
}
/* ---------------------------------------------------------------
   NATURE ORGANIC BRANDING COLORS & TYPOGRAPHY
---------------------------------------------------------------- */
:root {
  --primary: #25516E;
  --secondary: #C0E6DF;
  --accent: #F2A03D;
  --earth1: #5c6c3b;
  --earth2: #eadbae;
  --earth3: #ded8d0;
  --green-dark: #254234;
  --contrast-txt: #18371b;
  --background: #F9F8F6;
  --white: #fff;
  --shadow: 0 3px 16px rgba(48,56,45,0.12);
  --radius: 18px;
  --radius-card: 24px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}
/* ---------------------------------------------------------------
   TYPOGRAPHY & HEADINGS
---------------------------------------------------------------- */
h1,h2,h3,h4 {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.4rem; margin-bottom: 24px; }
h2 { font-size: 1.75rem; margin-bottom: 18px; }
h3 { font-size: 1.2rem; margin-bottom: 12px; }
h4 { font-size: 1rem; margin-bottom: 10px; }
p, li, small, span {
  color: var(--green-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}
ul, ol {
  margin-left: 18px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: 700;
}
small {
  font-size: 0.93rem;
}

/* ---------------------------------------------------------------
   CONTAINER & LAYOUT
---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--background);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
@media (max-width: 900px) {
  .section {
    padding: 32px 10px;
    margin-bottom: 36px;
  }
}

/* ---------------------------------------------------------------
   FLEX UTILITIES & LAYOUT COMPONENTS
---------------------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 30px 24px;
  min-width: 260px;
  transition: box-shadow 0.18s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 36px rgba(60, 80, 45, 0.15);
  transform: translateY(-5px) scale(1.02);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .container { padding: 0 8px; }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 3px 16px rgba(34,60,8,0.10);
  margin-bottom: 20px;
  min-width: 240px;
}
.testimonial-card h3 {
  margin-bottom: 8px;
  color: var(--accent);
}
.testimonial-card p {
  font-size: 1.04rem;
  font-style: italic;
  color: var(--contrast-txt);
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--primary);
  font-style: normal;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--secondary);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 1px 5px rgba(34,72,26,0.08);
}

/* ---------------------------------------------------------------
   HERO & CTA BUTTONS
---------------------------------------------------------------- */
.hero {
  background: linear-gradient(120deg,#eaf4ec 52%, #cde8d2 100%);
  border-radius: 0 0 40px 40px;
  min-height: 360px;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  box-shadow: 0 2px 16px rgba(72,110,34, 0.08);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  padding-top: 36px;
}
.cta-button {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.13rem;
  padding: 15px 36px;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 2px 10px rgba(242,160,61,.07);
  margin-top: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.17s;
  cursor: pointer;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #db8a1e;
  color: #fff9f1;
  box-shadow: 0 8px 28px rgba(242,160,61,0.12);
  transform: scale(1.04);
}

/* ---------------------------------------------------------------
   NAVIGATION & HEADER
---------------------------------------------------------------- */
header {
  background: var(--background);
  box-shadow: 0 3px 12px rgba(72,110,34,0.06);
  border-bottom: 1px solid #e6eee6;
  position: relative;
  z-index: 25;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 12px 22px;
  min-height: 72px;
}
header img {
  max-height: 52px;
  margin-right: 18px;
  border-radius: 16px;
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1rem;
  text-decoration: none;
  border-radius: 6px;
  padding: 5px 12px;
  transition: background 0.15s, color 0.15s;
  font-weight: 500;
}
nav a:hover, nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}
nav .cta-button {
  padding: 10px 24px;
  font-size: 1.05rem;
  margin-left: 16px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  margin-left: 20px;
  cursor: pointer;
  z-index: 1022;
  transition: color 0.18s, transform 0.2s;
}
.mobile-menu-toggle:hover {
  color: var(--accent);
  transform: scale(1.12);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(5px);
  box-shadow: 0 6px 40px rgba(72,110,34,.10);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 0 0 0;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.7,0,0.2,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--primary);
  position: absolute;
  top: 18px;
  right: 22px;
  cursor: pointer;
  z-index: 2040;
  transition: color 0.18s,transform 0.13s;
}
.mobile-menu-close:hover {
  color: var(--accent);
  transform: scale(1.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 45px;
  align-items: flex-start;
  padding-left: 26px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: var(--green-dark);
  font-family: var(--font-display);
  margin-bottom: 7px;
  padding: 8px 0;
  border-bottom: 1px solid #e7ebe0;
  width: 95%;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover {
  background: var(--secondary);
  color: var(--accent);
  border-radius: 6px;
}
@media (max-width: 1020px) {
  nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1021px) {
  .mobile-menu { display: none !important; }
}

/* ---------------------------------------------------------------
   FEATURE GRID & SERVICES-LIST
---------------------------------------------------------------- */
.feature-grid, .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 0 0;
}
.feature-grid > div, .services-list > div {
  background: var(--white);
  border-radius: 20px;
  padding: 20px 18px 22px 18px;
  box-shadow: 0 2px 18px rgba(60,80,45,0.11);
  flex: 1 1 240px;
  min-width: 230px;
  max-width: 340px;
  transition: box-shadow 0.18s, transform 0.17s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.feature-grid > div:hover, .services-list > div:hover {
  box-shadow: 0 7px 25px rgba(82,120,65,.20);
  transform: translateY(-4px) scale(1.015);
}
.feature-grid img, .services-list img {
  height: 40px;
  width: 40px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: var(--secondary);
  object-fit: contain;
}

@media (max-width: 900px) {
  .feature-grid, .services-list {
    gap: 14px;
  }
  .feature-grid > div, .services-list > div {
    min-width: 175px;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .feature-grid, .services-list {
    flex-direction: column;
    gap: 14px;
  }
}

/* FAQ Accordion (no JS expand effect since plain HTML) */
.faq-accordion > div {
  background: var(--white);
  border-radius: 16px;
  margin-bottom: 20px;
  padding: 18px 15px 10px 15px;
  box-shadow: 0 1px 10px rgba(46,78,41,0.10);
  transition: box-shadow 0.16s, transform 0.15s;
}
.faq-accordion > div:hover {
  box-shadow: 0 4px 22px rgba(70,110,60,0.12);
  transform: translateY(-3px) scale(1.01);
}
.faq-accordion h3 {
  color: var(--primary);
  cursor: pointer;
  margin-bottom: 6px;
  font-size: 1.10rem;
}
.faq-accordion p {
  margin-left: 8px;
}

/* Map location styling for Kontakt */
.map-location {
  background: var(--secondary);
  border-radius: 13px;
  padding: 14px 12px;
  margin-top: 15px;
  box-shadow: 0 1px 5px rgba(82,120,65,.09);
}

/* General text-section styling */
.text-section {
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: 1rem;
}
.text-section a,
.card a {
  color: var(--accent);
  text-decoration: underline;
}

/* ---------------------------------------------------------------
   CTA FINAL SECTIONS
---------------------------------------------------------------- */
.cta-final {
  background: linear-gradient(120deg,#e7efdb 54%, #e0ded7 100%);
  border-radius: 32px;
  padding: 44px 24px 38px 24px;
  box-shadow: 0 9px 28px rgba(82,120,65,.08);
  text-align: center;
  margin-bottom: 64px;
}
.cta-final h2 {
  color: var(--accent);
  font-size: 2.1rem;
}
.cta-final p {
  margin-bottom: 22px;
}
.cta-final .cta-button {
  margin: 0 auto;
}

/* ---------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
footer {
  background: #f3f1e8;
  border-top: 1px solid #dde4dc;
  padding: 34px 0 8px 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
footer img {
  max-height: 54px;
  border-radius: 14px;
}
footer nav {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 8px;
}
footer nav a {
  font-size: 0.96rem;
  color: var(--green-dark);
  font-family: var(--font-body);
  padding: 3px 5px;
  border-radius: 4px;
}
footer nav a:hover {
  background: var(--secondary);
  color: var(--accent);
}
footer small {
  color: #7a8056;
  font-size: 0.93rem;
}
footer .text-section p, footer .text-section {
  font-size: 0.97rem;
}

/* ---------------------------------------------------------------
   SPACING: Consistent margins & gaps
---------------------------------------------------------------- */
main > section, .content-wrapper > section {
  margin-bottom: 60px;
}
main > section:last-child, .content-wrapper > section:last-child {
  margin-bottom: 0;
}
.card, .testimonial-card, .feature-item, .services-list > div {
  margin-bottom: 20px;
}

/* Ensure no element overlap */
.card,
.services-list > div,
.feature-grid > div,
.testimonial-card,
.faq-accordion > div {
  margin-right: 0;
  margin-left: 0;
}

/* ---------------------------------------------------------------
   BUTTONS & INTERACTIONS
---------------------------------------------------------------- */
button, .cta-button {
  outline: none;
  transition: box-shadow .18s, background .2s, color .16s, transform .13s;
}
button:active, .cta-button:active {
  transform: scale(0.97);
}

/* Micro hover interactions for inputs and links */
input, textarea {
  border-radius: 8px;
  border: 1px solid #d6decd;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  box-shadow: 0 1px 4px #ebece7;
  margin-bottom: 16px;
}
input:focus, textarea:focus {
  border-color: var(--accent);
  outline: 1px solid var(--accent);
}
@media (max-width: 600px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.11rem; }
  .cta-final { padding: 20px 10px 16px 10px; border-radius: 16px; }
}

/* ---------------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
---------------------------------------------------------------- */
#cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #e9edd3 50%, #bde3c7 100%);
  box-shadow: 0 -2px 22px rgba(60,80,45, 0.18);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 22px 16px;
  z-index: 3100;
  font-size: 1rem;
  color: #234525;
  border-radius: 22px 22px 0 0;
  animation: cookie-slideup 0.7s cubic-bezier(.9,0,.3,1);
}
@keyframes cookie-slideup {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
#cookie-banner .cookie-text {
  max-width: 420px;
  flex: 1 1 260px;
  font-size: 1rem;
  color: var(--primary);
}
#cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
}
.cookie-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: var(--font-display);
  cursor: pointer;
  margin-left: 3px;
  transition: background 0.19s, box-shadow 0.14s, color 0.17s, transform 0.13s;
  font-weight: 600;
}
.cookie-btn.alt {
  background: var(--secondary);
  color: var(--primary);
  border: 1px solid var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #e48d20;
  color: #fff;
  box-shadow: 0 5px 18px rgba(242,160,61,0.16);
  transform: scale(1.03);
}
.cookie-btn.alt:hover, .cookie-btn.alt:focus {
  background: #cceedd;
  color: var(--accent);
  border: 1px solid var(--accent);
}

/* COOKIE MODAL */
#cookie-modal-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(39,74,52,0.25);
  z-index: 3200;
  display: none; /* show with JS */
  align-items: center; justify-content: center;
}
#cookie-modal-overlay.open {
  display: flex;
  animation: fadeinModal 0.38s cubic-bezier(.84,0,.16,1);
}
@keyframes fadeinModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
#cookie-modal {
  background: #f6faf0;
  box-shadow: 0 7px 28px rgba(60,80,45,0.19);
  border-radius: 26px;
  padding: 38px 38px 30px 38px;
  max-width: 97vw;
  width: 400px;
  z-index: 3210;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  animation: modal-slideup 0.39s cubic-bezier(.92,0,.22,1);
}
@media (max-width: 500px) {
  #cookie-modal { padding: 16px 7px 10px 7px; border-radius: 12px; width: 96vw; }
}
@keyframes modal-slideup {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
#cookie-modal h2 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0;
}
.cookie-category {
  margin-bottom: 13px;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #dbeed9;
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background 0.25s;
  vertical-align: middle;
  margin-right: 12px;
}
.cookie-toggle:checked {
  background: #84bd7b;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  top: 3px; left: 4px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(.8,0,.2,1);
  box-shadow: 0 1px 8px #bac9b6;
}
.cookie-toggle:checked:before {
  transform: translateX(15px);
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: var(--accent);
  transform: scale(1.11);
}

/* ---------------------------------------------------------------
   ORGANIC SHAPES FOR DECORATIONS (just examples, for SVGs, not in HTML)
---------------------------------------------------------------- */
.organic-shape {
  position: absolute;
  background: #dbeed9;
  opacity: 0.38;
  border-radius: 56% 44% 63% 37%/38% 50% 50% 62%;
  z-index: 1;
  pointer-events: none;
}

/* ---------------------------------------------------------------
   RESPONSIVE DESIGN
---------------------------------------------------------------- */
@media (max-width: 1020px) {
  header .container { flex-direction: row; padding: 9px 8px; }
  nav { display: none; }
}
@media (max-width: 900px) {
  .container { padding: 0 7px; }
  .section { padding: 24px 3px; }
  .content-wrapper { gap: 18px; }
}
@media (max-width: 700px) {
  h1 { font-size: 1.32rem; }
  .feature-grid > div, .services-list > div { min-width: 140px; }
}
@media (max-width: 550px) {
  .testimonial-card, .card { padding: 13px 10px; }
  .feature-grid > div, .services-list > div { padding: 11px 7px; }
  .cta-button { font-size: 1rem; padding: 9px 14px; margin-top: 6px; }
}

/* ---------------------------------------------------------------
   PRINT STYLES (prevent cookie banner, mobile nav on print)
---------------------------------------------------------------- */
@media print {
  #cookie-banner, .mobile-menu, .mobile-menu-toggle { display: none !important; }
  header, footer, .cta-button { color: #333 !important; background: none !important; box-shadow: none !important; }
}

/* END OF STYLE */
