/* HausMeisterwerk – style.css (Elegant Classic Theme) */

/* === 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: #F6F3EF;
  color: #234D38;
  font-family: 'Roboto', serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #234D38;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #9EB29C;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
}
ul, ol {
  list-style: disc inside;
  margin: 16px 0 16px 24px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', serif;
  color: #234D38;
  font-weight: 600;
  line-height: 1.14;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; font-weight: 500; }
p { margin-bottom: 16px; }
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* === CONTAINERS === */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 16px rgba(35,77,56,0.06);
  border-bottom: 1px solid #E2DEDA;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 18px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 36px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 500;
  color: #234D38;
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 6px 12px;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #9EB29C;
  color: #fff;
}
.cta-btn {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 600;
  background: #234D38;
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 40px;
  box-shadow: 0 2px 8px rgba(35,77,56,0.11);
  cursor: pointer;
  margin-left: 30px;
  text-decoration: none;
  transition: background 0.3s, color 0.2s, box-shadow 0.2s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #9EB29C;
  color: #234D38;
  box-shadow: 0 6px 24px rgba(35,77,56,0.12);
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #234D38;
  font-size: 2rem;
  display: none;
  margin-left: 12px;
  cursor: pointer;
  z-index: 100;
  line-height: 1;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  color: #9EB29C;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #234D38;
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(0.5,0,0,1), box-shadow 0.3s;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 24px;
  box-shadow: 0 4px 48px rgba(35,77,56,0.25);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 22px 0 10px 0;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', serif;
  font-weight: 500;
  font-size: 1.25rem;
  padding: 14px 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.18s, color 0.16s;
  letter-spacing: 0.02em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #9EB29C;
  color: #234D38;
}

/* === HERO SECTION === */
.hero {
  background: #F6F3EF;
  padding: 56px 0 44px 0;
}
.hero .container {
  align-items: stretch;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  font-size: 2.7rem;
  font-family: 'Montserrat', serif;
  font-weight: 700;
  color: #234D38;
  margin-bottom: 14px;
}
.hero p {
  font-size: 1.2rem;
  font-family: 'Roboto', serif;
  color: #234D38;
  margin-bottom: 20px;
}
.hero .cta-btn {
  margin-top: 14px;
}

/* === FLEXBOX LAYOUTS (MANDATORY) === */
.features, .feature-grid, .service-cards, .services, .service-list, .case-list, .team-members, .contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid, .service-cards, .service-list, .case-list, .team-members {
  justify-content: space-between;
}
.feature-grid > div,
.service-cards > div,
.service-list > div,
.case-list > div,
.team-members > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(35,77,56,0.09);
  border: 1px solid #E5E5E3;
  padding: 28px 22px 26px 22px;
  flex: 1 1 236px;
  min-width: 230px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.22s, border 0.18s;
}
.feature-grid > div:hover,
.service-cards > div:hover,
.service-list > div:hover,
.case-list > div:hover,
.team-members > div:hover {
  box-shadow: 0 6px 32px rgba(35,77,56,0.12);
  border: 1px solid #9EB29C;
}
.feature-grid img,
.service-cards img,
.service-list img,
.case-list img,
.team-members img {
  margin-bottom: 14px;
  height: 48px;
  width: auto;
}

/* Feature grid specific */
.features {
  padding-top: 0;
}
.features .content-wrapper { gap: 22px; }

/* === ABOUT & TEAM SECTIONS === */
.about-short ul,
.about ul,
.why-us ul,
.value-explanation ul,
.services-detail ul,
.assurance ul {
  list-style-type: disc;
  margin-left: 30px;
  margin-bottom: 24px;
}
.team-members {
  gap: 24px;
}
.team-members > div {
  min-width: 210px;
  max-width: 320px;
  margin-bottom: 20px;
}

/* === CTA SECTION === */
.cta {
  background: #234D38;
  color: #F6F3EF;
  border-radius: 26px;
  box-shadow: 0 4px 28px rgba(35,77,56,0.13);
}
.cta h2,
.cta p {
  color: #fff;
}
.cta .cta-btn {
  background: #fff;
  color: #234D38;
  border: 1px solid #234D38;
  margin-left: 0;
  margin-top: 16px;
}
.cta .cta-btn:hover {
  background: #9EB29C;
  color: #fff;
  border-color: #9EB29C;
}

/* === TESTIMONIALS & CARDS === */
.testimonials {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(35,77,56,0.07);
  padding: 52px 0;
  margin-bottom: 60px;
}
.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.testimonial-card {
  background: #F6F3EF;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(35,77,56,0.10);
  border: 1px solid #E2DEDA;
  padding: 24px 24px 20px 24px;
  min-width: 260px;
  max-width: 400px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border 0.16s;
}
.testimonial-card:hover {
  border: 1px solid #9EB29C;
  box-shadow: 0 8px 36px rgba(35,77,56,0.18);
}
.testimonial-card p {
  color: #234D38;
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.testimonial-author {
  color: #234D38;
  font-size: 1rem;
  font-style: italic;
  font-family: 'Montserrat', serif;
}

/* === CARD LAYOUTS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(35,77,56,0.11);
  padding: 26px 18px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === CONTACT DETAILS === */
.contact-details {
  align-items: flex-start;
  gap: 32px;
}
.contact-details ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0 0 12px 0;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.contact-details img {
  width: 22px;
  height: 22px;
  margin-right: 6px;
}
.contact-info {
  max-width: 400px;
}

/* === LEGAL PAGES / FOOTER === */
.legal {
  background: #FAF9F7;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(35,77,56,0.04);
}
footer {
  background: #234D38;
  color: #fff;
  padding: 38px 0 16px 0;
  margin-top: 48px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 38px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  margin-bottom: 6px;
}
.footer-nav a {
  color: #9EB29C;
  font-family: 'Montserrat', serif;
  font-size: 1.01rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  font-size: 1rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-contact a {
  color: #fff;
  text-decoration: underline;
}
footer p {
  margin-bottom: 3px;
}

/* === BUTTONS & INTERACTIVES === */
button {
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  background: #234D38;
  color: #fff;
  padding: 12px 22px;
  transition: background 0.2s, color 0.16s;
}
button:hover, button:focus {
  background: #9EB29C;
  color: #234D38;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #234D38;
  padding: 26px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  box-shadow: 0 -2px 18px rgba(35,77,56,0.07);
  z-index: 9000;
  justify-content: space-between;
  gap: 28px;
  font-family: 'Roboto', serif;
  font-size: 1.07rem;
  transition: transform 0.38s cubic-bezier(0.5,0,0,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 20px;
}
.cookie-banner button,
.cookie-banner .cookie-btn {
  padding: 8px 20px;
  border-radius: 30px;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  margin: 0;
  background: #234D38;
  color: #fff;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .cookie-btn.settings {
  background: #9EB29C;
  color: #fff;
}
.cookie-banner .cookie-btn:hover {
  background: #F6F3EF;
  color: #234D38;
}
.cookie-banner .cookie-btn.reject {
  background: #B93333;
}
.cookie-banner .cookie-btn.reject:hover,
.cookie-banner .cookie-btn.reject:focus {
  background: #7D2020;
  color: #fff;
}

/* === COOKIE CONSENT MODAL === */
.cookie-modal-backdrop {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,77,56,0.28);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  animation: fade-in 0.25s;
}
@keyframes fade-in {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 40px 32px 32px 32px;
  box-shadow: 0 8px 60px rgba(35,77,56,0.18);
  max-width: 400px;
  display: flex;
  flex-direction: column;
  z-index: 10000;
}
.cookie-modal h2 {
  font-family: 'Montserrat', serif;
  color: #234D38;
  margin-bottom: 18px;
  font-size: 1.32rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #E2DEDA;
  font-size: 1.1rem;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 31px; height: 19px;
  background: #E2DEDA;
  border-radius: 14px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-modal .cookie-toggle:checked {
  background: #9EB29C;
}
.cookie-modal .cookie-toggle:before {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 15px; height: 15px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.19s;
  box-shadow: 0 1px 5px rgba(35,77,56,0.08);
}
.cookie-modal .cookie-toggle:checked:before {
  left: 14px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.cookie-modal button {
  background: #234D38;
  color: #fff;
  border: none;
  min-width: 74px;
  border-radius: 24px;
  padding: 8px 20px;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  transition: background 0.18s, color 0.16s;
}
.cookie-modal button:hover {
  background: #9EB29C;
  color: #234D38;
}

/* === FORMS & INPUTS (FOR CONTACT PAGE) === */
input, textarea, select {
  font-family: 'Roboto', serif;
  border: 1px solid #E2DEDA;
  border-radius: 7px;
  padding: 10px 14px;
  background: #FAF9F7;
  color: #234D38;
  margin-bottom: 18px;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #9EB29C;
  outline: none;
}
label {
  display: block;
  margin-bottom: 7px;
  font-family: 'Montserrat', serif;
  color: #234D38;
}

/* === PROCESS OVERVIEW & VALUE/ASSURANCE LISTS === */
.process-overview ol, .process-overview ul, .value-explanation ul, .assurance ul, .services-detail ul {
  margin: 12px 0 16px 26px;
  font-size: 1.07rem;
}
.process-overview li, .value-explanation li, .assurance li, .services-detail li {
  margin-bottom: 12px;
}

/* === CONFIRMATION SECTION === */
.confirmation {
  background: #F6F3EF;
  border-radius: 24px;
  box-shadow: 0 2px 28px rgba(35,77,56,0.07);
}
.confirmation h1 {
  color: #234D38;
}

/* === MEDIA QUERIES – RESPONSIVE === */
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
  .feature-grid > div, .service-cards > div, .service-list > div, .case-list > div, .team-members > div {
    min-width: 180px;
    padding: 22px 10px;
  }
}
@media (max-width: 900px) {
  .main-nav { gap: 10px; }
  .footer-nav { gap: 12px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 0 10px 12px;
  }
  .main-nav { display: none; }
  .cta-btn { margin-left: 0; }
  .mobile-menu-toggle { display: block; }
  .footer-contact { font-size: 0.97rem; }
  .section, section { padding: 30px 8px; margin-bottom: 42px; }
  .feature-grid, .service-cards, .service-list, .case-list, .team-members {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .service-cards > div, .service-list > div, .case-list > div, .team-members > div {
    min-width: 100%;
    max-width: 100%;
    padding: 18px 10px;
  }
  .contact-details { flex-direction: column; gap: 18px; }
  footer .container { flex-direction: column; gap: 18px; padding: 0 8px; }
  .testimonial-slider { flex-direction: column; gap: 10px; }
  .content-grid { flex-direction: column; gap: 12px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .cta { border-radius: 14px; }
  .testimonials { padding: 28px 6px; border-radius: 12px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 21px 12px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.55rem; }
  .hero .content-wrapper { gap: 12px; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }
  .cta-btn, button { font-size: 0.98rem; padding: 10px 16px; }
}

/* === SCROLLBAR STYLING FOR ELEGANCE === */
::-webkit-scrollbar {
  width: 10px;
  background: #F6F3EF;
}
::-webkit-scrollbar-thumb {
  background: #E2DEDA;
  border-radius: 16px;
}

/* ===== MICRO-INTERACTIONS, SHADOWS, ANIMATION ===== */
.cta-btn, button, .main-nav a, .mobile-nav a, .footer-nav a {
  transition: background 0.18s, color 0.13s, box-shadow 0.18s, border 0.12s;
}
.card, .feature-grid > div, .service-cards > div, .service-list > div, .testimonial-card, .case-list > div {
  transition: box-shadow 0.22s, border 0.16s;
}
.card:hover, .feature-grid > div:hover, .service-cards > div:hover, .service-list > div:hover, .testimonial-card:hover, .case-list > div:hover {
  box-shadow: 0 10px 42px rgba(35,77,56,0.13);
  border-color: #9EB29C;
}

/* === Z-INDEX SAFETY FOR MENUS/BANNERS === */
header, .mobile-menu, .cookie-banner, .cookie-modal-backdrop, .cookie-modal { z-index: 1000; }

/* === PRINT FRIENDLY === */
@media print {
  header, footer, .cookie-banner, .cookie-modal, .mobile-menu { display:none !important; }
  .section, section { margin-bottom: 16px !important; padding: 0 !important; }
}

/* === END STYLE === */
