/* RESET & NORMALIZE (mobile-first) */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #1A2A3A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #237D52;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #1A2A3A;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.3em;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #EAFBF3;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400i,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1A2A3A;
  text-transform: none;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 32px;
  line-height: 1.1;
  font-weight: 700;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}
p, blockquote {
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 700px;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #237D52;
  padding-left: 18px;
  margin-bottom: 12px;
  color: #1A2A3A;
  background: #EAFBF3;
  border-radius: 10px;
}
cite {
  font-style: normal;
  font-size: 0.97em;
  color: #237D52;
}
strong {
  font-weight: 700;
}

/* GEOMETRIC/STRUCTURED STYLE SHAPES */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-grid, .testimonial-grid, .service-category-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(35,125,82,0.05), 0 1px 3px 0 rgba(26,42,58,0.06);
  border-radius: 18px;
  border: 2px solid #EAFBF3;
  padding: 24px 20px 20px 20px;
  min-width: 260px;
  max-width: 330px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border 0.2s;
}
.feature-item img {
  width: 40px;
  height: 40px;
}
.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #237D52;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.feature-item:hover {
  box-shadow: 0 6px 24px 3px rgba(35,125,82,0.14), 0 1.5px 5px 0 rgba(26,42,58,0.09);
  border-color: #237D52;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px 0 rgba(35,125,82,0.06), 0 1px 3px 0 rgba(26,42,58,0.06);
  border: 2px solid #EAFBF3;
  padding: 30px 24px;
  margin-bottom: 20px;
  position: relative;
}

.testimonials-section, .testimonial-grid {
  width: 100%;
}
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px 3px rgba(35,125,82,0.11), 0 1px 3px 0 rgba(26,42,58,0.05);
  border: 2px solid #EAFBF3;
  padding: 20px;
  min-width: 280px;
  max-width: 340px;
  color: #1A2A3A;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, border 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px 6px rgba(35,125,82,0.15);
  border-color: #237D52;
}
.testimonial-card blockquote {
  background: none;
  border-left: 4px solid #237D52;
  padding-left: 18px;
  border-radius: 0;
  margin-bottom: 8px;
  font-size: 1.07em;
  font-style: italic;
}
.testimonial-rating img {
  display: inline-block;
  width: 1.3em;
  height: 1.3em;
  margin-right: 2px;
}

.contact-info, .contact-details {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
}
.contact-info > div, .contact-details > p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06em;
}

/* HERO SECTION --- geometric angles */
.hero-section {
  background: linear-gradient(135deg, #EAFBF3 55%, #fff 100%);
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  min-height: 280px;
  margin-bottom: 48px;
  padding-top: 50px;
  padding-bottom: 50px;
  display: flex;
  align-items: center;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.hero-section h1 {
  color: #237D52;
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.cta-section {
  background: #237D52;
  padding-top: 36px;
  padding-bottom: 36px;
  clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
}
.cta-section h2 {
  color: #fff;
  margin-bottom: 22px;
}

.thank-you-section {
  min-height: 340px;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
  background: #EAFBF3;
}
.thank-you-section h1 {
  color: #237D52;
}

/* NAVIGATION & HEADER */
header {
  background: #fff;
  border-bottom: 2px solid #EAFBF3;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding-top: 0;
  padding-bottom: 0;
}
header img[alt="BrightField Reinigung"], header > .container > a {
  height: 40px;
  display: flex;
  align-items: center;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1A2A3A;
  padding: 7px 14px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a.cta.primary {
  background: #237D52;
  color: #fff;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-left: 16px;
  border-radius: 14px 2px 14px 2px;
  box-shadow: 0 2px 6px 0 rgba(35,125,82, 0.09);
  transition: background 0.13s, transform 0.13s;
}
.main-nav a.cta.secondary {
  background: #EAFBF3;
  color: #237D52;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 10px;
  border-radius: 2px 14px 2px 14px;
  box-shadow: 0 1px 3px 0 rgba(35,125,82, 0.04);
  transition: background 0.13s, transform 0.13s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #237D52;
  background: #EAFBF3;
}
.main-nav a.cta.primary:hover, .main-nav a.cta.primary:focus {
  background: #1A2A3A;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
.main-nav a.cta.secondary:hover, .main-nav a.cta.secondary:focus {
  background: #237D52;
  color: #fff;
}

/* Hamburger Mobile Menu */
.mobile-menu-toggle {
  background: #237D52;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 12px;
  padding: 5px 12px;
  margin-left: 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px 0 rgba(35,125,82,0.05);
  z-index: 1002;
}
.mobile-menu-toggle:active {
  background: #1A2A3A;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 24px rgba(26,42,58,0.07);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px 20px 0 22px;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.6,.25,.69,1.35);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #1A2A3A;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 12px;
  padding: 4px 13px;
  margin-bottom: 25px;
  cursor: pointer;
  align-self: flex-end;
  transition: background 0.18s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 13px 12px;
  border-radius: 8px;
  color: #237D52;
  background: #EAFBF3;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #237D52;
  color: #fff;
}

@media (min-width: 1000px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
  }
}
@media (max-width: 999px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Pricing table */
.pricing-table {
  margin: 28px 0 28px 0;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(35,125,82,0.07);
  border-radius: 16px;
  overflow: hidden;
}
.pricing-table th {
  background: #EAFBF3;
  color: #1A2A3A;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 16px 14px;
}
.pricing-table td {
  color: #1A2A3A;
  background: #fff;
  font-size: 1rem;
}

/* Footer Styling */
footer {
  width: 100%;
  background: #1A2A3A;
  color: #fff;
  padding: 36px 0 12px 0;
  margin-top: 80px;
  font-size: 0.98rem;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  text-align: center;
}
.footer-menu {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-menu a {
  color: #EAFBF3;
  background: transparent;
  padding: 4px 10px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, color 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #237D52;
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
  color: #EAFBF3;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.01em;
}
.social-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 8px;
}
.social-links a {
  display: flex;
  align-items: center;
  background: #EAFBF3;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  justify-content: center;
  transition: background 0.15s;
}
.social-links a:hover, .social-links a:focus {
  background: #237D52;
}
.social-links img {
  width: 16px;
  height: 16px;
  filter: invert(30%) sepia(79%) saturate(795%) hue-rotate(102deg) brightness(91%) contrast(100%);
}

/* Buttons */
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  padding: 14px 30px;
  border: none;
  border-radius: 21px 6px 21px 6px;
  background: #237D52;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 1px 7px 0 rgba(35,125,82,0.10);
  margin-top: 18px;
  margin-bottom: 10px;
  letter-spacing: 0.07em;
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
}
.cta.primary {
  background: #237D52;
  color: #fff;
}
.cta.secondary {
  background: #1A2A3A;
  color: #fff;
}
.cta:hover, .cta:focus {
  background: #1A2A3A;
  color: #fff;
  transform: translateY(-1.5px) scale(1.04);
  box-shadow: 0 4px 14px 0 rgba(35,125,82,0.15);
  text-decoration: none;
}

/* Cookie Consent Banner and Modal */
#cookie-consent-banner, .cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #1A2A3A;
  box-shadow: 0 -7px 32px 0 rgba(35,125,82,.12);
  border-top: 3px solid #237D52;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 1200;
  padding: 25px 22px 22px 22px;
  font-size: 1rem;
  animation: fadeInUp 0.68s;
}
#cookie-consent-banner.hidden, .cookie-consent-banner.hidden {
  display: none;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 7px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 23px;
  border: none;
  border-radius: 18px 5px 18px 5px;
  background: #237D52;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 2px 9px 0 rgba(35,125,82,0.07);
  cursor: pointer;
  transition: background 0.14s, color 0.12s, transform 0.13s;
}
.cookie-btn.reject {
  background: #1A2A3A;
}
.cookie-btn.settings {
  background: #EAFBF3;
  color: #237D52;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #1A2A3A;
  color: #fff;
  transform: translateY(-1px) scale(1.04);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #237D52;
  color: #fff;
}

.cookie-modal-overlay {
  position: fixed;
  top:0; left:0;
  width:100vw; height:100vh;
  background: rgba(26,42,58,0.62);
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBg 0.44s;
}
.cookie-modal {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(35,125,82,.16);
  padding: 38px 32px 32px 32px;
  max-width: 370px;
  width: 97vw;
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: 1.05rem;
  position: relative;
  animation: slideDownModal 0.37s cubic-bezier(.62,1.77,.48,1.13);
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 18px;
  background: #1A2A3A;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.3rem;
  padding: 2px 11px;
  cursor: pointer;
  z-index: 10;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid #EAFBF3;
}
.cookie-category:last-child {
  border: none;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  background: #EAFBF3;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background .19s;
}
.cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px 0 rgba(26,42,58,0.09);
  transition: left .19s, background .17s;
}
input[type=checkbox].cookie-toggle:checked {
  background: #237D52;
}
input[type=checkbox].cookie-toggle:checked::before {
  left: 21px;
  background: #1A2A3A;
}
input[type=checkbox].cookie-toggle {
  appearance: none;
  outline: none;
  border: none;
  position: relative;
}
input[type=checkbox].cookie-toggle:focus {
  outline: 2px solid #1A2A3A;
}

/* Utility: Responsive Grids/Sections */
@media (min-width: 640px) {
  .feature-grid, .testimonial-grid, .service-category-list, .faq-list {
    flex-direction: row;
    gap: 24px;
    justify-content: flex-start;
  }
  .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}
@media (min-width: 900px) {
  .feature-grid {
    flex-direction: row;
    gap: 36px;
  }
  .testimonial-grid {
    flex-direction: row;
    gap: 32px;
  }
  .container {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (min-width: 1100px) {
  .feature-item, .testimonial-card, .card, .service-category-list > div {
    min-width: 340px;
    max-width: 390px;
  }
}

@media (max-width: 900px) {
  .feature-grid, .testimonial-grid, .service-category-list, .faq-list {
    flex-direction: column;
    gap: 20px;
  }
  .hero-section {
    min-height: 170px;
    padding: 30px 0 38px 0;
  }

  header .container {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 768px) {
  .hero-section .content-wrapper,
  .contact-info,
  .contact-details,
  .footer-contact,
  .social-links {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 16px !important;
  }
  .section {
    padding: 24px 7px;
    margin-bottom: 36px;
  }
  .feature-item, .testimonial-card, .card, .service-category-list > div {
    min-width: 210px;
    max-width: 100%;
    padding: 18px 9px;
  }
  main, .container, .content-wrapper {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .footer-menu, .footer-contact, .social-links {
    width: 100%;
  }
  .thank-you-section {
    padding-top: 45px;
    padding-bottom: 45px;
  }
}

/* FORM and FAQ section extras */
.faq-section h2 {
  color: #237D52;
}
.faq-list > div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 rgba(35,125,82,0.04);
  border-left: 6px solid #237D52;
  padding: 20px 15px 18px 15px;
  margin-bottom: 16px;
  transition: box-shadow 0.16s, border-color 0.18s;
}
.faq-list > div:hover {
  box-shadow: 0 6px 20px 4px rgba(35,125,82,0.11), 0 1px 3px 0 rgba(26,42,58,0.07);
  border-left-color: #1A2A3A;
}

.text-section {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 1.3em;
}

/* Cards for Case Studies, Legal etc. */
.case-studies-section ul li, .legal-section ul li {
  margin-bottom: 0.7em;
}
.legal-section {
  background: #EAFBF3;
  padding: 38px 15px;
  border-radius: 12px;
}
.legal-section h1, .legal-section h2 {
  color: #237D52;
}

/* Add subtle geometric border effects with before/after */
.feature-item, .testimonial-card, .faq-list > div, .card {
  position: relative;
}
.feature-item::after, .testimonial-card::after, .faq-list > div::after, .card::after{
  content: '';
  position: absolute;
  bottom: -9px; right: 13px;
  width: 32px; height: 8px;
  background: #EAFBF3;
  border-radius: 5px 1px 14px 0px;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}

/* Animations */
@keyframes fadeInUp {
  from { transform: translateY(22px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeInBg {
  from { background: rgba(26,42,58,0); }
  to { background: rgba(26,42,58,0.62); }
}
@keyframes slideDownModal {
  from { transform: translateY(-38px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Accessibility focus styles */
a:focus, button:focus, .cookie-btn:focus {
  outline: 2px solid #237D52;
  outline-offset: 3px;
}

/* Utility helpers */
.gap-20 { gap: 20px; }
.mt-16 { margin-top: 16px; }
.mb-32 { margin-bottom: 32px; }

/* Hide visually but keep for screen readers */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* Misc spacing for safety */
.card + .card, .feature-item + .feature-item, .testimonial-card + .testimonial-card,
.faq-list > div + div, .service-category-list > div + div {
  margin-left: 0 !important;
  margin-top: 20px !important;
}

/* Contact & CTA section tweaks */
.contact-section {
  background: #EAFBF3;
  border-radius: 16px;
  padding: 50px 0;
  margin-bottom: 40px;
}
.contact-section .cta {
  margin-top: 10px;
  margin-bottom: 3px;
}

.contact-info-section {
  background: #EAFBF3;
  border-radius: 16px;
  margin-bottom: 60px;
}

/* Color contrast and text readability for testimonials */
.testimonial-card, .testimonial-card blockquote, .testimonial-card cite {
  color: #1A2A3A;
  background: #fff;
}
@media (max-width: 420px) {
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.04rem; }
  .cta { font-size: 1rem; }
}
