/* 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, 
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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #f1ede7;
  color: #32404d;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #991f26;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #e64a58;
}
button, input, select, textarea {
  font: inherit;
  outline: none;
}
ul li {
  list-style-type: disc;
  margin-left: 1.5em;
}
strong {
  font-weight: bold;
}

/* BRAND FONTS (Google Fonts assumed loaded) */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  text-rendering: optimizeLegibility;
}
h1 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: #991f26;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #32404d;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #991f26;
  letter-spacing: .5px;
}
h4, h5 {
  font-weight: 700;
}
p, li, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #32404d;
  line-height: 1.7;
  margin-bottom: 16px;
}
blockquote {
  border-left: 4px solid #991f26;
  background: #fff;
  padding: 16px 24px;
  margin-bottom: 16px;
  font-style: italic;
  font-family: 'Montserrat', Arial, sans-serif;
}

/******* LAYOUT CONTAINERS *******/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  margin-bottom: 60px;
  background: transparent;
  border-radius: 24px;
}
.text-section {
  margin-bottom: 32px;
}

/******* SEO & SECTION SPACING ******/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/******* FLEX SPACING PATTERNS ******/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 10px rgba(50,64,77,0.08);
  padding: 28px 24px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(153,31,38,0.15);
  transform: translateY(-2px) scale(1.03);
  z-index: 2;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(153,31,38,0.04), 0 1.5px 6px rgba(50,64,77,0.07);
  border-left: 6px solid #991f26;
  transition: box-shadow .2s, border-color .25s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 18px rgba(153,31,38,0.09);
  border-left: 6px solid #32404d;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 2.5px 12px rgba(50,64,77,0.05);
  margin-bottom: 20px;
}

/****** HERO & CTA BUTTONS ******/
.btn-primary {
  display: inline-block;
  background: #991f26;
  color: #fff;
  border: none;
  border-radius: 38px;
  padding: 13px 36px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: bold;
  box-shadow: 0 2px 16px rgba(153,31,38,0.15);
  letter-spacing: 1px;
  line-height: 1;
  transition: background .16s, box-shadow .18s, color .18s, transform .18s;
  margin-top: 16px;
  cursor: pointer;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #b53037;
  color: #f1ede7;
  box-shadow: 0 4px 12px rgba(153,31,38,0.29);
  transform: scale(1.03);
}

/***** NAVIGATION & HEADER ******/
header {
  background: #fff;
  width: 100%;
  box-shadow: 0 2px 8px rgba(153,31,38,0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-left: 32px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #32404d;
  font-size: 1rem;
  border-radius: 20px;
  padding: 7px 14px;
  transition: background .22s, color .18s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: #f1ede7;
  color: #991f26;
}
header img[alt*='Wohnstil'] {
  height: 46px;
}

/******* FOOTER ******/
footer {
  background: #991f26;
  color: #fff;
  padding: 32px 0 16px;
  box-shadow: 0 -2px 10px rgba(50,64,77,0.04);
  margin-top: 42px;
}
footer a {
  color: #fff;
  opacity: 0.88;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  transition: opacity .2s, color .18s;
  margin-right: 18px;
}
footer a:hover, footer a:focus {
  opacity: 1;
  text-decoration: underline;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}
.footer-info {
  font-size: 0.98rem;
  opacity: 0.92;
}

/******* MOBILE MENU ******/
.mobile-menu-toggle {
  display: none;
  background: #991f26;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  position: fixed;
  top: 15px;
  right: 18px;
  z-index: 99;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(153,31,38,0.18);
  cursor: pointer;
  transition: background .17s, color .17s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #32404d;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(153,31,38,0.97);
  z-index: 120;
  transform: translateX(110vw);
  transition: transform 0.36s cubic-bezier(.86,.01,.38,1.02);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding-top: 32px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: #fff;
  color: #991f26;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
  margin: 12px 25px 0 0;
  box-shadow: 0 2px 10px rgba(153,31,38,0.10);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.mobile-menu-close:hover {
  background: #f1ede7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin: 50px 0 0 0;
  width: 100vw;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 16px;
  padding: 10px 18px;
  background: transparent;
  transition: background .17s, color .18s;
  margin-right: 0;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #32404d;
}

/**** FLEX-ONLY FEATURE LAYOUTS ******/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.feature-grid > div {
  flex: 1 1 260px;
  min-width: 220px;
  background: #fff;
  border-radius: 19px;
  padding: 22px 20px 18px;
  box-shadow: 0 3px 12px rgba(50,64,77,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: transform .17s, box-shadow .17s;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 8px 24px rgba(153,31,38,0.13);
}
.feature-grid img {
  width: 40px;
  margin-bottom: 4px;
}

/**** PROJEKT- & SERVICE CARDS ******/
.project-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.project-overview > div {
  flex: 1 1 290px;
  background: #fff;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 3px 10px rgba(50,64,77,0.05);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.service-detail-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-detail-cards > div {
  flex: 1 1 265px;
  background: #fff;
  border-radius: 15px;
  padding: 22px 15px 18px;
  box-shadow: 0 2px 10px rgba(153,31,38,0.06);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  border-left: 4px solid #991f26;
  transition: box-shadow .13s, border-color .17s;
}
.service-detail-cards > div:hover {
  box-shadow: 0 7px 16px rgba(153,31,38,0.15);
  border-left-color: #32404d;
}
.service-preis {
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12em;
  color: #991f26;
}

/********* CONTACT DETAILS ******/
.contact-details {
  margin: 20px 0 20px;
}
.contact-details ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.04rem;
  margin-bottom: 10px;
  color: #32404d;
}
.contact-details img {
  width: 22px;
  margin-bottom: 0;
}

/********** COOKIE CONSENT BANNER **********/
.cookie-consent-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #32404d;
  color: #fff;
  padding: 22px 16px 18px 16px;
  box-shadow: 0 -2px 8px rgba(50,64,77,0.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  z-index: 160;
  gap: 16px;
  transition: transform .25s, opacity .22s;
  font-size: 1rem;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  background: #fff;
  color: #991f26;
  border: none;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 22px;
  margin-right: 0;
  margin-bottom: 0;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(153,31,38,0.08);
  transition: background .15s, color .15s;
}
.cookie-btn.accept {
  background: #991f26;
  color: #fff;
}
.cookie-btn.accept:hover {
  background: #b53037;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #991f26;
  border: 1.5px solid #991f26;
}
.cookie-btn.reject:hover {
  background: #f1ede7;
  color: #991f26;
}
.cookie-btn.settings {
  background: #e5dbcd;
  color: #32404d;
  border: 1px solid #32404d;
}
.cookie-btn.settings:hover {
  background: #fff;
  color: #991f26;
}

/**** COOKIE MODAL SETTINGS ****/
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(50,64,77,0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  transition: opacity .25s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  color: #32404d;
  border-radius: 18px;
  box-shadow: 0 6px 36px rgba(50,64,77,0.22);
  padding: 36px 30px 28px;
  min-width: 320px;
  max-width: 96vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-content h2 {
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #991f26;
  font-weight: 600;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #e5dbcd;
  border-radius: 34px;
  position: relative;
  transition: background .18s;
  cursor: pointer;
  border: none;
  margin-left: 0;
  margin-right: 10px;
  margin-bottom: 0;
  appearance: none;
}
.cookie-toggle:checked {
  background: #991f26;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3.5px;
  top: 2.8px;
  width: 17px;
  height: 16px;
  border-radius: 8.4px;
  background: #fff;
  transition: left .18s;
}
.cookie-toggle:checked:before {
  left: 17px;
  background: #fff;
}
.cookie-modal-close {
  position: absolute;
  right: 15px;
  top: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #991f26;
  cursor: pointer;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-close:hover {
  background: #f1ede7;
}

/******** UNIQUE ARTISTIC DECOR ******/
.card:after, .testimonial-card:before {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.card:after {
  right: 16px; bottom: 18px;
  width: 42px; height: 42px;
  background: rgba(153,31,38,.09);
  border-radius: 50%;
}
.testimonial-card:before {
  left: 2px; top: 2px;
  width: 21px; height: 21px;
  background: rgba(241,237,231,0.42);
  border-radius: 50%;
}

/******* TYPOGRAPHY SCALE & ARTSY FONTS ******/
@media (min-width: 400px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.32rem; }
}
@media (min-width: 680px) {
  h1 { font-size: 3.3rem; }
  h2 { font-size: 2.3rem; }
  h3 { font-size: 1.42rem; }
}
@media (min-width: 1024px) {
  h1 { font-size: 3.8rem; }
  h2 { font-size: 2.55rem; }
  h3 { font-size: 1.65rem; }
}

/**** LISTS & TABLES ******/
ul, ol {
  margin-bottom: 18px;
  padding-left: 1.2em;
  font-size: 1rem;
}
ul strong {
  color: #991f26;
}

/***** ARTISTIC COLOR DOTS FOR BULLETS *****/
ul li::marker {
  color: #991f26;
  font-size: 1.2em;
}

/**** BLOCKS, CODE, PRE, ETC ****/
code, pre {
  font-family: 'Roboto Mono', monospace;
  background: #e5dbcd;
  padding: 3px 7px;
  border-radius: 6px;
}

/***** ANIMATIONS subtil ******/
.btn-primary, .cookie-btn, .card, .testimonial-card, header nav a, .service-detail-cards > div, .feature-grid > div {
  transition: box-shadow .18s, background .16s, color .17s, transform .18s;
}

/******* RESPONSIVE STYLES: MOBILE FIRST ******/
@media (max-width: 1160px) {
  .container { max-width: 97vw; }
}
@media (max-width: 920px) {
  .feature-grid > div, .service-detail-cards > div, .project-overview > div {
    min-width: 190px;
    flex: 1 1 210px;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 6px; }
  header .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 6px 6px;
    min-height: 0;
  }
  header nav {
    display: none;
  }
  .btn-primary {
    font-size: 1rem;
    padding: 10px 18px;
    margin-top: 12px;
    margin-bottom: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid,
  .service-detail-cards,
  .project-overview {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .service-detail-cards > div, .project-overview > div {
    min-width: 0;
    flex-basis: 100%;
    margin-bottom: 20px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-nav {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  .content-wrapper {
    margin-bottom: 32px;
  }
}

/**** ACCENTS & VIBRANT ARTISTIC TOUCHES ******/
.section {
  background: linear-gradient(96deg, #fff 70%, #f1ede7 100%);
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(50,64,77,0.04);
  margin-bottom: 60px;
}
@media (max-width:720px) {
  .section {
    padding: 24px 6px;
    border-radius: 9px;
    margin-bottom: 34px;
  }
}

/***** UTILITY CLASSES ******/
.d-none {
  display: none!important;
}

/**** FOCUS STATES ****/
a, button, .btn-primary {
  outline: none;
}
*:focus-visible {
  outline: 2.5px dashed #991f26;
  outline-offset: 2.5px;
}

/******* CUSTOM SCROLLBARS FOR ARTISTIC FLAIR *******/
::-webkit-scrollbar {
  width: 11px;
  background: #e5dbcd;
}
::-webkit-scrollbar-thumb {
  background: #991f26;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #32404d;
}

/*********************
   END OF STYLESHEET
**********************/
