/* KyloThink Möbelmanufaktur – Monochrome Sophisticated CSS
   Author: Professional Website Developer (Senior CSS & UI)
   ─────────────────────────────────────────────────── */
/* RESET, BOX MODEL, TYPOGRAPHY BASES */
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,font,img,ins,kbd,q,s,samp,
small,strike,strong,sub,sup,tt,var,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,
menu,nav,output,ruby,section,summary,time,mark,audio,video {
  margin: 0; padding: 0; border: 0;
  font-size: 100%; font: inherit; vertical-align: baseline;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { display: block; }
body { line-height: 1; }
ol,ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; vertical-align: middle; }
*, *::before, *::after { box-sizing: border-box; }
:focus { outline: 2px solid #B06B33; outline-offset: 3px; }

/* ===================
   BRAND COLOR SYSTEM
=================== */
:root {
  --brand-primary: #233042;
  --brand-secondary: #ffffff;
  --brand-accent: #B06B33;
  --gray-100: #F6F6F6;
  --gray-200: #eaeaea;
  --gray-300: #cccccc;
  --gray-400: #b4b4b4;
  --gray-600: #7f7f7f;
  --gray-800: #222;
  --black: #111;
  --white: #fff;
  --shadow-base: 0 4px 24px 0 rgba(34, 34, 34, .07);
  --shadow-strong: 0 8px 36px 4px rgba(20,20,20,.21);
  --radius-xs: 6px;
  --radius: 12px;
  --radius-lg: 22px;
  --transition: all 0.24s cubic-bezier(.6,.25,.39,.94);
}

/* ========================
    ROOT, BODY & CONTAINER
======================== */
html {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: var(--brand-secondary);
  color: var(--black);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body {
  background: var(--brand-secondary);
  color: var(--black);
  min-height: 100vh;
}
.container {
  width: 100%;
  max-width: 1240px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ============
   TYPOGRAPHY
============= */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--brand-primary);
  font-weight: 700;
  line-height: 1.12;
}
h1 { font-size: 2.5rem; letter-spacing: -0.5px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.07rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

p, ul, ol, address {
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}
strong, b { color: var(--brand-primary); font-weight: 700; }
.text-section > h2 { margin-top: 28px; }
a {
  color: var(--brand-primary);
  text-decoration: underline;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--brand-accent);
}

/* ============
   HEADER
============= */
header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 84px;
}
header img {
  height: 42px;
  width: auto;
  margin-right: 24px;
  display: block;
}
.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.2px;
  color: var(--brand-primary);
  font-size: 1rem;
  padding: 8px 6px;
  border-radius: var(--radius-xs);
  position: relative;
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--gray-100);
  color: var(--brand-accent);
}
.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  background: var(--brand-primary);
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 1.1rem;
  box-shadow: var(--shadow-base);
  cursor: pointer;
  margin-left: 20px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--brand-accent);
  color: var(--black);
  box-shadow: var(--shadow-strong);
}
.btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  border: 2px solid var(--brand-primary);
  background: transparent;
  color: var(--brand-primary);
  padding: 10px 22px;
  border-radius: var(--radius-xs);
  font-size: 1rem;
  font-weight: 500;
  margin-top: 12px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  display: inline-block;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--brand-primary);
  color: var(--white);
  border-color: var(--brand-primary);
}
/* Burger mobile menu button */
.mobile-menu-toggle {
  margin-left: 12px;
  font-size: 2.2rem;
  line-height: 1;
  background: none;
  border: none;
  color: var(--brand-primary);
  cursor: pointer;
  padding: 0 10px;
  display: none;
  z-index: 1101;
}
.mobile-menu-toggle:focus {
  background: var(--gray-100);
}

/* =======================
     MOBILE NAVIGATION
======================= */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: auto;
  width: 320px;
  max-width: 90vw;
  height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 48px rgba(40,40,40,0.28);
  transform: translateX(100%);
  transition: transform .41s cubic-bezier(.73,.12,.24,.91);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--brand-primary);
  background: none;
  border: none;
  align-self: flex-end;
  margin: 24px 28px 0 0;
  cursor: pointer;
  transition: background var(--transition);
  border-radius: 50%;
  padding: 4px 10px;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--gray-100);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 38px 28px 28px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 500;
  color: var(--brand-primary);
  padding: 10px;
  border-radius: var(--radius-xs);
  transition: background var(--transition), color var(--transition);
  margin: 0 -10px;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--gray-100);
  color: var(--brand-accent);
}
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
    pointer-events: none;
  }
}

/* ===============
   FOOTER
=============== */
footer {
  margin-top: 60px;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
}
footer .container {
  padding-top: 36px; padding-bottom: 36px;
}
footer .content-wrapper {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
footer a img {
  height: 38px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--brand-primary);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.1px;
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-accent);
}
.contact-summary {
  font-size: .97rem;
  color: var(--gray-800);
  max-width: 270px;
}
.contact-summary a {
  color: var(--brand-primary);
  font-weight: 500;
  text-decoration: underline;
}
.social-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.social-links a img {
  height: 30px;
  width: 30px;
  filter: grayscale(100%) brightness(0.8) contrast(1.25);
  transition: filter .18s;
}
.social-links a:hover img, .social-links a:focus img {
  filter: grayscale(0) brightness(1) drop-shadow(0 2px 8px #aaa);
}

@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
}

/* ===============
   SECTIONS LAYOUT
=============== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.hero {
  background: var(--gray-100);
  padding: 64px 0 46px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 18px;
  padding-bottom: 18px;
}
.hero h1 {
  font-size: 2.7rem;
}
.hero p {
  font-size: 1.15rem;
  color: var(--gray-800);
  margin-bottom: 28px;
}
@media (min-width:768px){
  .hero .container {
     flex-direction: row;
    align-items: center;
  }
  .hero .content-wrapper {
    max-width: 640px;
  }
}
@media (max-width:768px){
  .section,
  .hero,
  .features,
  .services-overview,
  .services,
  .materials,
  .advice,
  .testimonial-card,
  .project-list {
    padding: 28px 8px;
  }
  .content-wrapper {
    gap:20px;
  }
}
.features {
  background: var(--white);
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
}
.features li {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--brand-primary);
  background: var(--gray-100);
  padding: 20px 30px 20px 22px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow-base);
}
.features li img {
  width: 36px; height: 36px; flex-shrink:0; filter: grayscale(100%) contrast(1.2);
}
@media (max-width: 768px) {
  .features ul { flex-direction: column; gap: 18px; }
  .features li { font-size: 1rem; padding: 18px 14px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  box-shadow: var(--shadow-base);
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 270px;
}

/* ===============
 SERVICES OVERVIEW/LEISTUNGEN CARDS
=============== */
.services-overview ul,
.services ul,
.materials ul,
.project-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.services-overview li,
.services li,
.materials li,
.project-list li {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-base);
  padding: 30px 26px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.services-overview li:hover, .services li:hover,
.materials li:hover, .project-list li:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-5px) scale(1.015);
}
.service-price {
  color: var(--brand-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

@media (max-width:900px) {
  .services-overview ul,
  .services ul,
  .materials ul,
  .project-list ul {
    flex-direction: column;
    gap: 18px;
  }
  .services-overview li,
  .services li,
  .materials li,
  .project-list li {
    min-width: unset;
    max-width:unset;
    width: 100%;
    padding: 22px 14px;
  }
}

/* ===============
   PROCESS LIST (LEISTUNGEN OL)
=============== */
.process ol {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  counter-reset: step;
  margin-top: 12px;
  padding-left: 0;
}
.process li {
  flex: 1 1 210px;
  background: var(--gray-100);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-base);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 18px 18px 28px;
  margin-bottom: 20px;
  font-size: 1rem;
  position: relative;
}
.process li img {
  width: 34px; height: 34px;
}
@media (max-width:700px){
  .process ol { flex-direction: column; gap: 18px; }
  .process li { padding: 18px 10px 12px 20px; }
}

/* ===============
   TESTIMONIALS & FAQ
=============== */
.testimonials {
  background: var(--white);
  padding-bottom: 18px;
}
.testimonials h2, .testimonials h1 {
  color: var(--brand-primary);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 30px 20px 25px;
  margin-bottom: 20px;
  background: var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-base);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  color: var(--brand-primary);
  transition: box-shadow var(--transition);
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .95rem;
  color: var(--brand-accent);
  font-weight: 600;
  letter-spacing: 0;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-strong);
}
@media (max-width: 768px) {
  .testimonial-card { padding: 14px 9px; }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 24px;
}
.faq-item {
  background: var(--gray-100);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-base);
  padding: 20px 26px 18px 24px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition);
}
.faq-item h2 {
  font-size: 1.17rem;
  color: var(--brand-primary);
  margin-bottom: 8px;
}
.faq-item p {
  color: var(--black);
  font-size: 1rem;
}
.faq-item a {
  color: var(--brand-accent); text-decoration: underline;
}
.faq-item:hover,
.faq-item:focus-within {
  box-shadow: var(--shadow-strong);
}

/* ===============
   CTA BLOCKS
=============== */
.call-to-action, .cta {
  background: var(--brand-primary);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius);
  margin-top: 26px;
  margin-bottom: 42px;
  padding: 44px 20px 44px 20px;
  box-shadow: var(--shadow-base);
}
.call-to-action h2, .cta h2 {
  color: var(--white);
  margin-bottom: 20px;
}
.cta p, .call-to-action p {
  color: var(--gray-200);
  font-size: 1.17rem;
}
.call-to-action .btn-primary,
.cta .btn-primary {
  margin-top: 22px;
  background: var(--brand-accent);
  color: var(--white);
}
.call-to-action .btn-primary:hover,
.cta .btn-primary:hover {
  background: var(--white);
  color: var(--brand-primary);
}

@media (max-width:700px){
  .call-to-action, .cta {  padding: 26px 8px; margin-left: -8px; margin-right: -8px; }
}

/* ===============
   TEXT-IMAGE SECTION
=============== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
}

/* ===============
   GENERAL CARDS   
=============== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* ===============
   LEGAL PAGE STYLES
=============== */
.legal {
  background: var(--white);
}
.privacy-policy,
.terms-and-conditions,
.gdpr,
.cookie-policy {
  padding: 44px 0;
}

/* ===============
   ABOUT PAGE
=============== */
.about .text-section, .team .text-section, .contact .text-section {
  max-width: 780px;
  margin: 0 auto;
  padding: 22px 0;
}
.about ul, .team ul, .contact ul {
  margin-top: 18px;
  margin-bottom: 8px;
  padding-left: 22px;
  list-style: disc inside;
  color: var(--gray-800);
  font-size: 1rem;
}

/* ===============
   CONTACT PAGE
=============== */
.neutral-placeholder {
  color: var(--gray-300);
  margin-top: 8px;
}
.contact-instructions {
  margin-top: 22px;
  color: var(--gray-800);
  max-width: 440px;
}

/* ===============
   THANKS PAGE
=============== */
.thanks h1 {
  margin-bottom: 18px;
}
.thanks p {
  margin-bottom: 10px;
}

/* ===============
   MISC
=============== */
.section:last-child, .cta:last-child, .call-to-action:last-child { margin-bottom: 0; }

/* ============= RESPONSIVE SPACING AND FLEXBOX ============= */
@media (max-width: 768px){
  .container {
    padding-left: 10px; padding-right: 10px;
  }
  header .container {
    padding-left: 12px; padding-right: 12px;
    height: 64px;
  }
  footer .container {
    padding-left: 10px; padding-right: 10px;
    padding-top: 18px; padding-bottom: 18px;
  }
}

/* ===============
   COOKIE CONSENT BANNER & MODAL
=============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--brand-primary);
  color: var(--white);
  box-shadow: 0 -4px 32px rgba(34,34,34,0.11);
  padding: 18px 16px 17px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  gap: 28px;
  font-size: 1rem;
  transition: transform 0.24s cubic-bezier(.6,.25,.39,.94);
}
.cookie-banner.hide {
  transform: translateY(108%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner__content {
  flex: 1 1 0;
  max-width: 510px;
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  background: var(--brand-accent);
  color: var(--white);
  transition: background var(--transition), color var(--transition);
  box-shadow: var(--shadow-base);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--white);
  color: var(--brand-primary);
}
.cookie-btn.reject {
  background: var(--gray-400);
  color: var(--black);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--gray-800);
  color: var(--white);
}
.cookie-btn.settings {
  background: var(--gray-100);
  color: var(--brand-primary);
  border: 1px solid var(--gray-400);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--brand-primary);
  color: var(--white);
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 8px 12px 8px;
  }
  .cookie-banner__actions {
    gap: 10px;
  }
}

/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 3050;
  background: rgba(23,23,23,0.64);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal__window {
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  max-width: 430px;
  min-width: 310px;
  width: 94vw;
  padding: 34px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal__header {
  font-size: 1.37rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-primary);
  margin-bottom: 6px;
}
.cookie-modal__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 6px 0 16px 0;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}
.cookie-category strong {
  font-weight: 600;
  font-size: 1rem;
  min-width: 110px;
}
.cookie-category .toggle {
  border: none;
  outline: none;
  background: var(--gray-200);
  border-radius: 15px;
  position: relative;
  width: 38px;
  height: 22px;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-category .toggle[data-checked="true"] {
  background: var(--brand-accent);
}
.cookie-category .toggle[data-checked="true"]:after {
  left: 16px;
}
.cookie-category .toggle:after {
  content: '';
  display: block;
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left var(--transition), background var(--transition);
  box-shadow: 0 2px 6px rgba(44,44,44,0.09);
}
.cookie-category .essential {
  color: var(--gray-600);
  font-size: 0.98rem;
  font-weight: 500;
  margin-left: 6px;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 9px;
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 10px;
  background: transparent;
  border: none;
  color: var(--gray-800);
  font-size: 1.75rem;
  cursor: pointer;
  z-index: 2;
}
.cookie-modal__close:focus,
.cookie-modal__close:hover {
  color: var(--brand-accent);
}
@media (max-width: 600px){
  .cookie-modal__window { padding: 20px 10px; }
}

/* ================
   MICRO-INTERACTIONS
================== */
.section, .card, .testimonial-card, .faq-item, .cta, .call-to-action, .cookie-modal__window, .services-overview li, .services li {
  transition: box-shadow .22s cubic-bezier(.69,.22,.91,.59), transform .20s cubic-bezier(.54,.01,.6,.97);
}
.btn-primary,.btn-secondary,
.cookie-btn {
  transition: background .21s cubic-bezier(.78,.11,.29,.93), color .20s cubic-bezier(.54,.01,.6,.97);
}

/* ================
   PRINT OPTIMIZATION
================== */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer { display: none !important; }
  main, body { background: var(--white) !important; color: #111 !important; }
  * { box-shadow: none !important; background: none !important; color: #111 !important; }
}
