/* CSS RESET & NORMALIZATION */
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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #F7F3EC;
  color: #333;
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #346080;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #7BB274;
  outline: none;
}
ul, ol {
  margin-left: 24px;
}
strong {
  font-weight: 600;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #346080;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #4B483F;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(179, 163, 125, 0.09);
}

@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 32px;
  }
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(52, 96, 128, 0.06);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #346080;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
header nav .cta-primary {
  background: #7BB274;
  color: #fff !important;
  font-weight: 700;
  border-radius: 24px;
  padding: 8px 22px;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(123, 178, 116, 0.13);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
header nav .cta-primary:hover, header nav .cta-primary:focus {
  background: #568C54;
  color: #fff;
  box-shadow: 0 4px 16px rgba(123, 178, 116, 0.19);
}
header nav a:hover, header nav a:focus:not(.cta-primary) {
  background: #F7F3EC;
  color: #7BB274;
}
.mobile-menu-toggle {
  display: none;
  background: #F7F3EC;
  color: #346080;
  border: none;
  font-size: 1.7rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(123, 178, 116, 0.11);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  margin-left: 16px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #efeadc;
  color: #7BB274;
}

@media (max-width: 1024px) {
  header nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(247, 243, 236, 0.97);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.77,0.2,0.05,1.0);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  transition: transform 0.35s,cubic-bezier(0.77,0.2,0.05,1.0),opacity 0.26s;
}
.mobile-menu-close {
  background: #7BB274;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-self: flex-end;
  margin: 28px 24px 6px 0;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(123, 178, 116, 0.11);
  transition: background 0.18s;
  z-index: 1250;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #568C54;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 35px 0 0 32px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #346080;
  background: #fff;
  border-radius: 14px;
  padding: 12px 24px;
  width: fit-content;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  box-shadow: 0 2px 12px rgba(179, 163, 125, 0.11);
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #7BB274;
  color: #fff;
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}


/* HERO SECTION */
.hero {
  margin-bottom: 60px;
  padding: 70px 16px 70px 16px;
  background: linear-gradient(96deg,#F7F3EC 0%,#FFF9EE 100%);
  border-radius: 18px;
  box-shadow: 0 10px 42px rgba(179, 163, 125, 0.06);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero h1 {
  color: #346080;
  font-size: 2.6rem;
}
.hero p {
  font-size: 1.2rem;
  color: #4B483F;
}
@media (max-width: 600px) {
  .hero {
    padding: 38px 6px 38px 6px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero .content-wrapper {
    padding: 0 8px;
  }
}

/* BUTTON STYLES */
.cta-primary, .cta-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 12px 32px;
  border-radius: 26px;
  text-align: center;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  border: none;
  outline: none;
  margin-top: 12px;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(123, 178, 116, 0.13);
}
.cta-primary {
  background: #7BB274;
  color: #fff;
}
.cta-primary:hover, .cta-primary:focus {
  background: #568C54;
  color: #fff;
  box-shadow: 0 8px 18px rgba(86, 140, 84, 0.24);
  text-decoration: none;
}
.cta-secondary {
  background: #fff;
  color: #346080;
  border: 2px solid #7BB274;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #F7F3EC;
  color: #7BB274;
  border-color: #346080;
}

/* FLEXBOX LAYOUTS (MANDATORY CLASSES) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(179, 163, 125, 0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  flex: 1 1 320px;
  transition: box-shadow 0.16s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(123, 178, 116, 0.13);
  transform: translateY(-2px) scale(1.02);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(179, 163, 125, 0.12);
  margin-bottom: 20px;
  max-width: 560px;
  min-width: 180px;
  font-size: 1.1rem;
  color: #222;
  transition: box-shadow 0.12s;
}
.testimonial-card:hover {
  /* Micro-interaction */
  box-shadow: 0 6px 30px rgba(123, 178, 116, 0.10), 0 0px 0px rgba(52, 96, 128, 0.09);
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #7BB274;
  font-weight: 600;
  font-size: 1.025em;
}
.testimonial-rating {
  display: flex;
  gap: 3px;
  align-items: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(179, 163, 125, 0.09);
  padding: 28px 18px 18px 18px;
  min-width: 190px;
  flex: 1 1 250px;
  margin-bottom: 16px;
  transition: box-shadow 0.18s, transform 0.12s;
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
}
.feature-item:hover {
  box-shadow: 0 8px 24px rgba(123, 178, 116, 0.11);
  transform: translateY(-1px) scale(1.025);
}
/* .feature-grid: used in services or feature sections */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 16px;
  }
  .feature-item {
    min-width: 155px;
    padding: 20px 12px 14px 12px;
  }
}

/* List Styles */
ul li, ol li {
  margin-bottom: 7px;
  font-size: 1em;
}

/* Content Blocks (for Blog, Wohnideen, Projekte, etc.) */
.idea, .blog-teaser, .project-description {
  background: #fff;
  border-radius: 14px;
  padding: 18px 16px 16px 16px;
  box-shadow: 0 2px 10px rgba(52,96,128,0.06);
  margin-bottom: 20px;
  transition: box-shadow 0.16s;
}
.idea:hover, .blog-teaser:hover, .project-description:hover {
  box-shadow: 0 6px 24px rgba(123,178,116, 0.11);
}

.inspiration-blocks, .blog-teaser-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}

/* Category tag for blog */
.category-tag {
  display: inline-block;
  font-size: 0.93em;
  background: #efeadc;
  color: #346080;
  padding: 2px 10px;
  border-radius: 8px;
  margin-top: 10px;
  letter-spacing: 0.03em;
}

/* Footer */
footer {
  background: #fff;
  box-shadow: 0 -6px 32px rgba(123, 178, 116, 0.06);
  padding-top: 32px;
  padding-bottom: 12px;
  margin-top: 50px;
}
footer .container {
  padding: 0 16px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid #efeadc;
  padding-bottom: 20px;
  justify-content: space-between;
}
.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-top nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #346080;
  margin-bottom: 2px; 
  padding: 4px 12px;
  border-radius: 6px;
  transition: background 0.18s;
}
.footer-top nav a:hover, .footer-top nav a:focus {
  background: #efeadc;
  color: #7BB274;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.contact-details p {
  font-size: 0.95rem;
  color: #4B483F;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.social-media {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}
.social-media a img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  filter: grayscale(0.2) brightness(0.93);
  transition: filter 0.18s;
}
.social-media a:hover img, .social-media a:focus img {
  filter: none;
}

@media (max-width: 900px) {
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #346080;
  box-shadow: 0 -2px 26px rgba(52, 96, 128, 0.15);
  padding: 18px 18px 20px 18px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: cookieBannerIn 0.6s;
}
@keyframes cookieBannerIn {
  0% { transform: translateY(100%); opacity: 0; } 
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  color: #346080;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}
.cookie-btn {
  border: none;
  border-radius: 24px;
  padding: 9px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 11px rgba(123, 178, 116, 0.09);
  margin-right: 4px;
  transition: background 0.18s, color 0.15s;
}
.cookie-accept {
  background: #7BB274;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #568C54;
  color: #fff;
}
.cookie-reject {
  background: #fff;
  color: #346080;
  border: 2px solid #7BB274;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #f4f1e1;
  color: #7BB274;
}
.cookie-settings {
  background: #fff;
  color: #346080;
  border: 2px solid #346080;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #F7F3EC;
  color: #7BB274;
  border-color: #7BB274;
}

/* Cookie Modal */
.cookie-settings-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(52, 96, 128, 0.23);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.44s;
}
@keyframes cookieModalIn {
  0% { opacity: 0; } 
  100% { opacity: 1; }
}
.cookie-settings-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 40px rgba(179, 163, 125, 0.16), 0 0px 0px rgba(52,96,128,0.06);
  padding: 34px 32px 18px 32px;
  min-width: 330px;
  max-width: 420px;
  font-size: 1.08rem;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  animation: modalSlideIn 0.44s;
}
@keyframes modalSlideIn {
  0% { transform: translateY(60px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-settings-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.42rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #346080;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.cookie-category label {
  font-weight: 500;
  color: #346080;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 22px;
  background: #efeadc;
  border-radius: 14px;
  position: relative;
  outline: none;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #7BB274;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(52, 96, 128, 0.08);
  transition: left 0.19s;
}
.cookie-toggle:checked::before {
  left: 17px;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 1.5rem;
  color: #346080;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F7F3EC;
  color: #7BB274;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1090px) {
  .content-grid, .feature-grid, .inspiration-blocks, .blog-teaser-list {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .card-container, .content-grid, .feature-grid, .inspiration-blocks, .blog-teaser-list {
    flex-direction: column;
    gap: 12px;
  }
  .card, .feature-item, .testimonial-card, .idea, .blog-teaser, .project-description {
    min-width: 0;
    width: 100%;
  }
}

/* Micro Interactions */
button, .cta-primary, .cta-secondary, .cookie-btn, .cookie-modal-close {
  transition: background 0.18s, color 0.16s, box-shadow 0.18s, transform 0.09s;
  cursor: pointer;
}
button:active, .cta-primary:active, .cta-secondary:active, .cookie-btn:active, .cookie-modal-close:active {
  transform: scale(0.98);
}

/* Miscellaneous visual tweaks */
::-webkit-input-placeholder { color: #B8B5A9; }
::-moz-placeholder { color: #B8B5A9; }
:-ms-input-placeholder { color: #B8B5A9; }
::placeholder { color: #B8B5A9; }

hr {
  border: none;
  border-top: 1px solid #efeadc;
  margin: 32px 0;
}

/* Utility for hiding visually (for modals) */
.is-hidden {
  display: none !important;
}

/* Z-INDEXS for overlays */
.mobile-menu,
.cookie-settings-modal {
  z-index: 3000;
}

/* --- Form Inputs (for contact, cookies etc.) --- */
input, textarea, select {
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px;
  border: 1.5px solid #efeadc;
  border-radius: 10px;
  width: 100%;
  background: #fff;
  margin-bottom: 14px;
  color: #333;
  outline: none;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #7BB274;
}

/* Contact Details Section adjustment */
.contact-details, .contact-info {
  margin-top: 10px;
  font-size: 1.01rem;
  color: #4B483F;
}
.contact-details img, .contact-info img {
  width: 22px; height: 22px; margin-right: 3px;
}

/* Accessibility: Focus-visible styling */
:focus-visible {
  outline: 2px solid #7BB274;
  outline-offset: 2px;
}

/* Hide scrollbars for mobile menu */
.mobile-menu {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* Friendly error, info, and alert blocks */
.alert, .info-block {
  background: #FFF9EE;
  border-left: 6px solid #7BB274;
  color: #4B483F;
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 1rem;
}

/* --- END --- */
