/* ---------------------------------------
   CSS RESET & BASE STYLES
-----------------------------------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #FFF7EB;
  color: #363E46;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 1rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #363E46;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #ACBEA3;
  outline-offset: 2px;
}
strong, b {
  font-weight: 600;
}
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}
ul {
  list-style: disc inside;
}
ol {
  list-style: decimal inside;
}
blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  background: #F5F5F2;
  border-left: 4px solid #ACBEA3;
  color: #363E46;
  font-style: italic;
  border-radius: 8px;
}

/*----------------------------------------
  COLORS & TYPOGRAPHY
------------------------------------------*/
:root {
  --primary: #363E46;
  --secondary: #ACBEA3;
  --accent: #FFF7EB;
  --white: #fff;
  --light-grey: #F5F5F2;
  --shadow: rgba(54,62,70,0.08);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #363E46;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.12;
  margin-bottom: 1rem;
}
h2 {
  font-size: 1.75rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
p, li, span {
  font-family: 'Roboto', Arial, sans-serif;
}
p {
  margin-bottom: 1.1rem;
}

/*-----------------------------
  SPACING & LAYOUT
------------------------------*/
.container {
  width: 100%;
  max-width: 1220px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 24px var(--shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.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: var(--light-grey);
  border-radius: 14px;
  box-shadow: 0 2px 10px var(--shadow);
  margin-bottom: 20px;
  color: #363E46;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.case-study {
  background: var(--light-grey);
  border-radius: 12px;
  margin-bottom: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tip-box {
  background: #E9F3E3;
  border-left: 4px solid #ACBEA3;
  border-radius: 8px;
  padding: 16px 24px;
  margin-bottom: 20px;
  color: #363E46;
}
.style-checklist {
  background: var(--white);
  border-radius: 8px;
  padding: 12px 20px;
  margin-bottom: 18px;
  border: 1px solid #E0E6DE;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--white);
  border: 1px solid #E0E6DE;
  border-radius: 8px;
  box-shadow: 0 1px 8px var(--shadow);
  padding: 20px;
}
.contact-cta {
  background: #E9F3E3;
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 16px;
}
.confirmation {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}
.next-steps {
  margin-top: 12px;
  text-align: left;
  background: #F5F5F2;
  border-radius: 8px;
  padding: 18px 22px;
}

/* Hero & CTA Banner -------------------------------------*/
.hero {
  background: var(--white);
  padding: 56px 0 44px 0;
  display: flex;
  align-items: center;
  margin-bottom: 36px;
}
.hero h1 {
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  color: #4C545C;
  margin-bottom: 24px;
}
.cta-banner {
  background: var(--secondary);
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-banner .primary-cta {
  background: var(--primary);
  color: var(--white);
  font-size: 1.15rem;
}

/* Header & Navigation -----------------------------------*/
header {
  background: #fff;
  border-bottom: 1px solid #E0E6DE;
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
header img {
  height: 46px;
  margin-right: 28px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  padding: 7px 0;
  position: relative;
  font-size: 1.05rem;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:not(.primary-cta):hover, .main-nav a:not(.primary-cta):focus {
  background: var(--secondary);
  color: var(--white);
}
.primary-cta {
  background: var(--secondary);
  color: var(--primary);
  padding: 11px 26px;
  border-radius: 28px;
  font-size: 1.1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px var(--shadow);
  border: none;
  cursor: pointer;
  border: 2px solid transparent;
  display: inline-block;
}
.primary-cta:hover,
.primary-cta:focus {
  background: var(--primary);
  color: var(--white);
  border-color: var(--secondary);
  box-shadow: 0 4px 22px var(--shadow);
}

/* Hamburger menu -------------------*/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--primary);
  cursor: pointer;
  margin-left: 18px;
}

/* Mobile Menu Overlay -------------*/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(54,62,70,0.97);
  z-index: 100;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.57,0.01,0.49,0.98);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--white);
  background: none;
  border: none;
  padding: 16px 28px 16px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  align-items: flex-start;
  gap: 0;
  margin-top: 18px;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  padding: 20px 32px;
  width: 100%;
  transition: background 0.16s, color 0.16s;
  border-bottom: 1px solid #4C545C;
  letter-spacing: 0.01em;
}
.mobile-nav a.primary-cta {
  background: var(--secondary);
  color: var(--primary);
  margin-top: 12px;
  text-align: center;
  border-radius: 26px;
  border-bottom: none;
  font-size: 1.1rem;
  width: 80%;
  margin-left: 10%;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--primary);
  color: var(--secondary);
}


/* Responsive Navigation ------------*/
@media (max-width: 1020px) {
  .main-nav {
    gap: 15px;
  }
}
@media (max-width: 900px) {
  .main-nav a {
    font-size: 0.98rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 12px;
  }
  .hero {
    padding: 38px 0 24px 0;
  }
}


/* Section Layout & Features -----------------*/
.features ul,
.services ul,
.values ul,
.showroom-info ul,
.benefits ul,
.ideas ul,
.hours ul,
.contact-details ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  flex-direction: row;
}
.features ul li,
.services ul li,
.values ul li,
.showroom-info ul li,
.benefits ul li,
.ideas ul li,
.hours ul li,
.contact-details ul li {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 22px 20px 18px 20px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 220px;
  max-width: calc(33% - 16px);
}
.features ul li img,
.services ul li img,
.values ul li img,
.showroom-info ul li img {
  height: 35px;
  width: 35px;
  margin-bottom: 5px;
}
@media (max-width: 950px) {
  .features ul li,
  .services ul li,
  .values ul li,
  .showroom-info ul li,
  .benefits ul li {
    max-width: 100%;
    flex: 1 1 45%;
  }
  .features ul,
  .services ul {
    gap: 14px;
  }
}
@media (max-width: 630px) {
  .features ul,
  .services ul,
  .values ul,
  .showroom-info ul,
  .benefits ul,
  .ideas ul,
  .hours ul,
  .contact-details ul {
    flex-direction: column;
    gap: 14px;
  }
  .features ul li,
  .services ul li,
  .values ul li,
  .showroom-info ul li,
  .benefits ul li {
    min-width: 0;
    width: 100%;
    padding: 18px 16px 14px 16px;
  }
}

.process-steps {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  justify-content: flex-start;
}
.process-step {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 22px 22px 22px;
  box-shadow: 0 2px 8px var(--shadow);
  min-width: 200px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 190px;
  text-align: center;
}
.process-step img {
  margin-bottom: 12px;
  height: 38px;
}
@media (max-width: 760px) {
  .process-steps,
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .process-step {
    max-width: 100%;
    width: 100%;
    padding: 20px 14px 18px 14px;
  }
}

/* Testimonials ------------------------------*/
.testimonials {
  background: var(--light-grey);
  padding: 44px 0;
  margin-bottom: 52px;
}
.testimonials .testimonial-card {
  background: var(--white);
  border: 1px solid #E0E6DE;
  box-shadow: 0 2px 14px var(--shadow);
  margin-bottom: 20px;
  align-items: flex-start;
  gap: 22px;
  color: #262D34;
  position: relative;
}
.testimonials .testimonial-card img {
  height: 36px;
  margin-right: 6px;
}
.testimonials .testimonial-card strong {
  color: #617960;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: auto;
  margin-top: 0;
  /* ensures last in flex row */
}


/* Footer ----------------------------------------*/
footer {
  background: var(--primary);
  color: var(--white);
  font-size: 0.98rem;
  padding: 32px 0 20px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  gap: 22px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--secondary);
  font-size: 0.97rem;
  transition: color 0.18s;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.contact-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  color: var(--white);
}
.contact-info img {
  height: 21px;
  width: 21px;
  margin-right: 3px;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 6px;
}
.social-links a img {
  height: 22px;
  width: 22px;
  opacity: 0.80;
  transition: opacity 0.18s, filter 0.18s;
  filter: grayscale(60%);
}
.social-links a:hover img {
  opacity: 1;
  filter: none;
}
@media (max-width: 600px) {
  .footer-nav {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .contact-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* Contact Page ------------------------------------------*/
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.contact-details ul li {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  display: flex;
  align-items: center;
}
.contact-details ul li img {
  margin-right: 10px;
  height: 24px;
}
.map-snippet {
  background: var(--light-grey);
  border-radius: 8px;
  padding: 13px 18px;
  margin: 13px 0;
  color: #363E46;
}
.hours ul li,
.showroom-info ul li {
  display: flex;
  align-items: center;
  gap: 9px;
  background: none;
  box-shadow: none;
  padding: 3px 1px 3px 0;
}
.showroom-info ul li a {
  color: var(--secondary);
  font-weight: 500;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  text-decoration: underline;
  transition: color 0.15s;
}
.showroom-info ul li a:hover, .showroom-info ul li a:focus {
  color: var(--primary);
}

/* Legal Page --------------------------------------------*/
.legal {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 34px 20px;
  margin: 40px 0 60px 0;
}

/* Media Queries: Responsiveness -------------------------*/
@media (max-width: 980px) {
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.28rem; }
  .section, .confirmation, .hero { padding: 22px 6px; }
  .card {
    padding: 16px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.02rem; }
  body { font-size: 0.98rem; }
  .cta-banner {
    padding: 14px 0;
  }
}


/* Micro-interactions + Transitions ---------------------*/
.card, .card-content, .testimonial-card, .cta-banner, .tip-box, .case-study, .faq-item {
  transition: box-shadow 0.17s, background 0.17s, border 0.17s;
}
.card:hover, .case-study:hover, .faq-item:hover, .testimonial-card:hover {
  box-shadow: 0 6px 22px rgba(54,62,70,0.12);
}
.primary-cta {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border-color 0.18s;
}

/* Cookie Consent Banner -------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 1.5px solid #ACBEA3;
  box-shadow: 0 -2px 16px rgba(54,62,70,0.11);
  z-index: 1500;
  padding: 18px 20px 16px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  animation: slideUpBanner 0.33s ease-in;
}
@keyframes slideUpBanner {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 350px;
  color: #363E46;
  font-size: 1rem;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  padding: 8px 20px;
  border-radius: 22px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  background: #E9F3E3;
  color: #363E46;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.14s;
  margin-left: 0;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--primary);
  color: var(--white);
}
.cookie-btn.reject {
  background: #FFD9D2;
  color: #363E46;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F8A09A;
  color: var(--white);
}
.cookie-btn.settings {
  background: #fff;
  color: #363E46;
  border: 1.5px solid #ACBEA3;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F5F5F2;
  color: var(--primary);
}
@media (max-width:600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.97rem;
    padding: 12px 8px 10px 8px;
  }
  .cookie-banner-buttons {
    flex-direction: column;
    gap: 6px;
  }
}

/* Cookie Preference Modal -------------------*/
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(54,62,70,0.44);
  z-index: 1600;
  animation: fadeinBackdrop 0.18s;
}
@keyframes fadeinBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: #fff;
  padding: 32px 32px 24px 32px;
  border-radius: 19px;
  box-shadow: 0 6px 28px var(--shadow);
  z-index: 1800;
  min-width: 300px;
  max-width: 98vw;
  width: 420px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: scaleinModal 0.26s;
}
@keyframes scaleinModal {
  from { transform: translate(-50%, -50%) scale(0.87); opacity: 0.7; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.32rem;
  margin-bottom: 4px;
}
.cookie-pref-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #F5F5F2;
  border-radius: 8px;
  padding: 10px 15px;
  margin-bottom: 7px;
}
.cookie-pref-category span.name {
  font-weight: 500;
  font-size: 1rem;
}
.cookie-pref-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
}
.toggle-switch {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #ccc;
  border-radius: 14px;
  position: relative;
  outline: none;
  transition: background 0.23s;
  cursor: pointer;
}
.toggle-switch:checked {
  background: var(--secondary);
}
.toggle-switch:disabled {
  background: #b3b3b3;
  cursor: not-allowed;
}
.toggle-switch:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.18s;
  box-shadow: 0 1px 4px rgba(54,62,70,0.10);
}
.toggle-switch:checked:before {
  left: 19px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}
@media (max-width:500px) {
  .cookie-modal {
    padding: 18px 7px 13px 7px;
    min-width: unset;
    width: 96vw;
  }
}

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

::-webkit-input-placeholder, ::placeholder {
  color: #999;
  opacity: 1;
}

/* Remove input autofill bg color in Chrome */
input:-webkit-autofill { box-shadow: 0 0 0 1000px #fff inset; }


/* Custom scrollbars for modern look */
html {
  scrollbar-width: thin;
  scrollbar-color: #ACBEA3 #F5F5F2;
}
::-webkit-scrollbar {
  width: 8px;
  background: #F5F5F2;
}
::-webkit-scrollbar-thumb {
  background: #ACBEA3;
  border-radius: 6px;
}

/* Disable absolute for card layout, only for possible icons (decorative) */

/* Ensure minimum 20px margin/gap between all content cards/sections */
.section > *:not(:last-child),
.content-wrapper > *:not(:last-child) {
  margin-bottom: 20px;
}

/* End of Scandinavian Clean CSS theme for Glimmer Möbelmanufaktur */
