/* ==========================================================================
   FLICKER MÖBELMANUFAKTUR – GEOMETRIC STRUCTURED STYLE
   Responsive, accessible, FLEXBOX-ONLY CSS (NO CSS GRID)
   Brand: #28323C, #8A7048, #F3F3EF | Fonts: Montserrat, Open Sans
   ========================================================================== */

/* RESET & NORMALIZATION */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  /* geometric structured base */
  background: #F3F3EF;
  color: #28323C;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #28323C;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.13;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.15;
}
p, ul, ol, blockquote {
  font-size: 1rem;
  margin-bottom: 16px;
}
ul, ol {
  padding-left: 20px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #8A7048;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.6,.04,.98,.335);
  font-weight: 600;
}
a:hover, a:focus {
  color: #28323C;
  outline: none;
}
strong {
  font-weight: 700;
}

/* FLEXBOX CONTAINER SYSTEMS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

/* SECTIONS & SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border: 2px solid #E3E5E8;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(40,50,60,0.04);
  transition: transform 0.2s cubic-bezier(.78,.32,.52,1.23), box-shadow 0.3s;
}
.card:hover, .card:focus {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 28px rgba(40,50,60,0.11);
  outline: none;
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 16px 18px 16px 18px;
}

/* BUTTONS & CTA */
.cta-btn, .button, button, input[type="submit"], .cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 40px;
  background: #28323C;
  color: #fff;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  box-shadow: 0 3px 16px 0 rgba(40,50,60,0.10);
  cursor: pointer;
  transition: background 0.18s cubic-bezier(.7,.2,.18,1.04), box-shadow 0.25s, color 0.18s;
}
.cta-btn:hover, .cta-btn:focus, .button:hover, .button:focus, button:hover, button:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: #8A7048;
  color: #fff;
  outline: 2px solid #28323C;
  box-shadow: 0 8px 28px rgba(138,112,72,0.11);
}

/* Header NAVIGATION */
header {
  background: #fff;
  border-bottom: 2px solid #E3E5E8;
  position: relative;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 28px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 4px 12px;
  border-radius: 8px;
  color: #28323C;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #8A7048;
  color: #fff;
}
.cta-btn {
  margin-left: 22px;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  padding: 9px 16px;
  font-size: 2rem;
  color: #28323C;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 13px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E3E5E8;
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #28323C;
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.6,.06,.2,1.01);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px 30px 30px 30px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  align-self: flex-end;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #8A7048;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 50px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1.5px solid #3f4752;
  transition: color 0.2s, border-bottom 0.18s;
  letter-spacing: 0.09em;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #8A7048;
  border-bottom: 2px solid #8A7048;
}

@media (max-width: 1024px) {
  header .container {
    gap: 14px;
  }
  .main-nav {
    gap: 14px;
  }
}

@media (max-width: 850px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    margin-right: 0;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* ========== PAGE STRUCTURE ========== */
.story, .text-section, .content-wrapper.text-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
}

/* USP/Feature lists */
ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style-type: disc;
}
ul li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
ul li img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-right: 0px;
}
ul li strong {
  color: #28323C;
  font-weight: 700;
}
ol {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style-type: decimal;
}

/* Testimonials */
.testimonial-card {
  background: #fff;
  border-radius: 20px;
  border: 2.5px solid #E3E5E8;
  box-shadow: 0 2px 10px 0 rgba(40,50,60,0.07);
  padding: 26px 30px 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  min-width: 0;
  max-width: 550px;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #28323C;
  border-left: 5px solid #8A7048;
  padding-left: 15px;
  margin-bottom: 6px;
  line-height: 1.4;
  quotes: "\201C""\201D""\2018""\2019";
}
.testimonial-card blockquote:before { content: open-quote; color: #8A7048; font-size: 1.5em; vertical-align: top; }
.testimonial-card blockquote:after { content: close-quote; color: #8A7048; font-size: 1.5em; vertical-align: bottom; }
.testimonial-card div {
  align-self: flex-end;
  font-size: 1rem;
  color: #8A7048;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-top: 0;
}

/* Footer */
footer {
  background: #28323C;
  color: #fff;
  font-size: 1rem;
  padding: 56px 0 40px 0;
  border-top: 3.5px solid #8A7048;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo img {
  width: 60px;
  height: auto;
}
.footer-nav,
.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a, .legal-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 4px;
  transition: color 0.18s, border-bottom 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus, .legal-nav a:hover, .legal-nav a:focus {
  color: #8A7048;
  border-bottom: 1.5px solid #8A7048;
}
.contact-summary {
  font-size: 0.97rem;
  color: #E3E5E8;
  margin-top: 8px;
  line-height: 1.8;
}

/* INFO SECTIONS & CARDS */
.card {
  background: #fff;
  border-radius: 18px;
  border: 2px solid #E3E5E8;
  box-shadow: 0 2px 10px 0 rgba(40,50,60,0.06);
  margin-bottom: 20px;
  padding: 20px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* GEO-SHAPES and VISUAL GAPS */
h1, h2, h3, .cta-btn, .button, .main-nav a, .footer-nav a, .legal-nav a {
  border-radius: 7px;
  /* a crisp, slightly angular radius to reinforce the geometric theme */
}

/* DECORATIVE GEOMETRIC STYLE ELEMENTS */
section {
  position: relative;
}
section::before {
  content: '';
  display: block;
  position: absolute;
  top: -16px;
  left: 32px;
  width: 40px;
  height: 7px;
  background: #8A7048;
  border-radius: 4px;
  z-index: 1;
}
section:first-of-type::before {
  display: none;
}

/* -- Hide section markers on small screens -- */
@media (max-width: 560px) {
  section::before {
    display: none;
  }
}

/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 22px 0;
}
th, td {
  border: 1px solid #E3E5E8;
  padding: 12px 10px;
  text-align: left;
}

/* Responsive TEXT-IMAGE SECTIONS */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* Responsive CONTAINER */
@media (max-width: 650px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Responsive Content Wrapper */
@media (max-width: 600px) {
  .content-wrapper, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  section {
    padding: 30px 0 30px 0;
  }
}

/* Responsive Footer */
@media (max-width: 770px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* Responsive HEADINGS */
@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.13rem; }
}

/* Responsive Testimonial Cards */
@media (max-width: 550px) {
  .testimonial-card {
    padding: 15px 11px 15px 14px;
  }
}

/* Miscellaneous */
.opening-hours,
.address-details,
.email-details,
.hours-details {
  font-size: 1rem;
  margin-bottom: 11px;
  color: #28323C;
}

/* COOKIE CONSENT BANNER & MODAL =========================================================================*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 15000;
  background: #fff;
  color: #28323C;
  border-top: 2.5px solid #8A7048;
  box-shadow: 0 -3px 22px rgba(40,50,60,0.11);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  animation: slideUpBanner 0.48s cubic-bezier(.41,1.45,.47,1.0);
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 320px;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn {
  margin: 0 3px;
  background: #8A7048;
  color: #fff;
  border: none;
  border-radius: 40px;
  font-size: 1rem;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(40,50,60,0.08);
  transition: background 0.17s, color 0.16s;
}
.cookie-btn--accept {
  background: #28323C;
  color: #fff;
}
.cookie-btn--reject {
  background: #fff;
  color: #8A7048;
  border: 1.5px solid #8A7048;
}
.cookie-btn--settings {
  background: #8A7048;
  color: #fff;
}
.cookie-btn:focus {
  outline: 2.5px solid #28323C;
}

/* Cookie PREFERENCES MODAL */
.cookie-modal__backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(40,50,60,0.60);
  z-index: 16001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeinCookieBackdrop 0.38s;
}
@keyframes fadeinCookieBackdrop {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #28323C;
  border-radius: 18px;
  border: 2.5px solid #8A7048;
  box-shadow: 0 8px 44px rgba(40,50,60,0.19);
  max-width: 380px;
  width: 95%;
  padding: 36px 25px 25px 25px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: scaleinCookie 0.32s cubic-bezier(.52,.11,.68,1.42);
}
@keyframes scaleinCookie {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1.0); opacity: 1; }
}
.cookie-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: #28323C;
  font-size: 1.9rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.16s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #E3E5E8;
}
.cookie-modal__section {
  border-bottom: 2px solid #E3E5E8;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.cookie-modal__section:last-child {
  border-bottom: none;
}
.cookie-modal-toggle {
  display: inline-block;
  width: 36px;
  height: 20px;
  background: #ccc;
  border-radius: 10px;
  position: relative;
  margin-left: 12px;
  vertical-align: middle;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-modal-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal-toggle .slider {
  position: absolute;
  content: '';
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.19s;
  box-shadow: 0 0.5px 3px rgba(40,50,60,0.08);
}
.cookie-modal-toggle input:checked + .slider {
  transform: translateX(16px);
  background: #8A7048;
}
.cookie-modal-toggle input:checked ~ .cookie-modal-toggle {
  background: #8A7048;
}

.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.cookie-modal-category strong {
  font-size: 1.08em;
}

/* Essential cookies switch disabled state */
.cookie-modal-category .cookie-modal-toggle[aria-disabled=true],
.cookie-modal-category .cookie-modal-toggle[aria-disabled=true] input{
  pointer-events: none;
  opacity: 0.72;
}

/* Responsive COOKIE CONSENT */
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 17px 7px;
    font-size: 0.96rem;
  }
}

/* ========== MISC/HELPER CLASSES ========== */
.text-center {
  text-align: center !important;
}
.mt-0 {margin-top: 0!important;}
.mt-2 {margin-top: 2px!important;}
.mt-8 {margin-top: 8px!important;}
.mb-0 {margin-bottom: 0!important;}
.mb-8 {margin-bottom: 8px!important;}
.mb-14 {margin-bottom: 14px!important;}
.gap-8 {gap: 8px !important;}
.gap-16 {gap: 16px !important;}

/* ========== ANIMATIONS & MICRO-INTERACTIONS ========== */
.cta-btn, .button, .cookie-btn {
  box-shadow: 0 2.5px 16px rgba(138,112,72,0.065);
  position: relative;
  overflow: hidden;
}
.cta-btn::after, .button::after, .cookie-btn::after {
  content: '';
  background: rgba(40, 50, 60, 0.07);
  position: absolute;
  width: 0; height: 0;
  left: 50%; top: 50%;
  border-radius: 50%;
  transition: width 0.4s, height 0.4s, opacity 0.4s;
  transform: translate(-50%,-50%);
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}
.cta-btn:active::after, .button:active::after, .cookie-btn:active::after {
  width: 220px;
  height: 220px;
  opacity: 0;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 8px;
  background: #F3F3EF;
}
::-webkit-scrollbar-thumb {
  background: #E3E5E8;
  border-radius: 5px;
}

/* ========== ACCESSIBILITY ==========*/
:focus {
  outline: 2px solid #8A7048 !important;
  outline-offset: 1px;
}

/* ========= TYPOGRAPHIC SCALE (fallback no clamp) ========= */
@media (max-width: 1024px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}

/* ========= PRINT ========= */
@media print {
  header, nav, footer, .mobile-menu, .cookie-banner, .cookie-modal__backdrop { display: none !important; }
  .container { max-width: 100% !important; }
  body { color: #000; background: #fff; }
}
