/* ===============================================================
   Scandinavian Clean – Blazar Möbelmanufaktur
   Modern, elegant, light, with natural accent (green), dark blue, soft accent backgrounds.
   Fonts: Montserrat (display), Roboto (body)
   =============================================================== */

/* ---------------------- 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, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.45;
  background: #F2F3F8;
  color: #233146;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  color: #233146;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus { color: #7B925E; }
ul, ol { padding-left: 24px; }
img { max-width: 100%; display: block; height: auto; border: 0; }
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
  transition: background 0.2s, color 0.2s;
}
:focus-visible { outline: 2px solid #7B925E; outline-offset: 2px; }

/* ---------------------- VARIABLES (with fallbacks) ----------------- */
:root {
  --color-primary: #233146;
  --color-secondary: #7B925E;
  --color-accent: #F2F3F8;
  --color-white: #fff;
  --color-light-gray: #edf0f6;
  --color-dark: #233146;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ------------------------- TYPOGRAPHY ----------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 16px; }
h4 { font-size: 1.125rem; }
p, li { font-size: 1rem; line-height: 1.7; color: #233146; }
strong { font-weight: bold; }
.subheadline {
  font-size: 1.2rem;
  color: var(--color-secondary);
  margin-bottom: 32px;
}
.testimonial-author {
  font-style: italic;
  color: var(--color-secondary);
  font-size: 0.96em;
  margin-top: 8px;
}

/* ----------------------- LAYOUT CONTAINERS ------------------------ */
.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.container {
  max-width: 1150px;
  margin: 0 auto;
  width: 100%;
  padding: 0 12px;
}
.content-wrapper {
  width: 100%;
}
.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;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 3px 14px rgba(35,49,70,0.04);
  margin-bottom: 20px;
  padding: 32px 24px;
  position: relative;
  flex: 1 1 350px;
  min-width: 260px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(35,49,70,0.09);
  transform: translateY(-4px) scale(1.01);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
  margin-bottom: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-white);
  border-radius: 15px;
  padding: 24px 18px 20px 18px;
  box-shadow: 0 2px 8px rgba(35,49,70,0.07);
  flex: 1 1 240px;
  min-width: 210px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.feature-item img {
  height: 36px; width: 36px; object-fit: contain;
}
.feature-item:hover {
  box-shadow: 0 4px 18px rgba(123,146,94,0.12);
  transform: translateY(-2px) scale(1.015);
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-item {
  background: var(--color-accent);
  border-radius: 12px;
  padding: 22px 18px;
  min-width: 220px;
  flex: 1 1 220px;
  box-shadow: 0 2px 7px rgba(35,49,70,0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}
.service-item img {
  height: 34px; width: 34px; margin-bottom: 6px;
}
.process-steps,
.process-steps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.process-step {
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 3px 12px rgba(35,49,70,0.04);
  padding: 22px 18px 20px 18px;
  min-width: 200px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.process-step img {
  height: 32px; width: 32px; margin-bottom: 4px;
}
.testimonials-preview,
.testimonials-section,
.team-section,
.why-choose-us-section {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(35,49,70,0.07);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
  flex: 1 1 100%;
}
.testimonial-card p {
  color: var(--color-dark);
  font-size: 1.05em;
  margin-bottom: 0;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(35,49,70,0.12);
  transform: translateY(-2px) scale(1.01);
}

/* -------------------------- HEADER ------------------------------- */
header {
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1.5px solid #edf0f6;
  position: relative;
  z-index: 109;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 24px;
}
.logo img {
  height: 38px;
  width: auto;
}
.main-navigation {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 1.07rem;
  margin-right: 16px;
}
.main-navigation a {
  color: var(--color-primary);
  position: relative;
  padding: 5px 4px;
  border-radius: 6px;
  transition: color 0.16s, background 0.18s;
}
.main-navigation a:hover, .main-navigation a:focus {
  color: var(--color-secondary);
  background: var(--color-accent);
}
.cta-btn {
  background: var(--color-secondary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 10px 28px;
  border-radius: 24px;
  letter-spacing: 0.02em;
  margin-left: 24px;
  margin-right: 12px;
  box-shadow: 0 2px 12px rgba(123,146,94,0.08);
  transition: background 0.2s, color 0.2s, transform 0.13s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #98b479;
  color: var(--color-white);
  transform: translateY(-2px) scale(1.03);
}
.mobile-menu-toggle {
  font-size: 2.1rem;
  color: var(--color-primary);
  background: transparent;
  padding: 2px 14px;
  border-radius: 8px;
  display: none;
  margin-left: 1em;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus { background: #e0e5ee; }

/* --------------- MOBILE NAV POPUP (FULL SCREEN MENU) -------------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(35,49,70,0.969);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.7,0,0.24,1);
  z-index: 9999;
  opacity: 0.99;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 30px 30px 0 0;
  font-size: 2.2rem;
  color: var(--color-white);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: var(--color-secondary); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 55px 0 0 38px;
  width: 75vw;
  max-width: 400px;
}
.mobile-nav a {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 10px;
  transition: background 0.17s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #495b6e;
  color: var(--color-secondary);
}

/* -------------- HERO SECTION (Startseite) -------------- */
.hero {
  background: linear-gradient(120deg, #f4f6fb 0%, #f1f5f3 100%);
  padding-top: 42px;
  padding-bottom: 42px;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  max-width: 800px;
  padding: 0 10px;
}
.hero h1 { font-size: 2.2rem; margin-bottom: 20px; }
@media (min-width: 600px) {
  .hero h1 { font-size: 2.8rem; }
  .hero .container { align-items: center; }
}
/* ---------- CONTACT/SHOWROOM LIST (Icon-List) ---------- */
.text-section ul {
  margin-top: 14px;
  margin-bottom: 16px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-left: 0;
}
.text-section ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #233146;
}
.text-section ul li img {
  height: 20px;
  width: 20px;
  flex-shrink: 0;
  margin-right: 5px;
}

/* ---------------------- FOOTER ------------------------- */
footer {
  background: #f6f7fa;
  padding: 32px 0 17px 0;
  border-top: 1.5px solid #edf0f6;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 1rem;
}
.footer-nav a {
  color: #233146;
  border-radius: 5px;
  padding: 1px 6px;
  transition: background 0.18s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}
.footer-info {
  font-size: 0.97rem;
  color: #687180;
  text-align: center;
  margin-top: 9px;
}
.footer-info a { color: #7B925E; }
.footer-info a:hover { text-decoration: underline; }

/* --------------------- PAGE GENERIC SECTION STYLES --------------------- */
.about-story, .team-section, .why-choose-us-section, .privacy-section, .gdpr-section, .terms-section, .cookie-policy-section, .company-info-section, .thank-you-section, .showroom-location, .showroom-details {
  background: var(--color-white);
  border-radius: 17px;
  box-shadow: 0 2px 12px rgba(35,49,70,0.04);
}
.text-section { margin-bottom: 18px; }
.text-section h2 { margin-top: 16px; }
.text-section ul, .text-section ol { margin-bottom: 6px; }

/* CTA secondary links */
.content-wrapper > a:not(.cta-btn) {
  margin-top: 18px;
  display: inline-block;
  color: var(--color-secondary);
  font-weight: 500;
  background: #ecf5e7;
  border-radius: 8px;
  padding: 6px 15px;
  font-size: 1rem;
  transition: background 0.12s, color 0.14s;
}
.content-wrapper > a:not(.cta-btn):hover, .content-wrapper > a:not(.cta-btn):focus {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* ------ Cookie Consent Banner (bottom fixed) ------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -6px 36px rgba(35,49,70,0.08);
  border-top: 2px solid #eceff1;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  z-index: 9000;
  padding: 22px 18px 20px 18px;
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(.49,.09,.33,1.01), opacity 0.15s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-text {
  max-width: 520px;
  color: var(--color-dark);
  font-size: 1.05em;
  margin-bottom: 6px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn, .cookie-settings-btn {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  border-radius: 23px;
  padding: 8px 26px;
  outline: none;
  border: none;
  margin: 0;
  margin-top: 4px;
  transition: background 0.18s, color 0.14s, box-shadow 0.15s;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 2px 10px rgba(123,146,94,0.09);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #64804a;
}
.cookie-btn.reject {
  background: #edf0f6;
  color: var(--color-primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #d8e1df;
}
.cookie-settings-btn {
  background: var(--color-white);
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
  font-weight: 600;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #e6ecee;
  color: #4b5b37;
}
/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,49,70,0.32);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: opacity 0.25s;
}
.cookie-modal {
  background: var(--color-white);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(35,49,70,0.17);
  max-width: 390px;
  width: 94vw;
  padding: 28px 23px 23px 23px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 20000;
  position: relative;
  animation: cookieModalPop 0.48s cubic-bezier(.74,-0.13,.21,1) 1;
}
@keyframes cookieModalPop {
  0% { transform: scale(0.92) translateY(70px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 9px;
  color: var(--color-primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
}
.cookie-category label {
  flex: 1;
  font-size: 1.03em;
  color: var(--color-dark);
}
.cookie-category input[type="checkbox"] {
  height: 20px;
  width: 20px;
  accent-color: var(--color-secondary);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: transparent;
  color: #687180;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  border-radius: 7px;
  padding: 2px 7px;
  transition: background 0.2s, color 0.19s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e2e5ee; color: var(--color-secondary);
}

/* ------------------------------ RESPONSIVE ------------------------------ */
@media (max-width: 1100px) {
  .main-navigation { gap: 18px; }
  .container { padding: 0 8px; }
}
@media (max-width: 930px) {
  section, .section, .about-story, .team-section, .why-choose-us-section, .privacy-section, .terms-section, .cookie-policy-section, .gdpr-section, .thank-you-section { padding: 36px 10px; }
  .main-navigation { gap: 15px; font-size: 1rem; }
}
@media (max-width: 820px) {
  header {
    flex-wrap: wrap;
    padding: 10px 9px 10px 9px;
  }
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
    z-index: 100;
  }
}
@media (max-width: 700px) {
  .container {
    padding: 0 3.5vw;
  }
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.18rem; }
}
@media (max-width: 630px) {
  .feature-grid, .services-list, .process-steps, .process-steps-grid, .card-container, .testimonials-preview, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}
@media (max-width: 600px) {
  .section, section, .about-story, .team-section, .why-choose-us-section, .privacy-section, .cookie-policy-section, .gdpr-section, .thank-you-section {
    padding: 20px 1.5vw;
    margin-bottom: 32px;
  }
  .card { padding: 20px 12px; }
  .feature-item, .service-item, .process-step {
    padding: 14px 8px 14px 8px;
    min-width: unset;
  }
  .footer-info { font-size: 0.92em; }
}
@media (max-width: 540px) {
  .hero .content-wrapper { padding: 0; }
  .hero { padding-top: 25px; padding-bottom: 21px; }
  .cookie-banner { padding: 13px 4vw 11px 4vw; font-size: 0.97em; }
  .cookie-banner .cookie-banner-text { max-width: 98vw; }
}
@media (max-width: 480px) {
  .footer-nav { gap: 11px; font-size: 0.96em; }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; }
}

/* --------------------------------------------------------------
   MICRO-INTERACTIONS & TRANSITIONS
--------------------------------------------------------------- */
.card, .feature-item, .service-item, .testimonial-card, .process-step {
  transition: box-shadow 0.19s, transform 0.16s, background 0.19s;
}
.cta-btn, .cookie-btn, .cookie-settings-btn {
  transition: background 0.17s, color 0.17s, transform 0.12s;
}
.cookie-modal, .cookie-banner {
  transition: background 0.15s, box-shadow 0.16s;
}

/* --------------- UTILITY CLASSES ------------------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.w-100 { width: 100%; }
.hidden { display: none !important; }

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