/* ============= 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;
  background: #F7FAF6; /* Very light earth/naturey bg */
  color: #2B3120; /* Very dark green for text */
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
*, *:before, *:after { box-sizing: border-box; }
ul, ol { list-style-position: inside; margin: 0 0 16px 0; }
a { color: inherit; text-decoration: none; transition: color 0.20s; }
img { max-width: 100%; height: auto; vertical-align: middle; border: none; }
table { width: 100%; border-collapse: collapse; margin: 1.5em 0; } 
th, td { padding: 8px 12px; text-align: left; }
strong { font-weight: 600; }

/* ============= TYPOGRAPHY ============= */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #083020;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 1.75rem; margin-bottom: 20px; }
h3 { font-size: 1.2rem; margin-bottom: 12px; }
@media (min-width: 768px) {
  h1 { font-size: 3rem; margin-bottom: 32px; }
  h2 { font-size: 2.1rem; margin-bottom: 28px; }
  h3 { font-size: 1.35rem; }
}
p, li, td, th {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #2B3120;
}
p { margin-bottom: 22px; }
li { margin-bottom: 10px; }
blockquote {
  font-style: italic;
  color: #4A6B3C;
  border-left: 4px solid #B2C98F;
  margin: 0 0 12px 0;
  padding-left: 16px;
}

/* =============== LAYOUT & CONTAINERS ================== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 30px;
  background:
    linear-gradient(90deg, #f3f5f9 65%, #e8f5e6 100%);
  box-shadow: 0 4px 18px 0 rgba(55, 80, 24, 0.08);
}
@media (max-width: 768px) {
  .section {
    padding: 26px 6px;
    margin-bottom: 40px;
  }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 18px;
}
/* Card containers for features, testimonials, etc. */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 8px rgba(61, 79, 41, 0.09);
  padding: 28px 20px;
  min-width: 240px;
  flex: 1 1 260px;
  transition: box-shadow .23s, transform .22s;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(74, 107, 60, 0.14);
  transform: translateY(-6px);
}
.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) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ============ HEADER & NAVIGATION =============== */
header {
  background-color: #fff;
  box-shadow: 0 2px 12px 0 rgba(26,44,20,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 10px;
}
.logo img {
  height: 54px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #386837;
  position: relative;
  padding: 6px 8px;
  border-radius: 12px;
  transition: background .16s, color .22s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e8f5e6;
  color: #08305a;
}
.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #386837;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 12px 26px;
  border: none;
  border-radius: 25px;
  box-shadow: 0 2px 8px rgba(61, 79, 41, 0.09);
  transition: background .17s, box-shadow .19s, transform .15s;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: #31562c;
  box-shadow: 0 4px 16px rgba(32, 62, 19, 0.15);
  transform: translateY(-2px) scale(1.025);
  color: #fff;
}
.btn-secondary {
  background: #e2efe1;
  color: #386837;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 20px;
  border: 2px solid #b2c98f;
  transition: background .18s, color .18s, border .18s;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #d1e2cf;
  color: #31562c;
  border-color: #7da354;
}
.mobile-menu-toggle {
  display: none;
  background: #386837;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 2.2rem;
  padding: 6px 16px;
  cursor: pointer;
  position: relative;
  z-index: 1021;
  margin-left: 8px;
  transition: background .15s;
}
.mobile-menu-toggle:focus { outline: 2px solid #276426; }

@media (max-width: 1024px) {
  .main-nav {
    gap: 11px;
  }
  .logo img { height: 44px; }
}
@media (max-width: 860px) {
  .main-nav,
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =============== MOBILE MENU =============== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(38,47,25,0.35);
  z-index: 1100;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity .21s, pointer-events .15s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu nav {
  background: #F3F5F9;
  box-shadow: -2px 0 20px rgba(38,47,25,0.13);
  width: 78vw;
  max-width: 360px;
  min-width: 228px;
  height: 100%;
  padding: 28px 20px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform .37s cubic-bezier(.8,0,.2,1);
}
.mobile-menu.open nav {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #386837;
  cursor: pointer;
  margin-left: auto;
  margin-bottom: 16px;
  transition: color .22s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #113c17; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.10rem;
  font-weight: 500;
  background: #e8f5e6;
  color: #386837;
  padding: 13px 16px;
  border-radius: 16px;
  transition: background .15s, color .15s;
  margin-bottom: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #c3dda7;
  color: #08305a;
}

/* ============== HERO & ORGANIC SECTIONS ============== */
.hero {
  background: #e8f5e6 url('../assets/hero-bg-texture.png') repeat;
  background-blend-mode: lighten;
  border-radius: 42px;
  padding: 48px 0 40px 0;
  margin-bottom: 52px;
  min-height: 310px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero .content-wrapper {
  max-width: 700px;
  gap: 24px;
}
.hero h1 {
  color: #184622;
  letter-spacing: 0.01em;
}
.hero p {
  color: #375a27;
  font-size: 1.22rem;
  margin-bottom: 22px;
}
@media (max-width: 800px) {
  .hero {
    padding: 26px 0 28px 0;
    border-radius: 18px;
    min-height: 180px;
  }
  .hero .content-wrapper {
    gap: 14px;
  }
  .hero h1 { font-size: 2.0rem; }
  .hero p { font-size: 1.04rem; }
}

/* ============== CARDS & ORGANIC ELEMENTS ============ */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f3f9ea;
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: 0 2px 10px #aac39822;
  min-width: 180px;
  margin-bottom: 16px;
}
.feature-item img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}
@media (max-width: 600px) {
  .feature-item { padding: 13px 8px; }
}

/* ============== TESTIMONIAL CARDS =============== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f7faef;
  border-radius: 24px;
  box-shadow: 0 3px 12px #aac3980e;
  margin-bottom: 24px;
  margin-right: 0;
  max-width: 600px;
}
.testimonial-card blockquote {
  color: #205e1a;
  font-size: 1.04rem;
  margin: 0;
  border-left: 4px solid #a9c884;
}
.testimonial-card p {
  margin: 0 0 0 6px;
  color: #265528;
  font-size: 0.95rem;
  font-weight: 600;
}
@media (max-width: 600px) {
  .testimonial-card { flex-direction: column; align-items: flex-start; padding: 14px; }
  .testimonial-card blockquote { border-left-width: 3px; }
}

/* ================= TABLE STYLES ================== */
table {
  background: #f3f6ec;
  border-radius: 20px;
  box-shadow: 0 2px 8px #aac39810;
  overflow: hidden;
  margin-bottom: 30px;
}
th {
  background: #386837;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
}
td {
  border-bottom: 1px solid #e7ecd5;
}
tr:last-child td {
  border-bottom: none;
}

/* ================= FOOTER ==================== */
footer {
  background: #e8f5e6;
  border-top: 3px solid #b2c98f;
  margin-top: 60px;
  padding: 30px 0 16px 0;
  font-size: 0.97rem;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; }
.footer-nav a {
  color: #31562c;
  margin-bottom: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: background .12s, color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #d1e2cf;
  color: #113c17;
}
footer .text-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.97rem;
  color: #335525;
  margin-bottom: 10px;
}
footer img { height: 18px; width: 18px; margin-right: 6px; vertical-align: middle; }
footer p { margin-bottom: 2px; }
footer .container { gap: 20px; }
footer p:last-child { font-size: 0.99rem; color: #3a501e; margin-top: 14px; }

/* =========== MAP SECTION (Kontakt) ============= */
.map {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f1f8e9;
  border-radius: 20px;
  padding: 13px 20px;
  margin-top: 12px;
  font-size: 1.05rem;
}
.map img { width: 32px; }

/* ================== COOKIE BANNER =================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #24491c;
  color: #fff;
  width: 100%;
  z-index: 16000;
  box-shadow: 0 -2px 16px rgba(55,80,24,0.19);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px 18px 18px;
  font-size: 1.04rem;
  gap: 24px;
  flex-wrap: wrap;
  transition: transform .34s;
}
.cookie-banner.hide {
  transform: translateY(130%);
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: 16px;
}
.cookie-banner button,
.cookie-banner .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 18px;
  border: none;
  border-radius: 17px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(74,107,60,0.08);
  transition: background .15s, color .13s;
}
.cookie-banner .btn-accept {
  background: #c3dda7;
  color: #24491c;
}
.cookie-banner .btn-accept:hover {
  background: #b2c98f;
}
.cookie-banner .btn-reject {
  background: #f2ecec;
  color: #a53222;
}
.cookie-banner .btn-reject:hover {
  background: #eacdcd;
  color: #951a12;
}
.cookie-banner .btn-settings {
  background: #e8f5e6;
  color: #386837;
}
.cookie-banner .btn-settings:hover {
  background: #c3dda7;
  color: #184622;
}

/* =========== COOKIE SETTINGS MODAL ============= */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(55,80,24,0.18);
  z-index: 16010;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  min-width: 300px;
  box-shadow: 0 6px 32px 0 rgba(55,80,24,0.16);
  padding: 38px 30px 28px 30px;
  max-width: 98vw;
  width: 430px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeinModal .23s;
}
@keyframes fadeinModal {
  0% { opacity: 0; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  color: #326021;
  font-size: 1.22rem;
  margin-bottom: 14px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  background: #f3f9ea;
  border-radius: 14px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  accent-color: #376a21;
  width: 18px;
  height: 18px;
}
.cookie-category .mandatory {
  font-weight: 500;
  color: #4a6b3c;
  margin-left: auto;
  font-size: 0.97rem;
}
.cookie-modal .btn-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-modal-close {
  background: none;
  border: none;
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 2rem;
  color: #386837;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #113c17;
}

@media (max-width: 500px) {
  .cookie-modal { padding: 24px 7vw; width: 96vw; }
}

/* ============= FORMS (if any in future) ============== */
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.02rem;
  padding: 9px 13px;
  border-radius: 13px;
  border: 1.5px solid #b2c98f;
  background: #f8faf6;
  transition: border 0.14s;
  margin-bottom: 12px;
}
input:focus, textarea:focus, select:focus {
  border-color: #386837;
  outline: none;
}

/* ============== LISTS & ICONS ================= */
ul li, ol li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.65;
  margin-bottom: 10px;
}
ul li img, ol li img {
  height: 24px;
  width: 24px;
  margin-right: 4px;
}

/* ============== ORGANIC SHAPES (decoration) ============= */
.section, .hero, .card, .feature-item, .testimonial-card, .footer-nav a, .btn-primary, .btn-secondary, .cookie-banner, .cookie-modal, .map {
  border-radius: 30px 18px 34px 24px/22px 30px 16px 36px;
}

/* Slight irregular shadow for nature/organic touch */
.card, .testimonial-card, .feature-item {
  box-shadow: 0 2.5px 12px #aac39835, 0 4px 36px #e7ecd51c;
}

/* ============= RESPONSIVE STYLES ============== */
@media (max-width: 650px) {
  .footer-nav, .card-container, .content-grid { flex-direction: column !important; gap: 18px; }
  .card { min-width: 140px; }
}
@media (max-width:500px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.09rem; }
  .container { padding: 0 5vw; }
  .cookie-banner { padding: 16px 6vw 13px 6vw; font-size: 0.96rem; }
}

/* ============ ACCESSIBLE FOCUS ============ */
a:focus, button:focus, input:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2.5px solid #a9c884;
  outline-offset: 2px;
  transition: outline .08s;
}

/* ====== MICRO-INTERACTIONS (EFFECTS) ====== */
.btn-primary, .btn-secondary, .footer-nav a, .main-nav a, .mobile-nav a {
  transition: background .19s, color .13s, transform .14s;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(.97);
}

/* ============ Z-INDEX LAYERS ============ */
header { z-index: 999; }
.mobile-menu { z-index: 1100; }
.cookie-banner { z-index: 16000; }
.cookie-modal-overlay { z-index: 16010; }


/* ========== SPACING AND FLEXBOX PATTERNS ========== */
.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; }

/* Ensure 20px+ margin between all cards/sections */
.section + .section, .section + *, * + .section { margin-top: 20px; }

/* Prevent overlap: adequate padding for all wrappers */
.content-wrapper, .card, .testimonial-card { box-sizing: border-box; }

/* =============== Miscellaneous =============== */
::-webkit-scrollbar { width: 9px; background: #e8f5e6; }
::-webkit-scrollbar-thumb { background: #b2c98f; border-radius: 7px; }

/* ============== PRINT (Optional for organic look) ============= */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display:none !important; }
  body { color: #223318; }
  a { color: #2d4638; text-decoration: underline; }
}
