/* ================ 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;
  box-sizing: border-box;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F7F3EF;
  color: #2e2821;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  /* Subtle wood grain texture */
  background-image: url('../assets/textures/wood-light.jpg'), linear-gradient(180deg,#F7F3EF,#EBE0D3 50%);
  background-size: cover, auto;
  background-position: center top, center top;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #38403B;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B1975C;
  outline: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
strong, b {
  font-weight: 600;
}

/* =============== TYPOGRAPHY =============== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #38403B;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; line-height: 1.2; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 8px; }
p,li,span { font-family: 'Roboto', Arial, sans-serif; font-size: 1rem; }
.subheadline { color: #6B7467; font-size: 1.2rem; margin-bottom: 8px; }

/* =============== LAYOUT CONTAINERS =============== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(255,255,255,0.70);
  border-radius: 32px 32px 28px 28px;
  box-shadow: 0 2px 32px 0 rgba(56,64,59,0.048);
}
@media (max-width: 900px) {
  .section {
    padding: 28px 10px;
    border-radius: 18px;
  }
}
/* =============== HEADER & NAVIGATION =============== */
header {
  background: #fff;
  box-shadow: 0 6px 16px -8px rgba(56,64,59,0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 30px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  padding: 8px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  transition: background 0.18s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #EBE0D3;
  color: #B1975C;
}
header .cta-button {
  margin-left: 18px;
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  header .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    font-size: 2rem;
    background: none;
    border: none;
    color: #38403B;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 90;
  }
  header .mobile-menu-toggle:hover, header .mobile-menu-toggle:focus {
    background: #E5D8C3;
    color: #B1975C;
  }
}
header .mobile-menu-toggle {
  display: none;
}

/* =============== MOBILE MENU =============== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(238,230,213,0.97);
  backdrop-filter: blur(2px);
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.75,0,.11,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 30px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-top: 36px;
  margin-bottom: 20px;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #38403B;
  align-self: flex-end;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #D7C2A9;
  color: #B1975C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.22rem;
  color: #38403B;
  padding: 16px 0 8px 0;
  border-bottom: 1px solid #E5D8C3;
  transition: color 0.2s, background 0.15s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B1975C;
  background: #F6F0E3;
  border-radius: 5px;
}

@media (max-width: 900px) {
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu {display: none !important;}
  header nav {display: flex;}
  header .mobile-menu-toggle {display: none;}
}

/* =============== BUTTONS & INTERACTIVES =============== */
.cta-button {
  background: #B1975C;
  color: #fff;
  border: none;
  border-radius: 32px;
  box-shadow: 0 4px 12px -6px rgba(56,64,59,0.09);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  padding: 14px 40px;
  font-weight: 700;
  display: inline-block;
  margin-top: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background 0.19s, color 0.2s, box-shadow 0.17s;
  position: relative;
  overflow: hidden;
}
.cta-button::after {
  content: "";
  display: block;
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(56,64,59,0.08);
  opacity: 0; transition: opacity 0.24s;
  border-radius: 32px;
}
.cta-button:hover::after, .cta-button:focus::after {
  opacity: 1;
}
.cta-button:hover, .cta-button:focus {
  background: #38403B;
  color: #D7C2A9;
  box-shadow: 0 8px 32px -8px #B1975C;
  outline: none;
}
.button-secondary {
  background: #D7C2A9;
  color: #38403B;
  box-shadow: none;
}
.button-secondary:hover, .button-secondary:focus {
  background: #BEA575;
  color: #fff;
}

/* =============== HERO SECTION =============== */
.hero {
  background: #EBE0D3;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 10px 36px -18px rgba(96,85,53,0.08);
  margin-bottom: 54px;
  min-height: 320px;
  display: flex;
}
.hero .container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 42px 0;
}
.hero .content-wrapper {
  max-width: 700px;
  align-items: flex-start;
  gap: 14px;
  background: none;
}
.hero h1 {
  color: #38403B;
  font-size: 2.6rem;
}
.hero p.subheadline {
  font-size: 1.22rem;
  color: #6B7467;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .hero {
    border-radius: 0 0 22px 22px;
    margin-bottom: 32px;
    min-height: 190px;
  }
  .hero .container {
    padding: 26px 0 14px 0;
  }
  .hero .content-wrapper h1 {
    font-size: 2rem;
  }
}

/* =============== FEATURES & SERVICES =============== */
.features-grid, .services-list, .features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  justify-content: flex-start;
}
.feature, .service {
  background: #fff;
  border-radius: 28px 20px 18px 26px;
  box-shadow: 0 2px 24px 0 rgba(56,64,59,0.05);
  padding: 28px 22px 24px 22px;
  flex: 1 1 265px;
  min-width: 255px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.18s, transform 0.22s;
  margin-bottom: 20px;
  position: relative;
}
.feature:hover, .service:hover {
  box-shadow: 0 8px 28px -10px #BEA57588;
  transform: translateY(-3px) scale(1.01);
}
.feature img, .service img {
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
}
.service-price {
  margin-top: 10px;
  font-weight: 500;
  color: #B1975C;
  font-size: 1.09rem;
  background: #F6F0E3;
  border-radius: 8px;
  padding: 4px 14px;
  display: inline-block;
}

@media (max-width: 900px) {
  .features-grid, .services-list, .features-list {
    gap: 14px;
    justify-content: center;
  }
  .feature, .service {
    min-width: 85vw;
    max-width: 98vw;
  }
}

/* =============== CARD CONTAINER UTILS =============== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 22px 0 rgba(56,64,59,0.055);
  overflow: hidden;
  padding: 24px 20px;
}
.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;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

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

/* =============== TESTIMONIALS & PROJECT SUMMARY =============== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #F2EFEA;
  border-radius: 20px;
  padding: 20px 28px;
  min-width: 250px;
  max-width: 560px;
  margin-bottom: 20px;
  box-shadow: 0 1px 14px 0 rgba(56,64,59,0.095), 0 2px 6px 0 rgba(190,165,117,.055);
  border-left: 7px solid #B1975C;
  color: #2e2821;
  font-size: 1.05rem;
}
.testimonial-card p {
  font-style: italic;
  color: #38403B;
  margin-bottom: 3px;
  line-height: 1.5;
}
.testimonial-card span {
  font-size: 0.98rem;
  font-family: 'Montserrat',Arial,sans-serif;
  color: #8A7E67;
}
.project-summary {
  background: #F7F3EF;
  border-left: 4px solid #D7C2A9;
  border-radius: 14px;
  color: #39332a;
  padding: 16px 22px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px 0 rgba(56,64,59,0.07);
}

/* =============== FAQ ACCORDION =============== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 22px;
}
.faq-item {
  background: #F6F0E3;
  border-radius: 16px;
  padding: 18px 24px;
  box-shadow: 0 2px 12px -6px #B1975C33;
  transition: background 0.19s;
}
.faq-item h3 {
  font-size: 1.15rem;
  color: #38403B;
  margin-bottom: 8px;
}
.faq-item p {
  color: #6B7467;
  font-size: 1rem;
}
.faq-contact-cta {
  margin-top: 14px;
  background: #EBE0D3;
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.faq-contact-cta h3 { margin-bottom: 5px; }

/* =============== CTA SECTIONS =============== */
.cta-section {
  background: linear-gradient(180deg, #EBE0D3 60%, #F6F0E3 100%);
  border-radius: 38px;
  padding: 40px 24px;
  box-shadow: 0 2px 22px 0 #B1975C19;
  margin: 30px 0 60px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-section h2 {
  margin-bottom: 8px;
  color: #38403B;
}
.cta-section p {
  max-width: 520px;
  margin: 0 auto 12px auto;
  color: #48391c;
}
@media (max-width: 768px) {
  .cta-section {
    border-radius: 18px;
    padding: 24px 4vw;
  }
}

/* =============== TEXT SECTIONS / LISTS =============== */
.text-section {
  background: rgba(255,255,255,.95);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 1px 6px 0 #C0B49A18;
  margin-bottom: 20px;
}
.text-section ul, .text-section ol {
  margin-top: 10px;
  margin-bottom: 10px;
}
.text-section li {
  margin-bottom: 7px;
  color: #554825;
}
.text-section strong {
  color: #B1975C;
}

/* =============== HIGHLIGHT LINKS (Möbelgalerie) =============== */
.highlights-navigation {
  margin-top: 24px;
  background: #F6F0E3;
  border-radius: 16px;
  padding: 14px 18px 11px 18px;
  font-size: 1rem;
  color: #5D5648;
  box-shadow: 0 1px 12px 0 #B1975C15;
}
.highlights-navigation ul {
  margin: 0;
  padding: 0 0 0 16px;
}
.highlights-navigation a {
  color: #38403B;
  transition: color 0.18s;
  text-decoration: underline dotted #B1975C;
}
.highlights-navigation a:hover, .highlights-navigation a:focus {
  color: #B1975C;
}

/* =============== FOOTER =============== */
footer {
  background: #38403B;
  color: #fff;
  padding: 38px 0 21px 0;
  margin-top: 70px;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 22px 0 #12151109;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  opacity: 0.97;
  border-radius: 8px;
  transition: background 0.18s, color 0.2s;
  padding: 5px 10px;
}
footer nav a:hover, footer nav a:focus {
  background: #B1975C;
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  font-size: 0.98rem;
  color: #EBE0D3;
}
footer span {
  margin-top: 10px;
  color: #D7C2A9;
  font-size: 0.98rem;
}
@media (max-width: 700px) {
  footer .container {
    gap: 12px;
    padding: 0 6px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 5px;
  }
}

/* =============== COOKIE BANNER & MODAL =============== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: rgba(238,230,213,1);
  color: #38403B;
  border-top: 4px solid #B1975C;
  box-shadow: 0 -2px 36px 0 #B1975C11;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 7vw 18px 7vw;
  gap: 28px;
  transition: transform 0.33s cubic-bezier(.91,.17,.18,.92);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner-message {
  flex: 1 1 200px;
  font-size: 1.06rem;
  color: #38403B;
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
}
.cookie-button, .cookie-modal-close {
  background: #B1975C;
  color: #fff;
  border: none;
  border-radius: 18px;
  font-size: 1rem;
  font-family: 'Montserrat',Arial,sans-serif;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.2s, box-shadow 0.15s;
}
.cookie-button.secondary {
  background: #D7C2A9;
  color: #38403B;
}
.cookie-button:hover, .cookie-modal-close:hover {
  background: #38403B;
  color: #D7C2A9;
}
.cookie-button:focus {
  outline: 2px solid #B1975C;
  background: #BEA575;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    padding: 18px 2vw 17px 2vw;
    gap: 17px;
  }
  .cookie-banner-buttons {
    gap: 14px;
  }
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; top:0; right: 0; bottom: 0;
  z-index: 1001;
  background: rgba(56,64,59,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.29s;
}
.cookie-modal.hidden {
  display: none;
}
.cookie-modal-content {
  background: #F7F3EF;
  color: #38403B;
  border-radius: 22px;
  padding: 34px 26px 24px 26px;
  box-shadow: 0 8px 40px 0 #38403B33;
  min-width: 320px;
  max-width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1rem;
  align-items: stretch;
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cookie-modal-header h3 {
  margin-bottom: 0;
  color: #38403B;
  font-size: 1.2rem;
}
.cookie-modal-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: #B1975C;
  border-radius: 6px;
  padding: 3px 10px;
  cursor: pointer;
  align-self: flex-end;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #EBE0D3;
  padding: 11px 14px;
  border-radius: 9px;
  margin-bottom: 9px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #B1975C;
  width: 20px;
  height: 20px;
  border-radius: 4px;
}
.cookie-category label {
  color: #38403B;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-category.essential label { font-weight: bold; }
.cookie-category.essential input[type="checkbox"] {
  display: none;
}
.cookie-category.essential:after {
  content: '(immer aktiviert)';
  font-size: .93rem;
  color: #8A7E67;
  margin-left: 10px;
}

@media (max-width: 430px) {
  .cookie-modal-content {
    padding: 16px 4vw;
    min-width: unset;
  }
}

/* =============== FORMS (if any) =============== */
input[type="text"],input[type="email"],input[type="password"],textarea,select {
  background: #fff;
  color: #38403B;
  border: 2px solid #BEA575;
  border-radius: 11px;
  padding: 13px 15px;
  margin-bottom: 18px;
  font-family: 'Roboto',Arial,sans-serif;
  font-size: 1rem;
  transition: border-color 0.16s;
  width: 100%;
  box-shadow: 0 1px 6px 0 #B1975C09;
}
input:focus, textarea:focus, select:focus {
  border-color: #B1975C;
  outline: none;
}
label {
  color: #38403B;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 4px;
}

/* =============== RESPONSIVE BREAKPOINTS =============== */
@media (max-width: 1100px) {
  .container { max-width: 96vw; }
}
@media (max-width: 730px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.05rem; }
  .section { padding: 25px 4vw; margin-bottom: 36px; }
}

/* =============== ORGANIC/NATURE-INSPIRED DECORATIVE EFFECTS =============== */
.section, .feature, .service, .card, .cta-section, .testimonial-card, .project-summary, .text-section, .faq-item, .highlights-navigation {
  border-bottom-left-radius: 26px 34px;
  border-top-right-radius: 36px 26px;
}
/* subtle shadow on focus for accessibility */
a:focus-visible, button:focus-visible, .cta-button:focus-visible {
  outline: 2px solid #B1975C;
  outline-offset: 2px;
}

/* Micro organic shape embellishments for larger screens */
@media (min-width: 1000px) {
  .section, .cta-section, .testimonial-card {
    position: relative;
    z-index: 1;
  }
  .section::before, .cta-section::before, .testimonial-card::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    background: #F7F3EF;
    opacity: 0.22;
    border-radius: 44% 38% 66% 44%/38% 62% 32% 62%;
    top: -35px;left: -29px;right: 30px;bottom: 33px;
    filter: blur(13px);
  }
}

/* Animations for hover/micro-interactions */
.cta-button, .cookie-button {
  transition: background 0.17s, color 0.17s, box-shadow 0.15s, transform 0.16s;
}
.cta-button:hover, .cta-button:focus, .cookie-button:hover, .cookie-button:focus {
  transform: scale(1.05);
  box-shadow: 0 4px 32px -10px #B1975C80;
}
.card, .feature, .service, .testimonial-card, .faq-item {
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .feature:hover, .service:hover, .testimonial-card:hover, .faq-item:hover {
  box-shadow: 0 8px 40px -12px #B1975C60;
  transform: translateY(-1px) scale(1.01);
}

/* =============== CONFIRMATION PAGE STYLES =============== */
.confirmation {
  background: #F2EFEA;
  border-radius: 25px;
  box-shadow: 0 2px 24px 0 #BEA57517;
  padding: 40px 20px 50px;
  min-height: 250px;
  text-align: center;
  margin-bottom: 32px;
}
.confirmation .content-wrapper { align-items: center; }
.confirmation h1 { color: #38403B; margin-bottom: 16px; }
.confirmation ul {
  list-style: disc inside;
  margin: 18px auto 18px auto;
  color: #6B7467;
  font-size: 1.04rem;
}
.confirmation a.cta-button { margin-top: 16px; }

/* =============== UTILS =============== */
.hide { display: none !important; }
.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
[tabindex="-1"] { outline: none !important; }
