/* ============================================================
   Clearwave Bliss Renovierungen - NATURE ORGANIC STYLE
   Responsive, Accessibility-First, Flexbox-Only CSS
   Brand: Modern, nature-inspired, trustworthy, detail-loving
   ============================================================ */

/* === 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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  scroll-behavior: smooth;
  height: 100%;
  font-size: 16px;
}
body {
  min-height: 100vh;
  background: #F6F7F9; /* brand accent */
  color: #22303C; /* brand primary */
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #3B6146; /* deep organic green for text links */
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #55877F; /* accent muted green */
  text-decoration: underline;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #35513E; /* organic forest green for headings */
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #22303C;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 24px;
}
strong, b {
  color: #35513E;
  font-weight: bold;
}

/* === UTILITY FLEX CONTAINER === */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 18px;
  padding-right: 18px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* start, can override later */
  gap: 24px;
}

/* === ORGANIC SECTION LAYOUTS === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FEFEFE;
  border-radius: 40px 32px 48px 24px;
  box-shadow: 0 2px 12px 0 rgba(53,81,62,0.06);
}
@media (max-width: 600px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 32px;
    border-radius: 24px 18px 28px 10px;
  }
}

/* === FLEX GRID LAYOUTS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #F6F7F9;
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: 0 2px 16px 0 rgba(53,81,62,0.06);
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
  flex: 1 1 220px;
  /* Decorative leafy shadow on card bottom right */
  overflow: hidden;
}

.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: #F0F6F3;
  border-radius: 32px 18px 32px 18px;
  box-shadow: 0 4px 18px 0 rgba(34,48,60,0.08);
  margin-bottom: 24px;
  min-width: 260px;
  flex: 1 1 260px;
  position: relative;
  transition: transform 0.17s, box-shadow 0.17s;
  border: 1px solid #D6E1DB;
}
.testimonial-card:hover {
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 8px 24px 0 rgba(53,81,62,0.12);
}
.testimonial-card p {
  font-size: 1.15rem;
  color: #22303C;
  font-style: italic;
  margin: 0 0 8px 0;
}
.testimonial-card span {
  font-size: 1rem;
  color: #44654D;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F7FAF7;
  border-radius: 24px 18px 20px 18px;
  padding: 24px 18px;
  box-shadow: 0 2px 10px 0 rgba(56, 74, 61, 0.07);
  margin-bottom: 20px;
  flex: 1 1 210px;
  transition: box-shadow 0.19s, transform 0.19s;
}
.feature-item img {
  width: 46px;
  height: 46px;
}
.feature-item:hover {
  box-shadow: 0 6px 20px 0 rgba(67,105,81,0.13);
  transform: translateY(-4px) scale(1.018);
}

/* === RESPONSIVE FLEX SECTION GRIDS === */
.feature-grid, .features-grid, .step-grid, .contact-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .feature-grid, .features-grid, .step-grid, .contact-blocks {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .features-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .step-grid, .contact-blocks {
    flex-direction: column;
    gap: 14px;
  }
}

/* === HEADER NAVIGATION === */
header {
  background: #FEFEFE;
  border-bottom: 1.5px solid #E1E7E3;
  position: sticky;
  top: 0;
  z-index: 99;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.main-navigation {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-navigation a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #35513E;
  padding: 8px 12px;
  border-radius: 20px;
  transition: background 0.16s, color 0.16s;
  position: relative;
}
.main-navigation a:hover, .main-navigation a:focus {
  background: #EBF6ED;
  color: #22303C;
}

.cta-btn.primary {
  background: #44654D;
  color: #FEFEFE;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 32px 24px 32px 24px;
  padding: 12px 32px;
  border: none;
  margin-left: 18px;
  transition: background 0.16s, box-shadow 0.18s, transform 0.2s;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(67,105,81,0.10);
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #2D4731;
  box-shadow: 0 4px 16px 0 rgba(41,62,47,0.21);
  transform: scale(1.04);
}
.cta-btn.secondary {
  background: #EBF6ED;
  color: #35513E;
  border: 1.5px solid #A7BBAF;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 32px 24px 32px 24px;
  padding: 10px 24px;
  margin-left: 16px;
  transition: border 0.17s, color 0.13s, background 0.17s;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #D9EFDE;
  color: #22303C;
  border-color: #35513E;
}

a.cta-btn {
  display: inline-block;
  text-align: center;
}

/* === RESPONSIVE NAV === */
.mobile-menu-toggle {
  display: none;
  background: #E3EDE2;
  color: #35513E;
  font-size: 2rem;
  padding: 8px 14px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  z-index: 110;
  margin-left: 8px;
  transition: background 0.17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #C3DEC9;
}
.mobile-menu {
  display: none;
}
@media (max-width: 950px) {
  .main-navigation {
    display: none;
  }
  .cta-btn.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  min-height: 100vh;
  height: 100vh;
  background: #F2F5EE;
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 22px 22px 22px;
  transform: translateX(-100vw);
  transition: transform 0.45s cubic-bezier(.85,0,.13,1.02);
  box-shadow: 0 0 32px 0 rgba(53,81,62,0.08);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #C5E2C9;
  border: none;
  font-size: 2.2rem;
  border-radius: 10px;
  color: #35513E;
  margin-bottom: 16px;
  cursor: pointer;
  padding: 3px 16px 5px 16px;
  transition: background 0.15s, color 0.08s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #35513E;
  color: #FEFEFE;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.22rem;
  color: #35513E;
  padding: 12px 0;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.012em;
  width: 100%;
  transition: background 0.17s, color 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #D1E8DC;
  color: #22303C;
}
@media (min-width: 950px) {
  .mobile-menu {
    display: none !important;
  }
}

/* === HERO SECTIONS === */
.hero, .hero-services, .hero-process, .contact-hero, .thankyou {
  background: #D7E5DD;
  background-image: url('../assets/bg-organic-left.svg'), url('../assets/bg-organic-right.svg');
  background-repeat: no-repeat, no-repeat;
  background-position: left top, right bottom;
  border-radius: 0 0 72px 72px;
  padding: 70px 0 54px 0;
  margin-bottom: 44px;
}
.hero .content-wrapper, .hero-services .content-wrapper, .hero-process .content-wrapper,
.contact-hero .content-wrapper, .thankyou .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
@media (max-width: 600px) {
  .hero, .hero-services, .hero-process, .contact-hero, .thankyou {
    border-radius: 0 0 38px 38px;
    padding: 38px 0 30px 0;
  }
}

/* === SERVICES OVERVIEW SECTION === */
.services-overview, .contact-cta, .consult-cta, .personal-cta, .quick-contact, .contact-benefits {
  background: #F4FAF5;
  border-radius: 40px 32px 48px 24px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 14px 0 rgba(53,81,62,0.04);
}
@media (max-width: 600px) {
  .services-overview, .contact-cta, .consult-cta, .personal-cta, .quick-contact, .contact-benefits {
    border-radius: 18px 12px 22px 8px;
    padding: 22px 6px;
    margin-bottom: 28px;
  }
}

/* === ORGANIC BUTTONS (action, etc.) === */
button, .cta-btn {
  outline: none;
  box-shadow: none;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
button:focus-visible, .cta-btn:focus-visible {
  outline: 2.5px solid #7FBA9C;
  outline-offset: 2px;
}

/* === CARD & TILE LAYOUTS === */
.service-tiles .features-grid {
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-tiles .feature-item {
  flex-basis: calc(50% - 18px);
  margin-bottom: 18px;
}
@media (max-width: 900px) {
  .service-tiles .feature-item {
    flex-basis: 100%;
  }
}

/* === VALUES SECTIONS, LEGAL SECTIONS === */
.legal, .about, .quality-features, .values-features, .process-steps, .contact-data, .notice {
  background: #FEFEFE;
  border-radius: 30px 18px 30px 13px;
  padding: 36px 18px;
  margin-bottom: 44px;
}
@media (max-width: 600px) {
  .legal, .about, .quality-features, .values-features, .process-steps, .contact-data, .notice {
    padding: 18px 5px;
    border-radius: 10px 7px 12px 7px;
    margin-bottom: 18px;
  }
}

/* === CONTACT BLOCKS === */
.contact-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.contact-blocks > div {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #F4FAF5;
  border-radius: 17px;
  padding: 12px 10px;
  font-size: 1.05rem;
  min-width: 170px;
}
.contact-blocks a {
  text-decoration: underline dotted;
  color: #35513E;
  font-weight: 600;
}
.contact-blocks a:hover {
  color: #44654D;
}

.notice {
  background: #EDF6ED;
  color: #35513E;
  font-size: 1rem;
}

/* === FOOTER === */
footer {
  background: #1B2920;
  color: #E6EFE9;
  padding: 32px 0 14px 0;
  margin-top: 40px;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -2px 30px rgba(34,48,60,0.04);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  max-width: 1200px;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 12px;
}
.footer-navigation a {
  color: #B7D1C2;
  font-size: 1rem;
  padding: 8px 6px 8px 6px;
  border-radius: 12px;
  transition: background 0.17s, color 0.11s;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  background: #22303C;
  color: #E0FBE5;
}
footer a {
  color: #D7FAE2;
  font-size: 0.97rem;
  transition: color 0.13s, text-decoration 0.13s;
}
footer a:hover, footer a:focus {
  color: #A1F1B8;
  text-decoration: underline dotted;
}
.social-media {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}
.brand-description p {
  color: #A7BBAF;
  font-size: 0.97rem;
  font-style: italic;
}
footer small {
  display: block;
  color: #8BA39E;
  padding-top: 14px;
}

@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    gap: 12px;
    padding-bottom: 10px;
  }
  .footer-navigation {
    gap: 12px;
    margin-bottom: 4px;
  }
}

/* === MODAL AND COOKIE CONSENT === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #E1F4E7;
  color: #22303C;
  box-shadow: 0 0 24px 0 rgba(36,65,51,0.13);
  padding: 22px 16px 18px 16px;
  z-index: 300;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.4s cubic-bezier(.75,0,.24,1), opacity 0.4s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
}
.cookie-banner button {
  border-radius: 26px 18px 26px 18px;
  padding: 8px 24px;
  font-size: 1rem;
  margin-right: 0;
  font-weight: 600;
  transition: background 0.14s, color 0.16s;
}
.cookie-accept {
  background: #3B6146;
  color: #F6F7F9;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #2D4731;
}
.cookie-reject {
  background: #F7F7F7;
  color: #3B6146;
  border: 1.5px solid #A7BBAF;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #E0EFE5;
}
.cookie-settings {
  background: #DAE8E0;
  color: #22303C;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #C3DEC9;
}

/* Modal overlay & window */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 48, 60, 0.24);
  z-index: 320;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #FBFEFC;
  border-radius: 28px 18px 24px 18px;
  padding: 34px 26px;
  min-width: 300px;
  max-width: 98vw;
  box-shadow: 0 7px 32px rgba(34,48,60,0.12);
  z-index: 325;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInModal 0.33s cubic-bezier(.75,0,.18,1);
}
@keyframes fadeInModal {
  0% { transform: translateY(40px) scale(0.94); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.cookie-modal .category {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-modal .category label {
  font-size: 1rem;
  font-weight: 600;
}
.cookie-modal .cookie-switch {
  width: 38px;
  height: 20px;
  background: #DAE3D2;
  border-radius: 12px;
  position: relative;
  transition: background 0.13s;
  margin-right: 7px;
}
.cookie-modal .cookie-switch input[type="checkbox"] {
  display: none;
}
.cookie-modal .cookie-switch span {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #3B6146;
  border-radius: 50%;
  transition: left 0.13s, background 0.14s;
  pointer-events: none;
}
.cookie-modal .cookie-switch input[type="checkbox"]:checked + span {
  left: 20px;
  background: #98D7AC;
}
.cookie-modal .cookie-switch input[type="checkbox"]:disabled + span {
  background: #A7BBAF;
}
.cookie-modal .category-desc {
  font-size: 0.93rem;
  color: #44654D;
  margin-bottom: 6px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .modal-actions button {
  padding: 8px 22px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.7rem;
  color: #35513E;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.14s, color 0.15s;
}
.cookie-modal .modal-close:focus, .cookie-modal .modal-close:hover {
  background: #EBF6ED;
}

/* Hide native checkbox visually but keep it accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* === ORGANIC/NATURE DECORATIVE EFFECTS === */
.section {
  /* Subtle textured effect */
  background-image: url('../assets/organic-texture.png'); /* fallback to solid color if image missing */
  background-size: 320px;
  background-repeat: repeat;
}
@media (max-width: 700px) {
  .section {
    background-size: 160px;
  }
}

/* === ACCESSIBILITY === */
:focus {
  outline: 2px solid #7FBA9C;
  outline-offset: 2px;
}

/* === MISC UTILITY CLASSES === */
.hide { display: none !important; }
.flex { display: flex !important; }
.flex-center { display: flex !important; align-items: center; justify-content: center; }

/* === RESPONSIVENESS === */
@media (max-width: 950px) {
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 700px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
}
@media (max-width: 800px) {
  .content-wrapper, .card-container, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 950px) {
  .content-wrapper, .card-container, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 4px; padding-right: 4px;
  }
  .testimonial-card, .card {
    padding: 16px 8px;
  }
}

/* === SPACING & VISUAL HIERARCHY === */
.card:not(:last-child), .feature-item:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}
.section + .section {
  margin-top: 32px;
}
/* More breathing room at the top of main on non-mobile */
main {
  margin-top: 14px;
}

/* === INPUTS, FORMS (Contact, etc.) === */
input, textarea, select {
  padding: 10px 14px;
  border: 1.2px solid #A7BBAF;
  border-radius: 18px;
  font-size: 1rem;
  background: #F7FCFA;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 18px;
  transition: border-color 0.13s, background 0.09s;
}
input:focus, textarea:focus, select:focus {
  border: 1.6px solid #44654D;
  background: #F1F7F2;
}
label {
  display: block;
  margin-bottom: 5px;
  font-family: 'Montserrat', sans-serif;
  color: #35513E;
  font-weight: 600;
}

/* === TABLES === */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
th, td {
  padding: 14px 10px;
  border-bottom: 1px solid #E0EFE5;
}
th {
  background: #F7FAF7;
  color: #35513E;
  text-align: left;
}

/* === ANIMATIONS FOR MICRO-INTERACTIONS === */
.cta-btn, .feature-item, .testimonial-card, .card {
  transition: box-shadow 0.16s, transform 0.16s, background 0.18s;
}
.cta-btn:active {
  transform: scale(0.97);
}

/* === ORGANIC SHAPES: WAVY BOTTOM in HERO === */
.hero, .hero-services, .hero-process, .contact-hero, .thankyou {
  position: relative;
  overflow: hidden;
}
.hero::after, .hero-services::after, .hero-process::after, .contact-hero::after, .thankyou::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -1px; left: 0; width: 100%; height: 56px;
  background: url('../assets/wavy-bottom.svg') repeat-x;
  background-size: cover;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 600px) {
  .hero::after, .hero-services::after, .hero-process::after, .contact-hero::after, .thankyou::after {
    height: 32px;
  }
}

/* === END OF STYLE.CSS === */
