/* === CSS RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #26442b;
  background: #ffffff;
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #26442b;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #e57c23;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 0.5em;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #26442b;
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: 2.6rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.38rem; margin-bottom: 10px; }
h4 { font-size: 1.12rem; }
.subheadline {
  font-size: 1.18rem;
  color: #385C3F;
  margin-bottom: 20px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.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: flex-start;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  section, .section {
    padding: 28px 4px;
  }
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.14rem; }
}

/* === HEADER & NAVIGATION === */
header {
  background: #ffffff;
  border-bottom: 1px solid #EFF1EE;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  height: 84px;
}
header img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #26442b;
  opacity: 0.86;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F2E8DC;
  color: #e57c23;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #e57c23;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 11px 32px;
  border-radius: 27px;
  border: none;
  outline: none;
  box-shadow: 0 2px 8px rgba(39, 68, 43, 0.03);
  transition: background 0.18s, box-shadow 0.2s, transform 0.12s;
  display: inline-block;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #385C3F;
  color: #fff;
  box-shadow: 0 4px 20px rgba(229,124,35,0.11);
  transform: translateY(-2px) scale(1.03);
}
@media (max-width: 1100px) {
  header .container {
    max-width: 100%;
    padding: 0 16px;
  }
  .container {
    max-width: 100%;
  }
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #26442b;
  padding: 4px 12px;
  border-radius: 6px;
  display: none;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #e57c23;
}
@media (max-width: 900px) {
  .main-nav,
  .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 18px;
    top: 22px;
    z-index: 102;
  }
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(247,247,245,0.96);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.66,0,.32,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px 30px 24px 30px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.3rem;
  color: #26442b;
  align-self: flex-end;
  margin-bottom: 16px;
  cursor: pointer;
  border-radius: 6px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 21px;
  align-items: flex-start;
  margin-top: 8px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16rem;
  color: #26442b;
  padding: 9px 6px 9px 2px;
  border-radius: 7px;
  transition: background .18s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e57c23;
  color: #fff;
}
@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* === HERO SECTION === */
.hero {
  background: #F8F8F7;
  padding-top: 54px;
  padding-bottom: 54px;
  margin-bottom: 60px;
}
.hero .container {
  justify-content: center;
  align-items: center;
}
.hero h1 {
  color: #385C3F;
  margin-bottom: 8px;
}
.hero .subheadline {
  color: #26442b;
  opacity: 0.75;
}
/* === GENERIC LAYOUT STRUCTURES === */
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 24px rgba(64,86,62,0.06);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  min-width: 250px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.20s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(38,68,43,0.13);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 900px) {
  .content-wrapper,
  .content-grid,
  .card-container {
    flex-direction: column !important;
    gap: 20px;
    align-items: stretch;
  }
}

/* === HIGHLIGHTS ICON LIST === */
.content-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 0 0;
  list-style: none;
  align-items: stretch;
  justify-content: flex-start;
}
.content-wrapper ul li {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(38,68,43,0.04);
  flex: 1 1 220px;
  padding: 20px 15px 14px 15px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
}
.content-wrapper ul li img {
  width: 36px;
  height: 36px;
}
@media (max-width: 600px) {
  .content-wrapper ul,
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
}

/* === CATEGORY TAGS === */
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 8px 0 16px 0;
  padding: 0;
}
.category-tags li {
  background: #F2E8DC;
  color: #385C3F;
  font-size: 0.97rem;
  border-radius: 18px;
  padding: 7px 18px 6px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* === CTA SECTIONS === */
.cta {
  background: #F2E8DC;
  border-radius: 24px;
  box-shadow: 0 3px 12px rgba(57,117,63,0.025);
  padding: 54px 20px;
  margin-bottom: 42px;
}
.cta .cta-btn {
  margin-top: 16px;
}
@media (max-width: 600px) {
  .cta {
    padding: 28px 8px;
  }
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 28px rgba(38,68,43,0.08);
  margin-bottom: 20px;
  min-width: 240px;
  transition: box-shadow .18s;
}
.testimonial-card p {
  font-size: 1.09rem;
  color: #26442b;
  line-height: 1.5;
}
.testimonial-card strong {
  color: #26442b;
}
.testimonial-card div:last-child {
  color: #e57c23;
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 1.08rem;
}
.testimonial-card:hover {
  box-shadow: 0 16px 44px rgba(38,68,43,0.15);
}

/* === FOOTER === */
footer {
  background: #ffffff;
  border-top: 1.5px solid #F2E8DC;
  color: #385C3F;
  font-size: 0.99rem;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 60px;
  justify-content: space-between;
  padding-top: 40px;
  padding-bottom: 32px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #385C3F;
  opacity: 0.74;
  transition: color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #e57c23;
  opacity: 1;
}
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 13px;
  font-size: 0.98rem;
  color: #385C3F;
  margin-bottom: 12px;
}
.contact-info img {
  width: 38px;
  margin-bottom: 4px;
}
.footer-bottom {
  width: 100%;
  font-size: 0.96rem;
  color: #A2A19E;
  margin-top: 18px;
  text-align: left;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 14px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .footer-bottom {
    text-align: left;
    margin-top: 8px;
  }
}

/* === LIST/MEDIA STYLES === */
.latest-posts-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 15px;
}
.latest-posts-list li {
  margin-bottom: 10px;
  padding: 11px 13px;
  background: #F8F8F7;
  border-radius: 8px;
  transition: background .12s;
}
.latest-posts-list li:hover {
  background: #F2E8DC;
}

/* === CASE STUDY SHORT (Dienstleistungen) === */
.case-study-short {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(38,68,43,0.04);
  padding: 23px 22px;
  margin-top: 18px;
  margin-bottom: 14px;
}

/* === PAGE UTILITY CLASSES === */
.info-note {
  background: #F8F8F7;
  border-left: 4px solid #385C3F;
  border-radius: 8px;
  padding: 10px 18px;
  margin-top: 14px;
  color: #385C3F;
  font-size: .98rem;
}

/* === BUTTONS (redeclare for consistency) === */
button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #e57c23;
  color: #fff;
  font-weight: 500;
  padding: 11px 30px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  transition: background .18s, box-shadow .20s, transform .12s;
  font-size: 1rem;
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: #385C3F;
  color: #fff;
  box-shadow: 0 4px 18px rgba(229,124,35,0.11);
  transform: translateY(-2px) scale(1.03);
}

/* === TRANSITIONS AND MICRO-INTERACTIONS === */
.cta-btn,
button,
.card,
.category-tags li,
.latest-posts-list li,
.mobile-nav a {
  transition: background .16s, color .15s, box-shadow .18s, transform .09s;
}

/* === COOKIE BANNER & POPUP === */
.cookie-banner {
  position: fixed;
  left: 0; 
  bottom: 0;
  width: 100%;
  background: #fff;
  color: #26442b;
  box-shadow: 0 0 18px 0 rgba(60,60,44,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  z-index: 2000;
  gap: 30px;
  opacity: 1;
  transition: opacity .3s, transform .35s;
  font-size: 0.99rem;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner .btn, .cookie-banner button {
  min-width: 128px;
  padding: 9px 18px;
  font-size: 0.98rem;
  border-radius: 21px;
}
.cookie-banner .btn.accept {
  background: #385C3F;
}
.cookie-banner .btn.reject {
  background: #e57c23;
}
.cookie-banner .btn.settings {
  background: #F2E8DC;
  color: #26442b;
}
.cookie-banner .btn.settings:hover {
  background: #e57c23;
  color: #fff;
}
@media (max-width: 680px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 8px;
    gap: 10px;
  }
  .cookie-banner .cookie-banner-buttons {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
  }
}

/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 41, 37, 0.60);
  z-index: 2100;
  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;
  color: #26442b;
  border-radius: 18px;
  width: 98%;
  max-width: 380px;
  padding: 28px 23px 24px 23px;
  box-shadow: 0 12px 40px rgba(38,68,43,0.22);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.31rem;
  margin-bottom: 4px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 0 0 10px 0;
  font-size: 1.04rem;
}
.cookie-modal .toggle-switch {
  width: 38px;
  height: 24px;
  background: #F2E8DC;
  border-radius: 17px;
  position: relative;
  cursor: pointer;
  transition: background .18s;
  margin-left: 10px;
  flex-shrink: 0;
}
.cookie-modal .toggle-switch.enabled {
  background: #385C3F;
}
.cookie-modal .toggle-switch .dot {
  position: absolute;
  top: 3.5px;
  left: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  transition: left .24s;
  box-shadow: 0 1px 3px rgba(38,68,43,0.08);
}
.cookie-modal .toggle-switch.enabled .dot {
  left: 16px;
  background: #e57c23;
}
.cookie-modal .category-desc {
  font-size: 0.93rem;
  color: #757B71;
  margin-top: -7px;
}
.cookie-modal .modal-buttons {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: #26442b;
  cursor: pointer;
  padding: 4px;
}
.cookie-modal .close-modal-btn:focus {
  outline: 2px solid #e57c23;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 16px 6px 12px 12px;
    max-width: 98vw;
  }
}

/* === RESPONSIVE TABLES/STYLES === */
@media (max-width: 600px) {
  table {
    font-size: 0.96rem;
    width: 98%;
  }
}

/* === SCROLLBAR === */
body::-webkit-scrollbar {
  width: 12px;
  background: #F2E8DC;
}
body::-webkit-scrollbar-thumb {
  background: #e57c23;
  border-radius: 7px;
}

/* === FOCUS VISIBLE UTILITY === */
:focus-visible {
  outline: 2px solid #e57c23;
  outline-offset: 2px;
}

/* === PRINT FRIENDLINESS === */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}
