/* --- CSS RESET & BASE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F6EF;
  color: #274030;
  min-height: 100vh;
  line-height: 1.6;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #225438;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #5EA276;
  outline: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #225438;
  line-height: 1.2;
}
h1 { font-size: 2.375rem; margin-bottom: 24px; }
h2 { font-size: 1.7rem; margin-bottom: 20px; }
h3 { font-size: 1.2rem; margin-bottom: 10px; }
strong { font-weight: 700; color: #225438; }
p {
  margin-bottom: 18px;
  font-size: 1rem;
}

/* --- SPACING & FLEX PATTERNS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 10px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(34,84,56,0.09);
  position: relative;
  min-width: 260px;
  flex: 1 1 270px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover { box-shadow: 0 4px 18px rgba(34,84,56,0.15); transform: translateY(-3px); }
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px 20px 28px;
  background: #fff;
  border-radius: 28px 16px 22px 16px;
  box-shadow: 0 3px 16px rgba(34,84,56,0.08);
  margin-bottom: 20px;
  min-width: 220px;
  border-left: 6px solid #5EA276;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card p {
  color: #274030;
  font-size: 1.1rem;
}
.testimonial-card span {
  color: #5EA276;
  font-style: italic;
  font-size: 0.91rem;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(34,84,56,0.13);
  border-color: #225438;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(34,84,56,0.06);
  padding: 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 20;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 12px 16px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 16px;
  border-radius: 20px;
  transition: background 0.22s, color 0.2s;
  color: #225438;
  background: transparent;
}
header nav a:hover,
header nav a:focus {
  background: #F7F6EF;
  color: #32795a;
}
header nav a.cta {
  background: #225438;
  color: #fff;
  border-radius: 22px 16px 24px 12px/22px 14px 20px 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(34,84,56,0.12);
  transition: background 0.16s, color 0.2s, transform 0.15s;
  margin-left: 14px;
}
header nav a.cta:hover,
header nav a.cta:focus {
  background: #5EA276;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #225438;
  cursor: pointer;
  margin-left: auto;
  align-self: center;
  z-index: 34;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F7F6EF;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,84,56,0.88);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.5,.31,0,1.01);
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  margin: 22px 0 16px 20px;
  align-self: flex-start;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 2100;
  transition: color 0.14s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #5EA276;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 28px;
  margin-top: 10px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #F7F6EF;
  padding: 12px 0 10px 0;
  border-radius: 22px 16px 28px 12px/22px 14px 20px 14px;
  transition: background 0.18s, color 0.2s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #225438;
  color: #E1EDD9;
}
.mobile-nav a.cta {
  background: #5EA276;
  color: #fff;
  padding: 12px 34px;
  margin: 12px 0;
  display: inline-block;
}

@media (max-width: 1020px) {
  .container { max-width: 94vw; }
}
@media (max-width: 880px) {
  header nav {
    gap: 10px;
  }
  header nav a {
    padding: 7px 6px;
  }
}

@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container { padding: 0 8px; }
  .content-wrapper { padding-top: 0; }
}

/* --- MAIN BUTTONS & CTA --- */
.cta {
  background: #5EA276;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 26px 16px 22px 16px/22px 12px 16px 20px;
  box-shadow: 0 2px 9px rgba(34,84,56,0.09);
  padding: 12px 30px;
  cursor: pointer;
  transition: background 0.12s, color 0.14s, transform 0.16s;
  margin: 10px 0 0 0;
  display: inline-block;
  text-align: center;
}
.cta:hover,
.cta:focus {
  background: #225438;
  color: #fff;
  transform: scale(1.04);
  outline: none;
}
button {
  font-family: inherit;
  font-size: 1rem;
  padding: 7px 16px;
  border-radius: 18px;
  border: none;
  background: #5EA276;
  color: #fff;
  cursor: pointer;
  transition: background 0.18s, color 0.2s;
}
button:hover,
button:focus {
  background: #225438;
  color: #fff;
  outline: none;
}

/* --- ORGANIC ELEMENTS & SHAPES --- */
.card, .testimonial-card, .cta, .card-container > * {
  border-radius: 28px 22px 18px 18px/18px 18px 26px 24px;
}
/* Subtle grain background (if supported) */
body::before {
  content: '';
  pointer-events: none;
  position: fixed;
  z-index: 0;
  inset: 0;
  opacity: 0.09;
  background: url('data:image/svg+xml;utf8,<svg width="160" height="160" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="60" cy="80" r="1.5" fill="%2346342a"/><circle cx="50" cy="40" r="1.5" fill="%235EA276"/><circle cx="30" cy="90" r="1.5" fill="%23225438"/><circle cx="110" cy="120" r="1.5" fill="%23d7e3ce"/></svg>');
  background-size: 170px 170px;
}

/* --- LISTS & CONTENT --- */
ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 12px;
}
ul li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.06rem;
  color: #274030;
  background: #E1EDD9;
  padding: 14px 18px;
  border-radius: 18px 14px 18px 24px;
  margin-bottom: 0;
  transition: box-shadow 0.14s;
  box-shadow: 0 1.5px 6px rgba(94,162,118,0.04);
}
ul li img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #F7F6EF;
  padding: 3px;
}
ul li strong {
  color: #225438;
}
li span {
  color: #5EA276;
  font-size: 1.02rem;
  font-weight: 500;
}

/* --- FOOTER --- */
footer {
  background: #E1EDD9;
  padding: 40px 0 20px 0;
  color: #225438;
}
footer .container {
  padding: 0 10px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}
footer nav a {
  color: #225438;
  font-size: 1rem;
  background: #fff;
  border-radius: 18px;
  padding: 5px 14px;
  margin-bottom: 6px;
  transition: background 0.12s, color 0.13s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
footer nav a:hover,
footer nav a:focus {
  background: #5EA276;
  color: #fff;
}
.contact-brief {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.98rem;
}
.contact-brief img {
  display: inline-block;
  width: 1.2em;
  margin-right: 3px;
  vertical-align: middle;
}
.social-links {
  display: flex;
  gap: 14px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 7px rgba(34,84,56,0.05);
  transition: background 0.17s, filter 0.16s;
}
.social-links a:hover {
  background: #5EA276;
  filter: brightness(1.06);
}
footer img[src$="logo-mark.svg"] {
  width: 64px;
  height: auto;
  margin-left: 15px;
}

@media (max-width: 1020px) {
  footer .content-wrapper { gap: 18px; }
}
@media (max-width: 768px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .social-links { margin-bottom: 8px; }
}

/* --- FORMS & MAP EMBED (kontakt.html) --- */
.company-info {
  background: #E1EDD9;
  border-radius: 18px 10px 24px 12px;
  padding: 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}
.company-info ul {
  gap: 14px;
}
.company-info ul li {
  background: #fff;
  font-size: 1.01rem;
  padding: 10px 14px;
  border-radius: 10px 8px 16px 10px;
}
.map-embed {
  background: #E1EDD9;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  font-size: 0.97rem;
  color: #225438;
}

/* --- GENERAL RESPONSIVE RULES --- */
@media (max-width: 768px) {
  .content-wrapper, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item {
    gap: 10px;
    padding: 12px 0;
  }
  .testimonial-card {
    padding: 16px 12px 16px 14px;
    font-size: 0.95rem;
  }
  .company-info {
    padding: 12px 10px;
  }
  .container { padding: 0 2vw; }
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #E1EDD9;
  color: #225438;
  box-shadow: 0 -3px 18px rgba(34,84,56,0.09);
  padding: 20px 24px;
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  transition: transform 0.34s, opacity 0.23s;
  font-size: 0.99rem;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner button,
.cookie-banner .cta {
  font-size: 1rem;
  padding: 8px 18px;
  margin: 0 3px;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 2px 7px rgba(34,84,56,0.08);
  border: none;
}
.cookie-banner .accept-all { background: #5EA276; color: #fff; }
.cookie-banner .accept-all:hover,
.cookie-banner .accept-all:focus { background: #225438; }
.cookie-banner .reject-all { background: #fff; color: #225438; }
.cookie-banner .reject-all:hover,
.cookie-banner .reject-all:focus { background: #EFEBE6; }
.cookie-banner .cookie-settings { background: #F7F6EF; color: #225438; }
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus { background: #dbe7d3; }

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,84,56,0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.open {
  opacity: 1; pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 370px;
  width: 95vw;
  box-shadow: 0 6px 38px rgba(34,84,56,0.15);
  padding: 32px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 4200;
  animation: cookiePop 0.5s;
}
@keyframes cookiePop {
  from { transform: scale(0.94) translateY(44px); opacity:0; }
  to { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal h2 {
  color: #225438;
  font-size: 1.25rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #5EA276;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px; right: 17px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #225438;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .close-modal:hover {
  color: #5EA276;
}

@media (max-width: 480px) {
  .cookie-banner { flex-direction: column; gap: 14px; font-size: 0.95rem; padding: 18px 10px; }
  .cookie-modal { padding: 20px 8px 12px 10px; }
  .cookie-modal h2 { font-size: 1.1rem; }
}

/* --- MICRO-INTERACTIONS, ANIMATIONS & ACCESSIBILITY --- */
:focus {
  outline: 2px solid #5EA276;
  outline-offset: 2px;
}
::-moz-focus-inner { border:0; }

@media (hover:hover) {
  .card:hover,
  .testimonial-card:hover,
  .cta:hover {
    filter: brightness(1.04);
  }
  a:hover, nav a:hover {
    color: #32795a;
  }
}

/* --- ORGANIC/NATURE DETAILS --- */
section {
  background: #F7F6EF;
  border-radius: 24px 24px 36px 24px/22px 30px 40px 28px;
  box-shadow: 0 6px 24px rgba(94,162,118,0.05);
  margin-bottom: 60px;
  padding: 40px 0px;
}
section h1, section h2 { margin-bottom: 14px; }
section .cta { margin-top: 10px; }

/* --- SECTIONS WIDER SPACING ON DESKTOP --- */
@media (min-width: 900px) {
  section { padding: 56px 0px; margin-bottom: 64px; }
}

/* --- Z-INDEX FOR MENU/COOKIE --- */
header { z-index: 1100; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 3000; }
.cookie-modal-overlay { z-index: 4000; }

/* --- UTILITY CLASSES --- */
.hide {
  display: none !important;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mt-2 { margin-top: 8px; }
.mb-2 { margin-bottom: 8px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
.rounded {
  border-radius: 24px 12px 26px 18px;
}

/* --- FONT FAMILY --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body, input, button, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6, nav a, .cta, .card-title {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- END OF CSS --- */
