/* ===========================
   CSS 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 {
  border: 0;
  margin: 0;
  padding: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: "Lato", Arial, Helvetica, sans-serif;
  background: #fff;
  color: #121212;
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
strong { font-weight: 700; }
a {
  color: #121212;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #24573F;
  text-decoration: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", Georgia, serif;
  color: #121212;
  font-weight: 700;
  line-height: 1.16;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 28px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 22px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 15px;
  font-weight: 600;
}
h4 { font-size: 1.12rem; margin-bottom: 12px; }
h5, h6 { font-size: 1rem; margin-bottom: 8px; }
.subheadline {
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-size: 1.22rem;
  color: #4b4b4b;
  font-weight: 400;
  letter-spacing: 0.2px;
  margin-bottom: 20px;
}
p {
  margin-bottom: 15px;
  color: #212121;
  font-size: 1rem;
}
.text-section {
  margin-bottom: 20px;
}
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.category-tags span {
  display: inline-block;
  border: 1px solid #bbb;
  border-radius: 20px;
  padding: 5px 18px;
  font-size: 0.94rem;
  color: #323232;
  background: #fafafa;
}

/* ===========================
   CONTAINER & SECTIONS
   =========================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
header {
  background: #fff;
  border-bottom: 1.5px solid #efefef;
  padding: 0;
  position: relative;
  z-index: 99;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 18px;
}
header a img {
  height: 43px;
  width: auto;
  margin-right: 24px;
}
nav.main-nav {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.main-nav a {
  color: #222;
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.07rem;
  text-decoration: none;
  padding: 8px 11px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #121212;
  color: #fff;
}
.cta-btn {
  display: inline-block;
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  color: #fff;
  background: #121212;
  border-radius: 28px;
  padding: 10px 28px;
  text-decoration: none;
  box-shadow: 0 2px 14px rgba(0,0,0,0.04);
  margin-left: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.23s, color 0.18s, box-shadow 0.19s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #24573F;
  color: #fff;
  box-shadow: 0 2px 18px rgba(36,87,63,0.08);
}
.cta-btn.secondary {
  background: #fff;
  color: #121212;
  border: 1.5px solid #222;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #121212;
  color: #fff;
}
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: none;
  border: none;
  color: #121212;
  cursor: pointer;
  border-radius: 8px;
  padding: 6px 12px;
  margin-left: 16px;
  transition: background 0.22s;
  z-index: 102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #1a1a1a;
  color: #fff;
}

/* ================
   MOBILE MENU
   ================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(15,15,15,0.95);
  transform: translateX(100vw);
  transition: transform 0.38s cubic-bezier(.78,-0.4,.32,1.28);
  z-index: 2000;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.15rem;
  background: none;
  border: none;
  color: #f8f8f8;
  cursor: pointer;
  align-self: flex-end;
  margin: 18px 18px 14px 0;
  transition: color 0.22s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E5F2EA;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 32px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.3rem;
  font-family: "Lato", Arial, Helvetica, sans-serif;
  color: #fff;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(200,200,200,0.08);
  width: 100%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #24573F;
  color: #fff;
}

/* Hide desktop nav on mobile; show .mobile-menu-toggle */
@media (max-width: 900px) {
  nav.main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    height: 68px;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===========================
   HERO & SECTION STYLES
   =========================== */
.hero {
  background: #fff linear-gradient(90deg, #fff 0%, #E5F2EA 100%);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 12px 30px rgba(80,80,80,0.03);
  min-height: 330px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding-top: 30px;
}
.hero .container {
  justify-content: center;
}
.hero .content-wrapper {
  gap: 20px;
  align-items: flex-start;
  max-width: 600px;
}

/* ===========================
   FEATURE & SERVICE LISTS
   =========================== */
.feature-grid, .service-list, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(15,15,15,0.07);
  border: 1.5px solid #e7e7e7;
  padding: 30px 26px 28px 26px;
  min-width: 228px;
  max-width: 350px;
  flex: 1 1 270px;
  transition: box-shadow 0.18s, border 0.18s, transform 0.19s;
  margin-bottom: 20px;
}
.feature-item img {
  height: 52px;
  width: 52px;
  margin-bottom: 10px;
  filter: grayscale(0.7) contrast(1.4);
}
.feature-item h3 {
  font-size: 1.18rem;
  color: #222;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 32px rgba(36,87,63,0.09), 0 2px 10px rgba(30,30,30,0.08);
  border: 1.5px solid #24573F;
  transform: translateY(-4px) scale(1.018);
}
.service-item {
  background: #fafafa;
  border-radius: 17px;
  box-shadow: 0 1.5px 8px rgba(20,20,20,0.04);
  padding: 24px 22px 20px 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border 0.15s, background 0.14s;
}
.service-item h3 {
  margin-bottom: 12px;
}
.service-item strong {
  color: #24573F;
}
.service-item:hover, .service-item:focus-within {
  box-shadow: 0 4px 16px rgba(36,87,63,0.10);
  background: #f8f8f8;
}

/* ===========================
   CARDS & CARD CONTAINERS
   =========================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 20px rgba(20,20,20,0.03);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 23px;
  min-width: 270px;
  transition: box-shadow 0.16s, border 0.15s, background 0.17s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(36,87,63,0.14), 0 2px 10px rgba(20,20,20,0.05);
  background: #f4f4f4;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f7f7f7;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(10,10,10,0.09);
  border: 1.5px solid #e8e8e8;
  margin-bottom: 20px;
  color: #111;
  width: 100%;
  max-width: 360px;
  flex: 1 1 300px;
  position: relative;
  transition: box-shadow 0.19s, border 0.16s, transform 0.15s;
}
.testimonial-card strong {
  color: #222;
  font-size: 1.03em;
  letter-spacing: 0.1px;
}
.testimonial-card p {
  font-family: "Lato", Arial, Helvetica, sans-serif;
  color: #222;
  font-style: italic;
  margin-bottom: 6px;
  font-size: 1.06rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 28px rgba(17,17,17,0.10), 0 2px 11px rgba(24,24,24,0.12);
  border: 1.5px solid #24573F;
  transform: translateY(-2px) scale(1.013);
}

/* ===========================
   TOPIC NAV & CATEGORY TAGS
   =========================== */
.topic-navigation {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-start;
  align-items: center;
  margin-top: 16px;
  margin-bottom: 8px;
}
.topic-navigation a {
  font-size: 1.05rem;
  font-family: "Lato", Arial, Helvetica, sans-serif;
  text-decoration: underline;
  color: #2b2b2b;
  padding: 2px 8px;
  transition: background 0.18s, color 0.18s;
  border-radius: 6px;
}
.topic-navigation a:hover, .topic-navigation a:focus {
  background: #24573F;
  color: #fff;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: #171717;
  color: #fff;
  padding-top: 30px;
  padding-bottom: 22px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 26px;
  width: 100%;
}
.footer-links {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.footer-links a {
  color: #d7d7d7;
  text-decoration: underline;
  font-size: 1rem;
  transition: color 0.18s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #fff;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
.footer-social a {
  display: flex;
  align-items: center;
  border-radius: 50%;
  padding: 4px;
  transition: background 0.15s;
}
.footer-social a:hover, .footer-social a:focus {
  background: #E5F2EA;
}
.footer-social img {
  width: 26px;
  height: 26px;
  filter: grayscale(1) contrast(1.34);
}
.footer-copy {
  margin-top: 8px;
  font-size: 0.93rem;
  color: #b1b1b1;
  text-align: center;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1100px) {
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 860px) {
  .feature-grid, .service-list, .testimonial-list, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item, .card, .testimonial-card {
    min-width: 0;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 93%;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  .hero {
    min-height: 180px;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 3px 14px rgba(60,60,60,0.07);
    padding-top: 18px;
    margin-bottom: 32px;
  }
  .section {
    padding: 26px 8px;
    margin-bottom: 38px;
  }
  .text-image-section, .content-grid, .feature-grid, .service-list, .testimonial-list, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .topic-navigation {
    gap: 8px;
    flex-wrap: wrap;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.06rem; }
  .footer-links {
    gap: 13px;
    flex-wrap: wrap;
  }
  .feature-item, .testimonial-card, .card {
    padding: 16px 8px;
  }
}

/* ===========================
   BUTTONS, FORMS, MICRO-INTERACTIONS
   =========================== */
button, input[type="submit"] {
  font-family: "Lato", Arial, Helvetica, sans-serif;
  outline: none;
}
button:active, .cta-btn:active {
  opacity: 0.92;
}
button:focus-visible, .cta-btn:focus-visible {
  outline: 2px solid #24573F;
  outline-offset: 2px;
}
/* For interactive hover/focus feedback */
a, button, .feature-item, .service-item, .card, .testimonial-card {
  transition-property: color, background, box-shadow, border, transform;
  transition-duration: 0.14s, 0.15s, 0.18s, 0.15s, 0.18s;
}

/* ===========================
   COOKIE CONSENT BANNER
   =========================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #222;
  color: #fff;
  padding: 24px 18px 18px 18px;
  box-shadow: 0 -2px 18px rgba(0,0,0,0.12);
  z-index: 2050;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  animation: banner-slideup 0.7s cubic-bezier(.76,1.7,.21,1.01);
}
@keyframes banner-slideup {
  0% { transform: translateY(140px); opacity: 0; }
  60% { transform: translateY(-12px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 0;
  font-size: 0.98rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 7px;
}
.cookie-btn {
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 23px;
  padding: 8px 24px;
  color: #222;
  background: #fff;
  cursor: pointer;
  margin-right: 8px;
  transition: background 0.21s, color 0.16s, box-shadow 0.16s;
}
.cookie-btn.accept {
  background: #24573F;
  color: #fff;
}
.cookie-btn.reject {
  background: #242424;
  color: #fff;
  border: 1.5px solid #555;
}
.cookie-btn.settings {
  background: #fff;
  color: #222;
  border: 1.5px solid #e5e5e5;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #E5F2EA;
  color: #222;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #6D8C5E;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #900e0e;
  color: #fff;
}
/* =========================== 
   COOKIE PREFERENCES MODAL
   =========================== */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -70%) scale(0.93);
  min-width: 320px;
  max-width: 98vw;
  background: #f9f9f9;
  color: #111;
  border-radius: 16px;
  box-shadow: 0 4px 44px rgba(36,87,63,0.22);
  z-index: 2100;
  padding: 32px 28px 20px 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.35s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #202020;
}
.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #24573F;
}
.cookie-category .desc {
  color: #4b4b4b;
  font-size: 0.97rem;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #888;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 15;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #24573F;
}
@media (max-width: 520px) {
  .cookie-modal {
    padding: 22px 8px 16px 11px;
    min-width: 0;
    font-size: 0.97rem;
  }
}

/* ===========================
   OTHER UTILITY
   =========================== */
.bg-lightgray { background: #fafafa !important; }
.bg-dark { background: #121212 !important; color: #fff !important; }
.hide { display: none !important; }

/* Kerning for brand headings */
.hero h1, h2, h3, .footer-copy span {
  letter-spacing: 0.01em;
}

/* ===============
   DECORATIVE
   =============== */
.feature-item img, ul li img, .footer-social img {
  vertical-align: middle;
  margin-right: 7px;
  border-radius: 3px;
}
ul li img {
  margin-left: 0;
  margin-right: 7px;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* ===============
   VISUAL HIERARCHY & SPACING
   =============== */
.section, .feature-item, .testimonial-card, .card {
  margin-bottom: 20px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 16px;
}

/* ===============
   LISTS: A bit more elegance
   =============== */
ul {
  list-style-type: none;
}
ul li::before {
  content: "\2022";
  color: #24573F;
  font-size: 1.1em;
  display: inline-block;
  width: 1.2em;
  margin-left: -1.2em;
  font-weight: bold;
}
ul li img {
  margin-left: 0.1em;
  margin-right: 0.5em;
  vertical-align: bottom;
}
ul li a {
  color: #24573F;
  text-decoration: underline;
}
ul li a:hover {
  color: #121212;
}

/* ===============
   FORMS & INPUTS (for Kontakt, future-proofing)
   =============== */
input, textarea, select {
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 10px 15px;
  border: 1.5px solid #d1d1d1;
  border-radius: 6px;
  margin-bottom: 18px;
  background: #fafafa;
  outline: none;
  box-shadow: none;
  color: #202020;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #24573F;
  background: #fff;
}
label {
  font-family: "Lato", Arial, Helvetica, sans-serif;
  color: #2b2b2b;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 7px;
}

/* ===============
   MONOCHROME-SOPHISTICATED EFFECTS
   ===============*/
.feature-item, .testimonial-card, .card {
  background: #fff;
  border: 1.5px solid #ececec;
  box-shadow: 0 1.5px 9px rgba(0,0,0,0.06);
  border-radius: 18px;
}
.feature-item:hover, .testimonial-card:hover, .card:hover {
  box-shadow: 0 6px 30px rgba(30,30,30,0.12);
  border: 1.5px solid #24573F;
}

/* ===============
   Miscellaneous
   ===============*/
::-webkit-scrollbar {
  width: 10px;
  background: #f2f2f2;
}
::-webkit-scrollbar-thumb {
  background: #cecece;
  border-radius: 15px;
}
.main-nav a.active {
  font-weight: 700;
  background: #E5F2EA;
  color: #24573F;
}

/* ===========================
   BRAND COLORS in use
   =========================== */
.bg-brand-primary { background: #24573F !important; color: #fff !important; }
.bg-brand-accent { background: #E5F2EA !important; }
.bg-brand-secondary { background: #6D8C5E !important; color: #fff !important; }
.text-brand-primary { color: #24573F !important; }
.text-brand-secondary { color: #6D8C5E !important; }
.text-brand-accent { color: #E5F2EA !important; }

/* ===========================
   PRINT STYLES
   =========================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  .section { padding: 0; margin: 0; }
}
