/* CSS RESET & BASELINE */
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 {
  height: 100%;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background: #fff; /* so overlays are on clean background */
}
body {
  min-height: 100vh;
  width: 100%;
  background: #F5F5F5;
  color: #191919;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #263238;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
a:focus {
  outline: 2px solid #BCA965;
  outline-offset: 2px;
}
hr {
  border: none;
  border-top: 1px solid #e0e0e0;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #191919;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 28px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.35rem; line-height: 1.25; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.05rem; }

p { margin-bottom: 18px; font-size: 1rem; }
ul, ol { margin-bottom: 18px; margin-left: 24px; }
li {
  margin-bottom: 10px;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

strong { font-weight: bold; }

/* BRAND & MONOCHROME COLORS */
:root {
  --primary: #263238;
  --secondary: #F5F5F5;
  --accent: #BCA965;
  --black: #191919;
  --white: #fff;
  --midgray: #adadad;
  --lightgray: #eaeaea;
  --focus-shadow: 0 0 0 2px #BCA96544;
}

/* GENERIC CONTAINERS & LAYOUT */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.section, main > section, .legal-section, .thank-you-section, .faq-section, .about, .services-hero, .services-list, .about-preview, .services-preview, .testimonials-preview, .process-overview, .process-benefits, .testimonials-section, .project-highlights, .contact-section, .cta-banner, .usps, .contact-prompt {
  background: var(--white);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(38, 50, 56, 0.09), 0 1.5px 6px 0 rgba(38, 50, 56, 0.07);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* FLEX LAYOUTS */
.feature-grid, .features, .usps > ul, .content-grid, .card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 0;
}

.card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(40, 40, 50, 0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  gap: 14px;
}

.card-content { display: flex; flex-direction: column; justify-content: center; }

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #fafafa;
  border-left: 5px solid var(--accent);
  box-shadow: 0 0.5px 6px rgba(30, 30, 30, .04);
  border-radius: 12px;
  margin-bottom: 20px;
  flex-direction: column;
  color: #181818;
}

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

.address-block, .contact-details, .opening-hours {
  margin-bottom: 24px;
  font-size: 1rem;
  color: #444;
  background: #F8F8F8;
  padding: 16px 22px;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}


/* BUTTONS & CTAS */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  min-width: 180px;
  max-width: 100%;
  padding: 15px 32px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.10rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-transform: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s, border 0.18s;
  box-shadow: 0 1.5px 7px 0 rgba(38,50,56,0.06);
  outline: none;
  margin-bottom: 8px;
  margin-top: 8px;
}
.btn-primary {
  background: var(--primary);
  color: var(--secondary);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--black);
  color: var(--accent);
  box-shadow: 0 4px 22px 0 rgba(30,30,30,0.10);
}
.btn-secondary {
  background: var(--accent);
  color: var(--primary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--black);
  color: var(--accent);
  box-shadow: 0 4px 22px 0 rgba(30,30,30,0.12);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(145deg,#f9f9f9 60%,#fff 100%);
  box-shadow: none;
  margin-bottom: 60px;
  border-radius: 0;
  padding: 64px 20px 40px 20px;
}
.hero h1 {
  color: var(--primary);
  text-shadow: 0 2.8px 12px #eaeaea;
}
.hero .btn-primary {
  margin-top: 24px;
}

/* NAVIGATION */
header {
  width: 100%;
  background: var(--white);
  margin-bottom: 0;
  box-shadow: 0 3px 18px 0 rgba(38,50,56,0.09);
  z-index: 90;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 18px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 8px;
  border-radius: 4px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
  background: #F0F0F0;
}

header img {
  height: 48px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  width: 42px;
  height: 42px;
  font-size: 1.65rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
  transition: background 0.15s, color 0.20s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--accent);
  color: var(--primary);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(38,50,56,0.97);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.68,-0.55,.27,1.45);
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--accent);
  border: none;
  font-size: 2.5rem;
  position: absolute;
  top: 28px;
  right: 32px;
  z-index: 210;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  transition: color 0.22s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--white);
}
.mobile-nav {
  margin-top: 100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-left: 38px;
}
.mobile-nav a {
  color: var(--white);
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 15px 0;
  border-bottom: 1px solid #3a4147;
  width: 90%;
  transition: color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  background: none;
}

/* Hide desktop nav, show burger on mobile */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (max-width: 1024px) {
  header .btn-primary {
    display: none;
  }
}

/* Keep mobile menu hidden on desktop */
@media (min-width: 1025px) {
  .mobile-menu { display: none!important; }
}

/* FOOTER */
footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 44px 0 16px 0;
  font-size: 1rem;
  width: 100%;
}
footer .container {
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 36px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.footer-nav a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  opacity: .84;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border 0.18s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  opacity: 1;
}
.brand-contact {
  font-size: .98rem;
  color: #bbbbbb;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.brand-contact img {
  width: 18px;
  margin-right: 7px;
  position: relative;
  top: 2px;
}

/* CARD LAYOUTS */
.card-container,.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  width: 100%;
  max-width: 420px;
}

/* FEATURES/USPS */
.features, .feature-grid, .usps > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}
.features > .content-wrapper, .feature-grid {
  gap: 24px;
}
.feature-grid > div, .usps > ul > li {
  background: #fbfbfb;
  border: 1.3px solid #eaeaea;
  border-radius: 13px;
  box-shadow: 0 2.5px 12px rgba(30,30,30,0.04);
  padding: 28px 26px 22px 26px;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 360px;
  margin-bottom: 0px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  color: var(--primary);
  transition: box-shadow 0.21s, border-color 0.22s;
}
.feature-grid > div:hover, .usps > ul > li:hover {
  box-shadow:0 8px 32px rgba(38,50,56,0.10);
  border-color: var(--accent);
}
.feature-grid img, .usps img {
  width: 34px;
  margin-bottom: 15px;
}

/* ABOUT & LEGAL TEXT */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.07rem;
  color: #232323;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  margin-bottom: 0px;
}
.text-section ul {
  margin-left: 24px;
}
.text-section li {
  margin-bottom: 8px;
}
.text-section h3 {
  margin-top: 26px;
  margin-bottom: 8px;
  font-size: 1.21rem;
  color: var(--primary);
}

/* PROCESS (ABLAUF) */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: customlist;
  list-style: none;
  padding-left: 0;
  font-size: 1.08rem;
}
.process-steps li {
  position: relative;
  padding-left: 48px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 40px;
}
.process-steps img {
  width: 32px;
  position: absolute;
  left: 0;
  top: 4px;
}

/* FAQ LAYOUT */
.faq {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq > div {
  flex: 1 1 315px;
  background: #fafafa;
  border-left: 3px solid var(--primary);
  border-radius: 12px;
  padding: 24px 20px 20px 22px;
  font-size: 1.03rem;
  min-width: 210px;
  box-shadow: 0 1px 10px rgba(38,50,56,0.06);
  transition: box-shadow 0.17s, border-color 0.19s;
}
.faq > div:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(38,50,56,0.10);
}
.faq h3 {
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.14rem;
}

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(120deg, #faf9f7 70%, #f5f5f5 100%);
  box-shadow: 0 1.5px 12px 0 rgba(38, 50, 56, 0.10);
  border-radius: 18px;
  text-align: center;
}
.cta-banner h2, .cta-banner p {
  margin: 0 auto 24px auto;
  color: var(--black);
}
.cta-banner .btn-primary {
  margin: 0 auto;
}

/* THANK YOU SCREEN */
.thank-you-section {
  align-items: center;
  text-align: center;
}
.thank-you-section .text-section {
  max-width: 580px;
  margin: 0 auto;
}

/* COOKIES BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: #181818e6;
  color: #fff;
  padding: 22px 22px 18px 22px;
  z-index: 9999;
  box-shadow: 0 -2px 16px rgba(38,50,56,0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  animation: cookieBannerFadeIn 0.5s both;
  font-size: 1rem;
}
@keyframes cookieBannerFadeIn {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 7px;
  border: none;
  min-width: 135px;
  font-weight: 600;
  margin-bottom: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.19s;
}
.cookie-banner .accept-btn { background: var(--accent); color: var(--primary); }
.cookie-banner .accept-btn:hover, .cookie-banner .accept-btn:focus {
  background: var(--primary); color: var(--accent);
  box-shadow: 0 2px 10px 0 rgba(45,40,30,0.10);
}
.cookie-banner .reject-btn { background: #333; color: #fff; }
.cookie-banner .reject-btn:hover, .cookie-banner .reject-btn:focus {
  background: #191919; color: var(--accent);
}
.cookie-banner .settings-btn { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: var(--accent); color: var(--primary);
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(25,25,25,0.86);
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.34s;
  animation: cookieModalPopIn 0.36s both;
}
@keyframes cookieModalPopIn {
  from { opacity: 0; transform: scale(0.91); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal-inner {
  background: #fff;
  color: #222;
  border-radius: 16px;
  padding: 36px 36px 24px 36px;
  max-width: 430px;
  width: 96vw;
  box-shadow: 0 10px 38px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  position: relative;
}
.cookie-modal-inner h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.48rem;
  margin-bottom: 0.7em;
  color: var(--primary);
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 22px;
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: var(--accent);
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--primary);
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-modal-category label {
  font-weight: bold;
  color: var(--primary);
  font-size: 1rem;
}
.cookie-modal-category .toggle {
  margin-left: auto;
}
.toggle {
  display: inline-block;
  width: 42px;
  height: 24px;
  border-radius: 16px;
  background: #e3e3e3;
  position: relative;
  vertical-align: middle;
  transition: background 0.19s;
  cursor: pointer;
}
.toggle.checked {
  background: var(--accent);
}
.toggle::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.19s, background 0.14s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.09);
}
.toggle.checked::before {
  transform: translateX(18px);
  background: var(--primary);
}
.toggle.disabled {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}
.cookie-modal-buttons {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal-buttons button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  padding: 12px 18px;
  cursor: pointer;
  transition: background 0.14s, color 0.18s;
}
.cookie-modal-buttons .btn-primary { background: var(--accent); color: var(--primary); }
.cookie-modal-buttons .btn-primary:hover, .cookie-modal-buttons .btn-primary:focus { background: var(--primary); color: var(--accent); }
.cookie-modal-buttons .btn-secondary { background: #eee; color: #232323; }
.cookie-modal-buttons .btn-secondary:hover, .cookie-modal-buttons .btn-secondary:focus { background: #ccc; color: #232323; }

/* Responsive - Mobile First */
@media (max-width: 950px) {
  .container { max-width: 98vw; }
  .features, .feature-grid, .usps > ul, .content-grid, .card-container, .card-grid {
    gap: 16px;
  }
  .feature-grid > div, .usps > ul > li, .card {
    min-width: 150px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  body { font-size: 1rem; }
  .container {
    padding: 0 7px;
  }
  header .container {
    padding-left: 7px;
    padding-right:7px;
  }
  .section, .legal-section, .thank-you-section, .faq-section, .about, .services-hero, .services-list, .about-preview, .services-preview, .testimonials-preview, .process-overview, .process-benefits, .testimonials-section, .project-highlights, .contact-section, .cta-banner, .usps, .contact-prompt {
    padding: 25px 7px;
    gap: 17px;
  }
  .feature-grid, .features, .usps > ul, .content-grid, .card-container, .card-grid {
    flex-direction: column;
    gap: 15px;
  }
  .feature-grid > div, .usps > ul > li {
    padding: 16px 12px 14px 12px;
  }
  .testimonial-card {
    padding: 15px 10px;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 15px;
  }
  .brand-contact { gap: 10px; font-size: .96rem; }
}

@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.24rem; }
  h3 { font-size: 1rem; }
  header img {height: 35px;}
  .btn-primary, .btn-secondary { font-size: 0.98rem; padding: 11px 10px; min-width: 110px;}
  .hero { padding: 30px 6px 25px 6px; }
}

/* MICRO-INTERACTIONS & ANIMATIONS */
.btn-primary, .btn-secondary, .cookie-banner button, .cookie-modal-buttons button {
  transition: background 0.2s, color 0.2s, box-shadow 0.22s, border 0.19s, transform 0.15s;
}
.btn-primary:active, .btn-secondary:active, .cookie-banner button:active {
  transform: scale(0.97);
}
.feature-grid > div:active, .usps > ul > li:active, .card:active, .faq > div:active {
  transform: scale(0.99);
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar { width: 9px; background: #eee; }
::-webkit-scrollbar-thumb { background: #bbb; border-radius: 5px; }

/* ACCESSIBILITY - HOVER/FOCUS STATE */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, .cookie-banner button:focus, .cookie-modal-buttons button:focus {
  box-shadow: var(--focus-shadow);
  outline: none;
}

/* Hide visually for accessibility */
.sr-only {
  border: 0 !important;
  clip: rect(1px,1px,1px,1px);
  height: 1px; width: 1px;
  margin: -1px; overflow: hidden;
  padding: 0; position: absolute; white-space: nowrap;
}

/* Prevent overlapping */
.card, .testimonial-card, .feature-grid > div, .usps > ul > li, .faq > div {
  margin-bottom: 20px;
}

/* CRITICAL SPACING AND FLEX GAPS */
.section, main > section, .legal-section, .thank-you-section, .faq-section, .about, .services-hero, .services-list, .about-preview, .services-preview, .testimonials-preview, .process-overview, .process-benefits, .testimonials-section, .project-highlights, .contact-section, .cta-banner, .usps, .contact-prompt {
  margin-bottom: 60px;
  gap: 24px;
}
.card-container, .card-grid, .features, .feature-grid, .usps > ul, .content-grid {
  gap: 24px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}
.feature-item {
  gap: 15px;
  align-items: flex-start;
}

/* ENSURE FLEX-ONLY LAYOUTS */
/* No display:grid, grid-* or column-* used ANYWHERE */
