/* ===================================================
   Reset & Base Styles
   =================================================== */
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;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background-color: #F5F6F2;
  color: #24412F;
  min-height: 100vh;
}
ul, ol {
  list-style: disc inside;
}
a {
  color: #2E563D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B6721D;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  vertical-align: middle;
}
/* Font Face (Google Fonts recommendation, fallback if not loaded) */
@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');

/* Root Variables for easy theming */
:root {
  --color-primary: #2E563D;
  --color-primary-dark: #24412F;
  --color-secondary: #DFE6E2;
  --color-bg: #F5F6F2;
  --color-accent: #B6721D;
  --color-accent-light: #D69236;
  --color-white: #fff;
  --color-brown: #7B6525;
  --color-grey: #888888;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --border-radius: 18px;
  --card-radius: 18px;
  --shadow-lg: 0 8px 40px rgba(46, 86, 61, 0.11);
  --shadow-md: 0 4px 16px rgba(46, 86, 61, 0.10);
  --shadow-sm: 0 2px 8px rgba(46, 86, 61, 0.08);
  --transition: all 0.24s cubic-bezier(0.5, 1, 0.89, 1);
  --focus-outline: 2px solid var(--color-accent);
}

/* =========================
   Container & Layout Spacing
   ========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

/* =======================
   Typography
   ======================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--color-primary-dark);
  font-weight: 700;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
p, blockquote, li {
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: #384633;
}
blockquote {
  font-style: italic;
  border-left: 4px solid var(--color-accent);
  padding-left: 18px;
  color: #495c46;
  font-size: 1.14rem;
  margin-bottom: 10px;
}
ul, ol {
  margin-left: 18px;
  margin-bottom: 12px;
  font-size: 1.08rem;
  color: #384633;
}
strong {
  color: var(--color-primary-dark);
  font-weight: 700;
}
small {
  font-size: 0.93em;
  color: var(--color-grey);
}

/* Button & CTA Styles */
.cta-primary {
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 700;
  padding: 14px 34px;
  border: none;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  margin-top: 16px;
  letter-spacing: 0.02em;
  display: inline-block;
  text-align: center;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
  outline: var(--focus-outline);
}

/* ============================
   Header & Navigation
   ============================ */
header {
  background: var(--color-secondary);
  border-bottom: 1px solid #e1eadb;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 80px;
}
header a img {
  height: 48px;
  border-radius: 0;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-body);
  color: var(--color-primary-dark);
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 0;
  border-radius: 5px;
  transition: var(--transition);
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-accent);
  background: var(--color-secondary);
  outline: none;
}

/* Mobile Burger Styles */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  padding: 10px;
  transition: var(--transition);
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
}
.mobile-menu-toggle:focus {
  background: var(--color-secondary);
  outline: var(--focus-outline);
}

/* =========================
   Mobile Nav Overlay Styles
   ========================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--color-bg);
  box-shadow: 0 0 40px 0 rgba(38, 57, 29,0.13);
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-110vw);
  transition: transform 0.36s cubic-bezier(0.27,0.66,0.67,1.06);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  padding: 18px 20px 8px 28px;
  cursor: pointer;
  align-self: flex-end;
  z-index: 52;
  transition: var(--transition);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
  padding-left: 34px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: var(--font-display);
  color: var(--color-primary-dark);
  font-weight: 600;
  padding: 13px 0;
  transition: var(--transition);
  border-bottom: 1px solid #E3E9DE;
  min-width: 190px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  background: rgba(34,65,47,0.05);
  outline: none;
}

/* ================
   Responsive Nav
   ================ */
@media (max-width: 1000px) {
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 12px;
    height: auto;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ==========================
   HERO SECTION
   ========================== */
.hero {
  background: linear-gradient(122deg, #E8F0E6 0%, #F5F6F2 100%);
  background-size: 200% 200%;
  border-radius: 0 0 56px 56px/0 0 30px 30px;
  box-shadow: 0 7px 42px rgba(46,86,61,0.13);
  margin-bottom: 50px;
  padding: 44px 0 34px 0;
}
.hero .container {
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
  gap: 14px;
  max-width: 670px;
}
@media (max-width: 600px) {
  .hero {
    border-radius: 0 0 20px 20px;
    padding: 18px 0 18px 0;
  }
  .hero h1 {
    font-size: 1.54rem;
  }
  .hero .content-wrapper {
    gap: 14px;
  }
}

/* ===============================
   Feature Grid Example (.feature-grid)
   =============================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  flex: 1 1 190px;
  min-width: 220px;
  max-width: 265px;
  background: var(--color-secondary);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-md);
  padding: 24px 18px 18px 18px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  margin-bottom: 20px;
}
.feature-grid > div:hover,
.feature-grid > div:focus {
  box-shadow: 0 8px 32px rgba(46, 86, 61, 0.14);
  background: #EFF8F2;
}
.feature-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 7px;
  display: block;
  border-radius: 8px;
  background: #f5f6f2;
}
@media (max-width: 950px) {
  .feature-grid > div {
    min-width: 160px;
    max-width: 240px;
    padding: 18px 10px;
  }
}
@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    max-width: 100%;
    width: 100%;
  }
}

/* ===============================
   Testimonial ( .testimonial-card )
   =============================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--color-white);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--color-accent);
  position: relative;
  transition: var(--transition);
}
.testimonial-card img {
  width: 34px;
  height: 34px;
  border-radius: 18px;
  background: var(--color-secondary);
}
.testimonial-card blockquote {
  color: #23402e;
  border: none;
  padding-left: 0;
  padding-right: 8px;
  margin-bottom: 0;
  font-size: 1.05rem;
  font-style: italic;
}
.testimonial-card p {
  margin-bottom: 0;
  color: var(--color-primary-dark);
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
  }
}

/* ===============================
   Cards, Features, etc.
   =============================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: var(--color-secondary);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  min-width: 250px;
  flex: 1 1 250px;
}
.card:hover, .card:focus {
  background: #EFF8F2;
  box-shadow: var(--shadow-lg);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px 18px 18px 18px;
}

/*.content-grid */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 30px;
}
@media (max-width: 650px) {
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.kontakt-short .content-wrapper {
  align-items: flex-start;
  gap: 14px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--color-secondary);
  border-radius: var(--border-radius);
  padding: 22px 18px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
}
.contact-info img {
  width: 22px;
  height: 22px;
  margin-right: 10px;
}

/* List overrides for visual spacing */
ul, ol {
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 8px;
}

/* =======================
   Footer
   ======================= */
footer {
  background: #E8F0E6;
  padding: 0;
  border-top: 1px solid #c4d7c2;
  box-shadow: 0 -2px 12px rgba(36,65,47,0.02);
  margin-top: 60px;
  font-size: 1rem;
}
footer .container {
  padding: 36px 20px 24px 20px;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  min-width: 200px;
  gap: 10px;
}
.footer-menu a {
  color: var(--color-primary);
  font-size: 0.99rem;
  padding: 5px 0;
  transition: var(--transition);
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--color-accent);
  text-decoration: underline;
  outline: none;
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-info img {
  width: 54px;
  height: 54px;
  margin-bottom: 7px;
  border-radius: 12px;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 16px 12px 16px;
  }
  .footer-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-info {
    order: 2;
  }
}
@media (max-width: 600px) {
  footer .container {
    flex-direction: column;
    gap: 6px;
    padding: 18px 8px;
  }
  .footer-menu {
    gap: 5px;
    font-size: 0.93rem;
  }
  .footer-info img {
    width: 42px;
    height: 42px;
    margin-bottom: 4px;
  }
}

/* ============================
   Cookie Consent Banner & Modal
   ============================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: #f5f6f2;
  border-top: 2px solid var(--color-accent);
  box-shadow: 0 -6px 32px 0 rgba(34,65,47,0.10);
  padding: 26px 16px 18px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1rem;
  transition: transform 0.45s cubic-bezier(0.42,0.36,0.49,1.36);
  transform: translateY(0);
  min-height: 88px;
}
.cookie-banner.hide {
  transform: translateY(150%);
  pointer-events: none;
}
.cookie-banner-message {
  flex: 1;
  color: #24412F;
  font-size: 1.02rem;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  padding: 9px 21px;
  font-size: 1.04rem;
  border-radius: 30px;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btn.accept {
  background: var(--color-primary);
  color: var(--color-white);
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: var(--color-accent);
  color: var(--color-white);
}
.cookie-btn.reject {
  background: #ECE6E0;
  border: 1px solid var(--color-brown);
  color: var(--color-brown);
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #E3D3B7;
  color: #453A18;
}
.cookie-btn.settings {
  background: var(--color-secondary);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #FFF8EA;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.97rem;
    padding: 18px 8px;
    min-height: 108px;
  }
  .cookie-banner-buttons {
    gap: 8px;
    flex-direction: column;
    width: 100%;
  }
}

/* Cookie Modal Overlay */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 120;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36, 65, 47, 0.33);
  backdrop-filter: blur(2px);
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
  animation: cookieModalFadeIn 0.3s;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: var(--color-white);
  border-radius: 22px;
  box-shadow: 0 8px 48px 0 rgba(36,65,47,0.21);
  padding: 38px 30px 30px 30px;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}
.cookie-modal-content h2 {
  margin-bottom: 2px;
  font-family: var(--font-display);
  color: var(--color-primary-dark);
  font-size: 1.44rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 1.07rem;
  font-family: var(--font-body);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 20px;
  height: 20px;
}
.cookie-category .category-title {
  font-weight: 600;
  color: var(--color-primary-dark);
}
.cookie-category .always-on {
  color: var(--color-accent);
  font-size: 0.98em;
  margin-left: 2px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 19px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--color-grey);
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: var(--color-primary);
}

@media (max-width: 430px) {
  .cookie-modal-content {
    padding: 17px 7px 17px 7px;
    max-width: 97vw;
  }
  .cookie-modal-content h2 {
    font-size: 1.12rem;
  }
}

/* ===============================
   Organic Shapes & Decorations
   =============================== */
.hero, .feature-grid > div, .card, .testimonial-card, .cookie-modal-content, .footer-info img, header, .contact-info, .cookie-banner {
  border-radius: 22px 48px 30px 12px/22px 32px 30px 12px;
}

/* Decorative effect: subtle leaf shape top-left for feature-grid cards */
.feature-grid > div::before {
  content: '';
  position: absolute;
  top: -18px; left: -18px;
  width: 42px; height: 38px;
  background: rgba(46,86,61,0.13);
  border-radius: 30% 70% 52% 48% / 27% 31% 61% 69%;
  z-index: 0;
  pointer-events: none;
  filter: blur(2px);
}

/* ==============================
   Forms & Inputs
   ============================== */
input[type="text"], input[type="email"], input[type="tel"], textarea {
  border-radius: 16px;
  border: 1.5px solid #CBD7C4;
  padding: 10px 15px;
  width: 100%;
  font-size: 1.03rem;
  background: #fafbf8;
  transition: border 0.2s;
  font-family: var(--font-body);
  outline: none;
  margin-bottom: 18px;
  box-sizing: border-box;
}
input:focus, textarea:focus {
  border: 1.8px solid var(--color-primary);
  background: #F4F9F3;
}
button {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 11px;
  border: none;
  cursor: pointer;
  padding: 10px 20px;
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
button:hover, button:focus {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

/* ===============================
   Animations & Microinteractions
   =============================== */
.card, .testimonial-card, .feature-grid > div {
  transition: box-shadow 0.28s, background 0.28s;
}
.cta-primary, .cookie-btn, .main-nav a, .mobile-nav a {
  transition: background 0.22s, color 0.16s, box-shadow 0.22s;
}
img {
  transition: filter 0.18s;
}
img:hover {
  filter: brightness(0.95) saturate(1.1);
}

/* =============================
   Responsive Media Queries
   ============================= */
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.23rem; }
  h3 { font-size: 1.02rem; }
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 22px 6px;
    margin-bottom: 28px;
  }
}

/* =============================
   Misc Utility Classes
   ============================= */
@media (max-width: 390px) {
  .hero, .feature-grid > div, .card, .testimonial-card, .cookie-modal-content, header, .contact-info, .cookie-banner {
    border-radius: 9px;
  }
}

/* Hide visually but keep accessible */
.sr-only {
  position:absolute;
  left:-10000px;
  width:1px;
  height:1px;
  top:auto;
  overflow:hidden;
}

/* =============================
   Scrollbar Styling
   ============================= */
::-webkit-scrollbar {
  height: 11px;
  width: 10px;
  background: #E8F0E6;
}
::-webkit-scrollbar-thumb {
  background: #CBD7C4;
  border-radius: 7px;
}

/* =============================
   Nature Organic Palette Swatches
   ============================= */
.nature-bg { background: #EBF6EA !important; }
.nature-brown { color: #7B6525; }
.nature-accent { color: var(--color-accent); }

/* ===========================
   Accessibility Focus Styles
   =========================== */
a:focus, button:focus, input:focus, .cta-primary:focus {
  outline: 2.5px solid var(--color-accent);
  outline-offset: 2px;
  z-index: 4;
}

/* END OF CSS */