/* ========================================================================
   WohnArt Berater CSS – nature_organic Design (Flexbox Only)
   ---------------------------------------------------------------------- */

/* ========== 0. 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, main, 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;
}
html {
  line-height: 1.5;
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F7F6F2;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #23405E;
  background: #F7F6F2;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul,ol {
  list-style-position: inside;
}

/* ========== 1. CSS Variables & Color Palette ========== */
:root {
  --color-primary: #23405E;
  --color-secondary: #C9A06A;
  --color-accent: #F4F2ED;
  --color-earth-bg: #F7F6F2;
  --color-earth-dark: #355143;
  --color-green: #576D3D;
  --color-olive: #A6B283;
  --color-neutral: #E6E1D4;
  --color-danger: #B14D3C;
  --color-success: #568157;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;

  --shadow-card: 0 4px 16px 0 rgba(100,89,62,0.08);
}

/* ========== 2. Typography ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--color-earth-dark);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}
h4,h5,h6 {
  font-size: 1.1rem;
}
p, ul, ol {
  font-size: 1.04rem;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.7;
}
strong {
  color: var(--color-primary);
  font-weight: bold;
}
.text-section * {
  color: var(--color-earth-dark);
}

/* ========== 3. Container & Section Spacing ========== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.section, 
.features, 
.pricing, 
.warranty, 
.process, 
.team, 
.cta, 
.contact, 
.text-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 36px 36px 24px 24px / 30px 24px 36px 30px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
main > section:last-child { margin-bottom: 0; }
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ========== 4. Header & Navigation ========== */
header {
  width: 100%;
  background: var(--color-earth-bg);
  border-bottom: 1px solid var(--color-neutral);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 80px;
}
.logo img { height: 48px; transition: transform 0.24s; }
.logo:hover img { transform: scale(1.05) rotate(-2deg); }
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--color-green);
  transition: width 0.2s;
  border-radius: 2px;
  margin-top: 2px;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-green);
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}
.cta-button {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-green);
  border-radius: 99px 35px 82px 50px / 60px 45px 99px 55px;
  padding: 14px 32px;
  box-shadow: 0 2px 12px 0 rgba(88, 113, 81, 0.12);
  letter-spacing: 0.04em;
  margin-left: 20px;
  cursor: pointer;
  border: none;
  display: inline-block;
  transition: background 0.19s, transform 0.18s;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-secondary);
  color: var(--color-earth-bg);
  transform: translateY(-2px) scale(1.04);
}

.mobile-menu-toggle {
  font-size: 2.0rem;
  background: none;
  color: var(--color-green);
  border: none;
  margin-left: 5px;
  padding: 4px 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  display: none;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: #fff;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(34,64,94,0.92);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.6,0,.4,1);
  padding-top: 24px;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #fff;
  font-size: 2rem;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 20px 32px 12px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  margin-top: 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 40px;
  background: none;
  transition: background 0.18s, color 0.18s;
  min-width: 205px;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-earth-bg);
}

/* ========== 5. HERO Section ========== */
.hero {
  background: linear-gradient(142deg, #F4F2ED 60%, #D5E5C4 100%);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
  padding: 50px 20px 48px 20px;
  border-radius: 34px 40px 36px 24px / 34px 34px 56px 44px;
}
.hero .content-wrapper {
  max-width: 650px;
  margin: 0 auto;
  gap: 26px;
  align-items: flex-start;
}
.hero h1 {
  color: var(--color-green);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.hero p {
  color: var(--color-primary);
  font-size: 1.15rem;
}
.hero .cta-button {
  margin-top: 16px;
}

/* ========== 6. Section: Features, Solutions, etc. ========== */
.features {
  background: var(--color-accent);
  border-radius: 36px 36px 24px 24px / 30px 24px 36px 30px;
  box-shadow: var(--shadow-card);
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  width: 100%;
}
.feature-list li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  padding: 20px 22px;
  border-radius: 22px 36px 16px 32px / 22px 18px 34px 28px;
  box-shadow: 0 1.5px 10px 0 rgba(87,109,61,0.07);
  font-size: 1.03rem;
  color: var(--color-earth-dark);
  margin-bottom: 0;
  transition: box-shadow 0.18s, transform 0.15s;
  flex: 1 1 320px;
  min-width: 240px;
  max-width: 360px;
  position: relative;
}
.feature-list li img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.feature-list li:hover {
  box-shadow: 0 6px 32px 0 rgba(87,109,61,0.16);
  transform: translateY(-3px) scale(1.01);
}
.features ul:not(.feature-list){
  margin-left: 0;
  padding-left: 0;
  list-style-type: disc;
  margin-bottom: 0;
}
.features ul:not(.feature-list) li {
  margin-bottom: 10px;
  padding-left: 18px;
  font-size: 0.98rem;
  color: var(--color-primary);
}

/* ========== 7. Pricing Table ========== */
.pricing table {
  width: 100%;
  margin-bottom: 24px;
  border-spacing: 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1.5px 8px 0 rgba(87,109,61,0.04);
  overflow: hidden;
  font-size: 1.03rem;
  margin-top: 6px;
}
.pricing th, .pricing td {
  text-align: left;
  padding: 13px 18px;
}
.pricing th {
  background: var(--color-green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
}
.pricing tr:nth-child(even){background: var(--color-accent);}
.pricing tr:nth-child(odd){background: #fff;}
.pricing td {
  border-bottom: 1px solid var(--color-neutral);
  color: var(--color-earth-dark);
}
.pricing tr:last-child td {
  border-bottom: none;
}

/* ========== 8. Warranty (Garantie) Section ========== */
.warranty .guarantee-icons,
.warranty .guarantee-icons span {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 1.14rem;
  font-weight: bold;
  color: var(--color-green);
  margin-bottom: 18px;
}
.warranty .guarantee-icons img {
  width: 36px; height: 36px;
}
.warranty ul {
  margin-top: 0;
  padding-left: 0;
  list-style-type: disc;
}
.warranty ul li {
  color: var(--color-primary);
  margin-bottom: 10px;
  padding-left: 18px;
}

/* ========== 9. Team Section ========== */
.team-members {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.team-profile {
  background: #fff;
  border-radius: 26px 22px 30px 24px / 24px 30px 32px 18px;
  box-shadow: 0 2px 16px 0 rgba(34,64,94,0.08);
  padding: 18px 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  min-width: 220px;
  flex: 1 1 300px;
}
.team-profile img {
  width: 38px;
  height: 38px;
}
.team-profile strong {
  font-weight: 700;
  color: var(--color-earth-dark);
}

/* ========== 10. Testimonial Card ========== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 34px 26px 24px 32px / 30px 26px 40px 34px;
  box-shadow: 0 2px 24px 0 rgba(34,64,94,0.10);
  margin-bottom: 20px;
  position: relative;
  font-size: 1.12rem;
}
.testimonial-card p {
  color: var(--color-earth-dark);
  font-style: italic;
  flex: 1;
  margin-bottom: 0;
}
.testimonial-card span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-green);
}

/* ========== 11. Process (Ablauf) List ========== */
.process ol {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 20px;
  counter-reset: step;
  margin-bottom: 14px;
  padding-left: 0;
}
.process ol li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 24px 32px 36px 22px / 22px 42px 32px 30px;
  padding: 24px 22px;
  box-shadow: 0 1.5px 10px 0 rgba(87,109,61,0.07);
  font-size: 1.05rem;
  color: var(--color-primary);
  flex: 1 1 250px;
  min-width: 200px;
  max-width: 340px;
  position: relative;
}
.process ol li img {
  width: 32px; height: 32px;
}

/* ========== 12. Contact Section ========== */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin: 16px 0 22px 0;
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 18px 26px 16px 22px / 20px 20px 26px 18px;
  box-shadow: var(--shadow-card);
  padding: 9px 18px;
  font-size: 1.01rem;
  color: var(--color-earth-dark);
  min-width: 190px;
}
.contact-info img {
  width: 22px; height: 22px;
}
.text-section {
  margin-bottom: 36px;
}
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
}

/* ========== 13. Card, Card Grid, Feature Items (Flexbox Layouts) ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 28px 22px 32px 24px / 26px 32px 34px 22px;
  box-shadow: 0 2px 16px 0 rgba(100,89,62,0.07);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  min-width: 230px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 20px 20px 26px 16px / 16px 22px 28px 17px;
  box-shadow: 0 1.5px 10px 0 rgba(87,109,61,0.07);
  padding: 18px 14px;
}

/* ========== 14. Footer ========== */
footer {
  width: 100%;
  background: var(--color-earth-dark);
  color: #fff;
  padding: 48px 0 24px 0;
  border-top: 5px solid var(--color-secondary);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
.logo-footer img {
  height: 48px;
  filter: drop-shadow(0 2px 8px rgba(34,64,94,0.19));
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #fff;
  font-weight: 500;
  font-family: var(--font-display);
  transition: color 0.19s;
  font-size: 1.03rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  max-width: 900px;
  justify-content: center;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 18px;
  height: 18px;
}

/* ========== 15. Cookie Consent Banner ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #fff;
  box-shadow: 0 -2px 30px 6px rgba(34,64,94,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 26px 12px 22px 12px;
  border-radius: 36px 36px 0 0 / 30px 24px 0 0;
  flex-wrap: wrap;
  transition: transform 0.33s cubic-bezier(.65,0,.35,1);
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner__text {
  color: var(--color-primary);
  font-size: 1.08rem;
  max-width: 560px;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner__actions button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 44px 30px 44px 32px / 28px 25px 38px 35px;
  padding: 10px 24px;
  border: none;
  background: var(--color-green);
  color: #fff;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-banner__actions button.cookie-settings-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-banner__actions button.cookie-reject-btn {
  background: var(--color-danger);
}
.cookie-banner__actions button:hover, .cookie-banner__actions button:focus {
  filter: brightness(0.96) saturate(1.2);
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 3050;
  background: rgba(49,66,51,0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.25s;
  pointer-events: auto;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__inner {
  background: #fff;
  border-radius: 32px 42px 24px 36px / 22px 28px 26px 33px;
  box-shadow: 0 6px 32px 0 rgba(87,109,61,0.14);
  padding: 48px 28px;
  max-width: 420px;
  width: 95%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeInModal 0.25s 1;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.98) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.cookie-modal__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-green);
  font-weight: bold;
}
.cookie-modal__close {
  background: none;
  border: none;
  font-size: 1.9rem;
  color: var(--color-green);
  cursor: pointer;
  margin-left: 8px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 14px 0;
}
.cookie-modal__cat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-accent);
  border-radius: 16px;
  padding: 13px 18px;
  color: var(--color-primary);
  font-size: 1.03rem;
  box-shadow: 0 1.5px 6px 0 rgba(87,109,61,0.055);
}
.cookie-modal__cat-ess {
  opacity: 0.69;
}
.cookie-modal__actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal__actions button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 44px 30px 44px 32px / 28px 25px 38px 35px;
  padding: 10px 24px;
  border: none;
  background: var(--color-green);
  color: #fff;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-modal__actions button.cookie-cancel-btn {
  background: var(--color-danger);
}
.cookie-switch {
  width: 38px;
  height: 22px;
  background: var(--color-neutral);
  border-radius: 16px;
  position: relative;
  cursor: pointer;
}
.cookie-switch input[type="checkbox"] {
  display: none;
}
.cookie-switch-slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: var(--color-green);
  border-radius: 50%;
  transition: left 0.18s;
}
.cookie-switch input[type="checkbox"]:checked + .cookie-switch-slider {
  left: 18px;
  background: var(--color-secondary);
}

/* ========== 16. Micro-Interactions ========== */
button:not([disabled]):active,
.cta-button:active {
  transform: scale(0.96);
}

/* ========== 17. Responsive Design (Mobile First; Flexbox) ========== */
@media (max-width: 1024px) {
  .main-nav { gap: 14px; }
  .footer-contact { gap: 14px; max-width: 98vw; }
}
@media (max-width: 880px) {
  .container { max-width: 98vw; }
  .main-nav { gap: 9px; font-size: 0.98rem; }
  .hero .content-wrapper { max-width: 97vw; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.35rem; }
  .header .container, header .container {
    flex-direction: row;
    gap: 12px;
  }
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    z-index: 2010;
  }
  .feature-list, .process ol, .team-members {
    flex-direction: column;
    gap: 20px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .footer-nav, .footer-contact {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .footer-contact span {
    font-size: 0.96rem;
  }
  .section, .features, .pricing, .warranty, .process, .team, .cta, .contact, .text-section {
    margin-bottom: 34px;
    padding: 24px 8px;
    border-radius: 21px 18px 12px 22px;
  }
  .hero {
    padding: 28px 8px 28px 8px; border-radius: 21px 30px 28px 14px;
  }
  .testimonial-card, .card, .team-profile, .feature-item, .contact-info > div, .process ol li {
    border-radius: 19px 17px 15px 12px;
    padding: 12px 9px;
  }
  .cookie-modal__inner { padding: 28px 11px; }
}
@media (max-width: 540px) {
  html { font-size: 14px; }
  .container { padding: 0 4px; }
  .hero .content-wrapper,
  .content-wrapper { max-width: 98vw; }
  .footer-contact { font-size: 0.97rem; gap: 7px; }
}

/* ========== 18. Utilities: Spacing, Hide/Show, etc ========== */
.hide { display: none !important; }
.flex { display: flex; }
.gap-20 { gap: 20px; }

/* ========== 19. Additional Organic/Nature-Like Feel ========== */
.section, .hero, .features, .pricing, .warranty, .process, .team, .cta, .contact, .testimonial-card, .card, .feature-list li, .team-profile, .contact-info > div {
  background-image: url("../assets/bg-organic-texture.png"), linear-gradient(120deg, transparent, #e2decf33 90%);
  background-blend-mode: lighten;
  background-repeat: repeat;
}

/* Subtle shadows and border contrast */
.section, .hero, .features, .pricing, .warranty, .process, .team, .cta, .contact, .testimonial-card, .card, .feature-list li, .team-profile, .contact-info > div {
  box-shadow: var(--shadow-card);
  border: 1.5px solid var(--color-neutral);
}

/* Organic shapes: waves/irregulars (simulated with border-radius combinations) */

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

