/* ---------- CSS 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F5F7FA;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  outline: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  transition: background 0.2s, box-shadow 0.2s;
}
*::selection {
  background: #EADBB0;
}

/* ---------- BRAND COLOR VARIABLES ---------- */
:root {
  --clr-primary: #33604E;
  --clr-secondary: #EADBB0;
  --clr-accent: #F5F7FA;
  --clr-success: #4DC687;
  --clr-attention: #F7B801;
  --clr-error: #FF3864;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ---------- MAIN LAYOUT ---------- */
.container {
  width: 100%;
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 18px;
}
/* Ensure .content-wrapper always flex column */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--clr-accent);
  border-radius: 28px;
}

@media (max-width: 900px) {
  .section {
    padding: 30px 10px;
    margin-bottom: 40px;
    border-radius: 18px;
  }
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--clr-primary);
  font-weight: 700;
  margin-bottom: 0.3em;
  /* Fun, bouncy headings */
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  line-height: 1.18;
}
h3 {
  font-size: 1.375rem;
  line-height: 1.22;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, li {
  font-family: var(--font-body);
  color: #383838;
  font-size: 1rem;
}
p {
  margin-bottom: 0.8em;
}
strong {
  color: var(--clr-primary);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Fun playful font for some accents (use for headings and CTA buttons) */
.display-fun {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
}

/* Extra playful accent--for keyword highlights */
.accent-mark {
  color: var(--clr-attention);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23em;
  font-weight: 700;
}

/* ---------- HEADER & NAVIGATION ---------- */
header {
  background: #fff;
  border-bottom: 3px solid var(--clr-secondary);
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  padding: 12px 18px;
}
.logo img {
  height: 47px;
  width: auto;
  transition: transform 0.18s;
}
.logo img:hover {
  transform: scale(1.1) rotate(-3deg);
}

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  font-family: var(--font-display);
}

.main-nav a {
  color: var(--clr-primary);
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 15px;
  transition: background 0.16s, color 0.16s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--clr-secondary);
  color: #3D7C4A;
  box-shadow: 0 2px 10px 0 rgba(51, 96, 78, 0.05);
}

.cta-btn {
  background: var(--clr-attention);
  color: #1d3d29;
  font-family: var(--font-display);
  font-weight: 800;
  padding: 11px 28px;
  border-radius: 23px;
  margin-left: 18px;
  font-size: 1.19rem;
  transition: background 0.19s, box-shadow 0.18s, transform 0.14s;
  box-shadow: 0 2px 16px 0 rgba(247, 184, 1, 0.11);
  outline: 2px solid transparent;
}
.cta-btn:hover, .cta-btn:focus {
  background: #eadd74;
  color: #356D37;
  box-shadow: 0 7px 25px 0 rgba(253, 226, 88, 0.25);
  transform: scale(1.04) rotate(-1.5deg);
  outline: 2px solid var(--clr-attention);
}

.mobile-menu-toggle {
  display: none;
  background: var(--clr-primary);
  color: #fff;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  transition: background 0.17s, box-shadow 0.17s;
  z-index: 110;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #2b5242;
  box-shadow: 0 3px 12px 0 rgba(51,96,78,0.10);
}

/* -- Mobile navigation -- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 200;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.77,0,0.18,1), opacity 0.21s;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.25rem;
  color: var(--clr-primary);
  background: none;
  border: none;
  margin: 1.5rem 0.5rem 0 1.2rem;
  align-self: flex-start;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--clr-error);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 2.2rem;
  width: 100%;
}
.mobile-nav a {
  padding: 1.1em 2.2em 1.1em 1.5em;
  font-size: 1.19em;
  color: var(--clr-primary);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 19px;
  margin-left: 6px;
  margin-right: 10px;
  width: 95%;
  transition: background 0.18s, color 0.18s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--clr-secondary);
  color: #356D37;
}

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

@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ---------- HERO SECTION (index) ---------- */
.hero-section {
  background: linear-gradient(110deg, #EADBB0 70%, #F5F7FA 100%);
  padding: 50px 0 45px 0;
  position: relative;
  overflow: hidden;
}
.hero-section .content-wrapper {
  max-width: 630px;
  align-items: flex-start;
}
.hero-section h1 {
  font-size: 2.6rem;
  color: var(--clr-primary);
  margin-bottom: 0.7em;
  word-break: break-word;
  line-height: 1.13;
  text-shadow: 0 4px 18px rgba(234,219,176,0.18);
}
.hero-section p {
  font-size: 1.19rem;
  margin-bottom: 24px;
}
.hero-section .cta-btn {
  font-size: 1.16rem;
  margin-top: 10px;
}

/* ---------- FEATURE/INFO CARDS & FLEX GRIDS ---------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.feature-grid > * {
  background: #fff;
  border-radius: 18px;
  min-width: 220px;
  flex: 1 1 220px;
  padding: 17px 19px;
  box-shadow: 0 5px 28px 0 rgba(51,96,78,0.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 1.08em;
  font-family: var(--font-body);
  margin-bottom: 0;
  transition: box-shadow 0.17s, transform 0.16s;
  flex-direction: column;
}
.feature-grid > *:hover {
  box-shadow: 0 11px 28px 0 rgba(234,219,176,0.19);
  transform: translateY(-4px) scale(1.03) rotate(-1.5deg);
}
.feature-grid img {
  height: 38px;
  width: 38px;
  margin-right: 10px;
}
/* Extra for .feature-item if present */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 3px 17px 0 rgba(51,96,78,0.10);
  margin-bottom: 20px;
  padding: 30px 24px;
  position: relative;
  min-width: 250px;
  transition: box-shadow 0.14s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 9px 34px 0 rgba(234,219,176,0.14);
  transform: scale(1.028) rotate(-1deg);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.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;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 4px 22px 0 rgba(51, 96, 78, 0.13);
  padding: 20px;
  color: #252525;
  margin-bottom: 18px;
  font-family: var(--font-body);
  flex-direction: column;
  min-width: 220px;
  max-width: 540px;
  transition: box-shadow 0.16s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 40px 0 rgba(51,96,78,0.17);
  transform: translateY(-3px) scale(1.019);
}
.testimonial-card p {
  color: #1e2d2a;
  font-weight: 500;
  font-size: 1.09em;
  line-height: 1.48;
}
.testimonial-card span {
  color: #33604E;
  font-size: 0.99em;
  font-family: var(--font-display);
  font-weight: 700;
  margin-top: 6px;
}
.star-rating {
  color: #F7B801;
  font-size: 1.3em;
  margin-bottom: 6px;
  letter-spacing: 0.18em;
}

/* ---------- SERVICES CARDS ---------- */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 20px;
}
.service-cards li {
  flex: 1 1 240px;
  min-width: 220px;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 3px 17px 0 rgba(51,96,78,0.10);
  padding: 28px 20px 19px 20px;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}
.service-cards h3 {
  font-size: 1.23em;
  margin-bottom: 6px;
  color: var(--clr-attention);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 16px;
}
.services-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 13px 0 rgba(51,96,78,0.08);
  padding: 20px 18px;
  font-size: 1.03em;
}

/* ---------- PROJECTS, TIPS, ABOUT LISTS ---------- */
.project-list li, .why-us ul li, .feature-grid li, .feature-grid div, .testimonial-list > *, .services-list li {
  margin-bottom: 20px;
}
.project-list li:last-child, .why-us ul li:last-child, .feature-grid li:last-child, .testimonial-list > *:last-child {
  margin-bottom: 0;
}
.project-list h2 {
  color: var(--clr-attention);
  font-size: 1.18em;
}

/* ---------- FOOTER ---------- */
footer {
  background: #fff8e3;
  border-top: 3px solid var(--clr-secondary);
  padding: 38px 0 16px 0;
  position: relative;
  font-size: 1rem;
  margin-top: 90px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 13px;
  justify-content: center;
  font-family: var(--font-display);
}
.footer-menu a {
  padding: 6px 11px;
  color: #5a794b;
  border-radius: 13px;
  background: transparent;
  transition: background 0.15s;
  font-size: 0.99em;
}
.footer-menu a:hover,
.footer-menu a:focus {
  background: var(--clr-secondary);
  color: #33604E;
}
.imprint-info {
  text-align: center;
  margin-top: 8px;
  color: #272727;
  font-size: 0.95em;
  gap: 5px;
}
.social-media-links {
  display: flex;
  flex-direction: row;
  gap: 23px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}
.social-media-links a img {
  width: 32px;
  height: 32px;
  filter: brightness(1) contrast(0.95) saturate(1);
  transition: filter 0.14s, transform 0.17s;
}
.social-media-links a:hover img {
  filter: brightness(1.15) saturate(1.3);
  transform: scale(1.11) rotate(-8deg);
}

/* ---------- CTA Sections ---------- */
.contact-cta, .service-contact-cta, .tips-contact-cta, .project-contact-cta, .review-cta {
  background: linear-gradient(100deg, #f9eec5 50%, #fffbe8 100%);
  border-radius: 29px;
  margin-bottom: 64px;
  padding: 40px 26px;
}
.contact-cta h2, .service-contact-cta h2, .tips-contact-cta h2, .project-contact-cta h2, .review-cta h2 {
  color: #d89e00;
  font-size: 2em;
}

/* ---------- LIST STYLES ---------- */
ul, ol {
  padding-left: 1.1em;
  margin-bottom: 0.8em;
}
ul > li {
  margin-bottom: 0.6em;
  position: relative;
  padding-left: 18px;
}
ul > li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--clr-attention);
  font-weight: 700;
  font-size: 1.25em;
  top: -0.1em;
}
ol > li {
  margin-bottom: 0.65em;
  padding-left: 8px;
}

/* ---------- ICONS ---------- */
li img, .imprint-info img {
  width: 26px;
  height: 26px;
  margin-right: 10px;
  vertical-align: middle;
}

/* ---------- ANIMATIONS & INTERACTION ---------- */
@keyframes pop-in {
  0%   { transform: scale(0.95) rotate(-2deg); opacity: 0; }
  85%  { transform: scale(1.04) rotate(2deg); opacity: 0.80; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.card, .testimonial-card, .service-cards li, .feature-grid > * {
  animation: pop-in 0.65s cubic-bezier(0.47,1.64,0.41,0.8);
}
.cta-btn, .footer-menu a {
  transition: background 0.17s, color 0.15s, box-shadow 0.18s;
}
.cta-btn:active {
  transform: scale(0.98);
}

/* ---------- COOKIE CONSENT BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe8;
  border-top: 3px solid var(--clr-attention);
  box-shadow: 0px -2px 20px 0px rgba(51,96,78,0.08);
  padding: 22px 40px 22px 20px;
  z-index: 3200;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 1rem;
  animation: pop-in 0.85s cubic-bezier(0.24, 1.56, 0.47, 0.86);
}
.cookie-banner p {
  flex: 1 1 auto;
  font-size: 1em;
  color: #33604E;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 21px;
  border-radius: 18px;
  background: var(--clr-attention);
  color: #1d3d29;
  margin-left: 0;
  border: none;
  transition: background 0.16s, box-shadow 0.18s, color 0.16s, outline 0.1s;
  outline: 2px solid transparent;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #eadd74;
  color: #356D37;
  box-shadow: 0 4px 18px 0 rgba(253, 226, 88, 0.16);
  outline: 2px solid var(--clr-attention);
}
.cookie-btn.secondary {
  background: #ececec;
  color: #33604E;
  border: 1px solid #e0e0e0;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #FAF8C9;
}

/* ---------- COOKIE MODAL ---------- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(51, 96, 78, 0.17);
  z-index: 3300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pop-in 0.6s cubic-bezier(0.49, 1.36, 0.36, 0.91);
}
.cookie-modal {
  background: #fff;
  border-radius: 23px;
  padding: 36px 28px 26px 28px;
  width: 97vw;
  max-width: 430px;
  box-shadow: 0 8px 44px 0 rgba(51,96,78,0.17);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.39rem;
  margin-bottom: 7px;
  color: var(--clr-attention);
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 11px;
}
.cookie-modal .category-label {
  flex: 1 1 auto;
  font-weight: 500;
  font-family: var(--font-body);
  color: #3D7C4A;
}
.cookie-modal .category-toggle {
  position: relative;
  width: 42px;
  height: 25px;
  background: #ececec;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal .category-toggle input {
  display: none;
}
.cookie-modal .toggle-slider {
  position: absolute;
  top: 3px; left: 3px;
  width: 19px;
  height: 19px;
  background: var(--clr-attention);
  border-radius: 100%;
  transition: left 0.19s, background 0.19s;
}
.cookie-modal .category-toggle input:checked + .toggle-slider {
  left: 20px;
  background: var(--clr-success);
}
.cookie-modal .toggle-slider.disabled {
  background: #bdbdbd;
}
.cookie-modal .category-toggle.disabled {
  background: #f2f2f2;
  cursor: not-allowed;
}
.cookie-modal .close-btn {
  position: absolute;
  right: 15px;
  top: 13px;
  font-size: 1.65rem;
  color: #33604E;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  transition: color 0.16s;
}
.cookie-modal .close-btn:hover {
  color: var(--clr-error);
}

@media (max-width: 850px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 8px 18px 8px;
    font-size: 1em;
  }
}

/* ---------- RESPONSIVE FLEXBOX LAYOUTS ---------- */
@media (max-width: 1024px) {
  .service-cards, .feature-grid, .card-container, .content-grid, .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
  .service-cards li, .feature-grid > *, .card, .testimonial-card {
    min-width: unset;
    width: 100%;
    max-width: unset;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  .hero-section {
    padding: 28px 0;
  }
  .hero-section h1 {
    font-size: 1.58rem;
  }
  .hero-section p {
    font-size: 1rem;
  }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .card-container, .service-cards, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 16px;
  }
  .section {
    padding: 25px 2px;
    margin-bottom: 27px;
  }
  .contact-cta, .service-contact-cta, .tips-contact-cta, .project-contact-cta, .review-cta {
    padding: 19px 6px;
    border-radius: 16px;
    margin-bottom: 34px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  header .container {
    gap: 8px;
    min-height: 56px;
    padding: 9px 6px;
  }
  footer {
    margin-top: 40px;
    padding: 19px 0 10px 0;
    font-size: 0.95em;
  }
  .imprint-info {
    font-size: 0.90em;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.23rem;
  }
  h2 {
    font-size: 1.09rem;
  }
  h3 {
    font-size: 1rem;
  }
  .cookie-modal {
    padding: 16px 5px 14px 12px;
    border-radius: 13px;
    font-size: 0.93em;
  }
}

/* ---------- UTILITY CLASSES / HELPERS ---------- */
.mt-2 {margin-top: 8px;}
.mt-3 {margin-top: 18px;}
.mb-2 {margin-bottom: 9px;}
.mb-3 {margin-bottom: 18px;}
.text-center {text-align: center;}

/* ---------- VISIBILITY HELPERS ---------- */
.hidden {display: none !important;}

/* ---------- END ---------- */
