/* --- CSS RESET & BASE TYPOGRAPHY ---------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code,
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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #181818;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #24303E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #111;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  list-style: none;
}

/* --- TYPOGRAPHY & HEADINGS --------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #181818;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.7rem;
  line-height: 1.08;
  margin-bottom: 18px;
  color: #181818;
}
h2 {
  font-size: 2.0rem;
  line-height: 1.14;
  margin-bottom: 18px;
  color: #111;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.18;
  margin-bottom: 12px;
  color: #222;
}
h4 {
  font-size: 1.1rem;
  line-height: 1.18;
  color: #222;
}
strong {
  font-weight: 700;
  color: #222;
}
p {
  margin-bottom: 16px;
  color: #1A1A1A;
  font-size: 1rem;
}

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

/* --- HEADER & NAVIGATION ---------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1.5px solid #E5E5E5;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 28px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
  filter: grayscale(1) contrast(1.15);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222;
  position: relative;
  padding: 0 2px 3px 2px;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #24303E;
  text-decoration: none;
}

.btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #fff;
  border: 1.5px solid #1A202C;
  color: #181818;
  font-weight: 600;
  font-size: 1rem;
  text-transform: none;
  padding: 12px 30px;
  border-radius: 28px;
  margin-left: 18px;
  cursor: pointer;
  outline: none;
  box-shadow: 0px 1px 6px rgba(34,34,34,0.06);
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.btn:hover, .btn:focus {
  background: #24303E;
  color: #fff;
  border-color: #24303E;
  box-shadow: 0 6px 24px rgba(36,48,62,0.13);
}
.btn.primary {
  background: #24303E;
  color: #fff;
  border: 1.5px solid #24303E;
}
.btn.primary:hover, .btn.primary:focus {
  background: #fff;
  color: #24303E;
  border: 1.5px solid #24303E;
  box-shadow: 0 6px 24px rgba(36,48,62,0.16);
}

/* --- MOBILE HEADER ---------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #24303E;
  border: none;
  font-size: 2.1rem;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 0 0 18px;
  z-index: 1101;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus {
  background: #E5E5E5;
}

@media (max-width: 1024px) {
  header .container {
    gap: 10px;
  }
  .main-nav {
    gap: 14px;
  }
  .btn, .btn.primary {
    padding: 12px 22px;
    font-size: 0.98rem;
  }
}
@media (max-width: 900px) {
  header .container {
    height: 68px;
    gap: 5px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- MOBILE MENU ------------------------------------------------------------ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 12px 60px rgba(36,48,62, 0.19);
  z-index: 1500;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  transform: translateX(-105vw);
  transition: transform 0.38s cubic-bezier(.77,.2,.19,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #222;
  cursor: pointer;
  z-index: 1511;
  padding: 4px 10px 4px 4px;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #24303E;
}
.mobile-nav {
  margin-top: 70px;
  margin-left: auto;
  margin-right: auto;
  width: 94vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  z-index: 1520;
}
.mobile-nav a {
  display: block;
  width: 100%;
  padding: 16px 10px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  color: #222;
  text-align: left;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E5E5E5;
  color: #24303E;
}

/* --- MAIN STRUCTURE & FLEX SPACING ------------------------------------------ */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 700px) {
  .section, section {
    padding: 26px 6px;
    margin-bottom: 36px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 24px rgba(36,48,62,0.06);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 16px;
}
.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, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

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

/* --- HERO/INTRO SECTIONS ---------------------------------------------------- */
.hero {
  background: #f8f8f8;
  border-bottom: 1.5px solid #E5E5E5;
  margin-bottom: 0;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero .container {
  align-items: flex-start;
}
.hero h1 {
  color: #181818;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  font-size: 2.7rem;
}
.hero p {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 2.2rem;
  max-width: 620px;
}
.hero .btn {
  margin-left: 0;
  margin-bottom: 6px;
}

@media (max-width: 700px) {
  .hero {
    padding-top: 30px;
    padding-bottom: 26px;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
}

/* --- FEATURES GRID ---------------------------------------------------------- */
.features {
  background: #fff;
  border-bottom: 1px solid #ececec;
  margin-bottom: 0;
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 20px;
  justify-content: space-between;
}
.features .feature-grid li {
  background: #f6f6f6;
  border-radius: 13px;
  padding: 26px 20px 26px 20px;
  max-width: 300px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0px 1px 8px rgba(36,48,62,0.07);
  transition: box-shadow 0.2s, background 0.2s;
}
.features .feature-grid li:hover {
  box-shadow: 0 4px 24px rgba(36,48,62,0.11);
  background: #f8f8fa;
}
.features .feature-grid img {
  height: 34px;
  margin-bottom: 14px;
  filter: grayscale(1) contrast(1.2);
}
.features .feature-grid h3 {
  font-size: 1.12rem;
  margin-bottom: 12px;
}
.features .feature-grid p {
  font-size: 1rem;
  color: #303030;
}

@media (max-width: 991px) {
  .features .feature-grid {
    gap: 18px;
  }
  .features .feature-grid li {
    max-width: 100%;
    min-width: 220px;
    flex: 1 0 48%;
  }
}
@media (max-width: 700px) {
  .features .feature-grid {
    flex-direction: column;
    gap: 14px;
    padding: 0;
  }
  .features .feature-grid li {
    min-width: 0;
    padding: 20px 10px;
  }
}

/* --- ABOUT/SERVICES/ETC SECTIONS -------------------------------------------- */
.about-preview,
.services-preview,
.sustainability,
.vorteile,
.mission,
.team,
.history,
.projektkompetenz,
.legal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 24px rgba(36,48,62,0.09);
  margin-bottom: 60px;
}
.about-preview ul,
.services-preview ul,
.sustainability ul,
.vorteile ul,
.mission ul,
.team ul,
.history ul,
.projektkompetenz ul,
.legal ul {
  margin-bottom: 14px;
  margin-left: 14px;
  list-style: disc inside;
}
.about-preview ul li,
.services-preview ul li,
.sustainability ul li,
.vorteile ul li,
.mission ul li,
.team ul li,
.history ul li,
.projektkompetenz ul li,
.legal ul li {
  margin-bottom: 7px;
  color: #181818;
  font-size: 1rem;
  line-height: 1.64;
}
.about-preview .btn,
.services-preview .btn {
  margin-top: 14px;
}

/* --- BLOG PREVIEW / CARDS --------------------------------------------------- */
.blog-preview .blog-post-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 15px;
  margin-bottom: 10px;
}
.blog-card {
  background: #fff;
  border: 1px solid #ECECEC;
  border-radius: 13px;
  padding: 26px 20px 23px 20px;
  flex: 1 1 280px;
  box-shadow: 0px 1px 8px rgba(36,48,62, .06);
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 230px;
  transition: box-shadow 0.22s, border-color 0.15s;
}
.blog-card:hover {
  box-shadow: 0 4px 28px rgba(36,48,62,0.14);
  border-color: #BEC6D1;
}
.blog-card h3 {
  margin-bottom: 7px;
}
.blog-card a {
  color: #24303E;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 0 0 2px 0;
  transition: color 0.2s;
}
.blog-card a:hover {
  color: #111;
  text-decoration: underline;
}

@media (max-width: 700px) {
  .blog-preview .blog-post-cards {
    flex-direction: column;
    gap: 10px;
  }
  .blog-card {
    min-width: 0;
    padding: 18px 10px 14px 10px;
  }
}

/* --- NEWSLETTER FORM -------------------------------------------------------- */
.newsletter-signup form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
.newsletter-signup input[type="email"] {
  border: 1.5px solid #BEC6D1;
  border-radius: 30px;
  padding: 11px 20px;
  font-size: 1rem;
  background: #fff;
  color: #1A1A1A;
  outline: none;
  width: 240px;
  transition: border-color 0.2s;
}
.newsletter-signup input[type="email"]:focus {
  border-color: #24303E;
}
.newsletter-signup button.btn {
  margin-left: 0;
}
@media (max-width: 450px) {
  .newsletter-signup form {
    flex-direction: column;
    gap: 7px;
  }
  .newsletter-signup input[type="email"] {
    width: 100%;
  }
}

/* --- TESTIMONIALS ---------------------------------------------------------- */
.testimonials {
  background: #f3f3f3;
  border-radius: 16px;
  margin-bottom: 60px;
  padding-top: 36px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0px 2px 16px rgba(36,48,62,0.11);
  padding: 20px;
  margin-bottom: 20px;
  border-left: 5px solid #24303E;
  max-width: 740px;
  transition: box-shadow 0.2s, background 0.2s;
}
.testimonial-card p {
  flex: 1;
  color: #232323;
  font-size: 1.08rem;
  margin-bottom: 0;
  line-height: 1.8;
}
.testimonial-card span {
  min-width: 140px;
  font-size: 0.98rem;
  color: #888;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(36,48,62,0.15);
  background: #f8f9fa;
}

@media (max-width: 700px) {
  .testimonials {
    padding-top: 18px;
  }
  .testimonials .content-wrapper {
    gap: 12px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
    padding: 14px;
    border-left: 4px solid #24303E;
  }
}

/* --- CTA & DARK CTA BLOCKS -------------------------------------------------- */
.cta {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(36,48,62,0.07);
  margin-bottom: 60px;
  text-align: center;
}
.cta.dark {
  background: #24303E;
  color: #fff;
}
.cta.dark h2, .cta.dark p { color: #fff; }
.cta .btn {
  margin-top: 16px;
  font-size: 1.1rem;
}
.cta.dark .btn {
  background: #fff;
  color: #24303E;
  border-color: #fff;
}
.cta.dark .btn:hover, .cta.dark .btn:focus {
  background: #232323;
  color: #fff;
  border: 1.5px solid #fff;
}

/* --- FOOTER -------------------------------------------------------------- */
footer {
  background: #181818;
  padding: 38px 0 28px 0;
  color: #fff;
  position: relative;
  z-index: 10;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-logo img {
  height: 32px;
  filter: invert(1) grayscale(1) contrast(110%);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.99rem;
  opacity: 0.84;
  transition: opacity 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  opacity: 1;
}
.legal-notices {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 0.93rem;
  color: #BEC6D1;
  width: 100%;
  margin-top: 12px;
  text-align: right;
}
@media (max-width: 650px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .legal-notices {
    text-align: left;
  }
}

/* --- GENERAL BORDERS, SHADOWS & AESTHETIC ----------------------------------- */
section, .section {
  box-shadow: 0 1.5px 17px rgba(36,48,62,0.07);
  border-radius: 16px;
  background: #fff;
}

/* --- PRICING / SERVICE TAGS ------------------------------------------------- */
.service-price {
  margin-top: 8px;
  font-size: 1.04rem;
  background: #24303E;
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}

/* --- LEGAL/INFO PAGES ------------------------------------------------------ */
.legal h1,
.legal h2 {
  color: #181818;
}
.legal a {
  color: #24303E;
  text-decoration: underline;
  font-weight: 500;
}
.legal ul {
  margin-bottom: 14px;
  margin-left: 14px;
  list-style: disc inside;
}
.legal ul li {
  margin-bottom: 7px;
}

/* --- ADDRESS/MAP ----------------------------------------------------------- */
.address-details {
  padding: 10px 0 12px 0;
  font-size: 1.05rem;
  color: #1A1A1A;
}
.map-placeholder {
  margin: 10px 0 0 0;
  background: #E5E5E5;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  color: #222;
}

/* --- FLEX: SERVICE LISTS, PROCESS ------------------------------------------- */
.services .service-list,
.services-preview .service-highlights-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0 15px 0;
}
.services .service-list li {
  flex: 1 1 250px;
  background: #F6F8FA;
  padding: 22px 15px 22px 20px;
  border-radius: 13px;
  box-shadow: 0px 1px 7px rgba(36,48,62,0.05);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-left: 5px solid #BEC6D1;
  min-width: 240px;
  transition: box-shadow 0.13s, background 0.19s;
}
.services .service-list li:hover {
  box-shadow: 0 5px 24px rgba(36,48,62,0.10);
  background: #fff;
  border-left: 5px solid #24303E;
}
.services .service-list h3 {
  font-size: 1.08rem;
}
@media (max-width: 800px) {
  .services .service-list, .services-preview .service-highlights-list { flex-direction: column; gap: 10px; }
  .services .service-list li { min-width: 0; }
}

/* --- PROCESS (OL STEP FLEX LAYOUT) ----------------------------------------- */
.process ol {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0 0 0;
}
.process ol li {
  flex: 1 1 220px;
  background: #F6F8FA;
  border-radius: 10px;
  padding: 20px 15px 14px 15px;
  text-align: left;
  min-width: 170px;
  box-shadow: 0px 1px 7px rgba(36,48,62,0.04);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.process ol li img {
  height: 32px;
  margin-bottom: 6px;
  filter: grayscale(1) contrast(1.15);
}
@media (max-width: 700px) {
  .process ol { flex-direction: column; gap: 10px; }
  .process ol li { min-width: 0; }
}

/* --- MISC: IMPACT FIGURES & CASES ------------------------------------------- */
.impact-figures {
  margin-top: 14px;
  margin-bottom: 8px;
  font-size: 1.06rem;
  color: #1a1a1a;
  font-weight: 700;
  background: #E5E5E5;
  border-radius: 9px;
  padding: 10px 13px;
  display: inline-block;
}
.case-examples {
  margin-top: 6px;
  background: #f6f6f6;
  border-radius: 9px;
  padding: 12px 13px;
  color: #181818;
}

/* --- COOKIE CONSENT BANNER -------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #24303E;
  color: #fff;
  box-shadow: 0 -7px 26px rgba(36,48,62,0.07);
  border-top: 3px solid #181818;
  z-index: 2000;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 1.04rem;
  transition: transform 0.33s cubic-bezier(.77,.2,.19,1), opacity 0.18s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(180%);
}
.cookie-banner .cookie-msg {
  flex: 1 1 280px;
  font-size: 1rem;
  color: #fff;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  background: #fff;
  color: #24303E;
  border: none;
  padding: 9px 26px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
  box-shadow: 0 1px 7px rgba(36,48,62,0.07);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #24303E;
  color: #fff;
  outline: 2px solid #fff;
}
.cookie-banner .cookie-btn.primary {
  background: #24303E;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-banner .cookie-btn.primary:hover, .cookie-banner .cookie-btn.primary:focus {
  background: #fff;
  color: #24303E;
  border-color: #24303E;
}
.cookie-banner .cookie-btn.settings {
  background: #E5E5E5;
  color: #181818;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
    padding: 16px 9px;
  }
  .cookie-banner .cookie-actions { width: 100%; justify-content: flex-start; }
}

/* --- COOKIE PREFERENCES MODAL ----------------------------------------------- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(20,24,28, 0.64);
  z-index: 2100;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: cookieOverlayFadeIn 0.2s ease;
}
@keyframes cookieOverlayFadeIn {
  from {
    opacity: 0;
  } to {
    opacity: 1;
  }
}
.cookie-modal {
  min-width: 300px;
  max-width: 98vw;
  width: 415px;
  padding: 36px 30px 30px 30px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 9px 48px rgba(36,48,62,0.17);
  color: #213647;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: cookieModalSlideIn 0.28s cubic-bezier(.47,1.64,.41,.8);
}
@keyframes cookieModalSlideIn {
  from {
    transform: translateY(56px) scale(.96);
    opacity: 0.3;
  } to {
    transform: none;
    opacity: 1;
  }
}
.cookie-modal h3 {
  font-size: 1.16rem;
  margin-bottom: 10px;
  color: #24303E;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 18px;
  top: 15px;
  border: none;
  background: none;
  font-size: 2rem;
  color: #24303E;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #1A1A1A;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  background: #f3f4f7;
  padding: 12px 12px 10px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-category label {
  cursor: pointer;
  font-size: 1rem;
  color: #232336;
  flex: 1;
}
.cookie-category input[type='checkbox'], .cookie-category input[type='radio'] {
  width: 21px;
  height: 21px;
  accent-color: #24303E;
  margin-right: 8px;
}
.cookie-category input[disabled] {
  accent-color: #BEC6D1;
}
.cookie-modal .cookie-save-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .cookie-save-actions .cookie-btn {
  min-width: 102px;
}
@media (max-width: 420px) {
  .cookie-modal {
    padding: 13vw 3vw 6vw 3vw;
    width: 96vw;
    min-width: 180px;
  }
}

/* --- MICRO-ANIMATIONS / TRANSITIONS ----------------------------------------- */
.btn, .btn.primary, .blog-card, .card, .testimonial-card, .footer-nav a, .main-nav a {
  transition: color .2s, background .2s, border .2s, box-shadow .2s, opacity .18s;
}
input[type="email"], .feature-grid li, .card, .service-list li {
  transition: border-color .2s, box-shadow .2s, background .18s;
}

/* --- MONOCHROME VISUALS: STRONG CONTRAST ------------------------------------ */
/* Dramatic contrast for monochrome_sophisticated look */
body,
.section,
section,
.content-wrapper {
  background: #fff;
  color: #181818;
}
.cta.dark,
header,
footer {
  background: #181818;
  color: #fff;
}
.cta.dark h2,
.cta.dark p,
footer,
footer .footer-nav a,
footer .legal-notices {
  color: #fff;
}

/* --- CUSTOM SCROLLBAR FOR DARK/MONOCHROME ---------------------------------- */
::-webkit-scrollbar {
  width: 9px;
  background: #E5E5E5;
}
::-webkit-scrollbar-thumb {
  background: #BEC6D1;
  border-radius: 7px;
}

/* --- ERROR STATES, FORM VALIDATION ------------------------------------------ */
input:invalid {
  border-color: #8b2323;
}

/* --- Z-INDEX SAFETY --------------------------------------------------------- */
header, footer { z-index: 1000; }
.mobile-menu { z-index: 1500; }
.cookie-banner { z-index: 2000; }
.cookie-modal-overlay { z-index: 2100; }

/* --- UTILITY CLASSES -------------------------------------------------------- */
.text-center { text-align: center; }
.mt-2x { margin-top: 2rem; }
.mb-2x { margin-bottom: 2rem; }

/* FONTS (web-safe fallback -- add Google Fonts via HTML) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Montserrat'), local('Montserrat-Regular');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Lato'), local('Lato-Regular');
}
