/* RESET & NORMALIZATION */
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 {
  scroll-behavior: smooth;
  font-size: 16px;
  background: #171c22;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.5;
  color: #E5DED3;
  background: #1E2329;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
}
a {
  text-decoration: none;
  color: inherit;
}
ul, ol {
  list-style: none;
}

/* BRAND TYPOGRAPHY */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #E5DED3;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 1px;
  line-height: 1.12;
  margin-bottom: 24px;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #E5DED3;
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  line-height: 1.18;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #E5DED3;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #E5DED3;
  font-weight: 500;
}
p, li, span {
  color: #C3C8CF;
  font-size: 1rem;
  line-height: 1.5;
}
strong {
  font-weight: 700;
  color: #E5DED3;
}

/* BASIC LAYOUT */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* FLEXBOX: LAYOUT PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 14px;
  background: #212934;
  box-shadow: 0 2px 16px rgba(28, 35, 44, 0.13);
  border: 1.5px solid #273142;
  overflow: hidden;
  transition: box-shadow 0.26s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 4px 24px 0 rgba(123, 79, 43, 0.20);
  transform: translateY(-2px) scale(1.0125);
}
.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;
  border-radius: 12px;
  background: #F6F6F8;
  color: #222;
  box-shadow: 0 2px 14px rgba(28, 35, 44, 0.11);
  margin: 20px 0;
  flex-direction: column;
  min-width: 250px;
  max-width: 550px;
  border-left: 4px solid #7B4F2B;
  font-size: 1.02rem;
}
.testimonial-card span {
  color: #2C3A47;
  font-style: italic;
  font-size: 0.96rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #242C37;
  border-radius: 10px;
  padding: 24px 18px;
  min-width: 220px;
  max-width: 100%;
  border: 1.5px solid #2b394b;
  box-shadow: 0 2px 9px rgba(28,35,44,0.07);
  transition: border-color 0.21s, box-shadow 0.21s;
}
.feature-item:hover {
  border-color: #7B4F2B;
  box-shadow: 0 5px 16px rgba(123, 79, 43, 0.21);
}

/* HERO SECTION */
.hero {
  background: #212934;
  display: flex;
  align-items: center;
  min-height: 350px;
  padding-top: 50px;
  padding-bottom: 50px;
}
.hero .content-wrapper {
  gap: 28px;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.6rem;
  color: #E5DED3;
  margin-bottom: 15px;
}
.hero p {
  max-width: 520px;
  color: #C3C8CF;
  font-size: 1.16rem;
}

/* CTA BUTTON */
.cta-primary {
  background: #7B4F2B;
  color: #E5DED3;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.11rem;
  letter-spacing: 1px;
  padding: 15px 42px;
  border-radius: 40px;
  cursor: pointer;
  transition: background 0.23s, box-shadow 0.15s, transform 0.15s;
  box-shadow: 0 2px 12px rgba(33,52,71,0.08);
  margin-top: 8px;
  margin-bottom: 8px;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #9c6838;
  color: #FFF;
  box-shadow: 0 6px 30px rgba(123, 79, 43, 0.25);
  transform: translateY(-1.5px) scale(1.03);
}

/* NAVIGATION */
header {
  background: #171c22;
  border-bottom: 1.5px solid #2C3340;
  padding-top: 0;
  position: sticky;
  top: 0;
  z-index: 900;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  flex-wrap: wrap;
}
.main-nav img {
  height: 46px;
  width: auto;
  margin-right: 24px;
  filter: grayscale(20%) contrast(1.05);
}
.main-nav a {
  color: #D4D4CB;
  padding: 7px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 24px;
  transition: background 0.18s, color 0.18s;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.main-nav .cta-primary {
  margin-left: 18px;
  padding: 10px 30px;
}
.main-nav a:hover, .main-nav a:focus {
  background: #242C37;
  color: #7B4F2B;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: #212934;
  border: none;
  color: #E5DED3;
  font-size: 2.2rem;
  padding: 8px 18px 6px 18px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
  margin-left: auto;
  z-index: 1001;
  cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #7B4F2B;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #1E2329EE;
  z-index: 2001;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  overflow-y: auto;
  opacity: 0.97;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #E5DED3;
  align-self: flex-end;
  margin: 16px 30px 12px 0;
  cursor: pointer;
  z-index: 2002;
  transition: color 0.16s;
}
.mobile-menu-close:hover {
  color: #7B4F2B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21px;
  padding: 28px 30px 30px 38px;
}
.mobile-nav a {
  color: #E5DED3;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
  padding: 10px 0;
  width: 100%;
  border-radius: 8px;
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #7B4F2B;
  color: #fff;
}

/* FOOTER */
footer {
  background: #171c22;
  border-top: 1.5px solid #242C37;
  padding: 32px 0 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #8C919A;
  font-size: 1rem;
  padding: 7px 14px;
  border-radius: 7px;
  transition: background 0.14s, color 0.14s;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #212934;
  color: #7B4F2B;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #727C88;
  font-size: 0.97rem;
  margin-top: 6px;
  align-items: center;
  letter-spacing: 0.1px;
}

/* FEATURES GRID ON HOMEPAGE */
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.features .feature-item img {
  width: 44px;
  height: 44px;
  filter: grayscale(27%) contrast(1.09) drop-shadow(0 1px 2px #0001);
}
.features .feature-item h3 {
  color: #E5DED3;
  margin-bottom: 8px;
}

/* SERVICE LIST (LEISTUNGEN) */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 40px;
}
.service-list li {
  flex: 1 1 260px;
  background: #242C37;
  border: 1.5px solid #273142;
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 20px 16px 20px;
  box-shadow: 0 2px 9px rgba(28,35,44,0.07);
  transition: border 0.2s, box-shadow 0.2s;
  min-width: 220px;
  max-width: 100%;
  margin-bottom: 20px;
  gap: 9px;
}
.service-list li:hover {
  border-color: #7B4F2B;
  box-shadow: 0 5px 16px rgba(123, 79, 43, 0.14);
}
.service-list img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
}
.service-list h3 {
  color: #E5DED3;
  font-size: 1.15rem;
  margin: 4px 0 8px 0;
}

/* PROJECTS LIST */
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.project-item {
  background: #242C37;
  border: 1.5px solid #273142;
  border-radius: 11px;
  padding: 24px 22px 16px 22px;
  min-width: 240px;
  max-width: 330px;
  margin-bottom: 20px;
  box-shadow: 0 2px 9px rgba(28,35,44,0.07);
}
.project-item h3 {
  color: #E5DED3;
  margin-bottom: 8px;
  font-size: 1.13rem;
}
.project-category {
  color: #BFC2B4;
  font-size: 0.97rem;
  margin-top: 8px;
  display: block;
}
.project-outcome {
  font-style: italic;
  font-size: 0.97rem;
  color: #7B4F2B;
  margin-top: 4px;
  display: block;
}

/* LEGAL & INFO SECTIONS */
.legal {
  background: #22262C;
  border-radius: 9px;
  box-shadow: 0 2px 9px rgba(28,35,44,0.07);
  padding: 36px 16px;
}
.legal ul li {
  margin-bottom: 16px;
}

/* CONTACT SECTION */
.contact .address-block,
.contact .contact-details,
.contact .opening-hours {
  background: #1E2329;
  border-radius: 8px;
  padding: 13px 18px 13px 18px;
  border: 1.5px solid #232A36;
  color: #E5DED3;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-details img, .opening-hours img {
  width: 20px;
  vertical-align: middle;
  margin-right: 7px;
}
.contact a {
  color: #7B4F2B;
  text-decoration: underline;
  transition: color 0.13s;
}
.contact a:hover, .contact a:focus {
  color: #d1a886;
}

/* ABOUT PAGE TEAM LIST */
.team ul, .why-us ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 18px 0;
}

/* MATERIALIEN LISTEN */
.materials-overview ul, .why-materials ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 22px;
}

/* GALLERY INSPIRATION */
.inspiration-text ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  padding-left: 6px;
}

/* CTA SECTIONS */
.cta {
  background: #212934;
  border-radius: 12px;
  margin-bottom: 48px;
  padding: 38px 20px;
  box-shadow: 0 4px 24px 0 rgba(33,52,71,0.12);
}
.cta h2 {
  color: #E5DED3;
  margin-bottom: 10px;
}
.cta p {
  color: #C3C8CF;
}

/* THANK YOU PAGE */
.thank-you .content-wrapper {
  align-items: center;
}

/* PROCESS OVERVIEW */
.process-overview {
  background: #212934;
  border-radius: 10px;
  padding: 18px 22px 16px 22px;
  box-shadow: 0 2px 9px rgba(28,35,44,0.07);
  margin-top: 32px;
  margin-bottom: 24px;
}
.process-overview ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 18px;
}

/* QUALITY ASSURANCE BLOCK */
.quality-assurance {
  background: #242C37;
  border-radius: 8px;
  margin-top: 15px;
  padding: 14px 12px;
  color: #E5DED3;
}

/* GENERAL BUTTONS */
button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  padding: 8px 22px;
  cursor: pointer;
  background: #213447;
  color: #E5DED3;
  box-shadow: 0 1px 6px rgba(33,52,71,0.06);
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
button:hover, button:focus {
  background: #7B4F2B;
  color: #fff;
  box-shadow: 0 3px 16px rgba(123, 79, 43, 0.15);
}

/* ACCENT BADGE/CHIP */
.badge, .chip {
  display: inline-block;
  background: #7B4F2B;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
  padding: 3px 14px;
  border-radius: 100px;
  margin-right: 5px;
  vertical-align: middle;
}

/* ANIMATIONS */
.fade-in {
  animation: fadeIn 0.5s cubic-bezier(.7,0,.3,1.1);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* COOKIE CONSENT BANNER */
#cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100%;
  background: #232A36;
  color: #E5DED3;
  z-index: 3000;
  padding: 28px 16px 22px 16px;
  box-shadow: 0 -3px 22px rgba(33,52,71,0.21);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  transition: transform 0.33s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.24s;
  opacity: 1;
}
#cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
}
#cookie-banner .cookie-text {
  font-size: 1.07rem;
  color: #E5DED3;
  flex: 1 1 220px;
}
#cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
#cookie-banner button, #cookie-banner .cookie-btn {
  border: none;
  border-radius: 24px;
  padding: 11px 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  background: #7B4F2B;
  color: #E5DED3;
  margin: 0 3px;
  transition: background 0.17s, color 0.17s;
}
#cookie-banner .cookie-btn.accept {
  background: #7B4F2B;
  color: #fff;
}
#cookie-banner .cookie-btn.reject {
  background: #212934;
  color: #E5DED3;
  border: 1.3px solid #7B4F2B;
}
#cookie-banner .cookie-btn.settings {
  background: #22262C;
  color: #E5DED3;
  border: 1.3px solid #7B4F2B;
}
#cookie-banner .cookie-btn:hover {
  background: #9c6838;
  color: #FFF;
}
#cookie-banner .cookie-btn.settings:hover {
  background: #212934;
  color: #d1a886;
}
#cookie-banner .cookie-btn.reject:hover {
  background: #303940;
  color: #e5ded3;
}

/* COOKIE MODAL */
#cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(22,27,34,0.90);
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.24s;
}
#cookie-modal-overlay.open {
  display: flex;
}
#cookie-modal {
  background: #232A36;
  color: #E5DED3;
  border-radius: 16px;
  max-width: 390px;
  width: 92vw;
  padding: 32px 22px 26px 22px;
  box-shadow: 0 5px 31px #0f141a52;
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
}
#cookie-modal h3 {
  color: #E5DED3;
  margin-bottom: 3px;
  font-size: 1.22rem;
  font-weight: 700;
}
#cookie-modal label {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 12px;
  gap: 9px;
  color: #E5DED3;
  font-size: 1.03rem;
}
#cookie-modal input[type='checkbox'] {
  accent-color: #7B4F2B;
  width: 18px; height: 18px;
}
#cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 5px;
}
#cookie-modal .modal-close {
  position: absolute;
  right: 13px; top: 13px;
  background: none;
  border: none;
  color: #8C919A;
  font-size: 1.3rem;
  cursor: pointer;
}
#cookie-modal .modal-close:hover {
  color: #E5DED3;
}

/* MEDIA QUERIES: RESPONSIVENESS */
@media (max-width: 992px) {
  .container {
    max-width: 93vw;
    padding: 0 12px;
  }
  .project-list, .service-list, .features .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    min-height: 210px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .section, section {
    padding: 28px 0;
    margin-bottom: 44px;
  }
  .testimonial-card, .feature-item, .service-list li, .project-item {
    min-width: 160px;
    max-width: 100%;
    font-size: 0.97rem;
  }
  .features .feature-grid,
  .service-list,
  .project-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .cta {
    padding: 28px 7px;
  }
  #cookie-banner {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
    padding: 18px 11px 14px 11px;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.53rem;
  }
  h2 {
    font-size: 1.23rem;
  }
  .container, .content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .footer-info {
    font-size: 0.92rem;
    gap: 4px;
  }
  .testimonial-card, .feature-item {
    padding: 13px 8px;
  }
  .service-list li, .project-item {
    padding: 13px 7px;
  }
}

/* ACCESSIBILITY HIGHLIGHTS */
a:focus, button:focus, .cta-primary:focus {
  outline: 2px solid #7B4F2B;
  outline-offset: 2px;
  z-index: 10;
}

/* HIDE SCROLL WHEN MENU/MODAL OPEN */
body.no-scroll {
  overflow: hidden;
}
/* High-contrast for testimonial (dark text on light BG) already enforced above */

/* --- END OF STYLE.CSS --- */
