/* =============================
   CSS RESET & NORMALIZE RULES
============================= */
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;
  vertical-align: baseline;
  box-sizing: border-box;
  font: inherit;
}
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #FCFBF7;
}
body {
  background: #FCFBF7;
  color: #295741;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: none;
}
a {
  color: #295741;
  text-decoration: underline;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #7DA97D;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  padding-left: 4px;
  margin-bottom: 4px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #295741;
  line-height: 1.13;
  margin-bottom: 16px;
}
h1 {font-size: 2.5rem; margin-top: 0.5em;}
h2 {font-size: 2rem;}
h3 {font-size: 1.4rem;}
h4 {font-size: 1.2rem;}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #345a42;
}
strong, b {
  font-weight: 700;
  color: #295741;
}
small {font-size: 0.92em; color: #547664;}
address {
  font-style: normal;
  color: #547664;
}
/* ===============
   COLOR PALETTE
=============== */
:root {
  --primary: #295741;
  --secondary: #C3DBB5;
  --accent: #F5F3EB;
  --pastel-lime: #D3E3C3;
  --pastel-pink: #F6D6D6;
  --pastel-lavender: #E5E6FA;
  --pastel-aqua: #DAF5F0;
  --pastel-yellow: #FFFAE3;
  --grey-100: #FCFBF7;
  --grey-200: #F5F3EB;
}

/* =====================
   LAYOUT CONTAINERS
===================== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 14px rgba(44,87,65,0.08);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.24s, transform 0.22s;
}
.card:hover { box-shadow: 0 8px 24px rgba(41,87,65,0.16); transform: translateY(-2px) scale(1.015); }
.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;
  background: #fffbe9;
  color: #295741;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(100,130,102,0.10);
  padding: 20px;
  margin: 0 0 20px 0;
  font-size: 1.08em;
  transition: box-shadow 0.24s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px 0 rgba(41, 87, 65, .10);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
  margin-bottom: 20px;
}
.icon-row {
  display: flex;
  gap: 32px;
  margin: 18px 0;
  align-items: center;
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  padding: 36px 0 0 0;
  border-top: 1.5px solid #D3E3C3;
}
.footer-cols > div, .footer-cols nav {
  flex: 1 1 210px;
}
.footer-cols nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.footer-note {
  text-align: center;
  font-size: 0.98em;
  color: #547664;
  padding: 20px 0 6px;
}

/* ============
   HEADER
============ */
header {
  background: linear-gradient(90deg, #D3E3C3 0%, #F6D6D6 100%);
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  padding: 14px 0 14px 0;
  position: relative;
  z-index: 40;
}
header > a img {
  height: 50px; width: auto;
  margin-left: 0;
}
header nav {
  display: flex;
  gap: 23px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #295741;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 9px;
  transition: background 0.19s, color 0.19s;
}
header nav a:hover, header nav a:focus {
  background: #C3DBB5;
  color: #285045;
}
.cta-button {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg,#F6D6D6,#DAF5F0);
  color: #295741;
  border: none;
  border-radius: 14px;
  padding: 11px 32px;
  font-size: 1.18rem;
  font-weight: 700;
  box-shadow: 0 3px 16px 0 rgba(41,87,65,0.06);
  cursor: pointer;
  margin-left: 24px;
  margin-right: 8px;
  transition: background 0.22s, box-shadow 0.22s, transform 0.17s;
  outline: none;
  text-decoration: none;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg,#C3DBB5, #E5E6FA);
  color: #285045;
  box-shadow: 0 5px 20px 0 rgba(41,87,65,0.13),0 1.5px 5px 0 rgba(189,199,187,0.11);
  transform: translateY(-1px) scale(1.04);
}

/* ========== 
   HERO
=========== */
.hero-section {
  background: linear-gradient(100deg, #FFFAE3 10%, #E5E6FA 100%);
  padding: 60px 0 50px;
  margin-bottom: 46px;
  border-radius: 0 0 64px 64px;
  box-shadow: 0 18px 60px 0 rgba(255,248,238,0.32);
  position: relative;
  overflow: hidden;
}
.hero-section h1 {
  color: #295741;
  font-size: 2.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 12px;
}
.hero-section h2 {
  color: #547664;
  font-size: 1.36rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.hero-section p {
  font-size: 1.09rem;
  margin-bottom: 19px;
  color: #295741;
}

/* ==============
  MAIN SECTIONS
============== */
.intro-section, .about-story-section, .howto-section, .tips-section, .examples-section, .case-studies-section, .contact-form-section, .info-section, .legal-section, .services-section, .pricing-section, .values-section, .feature-overview-section, .services-grid-section, .cta-section, .cta-final-section, .confirmation-section, .moebel-section, .garten-section, .textil-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 3px 22px 0 rgba(44,87,65,0.045);
}
.values-section, .feature-overview-section {
  background: #F5F3EB;
}
.feature-overview-section .icon-row img {
  height: 48px;
  width: 48px;
}

/* =============
   TABLES
============ */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  margin: 24px 0 16px 0;
  border-radius: 16px;
  box-shadow: 0 1.5px 7px 0 rgba(185,200,180,0.11);
  font-size: 1rem;
  overflow: hidden;
}
table th, table td {
  padding: 14px 18px;
  text-align: left;
}
table th {
  background: #D3E3C3;
  color: #295741;
  font-weight: 700;
  border-bottom: 2.5px solid #C3DBB5;
}
table td {
  border-bottom: 1px solid #F6D6D6;
  color: #345a42;
}
/* Remove border on last row */
table tr:last-child td {
  border-bottom: none;
}

/* ===============
   TEXT SECTION
=============== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section h2, .text-section h3 {
  margin-bottom: 7px;
}
.text-section p {
  margin-bottom: 9px;
}

/* ===============
   MOBILE MENU
=============== */
.mobile-menu-toggle {
  background: #fff;
  color: #295741;
  border: none;
  font-size: 2.25rem;
  padding: 5px 13px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.19s;
  display: none;
  outline: none;
  z-index: 50;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #C3DBB5;
  color: #285045;
  box-shadow: 0 2px 8px #C3DBB5;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(90deg, #F6D6D6 60%, #DAF5F0 100%);
  box-shadow: 0 4px 60px 0 rgba(41,87,65,0.17);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  background: transparent;
  color: #295741;
  border: none;
  font-size: 2rem;
  position: absolute;
  top: 22px;
  right: 22px;
  cursor: pointer;
  outline: none;
  z-index: 1001;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #9EAD8D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 85px;
  gap: 22px;
  padding-left: 36px;
}
.mobile-nav a {
  color: #295741;
  text-decoration: none;
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 12px 6px;
  border-radius: 9px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C3DBB5;
  color: #40504a;
}

/* ================
  COOKIES BANNER
================ */
.cookie-banner {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: #fffbe9;
  border-radius: 16px;
  box-shadow: 0 2px 20px 2px rgba(41,87,65,0.09);
  padding: 21px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1200;
  min-width: 320px;
  max-width: 94vw;
  font-size: 1rem;
  align-items: flex-start;
  opacity: 1;
  transition: opacity 0.28s, bottom 0.33s cubic-bezier(.8,0,.18,1);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  bottom: -80px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  background: #C3DBB5;
  color: #295741;
  border: none;
  border-radius: 10px;
  padding: 9px 21px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, transform 0.13s;
}
.cookie-btn.accept {
  background: #295741;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #43946B;
  color: #fff;
}
.cookie-btn.reject {
  background: #F6D6D6;
  color: #295741;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #E5E6FA;
  color: #295741;
}
.cookie-btn.settings {
  background: #E5E6FA;
  color: #295741;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #D3E3C3;
  color: #295741;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  z-index: 1500;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 5px 34px rgba(41,87,65,0.14);
  padding: 34px 30px;
  min-width: 300px;
  max-width: 97vw;
  opacity: 1;
  transition: opacity 0.33s, top 0.34s cubic-bezier(.88,0,.18,1);
  display: none;
}
.cookie-modal.open {
  display: block;
  animation: modalIn 0.44s cubic-bezier(.8,0,.2,1);
}
@keyframes modalIn {
  0% { opacity: 0; top: 65%; }
  100% { opacity: 1; top: 50%; }
}
.cookie-modal-close {
  background: transparent;
  color: #295741;
  border: none;
  font-size: 2rem;
  position: absolute;
  top: 12px;
  right: 14px;
  cursor: pointer;
  outline: none;
}
.cookie-modal h2 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.cookie-settings-list {
  margin: 15px 0;
  padding: 0;
  list-style: none;
}
.cookie-settings-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 16px;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 21px;
  background: #D3E3C3;
  border-radius: 11px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-toggle:checked {
  background: #295741;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1.5px 5px #AFBEA3;
  position: absolute;
  left: 2px;
  top: 1.5px;
  transition: left 0.17s;
}
.cookie-toggle:checked:before {
  left: 16px;
}
.cookie-modal .cookie-btn {
  margin-top: 10px;
}

/* ================
   FOOTER
================= */
footer {
  background: #D3E3C3;
  border-radius: 36px 36px 0 0;
  box-shadow: 0px -8px 36px 0px #d9e7d0d4;
  padding: 0 0 12px 0;
  margin-top: 70px;
}
footer img {
  height: 48px;
  margin-bottom: 18px;
  margin-right: 4px;
}
footer a {
  color: #295741;
  text-decoration: underline;
}
footer a:hover, footer a:focus {
  color: #7DA97D;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .footer-cols { flex-direction: column; gap: 10px; }
  .footer-cols nav, .footer-cols > div { min-width: 0; width: 100%; }
}
@media (max-width: 800px) {
  header nav { gap: 16px; }
  .feature-grid, .content-grid { gap: 16px; }
  .icon-row { gap: 18px; }
}
@media (max-width: 768px) {
  body, html {
    font-size: 15px;
  }
  header {
    padding: 10px 0 10px 0;
  }
  .hero-section {
    border-radius: 0 0 34px 34px;
    padding-top: 34px;
    padding-bottom: 26px;
    margin-bottom: 30px;
  }
  .footer-cols { flex-direction: column; gap: 10px; }
  .section, .intro-section, .about-story-section, .howto-section, .tips-section, .examples-section, .case-studies-section, .contact-form-section, .info-section, .legal-section, .services-section, .pricing-section, .values-section, .feature-overview-section, .services-grid-section, .cta-section, .cta-final-section, .confirmation-section, .moebel-section, .garten-section, .textil-section {
    padding: 24px 6px;
    margin-bottom: 36px;
    border-radius: 10px;
  }
  .content-wrapper {
    gap: 10px;
  }
  .feature-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .icon-row { gap: 10px; }
}
@media (max-width: 650px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  .footer-cols {
    padding: 16px 0 0 0;
  }
}
@media (max-width: 620px) {
  .container {
    padding: 0 3vw;
  }
  .hero-section { padding-left: 0; padding-right: 0; }
  header nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    margin-left: auto;
  }
  .footer-cols nav {
    align-items: flex-start;
    width: 100%;
  }
}
@media (max-width: 540px) {
  .cookie-banner, .cookie-modal {
    min-width: 210px;
    padding: 12px 11px;
    font-size: .99em;
  }
}

/* ===================
   MICRO-INTERACTIONS
=================== */
input[type="checkbox"]:disabled {
  accent-color: #C3DBB5;
  background: #F6D6D6;
  border-radius: 3px;
  opacity: 0.8;
}

/* ================
   UTILITY CLASSES
================= */
.bg-pastel-lime { background: var(--pastel-lime); }
.bg-pastel-pink { background: var(--pastel-pink); }
.bg-pastel-lavender { background: var(--pastel-lavender); }
.bg-pastel-aqua { background: var(--pastel-aqua); }
.bg-pastel-yellow { background: var(--pastel-yellow); }

.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

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

/* ================================
   FLEXBOX-ONLY CRITICAL ALIGNMENT
================================ */
.features, .feature-grid, .content-grid, .card-container, .footer-cols, .icon-row, .testimonial-card, .text-image-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.text-image-section {
  align-items: center;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ============
   FORM FAKES
============ */
.contact-form-section ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 14px;
  padding: 0;
  list-style: none;
}

/* ===============
   VISUAL DETAILS
================ */
.card, .testimonial-card {
  border-radius: 16px;
}

/* Soft dreamy pastel backgrounds for callouts */
.cta-final-section, .cta-section {
  background: linear-gradient(90deg, #F6D6D6 60%, #E5E6FA 100%);
  box-shadow: 0 1px 12px 0 rgba(217, 231, 208, .06);
  border: none;
}
.cta-final-section .cta-button, .cta-section .cta-button {
  margin-top: 6px;
}

/* --------------
   SPECIAL CASES
--------------- */
.confirmation-section, .main .confirmation-section, .main .cta-final-section {
  text-align: center;
  align-items: center;
}

/* ============
   PRINT SAFE
=========== */
@media print {
  header, .mobile-menu, .cta-button, .cookie-banner, .cookie-modal, footer {
    display: none !important;
  }
}
