/* DreamHaven Reinigung – style.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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #FAFAFA;
  color: #252525;
}
*, *::before, *::after {
  box-sizing: inherit;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  outline: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}

/* =========================
   TYPOGRAPHY
============================ */
@import url('https://fonts.googleapis.com/css?family=Montserrat:600,700|Open+Sans:400,600&display=swap');
:root {
  --primary: #235B4E;
  --secondary: #B7E3DA;
  --accent: #FAFAFA;
  --dark-text: #232323;
  --muted-grey: #F4F4F1;
  --muted-green: #5D7972;
  --border-radius: 14px;
  --shadow: 0 4px 24px rgba(35, 91, 78, 0.07);
  --shadow-card: 0 2px 10px rgba(35,91,78,0.08);
  --transition: all 0.2s cubic-bezier(.4,0,.2,1);
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: var(--accent);
  color: var(--dark-text);
  line-height: 1.7;
  font-weight: 400;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', Georgia, serif;
  color: var(--primary);
  letter-spacing: .01em;
  font-weight: 700;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; line-height: 1.1; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.15; }
h3 { font-size: 1.25rem; margin-bottom: 14px; color: var(--muted-green); }
h4, h5, h6 { font-size: 1rem; }
p {
  margin-bottom: 1em;
}
strong { font-weight: 700; }
.subheadline {
  font-size: 1.25rem;
  color: var(--muted-green);
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 24px;
}

/* =========================
   CONTAINER & SECTION LAYOUTS
============================ */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   HEADER & NAVIGATION
============================ */
header {
  background: var(--accent);
  border-bottom: 1px solid #e1e3e1;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
header img {
  max-height: 46px;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 1rem;
}
.main-nav a {
  opacity: 0.88;
  font-weight: 600;
  padding: 4px 4px;
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--muted-green);
  background: #eef8f5;
}
.main-nav .cta-button {
  margin-left: 20px;
}

/* =========================
   CTA BUTTONS
============================ */
.cta-button {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  border-radius: 24px;
  padding: 11px 36px;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: bold;
  letter-spacing: .03em;
  font-size: 1.125rem;
  box-shadow: 0 2px 12px rgba(35,91,78,0.06);
  text-align: center;
  border: none;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  min-width: 180px;
  margin-top: 8px;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--muted-green);
  color: #fff;
  box-shadow: 0 6px 32px rgba(35,91,78,0.15);
  transform: translateY(-2px) scale(1.025);
}

/* =========================
   FLEXBOX COMMON LAYOUTS (MANDATORY)
============================ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
  margin-bottom: 20px;
  flex: 1 1 320px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #e3e7e6;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 10px 38px rgba(35,91,78,0.12);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 32px 20px 28px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 28px rgba(35,91,78,0.07);
  border-left: 5px solid var(--secondary);
  margin-bottom: 24px;
  min-width: 260px;
  max-width: 510px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 38px rgba(35,91,78,0.17);
}
.testimonial-card p {
  color: var(--dark-text);
  font-size: 1.10rem;
  font-family: 'Open Sans', serif;
  font-style: italic;
}
.testimonial-meta {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  margin-top: 6px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

/* Feature Grids (mandated) */
.feature-grid, .feature-list, .service-list, .benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.feature-grid li, .feature-list li, .service-list li, .benefit-grid > div {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  flex: 1 1 260px;
  min-width: 220px;
  padding: 24px 22px 22px 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.05rem;
  color: var(--dark-text);
}
.feature-grid li img, .feature-list li img, .benefit-grid > div img {
  width: 36px;
  height: 36px;
  margin-right: 12px;
}

.benefit-grid {
  gap: 28px;
}
.benefit-grid > div {
  padding: 26px 18px 22px 24px;
  align-items: flex-start;
  min-height: 118px;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin: 32px 0 26px 0;
}
.client-logos img {
  filter: grayscale(1) contrast(0.9);
  opacity: 0.72;
  transition: opacity 0.18s;
  width: 82px;
  height: auto;
}
.client-logos img:hover {
  opacity: 1;
}

/* =========================
   HERO SECTION
============================ */
.hero {
  background: linear-gradient(88deg, #FFFFFF 83%, var(--secondary) 100%);
  padding: 54px 0 44px 0;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 18px;
}
.hero p.subheadline {
  font-size: 1.22rem;
  color: var(--muted-green);
  margin-bottom: 16px;
}

/* =========================
   TESTIMONIALS & SLIDER
============================ */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 24px;
}

/* =========================
   PRICING TABLE
============================ */
.pricing-table {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  margin: 24px 0 30px 0;
  overflow: auto;
  border: 1px solid #e3e7e6;
}
.pricing-table th, .pricing-table td {
  padding: 16px 18px;
  text-align: left;
  font-size: 1.02rem;
  color: var(--dark-text);
}
.pricing-table th {
  font-family: 'Montserrat', serif;
  background: #F7FAF9;
  color: var(--muted-green);
  white-space: nowrap;
  border-bottom: 2px solid #B7E3DA;
}
.pricing-table tr {
  border-bottom: 1px solid #ececec;
}
.pricing-table tr:last-child {
  border-bottom: none;
}

/* =========================
   FAQ ACCORDION (simple open)
============================ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-accordion dt {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.10rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  padding: 12px 0 6px 0;
  transition: color 0.2s;
}
.faq-accordion dd {
  margin-left: 0;
  padding-left: 8px;
  color: var(--muted-green);
  font-size: 1rem;
  padding-bottom: 8px;
}
.faq-accordion dt:hover,
.faq-accordion dt:focus {
  color: var(--muted-green);
}

/* =========================
   CONTACT INFO STYLES
============================ */
.contact-info-list, .content-wrapper ul, .footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}
.contact-info-list li, .content-wrapper ul li, .footer-col ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.05rem;
}
.contact-info-list img, .content-wrapper ul li img, .footer-col ul li img {
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

/* =========================
   FOOTER
============================ */
footer {
  background: var(--primary);
  color: #fff;
  padding: 56px 0 0 0;
  margin-top: 72px;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.footer-col {
  flex: 1 1 222px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  font-size: 1rem;
}
.footer-col h3 {
  color: #E6FFF6;
  font-size: 1.08rem;
  font-family: 'Montserrat', Georgia, serif;
  margin-bottom: 10px;
}
.footer-col a, .footer-col ul li a {
  color: #E0FFF1;
  font-size: 1rem;
  opacity: 0.92;
  transition: color 0.19s, opacity 0.15s;
}
.footer-col a:hover, .footer-col ul li a:hover {
  color: #fff;
  opacity: 1;
}
.footer-col img {
  max-width: 54px;
  margin-bottom: 8px;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.13);
  padding: 22px 0 20px 0;
  color: #e2ece9;
  font-size: 0.93rem;
  letter-spacing: .01em;
}

/* =========================
   MOBILE MENU (Burger)
============================ */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  z-index: 41;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.14s;
}
.mobile-menu-toggle:hover {
  background: var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 99;
  transform: translateX(-100vw);
  transition: transform 0.3s cubic-bezier(.6,0,.2,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 0;
  box-shadow: 0 12px 48px rgba(35,91,78,0.12);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--primary);
  padding: 18px;
  background: none;
  border: none;
  cursor: pointer;
  align-self: flex-end;
  margin: 12px 12px 0 0;
  border-radius: 50%;
  transition: background 0.16s;
}
.mobile-menu-close:hover {
  background: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  padding: 34px 36px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.18rem;
  font-weight: bold;
  padding: 14px 0;
  border-bottom: 1px solid #DDEEE7;
  opacity: 0.97;
  transition: color 0.15s;
  touch-action: manipulation;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover {
  color: var(--muted-green);
  background: none;
}

/* =========================
   COOKIE CONSENT BANNER
============================ */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  color: var(--dark-text);
  border-top: 1px solid var(--secondary);
  box-shadow: 0 -3px 24px rgba(35,91,78,0.06);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px 14vw 24px 14vw;
  min-height: 92px;
  transition: transform 0.28s;
  font-size: 1rem;
  flex-wrap: wrap;
}
.cookie-consent-banner.hide {
  transform: translateY(100%);
}
.cookie-consent-banner p {
  flex: 1 1 220px;
  margin: 0;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-consent-btn, .cookie-settings-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  outline: none;
  border-radius: 22px;
  padding: 10px 27px;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.18s, transform 0.18s;
  margin-right: 0;
}
.cookie-consent-btn.reject {
  background: #DD6059;
}
.cookie-consent-btn.secondary, .cookie-settings-btn {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-consent-btn:hover, .cookie-settings-btn:hover {
  background: var(--muted-green);
  color: #fff;
  transform: scale(1.045);
}

/* =========================
   COOKIE PREFERENCES MODAL
============================ */
.cookie-modal-backdrop {
  position: fixed; left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(40,48,42,0.20);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 40px rgba(35,91,78,0.11);
  padding: 38px 36px;
  max-width: 420px;
  min-width: 0;
  width: 96vw;
  color: var(--dark-text);
  text-align: left;
  z-index: 4100;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.3s, opacity 0.3s;
  position: relative;
}
.cookie-modal.hide {
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
}
.cookie-modal-close {
  position: absolute;
  top: 8px; right: 10px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #5D7972;
  cursor: pointer;
  padding: 12px;
  border-radius: 50%;
  transition: background 0.15s;
}
.cookie-modal-close:hover {
  background: var(--secondary);
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-option-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-option-row label {
  flex: 1;
  font-size: 1rem;
}
.cookie-option-row input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: var(--primary);
}
.cookie-option-row .cookie-required {
  opacity: 0.6;
  font-size: .97rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  justify-content: flex-end;
}

/* =========================
   UTILITIES & ELEMENTS
============================ */
address, .address-map {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 20px 24px;
  margin-bottom: 20px;
}

/* Tables inside text sections */
.text-section table {
  margin: 18px 0 28px 0;
}
.text-section table th, .text-section table td {
  border: 1px solid #E2F0EC;
  padding: 12px 18px;
}

/* Responsive image sizing */
.address-map {
  margin-bottom: 18px;
}

/* =========================
   RESPONSIVE DESIGN (Mobile-first)
============================ */
@media (max-width: 1100px) {
  .footer-columns {
    gap: 24px;
  }
}
@media (max-width: 900px) {
  .footer-columns {
    flex-direction: column;
    gap: 22px;
  }
  .footer-col {
    min-width: 0;
    margin-bottom: 10px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.40rem; }
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .hero {
    padding: 36px 0 28px 0;
  }
  .container {
    padding: 0 9px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }
  .feature-grid, .feature-list, .service-list, .benefit-grid, .testimonial-slider, .testimonial-list, .client-logos {
    flex-direction: column;
    gap: 17px;
    align-items: stretch;
  }
  .footer-bottom {
    padding: 18px 0 16px 0;
    font-size: 0.92rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 540px) {
  .footer-col {
    padding-left: 6px;
    padding-right: 6px;
  }
  .footer-columns {
    gap: 14px;
  }
  .hero h1 { font-size: 1.3rem; }
  .section { padding: 13px 1px; margin-bottom: 18px; }
  .card, .feature-grid li, .benefit-grid > div, .testimonial-card {
    padding: 14px 8px 14px 13px;
  }
  .cta-button {
    padding: 9px 19px;
    min-width: 130px;
    font-size: 1rem;
  }
  .pricing-table th,
  .pricing-table td { padding: 10px 6px; font-size: .95rem; }
  .cookie-consent-banner {
    flex-direction: column;
    padding: 22px 8px;
    gap: 12px;
    justify-content: flex-start;
    font-size: .97rem;
  }
  .cookie-consent-banner p {
    min-width: 0;
    width: 100%;
  }
  .cookie-banner-actions {
    justify-content: flex-start;
    gap: 7px;
    flex-wrap: wrap;
  }
}

/* ========================
   MICRO-INTERACTIONS
=========================== */
.card, .feature-grid li, .benefit-grid > div, .testimonial-card, .pricing-table, address, .address-map {
  transition: box-shadow .21s, border .16s;
}
.card:hover, .feature-grid li:hover, .benefit-grid > div:hover {
  box-shadow: 0 10px 38px rgba(35,91,78,0.16);
}
.card:active, .feature-grid li:active, .benefit-grid > div:active {
  box-shadow: 0 4px 13px rgba(35,91,78,0.11);
}
.cta-button:focus, .cookie-consent-btn:focus, .cookie-settings-btn:focus {
  outline: 2px dashed var(--secondary);
  outline-offset: 2px;
}

/* =========================
   SPECIAL SPACING
============================ */
/* All content cards and sections get 20px margin between, as enforced by flex gap/margin-bottom above */
/* For .section, .card, .testimonial-card etc., margin-bottom and gap are set 20px+ by default */
