/* 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,hgroup, 
menu,nav,output,ruby,section,summary,
time,mark,audio,video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background: #fff;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  color: #234353;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
  background: #f6f2ec;
}
a {
  color: #234353;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #8A6744;
  text-decoration: none;
}
*, *::before, *::after {
  box-sizing: inherit;
}

/* Typography */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #234353;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #234353;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  color: #234353;
  margin-bottom: 8px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #234353;
  margin-bottom: 4px;
}
p, ul, ol, blockquote, .text-section {
  font-size: 1rem;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  color: #234353;
  margin-bottom: 16px;
  line-height: 1.7;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}
small {
  font-size: 0.85em;
}
ul, ol {
  margin-bottom: 24px;
  padding-left: 1.25em;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(35,67,83,0.06);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
  flex: 1 1 270px;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 24px rgba(35,67,83,0.14);
}
.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;
  background: #F6F2EC;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(35,67,83,0.07);
}
.testimonial-card blockquote {
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 8px;
  color: #234353;
  line-height: 1.6;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: #8A6744;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Features grid for homepage */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
}
.feature-grid li {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 10px rgba(35,67,83,0.05);
  padding: 24px 18px 18px 18px;
  min-width: 220px;
  max-width: 320px;
  transition: box-shadow 0.24s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.feature-grid li img {
  height: 38px;
  width: 38px;
  margin-bottom: 10px;
  background: #F6F2EC;
  border-radius: 50%;
  padding: 4px;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 5px 20px rgba(35,67,83,0.11);
}

/* Service List (index & leistungen) */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #234353;
  background: #F6F2EC;
  border-radius: 8px;
  padding: 12px 16px;
  min-width: 200px;
}
.service-list li img {
  height: 28px; width: 28px;
}

/* Other Common Layouts */
.text-section {
  margin-bottom: 32px;
}
.text-section ul, .text-section ol {
  margin-bottom: 16px;
}
.text-section a, .feature-grid li a, .service-list li a {
  color: #234353;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.2s;
}
.text-section a:hover, .feature-grid li a:hover, .service-list li a:hover { color: #8A6744; }

/* Hero Banner */
.hero {
  display: flex;
  align-items: center;
  min-height: 340px;
  background: #F6F2EC;
  padding: 60px 0 40px 0;
  margin-bottom: 52px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.hero h1 {
  font-size: 2.8rem;
  color: #234353;
  line-height: 1.13;
}
.subheadline {
  font-size: 1.2rem;
  color: #234353;
  opacity: 0.83;
  margin-bottom: 18px;
  max-width: 650px;
}

/* CTA Banner */
.cta-banner {
  background: #234353;
  border-radius: 10px;
  margin-bottom: 60px;
  padding: 30px 20px;
  display: flex;
  align-items: center;
}
.cta-banner .content-wrapper {
  align-items: center;
  gap: 16px;
  width: 100%;
}
.cta-banner p {
  color: #fff;
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  text-align: center;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  appearance: none;
  border: none;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 12px 32px;
  border-radius: 28px;
  box-shadow: 0 1px 6px rgba(35,67,83,0.05);
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.18s, transform 0.18s;
  text-decoration: none;
}
.btn-primary {
  background: #234353;
  color: #fff;
  border: 2px solid #234353;
}
.btn-primary:hover, .btn-primary:focus {
  background: #8A6744;
  border-color: #8A6744;
  color: #fff;
  box-shadow: 0 4px 16px rgba(138,103,68,0.08);
}
.btn-secondary {
  background: #F6F2EC;
  color: #8A6744;
  border: 2px solid #8A6744;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #8A6744;
  color: #fff;
  box-shadow: 0 3px 16px rgba(138,103,68,0.10);
}

/* Header Navigation */
header {
  background: #fff;
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(35,67,83,0.04);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 0;
}
.logo img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #234353;
  text-decoration: none;
  background: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 0.16s, color 0.17s;
}
.main-nav a:hover,
.main-nav a:active {
  color: #8A6744;
  background: #F6F2EC;
}
.main-nav .btn-primary {
  margin-left: 8px;
  padding: 9px 20px;
  font-size: 1rem;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #234353;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #F6F2EC;
}
/* FOOTER */
footer {
  background: #F6F2EC;
  border-top: 1px solid #eee;
  padding: 48px 0 24px 0;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-top: 0;
  padding-bottom: 0;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  color: #234353;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
}
.footer-brand img {
  height: 34px;
  width: 34px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(35,67,83,0.04);
}
.footer-nav {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #8A6744;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
  font-weight: 500;
  opacity: 0.78;
  text-decoration: none;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #234353; opacity: 1; }
.footer-contact {
  font-size: 0.99rem;
  color: #234353;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-contact a {
  color: #234353;
  font-weight: 500;
  text-decoration: underline;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}
.footer-contact a img {
  width: 18px; height: 18px;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3002;
  background: rgba(35,67,83,0.96);
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
  background: none;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  padding: 7px 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {background: #8A6744;color:#fff;}
.mobile-nav {
  margin-top: 70px;
  padding-left: 0;
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  z-index: 1;
}
.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 10px 32px;
  transition: background 0.17s, color 0.16s;
  border-radius: 8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #8A6744;
  color: #fff;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #234353;
  color: #fff;
  width: 100vw;
  z-index: 3300;
  padding: 22px 18px 18px 18px;
  box-shadow: 0 -6px 28px rgba(35,67,83,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s cubic-bezier(.71,0,.23,1), opacity 0.22s;
  transform: translateY(120%);
  opacity: 0;
  gap: 22px;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  margin-right: 12px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 8px 24px;
  margin-left: 2px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.cookie-btn.accept {
  background: #8A6744;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus { background: #234353; color: #fff; }
.cookie-btn.reject {
  background: #F6F2EC;
  color: #8A6744;
  border: 1.5px solid #8A6744;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus { background: #8A6744; color: #fff; }
.cookie-btn.settings {
  background: #fff;
  color: #234353;
  border: 1.5px solid #234353;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus { background: #234353; color: #fff; }

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,67,83,0.54);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  color: #234353;
  border-radius: 14px;
  width: 98%;
  max-width: 390px;
  padding: 34px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 4px 44px rgba(35,67,83,0.18);
  animation: fadeInUp 0.43s cubic-bezier(.77, 0, .18, 1);
  position: relative;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal-content h2 {
  color: #234353;
  font-size: 1.33rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 2px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #F6F2EC;
  color:#234353;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
  color: #234353;
  margin-right: 16px;
}
.cookie-category input[type=checkbox] {
  width: 25px; height: 25px;
  accent-color: #8A6744;
  border-radius: 6px;
}
.cookie-category input[type=checkbox][disabled] {
  accent-color: #234353; opacity: 0.55;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 14px;
  background: none;
  color: #234353;
  border: none;
  font-size: 1.44rem;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 7px;
  transition: background 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: #F6F2EC; }

/* MISCELLANEOUS */
blockquote {
  border-left: 3px solid #8A6744;
  padding-left: 18px;
  color: #234353;
  margin-bottom: 16px;
}

/* Utility & Spacing */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-8 { margin-top: 8px !important; }
.mb-8 { margin-bottom: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }

/* Responsive Design: Mobile First */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container {
    padding: 0 12px;
  }
  header .container {
    padding-left: 12px;
    padding-right: 12px;
    gap: 0;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .hero { padding: 40px 0 28px 0; }
  .feature-grid {
    gap: 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .feature-grid li {
    max-width: 100%; min-width: 160px;
  }
  .service-list {
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .about-snippet .content-wrapper,
  .services-overview .content-wrapper,
  .testimonials .content-wrapper,
  .section .content-wrapper  {
    gap: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .cta-banner {
    padding: 16px 6px;
    border-radius: 7px;
  }
  .cta-banner .content-wrapper {
    gap: 6px;
    align-items: flex-start;
  }
  .cta-banner p {
    font-size: 1rem;
    text-align: left;
  }
  .testimonial-card {
    padding: 14px 10px;
    gap: 12px;
  }
  .section {
    margin-bottom: 38px;
    padding: 26px 10px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .footer-brand img {
    height: 28px; width: 28px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 520px) {
  html { font-size: 14px; }
  .cookie-modal-content { padding-left: 14px; padding-right: 14px; }
  .footer-contact {
    font-size: 0.93rem;
  }
}

/* Hide visually and from assistive tech */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

/* FORM BASICS for simple contact */
input,select,textarea,button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border-radius: 6px;
  border: 1px solid #d0cfc7;
  padding: 10px 12px;
  transition: border 0.16s, box-shadow 0.16s;
}
input:focus,select:focus,textarea:focus {
  border-color: #8A6744;
  box-shadow: 0 0 0 2px #F6F2EC;
}
button { cursor: pointer; }

/* Animations for micro-interactions */
.btn-primary, .btn-secondary, .cookie-btn {
  transition: background 0.14s, color 0.13s, transform 0.11s, box-shadow 0.14s;
}
.btn-primary:active, .btn-secondary:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* List spacing and cards spacing min 20px */
.card, .testimonial-card, .feature-grid li, .service-list li {
  margin-bottom: 20px;
}

/* Utility: Shadow & Rounded Corners */
.card, .testimonial-card, .feature-grid li, .footer-brand img {
  box-shadow: 0 1px 8px rgba(35,67,83,0.06);
  border-radius: 8px;
}

/* Misc fixes for spacing edge cases */
.section:last-child,
footer { margin-bottom: 0 !important; }

/* Remove grid & column or absolute content */
/* No grid, CSS columns, or absolute content positioning except allowed decorative elements. */
