/* 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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
html {
  height: 100%;
  font-size: 16px;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #273149;
  background-color: #F8F7F3;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #446A3C;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #5B8B48;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* BRAND COLORS for convenience */
:root {
  --primary: #273149;
  --secondary: #BFA06A;
  --accent: #F2F2F2;
  --earth-green: #446A3C;
  --earth-sand: #EEE7D2;
  --earth-brown: #8E7152;
  --content-bg: #FAFAF7;
  --organic-shadow: 0 2px 16px 0 rgba(71, 93, 75, 0.07);
  --organic-radius: 20px;
}

body {
  background-color: var(--earth-sand);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
}
h1 { font-size: 2.375rem; font-weight: 700; margin-bottom: 24px; }
h2 { font-size: 2rem;   font-weight: 600; margin-bottom: 20px; }
h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: 18px; }
h4 { font-size: 1.125rem; font-weight: 500; }
p, li, ul, ol, strong {
  font-size: 1rem;
  color: var(--primary);
}
strong {
  font-weight: 600;
}
ul, ol {
  margin-left: 1.3em;
  margin-bottom: 16px;
}

/* STRUCTURE & LAYOUTS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: var(--content-bg);
  border-radius: var(--organic-radius);
  box-shadow: var(--organic-shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ORGANIC DECOR */
.section {
  /* Gentle organic asymmetry */
  border-radius: 50px 10px 30px 40px/30px 60px 40px 20px;
  background-image: url('../assets/organic-texture.png');
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 300px 200px;
}

/* HEADER */
header {
  background: #FAFAF7;
  box-shadow: 0 2px 12px 0 rgba(71, 93, 75, 0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 16px 20px;
}
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo img {
  height: 48px;
  width: auto;
  border-radius: 0;
}

/* DESKTOP NAV */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 0;
  letter-spacing: 0.01em;
  transition: color .2s;
  border-radius: 6px;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--earth-green);
  background: var(--earth-sand);
}
.main-nav .cta-btn {
  background: var(--earth-green);
  color: #fff;
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: 600;
  margin-left: 12px;
  box-shadow: 0 2px 8px 0 rgba(71, 93, 75, 0.10);
  transition: background .18s, color .18s, box-shadow .18s;
  border: none;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 16px 0 rgba(191, 160, 106, 0.11);
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--earth-green);
  cursor: pointer;
  z-index: 1202;
  margin-left: 18px;
  transition: color .2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--secondary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(245,244,236,0.98);
  z-index: 1201;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.6,.1,.85,1), opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--earth-green);
  align-self: flex-end;
  margin: 12px 25px 16px 0;
  cursor: pointer;
  z-index: 1202;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin: 36px 0 0 32px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: var(--primary);
  padding: 12px 0;
  min-width: 150px;
  border-radius: 5px;
  transition: background .2s, color .2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--earth-sand);
  color: var(--earth-green);
}
.mobile-nav .cta-btn,
.mobile-nav a.cta-btn {
  color: #fff;
  background: var(--earth-green);
  border-radius: 24px;
  padding: 14px 30px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 10px;
}
.mobile-nav .cta-btn:hover,
.mobile-nav a.cta-btn:hover {
  color: var(--primary);
  background: var(--secondary);
}

@media (max-width: 1024px) {
  .main-nav .cta-btn {
    margin-left: 0;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MAIN SECTIONS */
main {
  background: none;
  margin-bottom: 60px;
}
/* Allow .section spacing but remove top and bottom on first/last */
main > section:first-child .section, main > section:first-child {
  margin-top: 28px;
}
main > section:last-child .section, main > section:last-child {
  margin-bottom: 0;
}

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

/* CARD CONTAINERS & FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--organic-radius);
  box-shadow: var(--organic-shadow);
  margin-bottom: 20px;
  position: relative; /* only for decor bg elements */
  padding: 32px 24px;
  min-width: 250px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: transform .15s, box-shadow .25s;
}
.card:hover {
  filter: brightness(0.98);
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 6px 20px 0 rgba(118,116,97,0.18);
}

.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;
  background: #F4FBE8;
  border-radius: 40px 18px 30px 24px/22px 34px 40px 16px;
  margin: 28px 0 20px 0;
  box-shadow: 0 4px 24px 0 rgba(68,106,60,0.08);
  border: 1.5px solid #d9e3d2;
  min-width: 280px;
}
.testimonial-card p {
  font-size: 1.15rem;
  color: #273149;
  font-weight: 500;
  opacity: .97;
}
.testimonial-card > div {
  font-size: 1rem;
  font-style: italic;
  color: var(--earth-brown);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* PROJECT & FAQ LISTS (galerie, ablauf) */
.project-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.project-list > div, .faq-list > div {
  background: #fff;
  border-radius: var(--organic-radius);
  box-shadow: var(--organic-shadow);
  padding: 28px 22px;
  flex: 1 1 325px;
  min-width: 280px;
}

/* FEATURES GRID, PROCESS LIST ETC */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 0;
}
.features-grid > li, .features-grid > div {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 2px 16px 0 rgba(68, 106, 60, 0.13);
  flex: 1 1 220px;
  min-width: 210px;
  padding: 25px 18px 25px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;

  transition: box-shadow .22s, transform .15s;
}
.features-grid > li img, .features-grid > div img {
  height: 38px;
  width: 38px;
  margin-bottom: 10px;
}
.features-grid > li:hover, .features-grid > div:hover {
  box-shadow: 0 8px 32px 0 rgba(191, 160, 106,.10), 0 2px 16px 0 rgba(68, 106, 60, 0.17);
  transform: translateY(-2px) scale(1.012);
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}
.process-list li {
  padding-left: 10px;
  position: relative;
  list-style: decimal inside;
}

/* BUTTONS */
.cta-btn, .button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: var(--earth-green);
  color: #fff !important;
  padding: 13px 38px;
  font-size: 1.1rem;
  border-radius: 28px 10px 24px 28px/22px 30px 32px 18px;
  border: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px 0 rgba(71,93,75,0.14);
  margin-top: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background .19s, color .19s, transform .13s, box-shadow .23s;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  min-width: 160px;
}
.cta-btn:hover, .button:hover, .cta-btn:focus, .button:focus {
  background: var(--secondary);
  color: var(--primary) !important;
  box-shadow: 0 6px 26px 0 rgba(191,160,106,.17);
  outline: none;
  transform: scale(1.03);
}

/* FORM ELEMENTS */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 7px;
  border: 1.5px solid #D4CCBC;
  padding: 11px 14px;
  background: #FFF;
  transition: border .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--earth-green);
  outline: none;
}
label {
  margin-bottom: 4px;
  font-size: 1rem;
  color: var(--primary);
}

/* FOOTER */
footer {
  background: #273149;
  color: #fff;
  padding-top: 36px;
  padding-bottom: 24px;
  margin-top: 60px;
  border-radius: 40px 8px 46px 20px / 32px 20px 46px 20px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #B9CBB3;
  font-size: 1rem;
  transition: color .21s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
}
.footer-contact {
  color: #F7F7F7;
  text-align: center;
  font-size: .98rem;
}
.footer-contact a {
  color: #FFF;
  text-decoration: underline;
}

/* SPECIAL: text-section for legal pages */
.text-section {
  background: #fff;
  border-radius: var(--organic-radius);
  box-shadow: var(--organic-shadow);
  padding: 32px 22px;
  margin: 20px 0;
}

/* Cookie Consent Banner & Modal */
.cookie-banner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 24px 18px 22px;
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 14px;
  z-index: 1220;
  background: #F7FAE6;
  color: var(--primary);
  box-shadow: 0 6px 32px 0 rgba(85,105,62,.12);
  border-radius: 28px 10px 24px 28px/22px 30px 32px 18px;
  border: 1.5px solid #c2d1b1;
  max-width: 540px;
  margin: 0 auto;
  transition: opacity .22s, transform .22s;
  opacity: 1;
  transform: translateY(0);
  animation: cookie-flyin .45s;
}
@keyframes cookie-flyin {
  from {opacity: 0; transform: translateY(28px);}
  to {opacity: 1; transform: translateY(0);}
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  background: var(--earth-green);
  color: #fff;
  border-radius: 20px;
  padding: 10px 28px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 6px;
  cursor: pointer;
  transition: background .15s, color .15s, transform .1s;
}
.cookie-banner .cookie-btn.reject {
  background: #ddd6bf;
  color: var(--primary);
}
.cookie-banner .cookie-btn.settings {
  background: transparent;
  border: 1.5px solid var(--earth-green);
  color: var(--earth-green);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--secondary);
  color: #273149;
  transform: scale(1.03);
  outline: none;
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 1300;
  left: 0; right: 0; top: 0; bottom: 0;
  align-items: center;
  justify-content: center;
  background: rgba(62, 67, 49, 0.16);
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #F7FAE6;
  border-radius: 28px 10px 24px 28px/22px 30px 32px 18px;
  box-shadow: 0 8px 42px 0 rgba(68,106,60,0.15);
  padding: 38px 30px 24px 30px;
  max-width: 380px;
  width: 90%;
  animation: cookie-modal-flyin .35s;
}
@keyframes cookie-modal-flyin {
  from {opacity: 0; transform: translateY(38px);}
  to {opacity: 1; transform: translateY(0);}
}
.cookie-modal-content h2 {
  font-size: 1.38rem;
  margin-bottom: 16px;
  color: var(--earth-green);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 26px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
}
.cookie-category input[type='checkbox'] {
  width: 21px;
  height: 21px;
  accent-color: var(--earth-green);
}
.cookie-category.essential label {
  color: #949467;
  font-style: italic;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.cookie-modal-close {
  background: none;
  border: none;
  position: absolute;
  top: 28px; right: 38px;
  font-size: 2rem;
  color: var(--earth-green);
  cursor: pointer;
  z-index: 1310;
}

/* TABLES & UTILITY */
table {
  border-collapse: collapse;
}
th, td {
  padding: 12px 14px;
  border: 1px solid #E2E2E2;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .container {
    max-width: 980px;
  }
}
@media (max-width: 992px) {
  .container {
    max-width: 760px;
  }
  .features-grid > li, .features-grid > div,
  .card,
  .project-list > div, .faq-list > div {
    flex: 1 1 270px;
    min-width: 180px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container {
    flex-direction: row;
    justify-content: space-between;
  }
  .logo img { height: 38px; }
  .features-grid, .content-grid, .project-list, .faq-list {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 14px;
    padding: 13px;
    border-radius: 22px 13px 24px 14px/13px 14px 20px 9px;
    font-size: 1rem;
  }
  .card, .project-list > div, .faq-list > div {
    min-width: 150px;
    padding: 18px 10px;
  }
  .section {
    padding: 22px 8px;
    margin-bottom: 32px;
    border-radius: 28px 10px 24px 16px;
    background-size: 180px 80px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}
@media (max-width: 550px) {
  html { font-size: 14px; }
  body { padding-bottom: 70px; }
  .container { padding-left: 8px; padding-right: 8px;}
  .footer-nav { gap: 11px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  .section, .text-section {
    padding: 12px 5px;
    border-radius: 18px 8px 18px 11px;
  }
  .cookie-banner {
    left: 2px; right: 2px; padding: 13px 9px 11px 9px; border-radius: 19px;
    font-size: .97rem;
  }
}

/* MICRO-INTERACTIONS / TRANSITIONS */
.cta-btn, .button, .main-nav .cta-btn, .mobile-nav a.cta-btn, .cookie-btn {
  transition: background .19s, color .17s, transform .16s, box-shadow .20s;
}
.testimonial-card, .card, .project-list > div, .faq-list > div {
  transition: box-shadow .2s, transform .13s;
}
.project-list > div:hover, .faq-list > div:hover {
  box-shadow: 0 8px 32px 0 rgba(191, 160, 106, .11), 0 2px 16px 0 rgba(68, 106, 60, 0.20);
  transform: scale(1.013);
}

/* ORGANIC SHAPES -- OVERWRITE ASYNMETRIC ON MOBILE FOR SIMPLER SHADOWS */
@media (max-width: 550px) {
  .section, .card, .testimonial-card, .features-grid > li, .features-grid > div, .project-list > div, .faq-list > div {
    border-radius: 12px;
  }
}

/* GENERIC HELPER CLASSES */
.flex {
  display: flex;
}
.flex-column {
  flex-direction: column;
}
.gap-20 {
  gap: 20px;
}
.align-center {
  align-items: center;
}
.align-start {
  align-items: flex-start;
}
.justify-between {
  justify-content: space-between;
}

/* Hide irrelevant elements for accessibility or loading state */
.visually-hidden {
  position:absolute !important; height:1px; width:1px; overflow:hidden; clip: rect(1px, 1px, 1px, 1px); white-space:nowrap; border:0; padding:0; margin:-1px !important;}

/* SCROLLBAR STYLING -- organic subtle */
body {
  scrollbar-width: thin;
  scrollbar-color: var(--earth-green) var(--earth-sand);
}
body::-webkit-scrollbar {
  width: 8px;
  background: var(--earth-sand);
}
body::-webkit-scrollbar-thumb {
  background: var(--earth-green);
  border-radius: 8px;
}

/* End CSS */