/* 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;
  vertical-align: baseline;
  box-sizing: border-box;
  font-size: 100%;
  font-family: inherit;
}
html {font-size: 16px;}
body {line-height: 1.5; background: #FAFBFB; color: #2D2D37; min-height: 100vh;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
ul, ol {list-style: none;}
a {color: inherit; text-decoration: none; transition: color 0.3s cubic-bezier(.44,.13,.48,.87);}
img {max-width: 100%; height: auto; display:block;}
button, input, textarea, select {font-family: inherit;}
:focus {outline: none;}
*, *:before, *:after {box-sizing: inherit;}

/* SOFT PASTEL PALETTE + BRAND PALETTE */
:root {
  --brand-primary: #21314F;
  --brand-secondary: #43936C;
  --brand-accent: #F3F3EF;
  --pastel-rose: #FFE5E5;
  --pastel-yellow: #FFF7D6;
  --pastel-blue: #E6F2FF;
  --pastel-mint: #E6FFF6;
  --pastel-lilac: #F5E9FF;
  --text-main: #23304A;
  --text-soft: #4C5872;
  --card-bg: #FFFFFF;
  --shadow: 0 2px 20px 0 rgba(60,70,120,0.08);
  --radius: 18px;
  --radius-sm: 10px;
  --transition: .25s cubic-bezier(.44,.13,.48,.87);
}

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600;700&display=swap');
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--text-main);
  background: var(--pastel-blue);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--brand-primary);
  font-weight: 800;
  letter-spacing: 0.02em;
}
h1 {font-size: 2.5rem; margin-bottom: 18px;}
h2 {font-size: 2rem; margin-bottom: 18px;}
h3 {font-size: 1.3rem; margin-bottom: 12px;}
h4 {font-size: 1.1rem; margin-bottom: 6px;}
p, li, blockquote, dd {
  font-size: 1rem;
  color: var(--text-soft);
}
strong {color: var(--brand-primary); font-weight: 700;}
dt {margin-top: 20px;}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* HEADER + NAV */
header {background: var(--card-bg); box-shadow: var(--shadow);}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
header img {height: 46px;}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  position: relative;
  padding: 8px 13px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--brand-primary);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
header nav a.cta,
.button, .button.button-primary {
  background: var(--brand-secondary);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  box-shadow: 0 4px 24px 0 rgba(67, 147, 108, 0.12);
  transition: background var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
}
header nav a.cta:hover, .button.button-primary:hover {
  background: #56be92;
}
header nav a:hover:not(.cta) {
  background: var(--pastel-mint);
}
.mobile-menu-toggle {
  display: none;
  background: var(--brand-primary);
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  transition: background var(--transition);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--brand-secondary);
}
@media (max-width: 1024px) {
  header nav {gap: 10px;}
}
@media (max-width: 900px) {
  header nav {gap: 4px;}
}
@media (max-width: 820px) {
  header nav {gap: 0;}
  header img {height: 40px;}
}
@media (max-width: 768px) {
  header nav {display: none;}
  .mobile-menu-toggle {display: flex;}
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  z-index: 1100;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(34, 38, 68, 0.16);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transition: opacity var(--transition), visibility var(--transition);
  opacity: 0; visibility: hidden;
  pointer-events: none;
}
.mobile-menu.active {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.mobile-menu-close {
  background: var(--pastel-rose);
  color: var(--brand-primary);
  border: none;
  font-size: 2.3rem;
  padding: 6px 16px;
  border-radius: 50%;
  margin-top: 22px;
  margin-bottom: 18px;
  margin-right: 26px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  align-self: flex-end;
}
.mobile-menu-close:hover {
  background: var(--brand-secondary); color: #fff;
}
.mobile-nav {
  background: var(--card-bg);
  min-width: 88vw;
  max-width: 350px;
  min-height: 100vh;
  box-shadow: -8px 0 40px 0 rgba(34,49,79,.09);
  border-radius: var(--radius) 0 0 var(--radius);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 38px 30px 38px 32px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.6,-0.28,.74,.05);
}
.mobile-menu.active .mobile-nav {
  transform: translateX(0);
}
.mobile-nav a {
  display: block;
  padding: 18px 0;
  font-size: 1.13rem;
  color: var(--brand-primary);
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: left;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover {
  background: var(--pastel-blue);
}

/* BANNER & SECTION BASE STYLES */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--card-bg);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  min-width: 260px;
  flex: 1 1 280px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 32px 0 rgba(60,80,130,0.12);
}
.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;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-bottom: 24px;
  flex-direction: column;
  border-left: 8px solid var(--brand-secondary);
  min-width: 245px;
  max-width: 420px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  transform: scale(1.025) translateY(-4px);
  box-shadow: 0 7px 34px 0 rgba(60,100,90,0.12);
}
blockquote {
  font-size: 1.13rem;
  font-style: italic;
  color: var(--text-main);
  border-left: none;
  margin: 0 0 4px 0;
}
.testimonial-meta {
  font-size: 0.97rem;
  color: var(--brand-secondary);
  font-weight: 700;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
/* CRITICAL: Proper color contrast for all testimonials */
.testimonial-card,
.testimonial-card blockquote, 
.testimonial-card .testimonial-meta {
  color: var(--text-main);
}

.case-summaries {
  background: var(--pastel-mint);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  margin-top: 20px;
}

/* FEATURES - icon lists, usps */
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
  align-items: stretch;
  justify-content: flex-start;
}
.features .feature-grid li {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 200px;
  min-width: 200px;
  max-width: 305px;
  gap: 13px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.features .feature-grid li:hover {
  box-shadow: 0 8px 28px 0 rgba(80,116,150,0.11);
  transform: scale(1.015);
}
.features .feature-grid img {
  width: 36px; height: 36px; margin-bottom: 4px;
}
.features .feature-grid h3 {
  margin-bottom: 1px;
}
.feature-icons {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-top: 6px;
}
.feature-icons li {
  display: flex; align-items: center; gap: 9px;
  font-size: 1rem;
  background: var(--pastel-lilac);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  color: var(--brand-primary);
}
.feature-icons img {
  width: 22px; height: 22px;
}
.usp-list {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

/* SECTION/CTA/BANNERS */
.hero {
  background: linear-gradient(120deg, var(--pastel-blue) 65%, var(--pastel-lilac) 100%);
  border-radius: 0 0 var(--radius) var(--radius);
  min-height: 310px;
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 60px;
  box-shadow: 0 2px 40px 0 rgba(120,135,180,0.08);
}
.hero .content-wrapper {align-items: flex-start; max-width: 640px; padding-top: 36px; padding-bottom: 36px;}
.hero h1 {color: var(--brand-primary); font-size: 2.5rem; margin-bottom: 16px;}
.hero p {font-size: 1.18rem; margin-bottom: 18px;}

.cta {
  background: linear-gradient(100deg, var(--pastel-mint) 60%, var(--pastel-yellow) 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.cta .content-wrapper {align-items: flex-start;}
.cta h2 {font-size: 2rem; margin-bottom: 12px;}
.contact-options {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.contact-options span {display: flex; align-items: center; gap: 8px; font-size: 1rem; color: var(--brand-primary); background: var(--pastel-rose); border-radius: var(--radius-sm); padding: 7px 16px;}
.contact-options img {width: 22px; height: 22px;}

/* Footer */
footer {
  background: var(--card-bg);
  box-shadow: 0 -2px 22px 0 rgba(80,90,120,0.06);
  padding: 42px 0 12px;
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
footer .contact-info {
  flex: 1 1 260px;
  min-width: 210px;
  color: var(--brand-primary);
}
footer .contact-info h3 {
  font-size: 1.1rem;
  margin-bottom: 11px;
}
footer .contact-info p {margin-bottom: 6px; font-size: 1.02rem;}
footer .contact-info img {width: 16px; height: 16px; margin-right: 5px; vertical-align: middle;}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 160px;
}
.footer-menu a {
  font-size: 1rem;
  color: var(--brand-primary);
  opacity: 0.7;
  transition: opacity var(--transition), color var(--transition);
}
.footer-menu a:hover {color: var(--brand-secondary); opacity: 1;}
.footer-brand {margin-top: 16px; font-size: 0.95em; color: #9DB3B6;}

/* LEGAL/TEXT SECTIONS/FAQS */
.text-section, .legal .text-section {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 12px 0 rgba(120,130,150,0.05);
  padding: 23px 20px 18px;
  margin-top: 14px;
  margin-bottom: 14px;
}
.legal .text-section ul {
  margin: 16px 0 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal .text-section h2 {margin-top:18px;}

.faq dt {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--brand-primary);
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1.08em;
}
.faq dd {
  margin-bottom: 5px; margin-left: 12px;
  color: var(--text-soft);
  font-size: 0.98em;
}

/* Specialty Section Layouts */
.services-overview .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}
.services-overview .service-list li {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 22px 16px 17px;
  min-width: 200px;
  max-width: 320px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.services-overview .service-list li:hover {
  box-shadow: 0 8px 28px 0 rgba(80,116,150,0.09);
  transform: scale(1.013);
}

.team-profiles, .case-summaries ul, .about .text-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-contact, .references-hero, .thank-you, .contact-details, .contact-form-note {
  background: linear-gradient(100deg, var(--pastel-yellow) 60%, var(--pastel-blue) 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.faq-contact .content-wrapper, .references-hero .content-wrapper, .thank-you .content-wrapper {align-items: flex-start;}

.referenzen, .references-hero {
  background: linear-gradient(100deg, var(--pastel-rose) 57%, var(--pastel-lilac) 100%);
}

/* GRID/FLEX LAYOUTS FOR ALL SECTIONAL CONTAINERS */
@media (min-width: 900px) {
  .content-wrapper {
    flex-direction: row;
    gap: 48px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .features .content-wrapper {flex-direction: column; gap: 34px;}
  .hero .content-wrapper {flex-direction: column; align-items: flex-start;}
  .card-container, .content-grid, .services-overview .service-list {flex-direction: row;}
  .team-profiles {flex-direction: row; gap: 54px;}
}
@media (max-width: 900px) {
  section, .section {padding: 32px 10px;}
}
@media (max-width: 768px) {
  .container {padding: 0 6px;}
  .content-wrapper {gap: 18px;}
  .card-container, .content-grid, .services-overview .service-list, .features .feature-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .testimonial-card {max-width: 100%;}
  .cta, .references-hero, .faq-contact, .thank-you, .contact-details, .contact-form-note {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    margin-bottom: 36px;
  }
  .card {min-width: 0;}
  .text-image-section {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  header .container {
    flex-direction: row;
    padding: 0 8px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    padding-bottom: 8px;
  }
  .feature-icons, .contact-options {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  h1 {font-size: 1.6rem;}
  h2 {font-size: 1.25rem;}
  .section, section {padding: 16px 2px; margin-bottom: 28px;}
  .testimonial-card {padding: 13px 8px;}
  .card {padding: 13px 8px;}
  .hero h1, .cta h2 {font-size: 1.18rem;}
}

/* BUTTONS, LINKS, FORMS */
.button, .button.button-primary {
  display: inline-block;
  background: var(--brand-secondary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 12px 25px;
  margin-right: 16px;
  font-size: 1.05rem;
  border: none;
  box-shadow: 0 4px 20px 0 rgba(67,147,108,0.09);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  min-width: 182px;
  text-align: center;
}
.button-primary, .button.button-primary {
  background: var(--brand-secondary);
  color: #fff;
}
.button.button-primary:hover, .button.button-primary:focus {background: #379a68;}
.button:hover, .button:focus:not(.button-primary) {
  background: var(--pastel-lilac);
  color: var(--brand-primary);
}
.button:active {transform: scale(.98);}

/* MICRO-INTERACTIONS */
.card, .testimonial-card, .button, header nav a, .mobile-nav a {
  transition: box-shadow var(--transition), color var(--transition), background var(--transition), transform var(--transition);
}

/* TRUST SIGNALS */
.trust-signals {
  margin-top: 18px;
  display: flex; gap: 18px;
  align-items: center; flex-wrap: wrap;
  color: var(--brand-primary);
}
.trust-signals span {
  background: var(--pastel-mint);
  padding: 5px 13px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 7px;
  font-weight: 600;
  font-size: 1em;
}
.trust-signals img {width: 22px; height: 22px;}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  display: flex; flex-direction: row; align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: fixed;
  z-index: 9999;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg,#FFF7D6 75%, #E6FFF6 100%);
  box-shadow: 0 -2px 22px 0 rgba(120,120,130,0.14);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 28px 14px 20px;
  max-width: 100vw;
  min-height: 64px;
  font-size: 1rem;
  transition: transform .4s ease;
}
.cookie-banner.hide {transform: translateY(120%);}
.cookie-banner .cookie-text {color: var(--brand-primary); font-size: 1.02rem; margin-right: auto;}
.cookie-banner .cookie-actions {
  display: flex; gap: 13px; flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 8px 18px;
  font-size: 1.01rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(100,200,120,.09);
  transition: background var(--transition), color var(--transition);
}
.cookie-banner .accept {
  background: var(--brand-secondary);
  color: #fff;
}
.cookie-banner .accept:hover {background: #379a68;}
.cookie-banner .reject {
  background: #FFF;
  color: var(--brand-primary);
}
.cookie-banner .reject:hover {background: var(--pastel-rose);}
.cookie-banner .settings {
  background: var(--pastel-lilac);
  color: var(--brand-primary);
}
.cookie-banner .settings:hover {background: var(--pastel-blue);}
@media (max-width:680px){
  .cookie-banner {flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 6px;}
  .cookie-banner .cookie-actions {gap: 6px;}
}

/* COOKIE MODAL STYLE */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 10010;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,38,68, 0.22);
  backdrop-filter: blur(2px);
  align-items: center; justify-content: center;
  animation: fadeIn .32s;
}
.cookie-modal.active {display: flex;}
.cookie-modal .modal-inner {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 34px 0 rgba(34,70,90,.18);
  padding: 36px 24px;
  width: 97vw;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 21px;
  animation: slideIn .38s;
}
@keyframes fadeIn {from{opacity:0;}to{opacity:1;}}
@keyframes slideIn {from{transform:translateY(40px);}to{transform:translateY(0);}}
.cookie-modal h2 {font-size: 1.28rem; margin-bottom: 6px;}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 8px 0 17px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 9px 6px;
  background: var(--pastel-blue);
  border-radius: var(--radius-sm);
}
.cookie-category label {
  font-size: 1.02em;
  font-weight: 600;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--brand-secondary);
  width: 20px; height: 20px;
}
.cookie-category .desc {
  color: var(--text-soft);
  font-size: 0.97em;
  margin-left: 3px;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 10px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.cookie-modal .cookie-modal-actions button {
  transition: background var(--transition), color var(--transition);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1em;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
}
.cookie-modal .save {
  background: var(--brand-secondary);
  color: #fff;
}
.cookie-modal .save:hover {background: #379a68;}
.cookie-modal .cancel {
  background: var(--pastel-rose);
  color: var(--brand-primary);
}
.cookie-modal .cancel:hover {background: var(--pastel-lilac);}

/* SPECIAL UTILITIES & COMMON GAPS */
.mb-24 {margin-bottom: 24px;}
.mt-16 {margin-top: 16px;}
.gap-8 {gap: 8px !important;}
.gap-16 {gap: 16px !important;}
.gap-20 {gap: 20px !important;}

/* SCROLLBAR SOFT APPEARANCE */
::-webkit-scrollbar {
  width: 8px;
  background: var(--pastel-blue);
}
::-webkit-scrollbar-thumb {
  background: var(--pastel-mint);
  border-radius: var(--radius-sm);
}

/* ANIMATIONS/MICRO-TRANSITIONS */
.card:hover, .feature-grid li:hover, .feature-item:hover {
  box-shadow: 0 12px 38px 0 rgba(100,120,140,0.12);
  transform: translateY(-2px) scale(1.018);
}
.button:active {
  transform: scale(0.987);
  box-shadow: 0 2px 3px 0 rgba(67,147,108,0.1);
}

/* A11Y OUTLINE FOR KEYBOARD USERS */
:focus-visible {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}

/* Prevent accidental element overlapping by ensuring margins/gaps */
.section, section, .content-wrapper, .card-container, .content-grid, .feature-grid, .feature-item, .testimonials, .testimonial-slider, .usp-list, .footer-menu, .team-profiles {
  margin-bottom: 0;
  gap: 20px;
}

/* Helper fix for margin between flex children */
.card-container > *,
.content-grid > *,
.services-overview .service-list > *,
.feature-grid > *,
.feature-icons > *,
.team-profiles > *,
.usp-list > *,
.contact-options > * {
  margin-bottom: 0 !important;
}

/* Prevent absolute positioning of content blocks/cards */
.card, .testimonial-card, .feature-grid li, .service-list li, .case-summaries, .text-section, .contact-info, .footer-brand {
  position: relative !important;
}

/* Hide scroll if body is menu/modal locked */
body.menu-open, body.modal-open {overflow: hidden;}

