/* BlazeGutter Wohnwelten – Modern Bold CSS (Flexbox Only)
   Author: Senior CSS Developer
   Updated: 2024-06
   Brand Colors: #2D3F50 / #669983 / #F7E7DA
   Fonts: Montserrat (display), Roboto (body)
*/

/* ----- RESET & BASE ----- */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #2D3F50;
  background: #fff;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  vertical-align: middle;
  display: block;
}
a {
  color: #2D3F50;
  text-decoration: none;
  transition: color 0.2s;
}
ul {
  list-style: none;
}
b, strong {
  font-weight: 700;
}

/* ----- CUSTOM FONTS ----- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;700&display=swap');
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.5px;
  color: #2D3F50;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 700;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #2D3F50;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}

/* ----- SPACING & CONTAINERS ----- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
}
.text-section {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* ----- HEADER & NAVIGATION ----- */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(45,63,80,0.06);
}
.flex-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: #2D3F50;
  padding: 6px 4px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #66998322;
  color: #669983;
}
.nav-cta {
  background: #2D3F50;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-size: 1rem;
  padding: 11px 33px;
  border-radius: 32px;
  box-shadow: 0 4px 24px 0 rgba(45,63,80,0.13);
  margin-left: 16px;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  border: none;
  outline: none;
}
.nav-cta:hover, .nav-cta:focus {
  background: #669983;
  color: #2D3F50 !important;
  box-shadow: 0 8px 32px 0 rgba(102,153,131,0.17);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #2D3F50;
  cursor: pointer;
  margin-left: 20px;
  z-index: 140;
}

/* ----- MOBILE MENU ----- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #2D3F50;
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.55,0,0.12,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 32px 32px 0 0;
  cursor: pointer;
  z-index: 141;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #669983;
}
.mobile-nav {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0;
  align-items: stretch;
  padding: 0 48px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 20px 0 20px 0;
  border-bottom: 1px solid #66998333;
  transition: color 0.18s, background 0.18s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F7E7DA;
  background: rgba(102,153,131,0.08);
}

/* ----- HERO / CTA STYLES ----- */
.main-cta {
  display: inline-block;
  background: #669983;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  border: none;
  border-radius: 32px;
  padding: 15px 42px;
  margin-top: 20px;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 32px 0 rgba(45,63,80,0.07);
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
  cursor: pointer;
}
.main-cta:hover, .main-cta:focus {
  background: #2D3F50;
  color: #F7E7DA !important;
  box-shadow: 0 12px 40px 0 rgba(45,63,80,0.18);
}

/* ----- LISTS (Features/Benefits/Services/Bullets) ----- */
.feature-grid,
.content-wrapper > ul,
.text-section > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 0;
}
.feature-grid li,
.content-wrapper > ul > li,
.text-section > ul > li {
  background: #fff;
  border: 2.5px solid #F7E7DA;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(45,63,80,0.09);
  padding: 24px 18px 20px 18px;
  flex: 1 1 300px;
  min-width: 240px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: border-color 0.2s, box-shadow 0.19s;
  position: relative;
}
.feature-grid li img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}
.feature-grid li:hover, .feature-grid li:focus,
.content-wrapper > ul > li:hover, .content-wrapper > ul > li:focus {
  border-color: #669983;
  box-shadow: 0 8px 32px 0 rgba(102,153,131,0.11);
}
.text-section > ul > li {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0 0 0 34px;
  position: relative;
  min-width: unset;
  max-width: unset;
  margin-bottom: 8px;
  font-weight: 500;
  color: #2D3F50;
}
.text-section > ul > li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 10px;
  border-radius: 40%;
  background: #669983;
}

/* ----- CARD CONTAINERS AND CARDS ----- */
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 22px 0 rgba(45,63,80,0.09);
  border: 2px solid #F7E7DA;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.16s, border-color 0.17s;
}
.card:hover, .card:focus {
  box-shadow: 0 10px 36px 0 rgba(45,63,80,0.13);
  border-color: #669983;
}

/* ----- TESTIMONIALS ----- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  border-radius: 18px;
  background: #F7E7DA;
  color: #2D3F50;
  font-size: 1.12rem;
  box-shadow: 0 4px 28px 0 rgba(102,153,131,0.07);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 540px;
  font-style: normal;
  border-left: 7px solid #669983;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 32px 0 rgba(45,63,80,0.11);
  border-color: #2D3F50;
}
.testimonial-card strong, .testimonial-card span {
  display: block;
  margin-top: 12px;
  font-weight: 800;
  color: #2D3F50;
  font-size: 1.01rem;
  letter-spacing: 0.01em;
}
.rating-summary {
  margin-top: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #669983;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.03em;
}

/* ----- FOOTER ----- */
footer {
  background: #2D3F50;
  color: #fff;
  padding: 56px 0 24px 0;
  margin-top: 80px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
}
.footer-content img {
  width: 60px;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: 0.02em;
  opacity: 0.95;
  border-radius: 4px;
  padding: 6px 5px;
  transition: background 0.12s, color 0.14s, opacity 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #66998333;
  color: #F7E7DA;
  opacity: 1;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 0.98rem;
  color: #F7E7DA;
  opacity: 0.92;
}

/* ----- COOKIE CONSENT BANNER ----- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 2000;
  background: #2D3F50;
  color: #fff;
  border-top: 5px solid #669983;
  padding: 24px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  box-shadow: 0 -2px 40px 0 rgba(45,63,80,0.12);
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookiebanner-slidein 0.5s cubic-bezier(0.55,0,0.12,1);
}
@keyframes cookiebanner-slidein {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: white;
  margin: 0;
  font-size: 1.08rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  outline: none;
  border-radius: 24px;
  padding: 10px 24px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.14s, box-shadow 0.2s;
}
.cookie-banner .accept {
  background: #669983;
  color: #fff;
  box-shadow: 0 3px 16px 0 rgba(102,153,131,0.13);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #F7E7DA;
  color: #2D3F50;
}
.cookie-banner .reject {
  background: #fff;
  color: #2D3F50;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #F7E7DA;
  color: #669983;
}
.cookie-banner .settings {
  background: #2D3F50;
  color: #F7E7DA;
  border: 2px solid #669983;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #669983;
  color: #fff;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2010;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(45,63,80,0.58);
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fadein 0.26s cubic-bezier(0.65,0,0.16,1);
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes cookie-modal-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 420px;
  width: 96vw;
  padding: 32px 30px 25px 30px;
  box-shadow: 0 8px 44px 0 rgba(45,63,80,0.14);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 {
  color: #2D3F50;
  font-size: 1.26rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  font-size: 1.04rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2D3F50;
  font-weight: 700;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #669983;
  width: 21px;
  height: 21px;
  border-radius: 6px;
}
.cookie-modal .category-essential {
  opacity: 0.54;
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 18px;
  background: none;
  border: none;
  color: #2D3F50;
  font-size: 2.1rem;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #669983;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 18px;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 22px;
  border: none;
  padding: 10px 22px;
  font-size: 0.98rem;
  transition: background 0.15s, color 0.13s;
}
.cookie-modal-actions .save {
  background: #669983;
  color: #fff;
}
.cookie-modal-actions .save:hover, .cookie-modal-actions .save:focus {
  background: #2D3F50;
  color: #F7E7DA;
}
.cookie-modal-actions .cancel {
  background: #fff;
  color: #2D3F50;
  border: 2px solid #F7E7DA;
}
.cookie-modal-actions .cancel:hover, .cookie-modal-actions .cancel:focus {
  background: #F7E7DA;
  color: #669983;
}


/* ----- VISUALS: SHADOWS, ROUNDS, GEOMETRY ----- */
section, .card, .testimonial-card,
.feature-grid li,
footer, .cookie-modal {
  border-radius: 18px;
}

/* Geometric accent shapes (deco use) */
.geoshape {
  display: block;
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

/* ----- GENERAL BUTTON STYLES ----- */
button, .button, .main-cta {
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border: none;
  outline: none;
  border-radius: 999px;
  transition: background 0.18s, color 0.16s, box-shadow 0.18s;
  user-select: none;
}
button:focus-visible, a:focus-visible {
  outline: 3px solid #669983;
  outline-offset: 3px;
}

/* ----- FORM & INPUT (Kontaktdaten) ----- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 2px solid #66998377;
  border-radius: 8px;
  padding: 11px 13px;
  margin-bottom: 14px;
  width: 100%;
  max-width: 440px;
  background: #fff;
  color: #2D3F50;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #669983;
}

/* ----- GEOMETRY: SECTION DIVIDERS (if desired decorative lines) ----- */
.divider {
  height: 4px;
  border-radius: 2px;
  background: #669983;
  width: 62px;
  margin: 24px 0;
}

/* ----- RESPONSIVE DESIGN (FLexbox rules, mobile-first) ----- */
/* --- Mobile First --- */
.flex-header,
.footer-content,
.card-container,
.card-grid,
.content-grid,
.feature-grid,
.content-wrapper {
  flex-direction: column;
  gap: 20px;
}
.main-nav, .footer-nav {
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.content-wrapper {
  margin-top: 14px;
}

/* --- Tablets & up (min 768px) --- */
@media (min-width: 768px) {
  .flex-header {
    flex-direction: row;
    gap: 32px;
  }
  .main-nav, .footer-nav {
    flex-direction: row;
    gap: 28px;
    align-items: center;
  }
  .content-wrapper,
  .card-container,
  .card-grid,
  .content-grid,
  .feature-grid {
    gap: 28px;
  }
  .section {
    padding: 48px 24px;
    margin-bottom: 72px;
  }
  .footer-content {
    flex-direction: row;
    gap: 44px;
    align-items: flex-start;
    justify-content: space-between;
  }
  .testimonial-card {
    gap: 28px;
    max-width: 620px;
  }
}

/* --- Desktop (min 1024px) --- */
@media (min-width: 1024px) {
  .feature-grid {
    gap: 32px;
  }
  .testimonial-card {
    min-width: 340px;
  }
  .section {
    margin-bottom: 80px;
    padding: 56px 0;
  }
}

/* Hamburger visible on mobile only */
@media (max-width: 1023px) {
  .main-nav,
  .nav-cta {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1024px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  .main-nav, .nav-cta {
    display: flex;
  }
}

/* ----- FLEX LAYOUTS FOR MANDATORY SECTIONS ----- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .container {
    padding: 0 10px;
  }
}

/* ----- LINKS & INTERACTIVE STATES ----- */
a:focus, button:focus, .main-cta:focus {
  outline: 2.5px solid #669983;
  outline-offset: 2px;
}
a:hover, .footer-nav a:hover, .footer-nav a:focus {
  color: #669983;
  text-decoration: none;
}

/* ----- Animations ----- */
.main-cta, button, .nav-cta {
  transition: background 0.19s, color 0.16s, box-shadow 0.18s, transform 0.13s;
}
.main-cta:active, .nav-cta:active, button:active {
  transform: translateY(2px) scale(0.96);
}

/* ----- CATEGORY OVERVIEW ----- */
.categories-overview {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #669983;
  margin-top: 18px;
  font-size: 1.07rem;
}

/* ----- COLORED ACCENT BOXES (e.g. FAQ, Tips) ----- */
.accent-box {
  background: #F7E7DA;
  border-radius: 16px;
  padding: 18px 26px;
  color: #2D3F50;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* ----- SELECTION ----- */
::selection {
  background: #66998333;
  color: #2D3F50;
}

/* ----- OVERLAY / MODALS GENERIC ----- */
.overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(45,63,80,0.22);
  z-index: 1600;
}

/* ----- ADDITIONAL CONTROL FOR MICRO-INTERACTIONS----- */
input[type="checkbox"]:focus {
  outline: 2px solid #669983;
  outline-offset: 1px;
}
input[type="checkbox"] {
  accent-color: #669983;
}

/* ----- ACCESSIBILITY ----- */
.sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ----- PRINT OVERRIDE (hide mobile nav) ----- */
@media print {
  .mobile-menu, .mobile-menu-toggle,
  .main-nav, .nav-cta, .cookie-banner,
  .cookie-modal-overlay {
    display: none !important;
  }
}

/* ----- END ----- */
