/* =========================
   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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article,aside,details,figcaption,figure,footer,header,main,menu,nav,section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F8F8F5;
  color: #2A2E32;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  border: none;
  background: none;
  outline: none;
  box-sizing: border-box;
}

/* =========================
   BRAND FONTS (Google Fonts)
   ========================= */
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700&display=swap');

body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F8F8F5;
  color: #2A2E32;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #2A2E32;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.20;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  line-height: 1.3;
}
p, ul, ol, .text-section {
  font-size: 1rem;
  margin-bottom: 12px;
}
strong {
  font-weight: bold;
  color: #2A2E32;
}

/* =========================
   LAYOUT CONTAINER
   ========================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 0 0 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(44,38,28,0.05);
}

@media (max-width: 900px) {
  .section {
    padding: 32px 8px;
  }
  .container {
    padding: 0 6px;
  }
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  background: #fff;
  border-bottom: 1px solid #E3D7BB;
  position: sticky;
  top: 0;
  z-index: 888;
  box-shadow: 0 2px 6px 0 rgba(44,38,28,0.06);
}
header .container {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header img[alt="Wiener Moderne Möbelkunst"] {
  height: 48px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #2A2E32;
  padding: 6px 0;
  font-weight: 500;
  position: relative;
  transition: color 0.15s;
}
nav a:hover, nav a:focus {
  color: #C4B295;
}

.cta-btn {
  background: #2A2E32;
  color: #fff;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 30px;
  margin-left: 12px;
  border-radius: 25px;
  outline: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 14px 0 rgba(44,38,28,0.05);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.2s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #C4B295;
  color: #2A2E32;
  box-shadow: 0 6px 24px 0 rgba(196,178,149,0.10);
  transform: translateY(-1px) scale(1.03);
}

/* Hide mobile hamburger by default */
.mobile-menu-toggle {
  display: none;
}

/* =========================
   HERO & FLEX LAYOUTS
   ========================= */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(44,38,28,0.04);
  margin-bottom: 20px;
  padding: 28px 26px 24px 26px;
  flex: 1 1 270px;
  max-width: 355px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(196,178,149,0.11);
  transform: translateY(-4px) scale(1.02);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F8F8F5;
  border-radius: 10px;
  padding: 18px 18px 10px 18px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: #FAF6EE;
  border-left: 3px solid #C4B295;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(44,38,28,0.06);
  transition: box-shadow 0.18s, transform 0.16s;
  font-size: 1.1em;
  color: #2A2E32;
  min-width: 0;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #2A2E32;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  line-height: 1.6;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-size: 0.98em;
  color: #7D7461;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 20px 0 rgba(196,178,149,0.09);
  border-left: 3px solid #2A2E32;
}

.text-section {
  font-size: 1rem;
  color: #2A2E32;
}
.text-section ul {
  margin-bottom: 14px;
}
.text-section li {
  margin-bottom: 8px;
}

ul, ol {
  margin-bottom: 16px;
  padding-left: 20px;
}
ul li, ol li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 10px;
}
ul li::before {
  content: '\2022';
  color: #C4B295;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.text-section ul li::before {
  color: #E3D7BB;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #fff9ed;
  border-top: 1px solid #E3D7BB;
  margin-top: 90px;
  padding: 32px 0 22px 0;
  color: #2A2E32;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 26px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  font-size: 1rem;
  color: #7D7461;
  transition: color 0.13s;
  padding: 3px 0;
}
footer nav a:hover, footer nav a:focus {
  color: #2A2E32;
}
footer .contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.99rem;
  align-items: flex-start;
}
footer .contact-info img {
  width: 17px; height: 17px;
  margin-right: 6px;
  vertical-align: middle;
}
footer .contact-info p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
  color: #7D7461;
}

/* =========================
   ICONS (in-lists, contacts)
   ========================= */
ul li img, .text-section li img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: sub;
  filter: grayscale(40%) contrast(0.88);
}

/* =========================
   RESPONSIVE FLEXBOX
   ========================= */
@media (max-width: 1090px) {
  .card-container, .card-grid, .content-grid {
    gap: 16px;
  }
  .card {
    padding: 22px 12px;
    min-width: 170px;
    max-width: 450px;
  }
}
@media (max-width: 768px) {
  .container,
  .content-wrapper {
    padding: 0 4px;
  }
  .content-wrapper {
    gap: 14px;
  }
  nav {
    gap: 16px;
  }
  .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 11px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .feature-item {
    padding: 12px 10px 8px 10px;
    gap: 8px;
  }
  .section {
    margin-bottom: 34px;
    padding: 23px 4px;
  }
  header .container {
    padding-top: 4px;
    padding-bottom: 4px;
    min-height: 54px;
  }
  h1 {font-size: 1.6rem;}
  h2 {font-size: 1.23rem;}
  h3 {font-size: 1.06rem;}
}

/* =========================
   MOBILE NAVIGATION
   ========================= */
@media (max-width: 971px) {
  nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 16px;
    right: 22px;
    z-index: 901;
    font-size: 2.1rem;
    color: #2A2E32;
    background: transparent;
    border: none;
    padding: 4px 10px 4px 10px;
    border-radius: 12px;
    box-shadow: none;
    transition: background 0.15s;
    cursor: pointer;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #E3D7BB;
  }
}

.mobile-menu {
  position: fixed;
  z-index: 2001;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(243,239,232,0.985);
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.76,.01,.32,1), opacity 0.3s;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2rem;
  color: #2A2E32;
  position: absolute;
  top: 26px;
  right: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2022;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #faeec5;
}
.mobile-nav {
  margin-top: 94px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  width: 100%;
  padding-left: 42px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #2A2E32;
  padding: 10px 0;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  transition: color 0.16s, background 0.14s;
  border-radius: 6px;
  min-width: 60vw;
  display: inline-block;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: #C4B295;
  background: #f5ecdb;
}
@media (max-width: 480px) {
  .mobile-nav {
    gap: 14px;
    padding-left: 14px;
  }
  .mobile-menu-close {
    top: 18px; right: 12px;
  }
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffef8;
  color: #2A2E32;
  box-shadow: 0 0 22px rgba(44,38,28,0.10);
  border-top: 2px solid #E3D7BB;
  z-index: 3000;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(90px);
  transition: opacity 0.32s cubic-bezier(.76,.01,.32,1), transform 0.28s cubic-bezier(.33,.73,.45,1);
}
.cookie-banner.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 23px;
  border-radius: 20px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background-color 0.17s, color 0.17s, box-shadow 0.13s;
  margin: 0 2px;
}
.cookie-accept-btn {
  background: #C4B295;
  color: #fff;
}
.cookie-accept-btn:hover, .cookie-accept-btn:focus {
  background: #2A2E32;
  color: #fff;
}
.cookie-reject-btn {
  background: #E3D7BB;
  color: #2A2E32;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: #C4B295;
  color: #fff;
}
.cookie-settings-btn {
  background: transparent;
  border: 1.5px solid #C4B295;
  color: #2A2E32;
  padding: 9px 23px;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #faeec5;
  border-color: #2A2E32;
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(44,38,28,0.20);
  z-index: 3100;
}
.cookie-modal-backdrop.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fffef8;
  border-radius: 18px;
  border: 2px solid #E3D7BB;
  box-shadow: 0 6px 32px rgba(44,38,28,0.13);
  padding: 38px 32px 28px 32px;
  max-width: 420px;
  width: 96vw;
  z-index: 3150;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeInModal 0.36s cubic-bezier(.45,.85,.58,1.46);
}
@keyframes fadeInModal {
  from {opacity: 0; transform: translateY(60px);}
  to {opacity: 1; transform: translateY(0);}
}
.cookie-modal h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #2A2E32;
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 10px;
}
.cookie-modal li {
  font-size: 1rem;
  color: #2A2E32;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-switch {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-switch input[type=checkbox] {
  width: 32px; height: 18px;
  appearance: none;
  background: #E3D7BB;
  border-radius: 12px;
  transition: background 0.2s;
  position: relative;
  outline: none;
  margin-right: 0;
}
.cookie-switch input[type=checkbox]:checked {
  background: #C4B295;
}
.cookie-switch input[type=checkbox]::after {
  content: '';
  display: block;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.2s;
}
.cookie-switch input[type=checkbox]:checked::after {
  left: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 20px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: #2A2E32;
  cursor: pointer;
  border-radius: 8px;
  padding: 4px 12px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #E3D7BB;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
@media (max-width: 768px) {
  .cookie-modal {
    padding: 22px 8px 16px 8px;
  }
}

/* =========================
   MISC UTILITY & SPACING
   ========================= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-8 { margin-top:8px; }
.mt-16 { margin-top:16px; }
.mb-8 { margin-bottom:8px; }
.mb-16 { margin-bottom:16px; }
.gap-16 { gap: 16px; }
.gap-6 { gap: 6px; }

hr {
  border: 0;
  border-top: 1px solid #E3D7BB;
  margin: 24px 0;
}

/* =========================
   FORM ELEMENTS (basic)
   ========================= */
input, textarea {
  background: #F8F8F5;
  border: 1.5px solid #E3D7BB;
  border-radius: 6px;
  padding: 10px 12px;
  color: #2A2E32;
  margin-bottom: 12px;
  transition: border-color 0.14s, background 0.14s;
  width: 100%;
  font-size: 1.08rem;
}
input:focus, textarea:focus {
  background: #fff;
  border-color: #C4B295;
  outline: none;
}

label {
  font-size: 1rem;
  color: #2A2E32;
  font-weight: 500;
  margin-bottom: 7px;
  display: inline-block;
}

/* =========================
   TRANSITIONS & MICRO-ANIMATIONS
   ========================= */
a, button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close, .mobile-nav a {
  transition: background 0.18s, color 0.16s, box-shadow 0.17s, transform 0.14s;
}
section, .card, .testimonial-card, .feature-item {
  transition: box-shadow 0.19s, transform 0.14s;
}

/* =========================
   SCROLLBAR (Minimal/clean)
   ========================= */
::-webkit-scrollbar {
  width: 10px;
  background: #f6f3ea;
}
::-webkit-scrollbar-thumb {
  background: #E3D7BB;
  border-radius: 6px;
}

/* =========================
   PRINT SUPPORT (clean)
   ========================= */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-backdrop { display: none !important; }
  body { color: #2A2E32; background: #fff; }
}

/* ===============
   END OF CSS
   =============== */
