/* ==========================================================================
   AGP RELOADED - MODERN DESIGN SYSTEM (Staging /neu)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-primary: #125FA0;
  --color-primary-dark: #0d4677;
  --color-primary-light: #eef6fc;
  --color-accent: #0d8054;
  --color-accent-dark: #0b6d47;
  --color-accent-light: #e8f9f2;
  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748b;
  --color-slate-200: #e2e8f0;
  --color-slate-100: #f1f5f9;
  --color-slate-50: #f8fafc;
  --color-white: #ffffff;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(18, 95, 160, 0.12);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 45px rgba(18, 95, 160, 0.14);
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets & smooth scrolling */
html, body {
  scroll-behavior: smooth;
  font-family: var(--font-sans) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

body {
  font-family: var(--font-sans) !important;
  color: var(--color-slate-700);
  background-color: var(--color-slate-50);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, nav, button, input, select, textarea {
  font-family: var(--font-sans) !important;
}

/* ==========================================================================
   STICKY HEADER & NAVIGATION
   ========================================================================== */
#headerUpper {
  position: sticky !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100% !important;
  height: 74px !important;
  z-index: 1000 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
  padding: 0 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  transition: var(--transition);
}

#logoHolder {
  display: flex;
  align-items: center;
}

#logoHolder img,
#headerUpper img {
  height: 48px !important;
  max-height: 48px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
  transition: transform 0.2s ease;
}

#logoHolder a:hover img {
  transform: scale(1.02);
}

#headerUpper nav {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#headerUpper nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
}

#headerUpper nav li {
  height: 44px !important;
  width: auto !important;
  padding: 0 16px !important;
  border-radius: var(--radius-sm);
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  transition: var(--transition);
}

#headerUpper nav li a {
  color: var(--color-slate-600) !important;
  font-size: 15.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0.2px;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

#headerUpper nav li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--color-accent);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 3px 3px 0 0;
}

#headerUpper nav li:hover::after,
#headerUpper nav li#active::after {
  width: 70%;
}

#headerUpper nav li:hover a {
  color: var(--color-primary) !important;
}

#headerUpper nav li#active a {
  color: var(--color-primary) !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   HERO BANNER & EDITORIAL HEADLINE
   ========================================================================== */
#headerDownerPraxis,
#headerDownerWeiteres {
  height: calc(88vh - 74px) !important;
  min-height: 520px !important;
  max-height: 640px !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 0 80px !important;
  background-size: cover !important;
  background-position: center center !important;
}

#headerDowner {
  height: auto !important;
  min-height: 680px !important;
  max-height: 760px !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 40px 80px 90px 80px !important;
  background-size: cover !important;
  background-position: center center !important;
}

#headerDowner::before,
#headerDownerPraxis::before,
#headerDownerWeiteres::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.72) 0%, rgba(18, 95, 160, 0.45) 100%);
  z-index: 1;
}

#headlineHolder,
#headerBox {
  position: relative;
  z-index: 2;
}

#headlineHolder {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  margin: 0 0 24px 0 !important;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(23, 200, 130, 0.22);
  color: #17C882;
  border: 1px solid rgba(23, 200, 130, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #17C882;
  box-shadow: 0 0 10px #17C882;
}

#headlineHolder h1 {
  display: block !important;
  width: 100% !important;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 54px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  padding: 0 !important;
  margin: 0 0 8px 0 !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45) !important;
  letter-spacing: -0.5px;
}

#headlineHolder h2 {
  display: block !important;
  width: 100% !important;
  background: transparent !important;
  color: #f1f5f9 !important;
  font-size: 26px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  padding: 0 !important;
  margin: 0 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
}

/* Floating Glass Hero Box */
#headerBox {
  background: rgba(18, 95, 160, 0.92) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28) !important;
  padding: 28px 32px 34px 32px !important;
  max-width: 480px !important;
  margin: 0 0 20px 0 !important;
  color: #fff !important;
}

.boxRow {
  display: flex !important;
  align-items: center !important;
  margin: 14px 0 !important;
}

.boxRow .icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 18px;
  flex-shrink: 0;
}

.boxRow .icon-wrap svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.boxRow span {
  font-size: 15.5px !important;
  line-height: 1.45 !important;
  margin-left: 0 !important;
  color: #f8fafc;
}

.boxRow span a {
  color: #fff !important;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.boxRow span a:hover {
  color: var(--color-accent) !important;
}

#anfahrtBtn {
  background: var(--color-accent) !important;
  padding: 13px 26px !important;
  max-width: none !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: var(--radius-sm) !important;
  float: none !important;
  position: static !important;
  margin-top: 20px !important;
  margin-bottom: 4px !important;
  margin-left: 0 !important;
  box-shadow: 0 6px 18px rgba(23, 200, 130, 0.35) !important;
  transition: var(--transition) !important;
  text-decoration: none;
}

#anfahrtBtn:hover {
  background: var(--color-accent-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(23, 200, 130, 0.45) !important;
}

#anfahrtBtn a {
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   METRICS & TRUST BANNER
   ========================================================================== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: -40px auto 40px auto;
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.metric-card {
  background: #ffffff;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-accent);
}

.metric-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.metric-lbl {
  font-size: 13px;
  color: var(--color-slate-500);
  font-weight: 500;
  line-height: 1.35;
}

/* ==========================================================================
   INTRO SECTION
   ========================================================================== */
.modern-intro-container {
  max-width: 960px;
  margin: 40px auto 60px auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  color: #0b7a4b !important;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-align: center;
}

.leistungPage h2,
.leistungPage .section-title,
.section-title {
  font-size: clamp(24px, 5.5vw, 36px) !important;
  font-weight: 800;
  color: var(--color-slate-900) !important;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.25;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.modern-intro-text {
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--color-slate-600);
  text-align: left;
  background: #ffffff;
  padding: 36px 42px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-slate-200);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   SERVICE CARDS (Unsere Leistungen)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 30px auto 70px auto;
  padding: 0 24px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-accent);
}

.service-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-icon-wrap svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.service-card h3 {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--color-primary) !important;
  margin: 0 0 16px 0 !important;
  line-height: 1.3 !important;
}

.service-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 26px 0 !important;
  flex-grow: 1;
}

.service-list li {
  position: relative;
  padding-left: 26px !important;
  margin-bottom: 12px !important;
  font-size: 15px !important;
  color: var(--color-slate-600) !important;
  line-height: 1.5 !important;
  list-style: none !important;
}

.service-list li::before {
  content: "✓" !important;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--color-accent);
  font-weight: 800;
  font-size: 14px;
  background-image: none !important;
  width: auto !important;
  height: auto !important;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-slate-100);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  margin-top: auto;
}

.service-card:hover .service-btn {
  background: var(--color-primary);
  color: #ffffff;
}

/* ==========================================================================
   PARALLAX QUOTE BANNER
   ========================================================================== */
.parallax-background,
.parallax-background2,
.parallax-background3,
.parallax-vorbereitung {
  max-width: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
}

.quote-banner {
  height: 380px;
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.78) 0%, rgba(18, 95, 160, 0.65) 100%), url('../img/Remember_me.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  color: #ffffff;
}

.quote-content {
  max-width: 820px;
}

.quote-text {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.45;
  font-style: italic;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.quote-author {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   EINDRÜCKE (Showcase)
   ========================================================================== */
.eindruecke-container {
  max-width: 1160px;
  margin: 70px auto 90px auto;
  padding: 0 24px;
}

.showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.showcase-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  background: #ffffff;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.showcase-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-slate-200);
}

.showcase-card.reverse {
  grid-template-columns: 1fr 1fr;
}

.showcase-card.reverse .showcase-img-wrap {
  order: 2;
}

.showcase-card.reverse .showcase-text {
  order: 1;
}

.showcase-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 11;
}

.showcase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-img-wrap img {
  transform: scale(1.03);
}

.showcase-text h4 {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.showcase-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-slate-600);
  margin: 0;
}

/* ==========================================================================
   PATIENT GUIDANCE PAGES (Vorbereitung, Durchführung, Nachhause)
   ========================================================================== */
.patient-guide-wrap {
  max-width: 1060px;
  margin: 40px auto 80px auto;
  padding: 0 24px;
}

.guide-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.guide-card {
  background: #ffffff;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: var(--transition);
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.guide-card.alert-card {
  border-left: 5px solid #ef4444;
}

.guide-card.info-card {
  border-left: 5px solid var(--color-primary);
}

.guide-card.success-card {
  border-left: 5px solid var(--color-accent);
}

.guide-card.warning-card {
  border-left: 5px solid #f59e0b;
}

.guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.guide-card.alert-card .guide-badge {
  background: #fee2e2;
  color: #b91c1c;
}

.guide-card.info-card .guide-badge {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.guide-card.success-card .guide-badge {
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
}

.guide-card.warning-card .guide-badge {
  background: #fef3c7;
  color: #b45309;
}

.guide-card h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 12px;
}

.guide-card p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--color-slate-600);
  margin: 0;
}

/* Download Callout Card */
.download-callout-card {
  background: linear-gradient(135deg, #ffffff 0%, var(--color-primary-light) 100%);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.download-info h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.download-info p {
  font-size: 15px;
  color: var(--color-slate-600);
  margin: 0;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(18, 95, 160, 0.25);
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-download:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(18, 95, 160, 0.35);
}

/* ==========================================================================
   ZERTIFIKATE & DOWNLOADS (weiteres.html)
   ========================================================================== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1060px;
  margin: 40px auto 60px auto;
  padding: 0 24px;
}

.cert-card {
  background: #ffffff;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: var(--transition);
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.cert-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.cert-preview-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-slate-200);
  aspect-ratio: 1 / 1.414;
}

.cert-preview-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border: none !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Document List */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 30px auto 80px auto;
  padding: 0 24px;
}

.doc-card {
  background: #ffffff;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
}

.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary);
}

.doc-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-content h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--color-slate-900);
  margin: 0 0 4px 0;
}

.doc-content p {
  font-size: 13.5px;
  color: var(--color-slate-500);
  margin: 0 0 10px 0;
}

.doc-content a {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.doc-content a:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   FOOTER (Modern Clean Medical Footer) & GOOGLE MAPS PRESENTATION
   ========================================================================== */
#maps-wrapper {
  width: 100% !important;
  position: relative !important;
  background: #0b1329 !important;
  border-bottom: 2px solid rgba(23, 200, 130, 0.35) !important;
  margin-bottom: 65px !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3) !important;
}

#maps-wrapper iframe#maps {
  display: block !important;
  width: 100% !important;
  height: 420px !important;
  border: 0 !important;
}

.modern-footer {
  background: linear-gradient(180deg, #0b1329 0%, #070d1e 100%) !important;
  color: #94a3b8 !important;
  margin-top: 110px !important;
  padding-top: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  position: relative !important;
}

/* When map is not displayed, provide 80px generous top breathing space */
.modern-footer > .footer-inner:first-child,
#maps-wrapper[style*="display: none"] + .footer-inner,
#maps-wrapper:empty + .footer-inner {
  padding-top: 80px !important;
}

.footer-inner {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 35px 30px 50px !important;
  display: grid !important;
  grid-template-columns: 1.5fr 1.1fr 1.3fr 1.1fr !important;
  gap: 48px !important;
}

.footer-col h4 {
  color: #ffffff !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  margin-bottom: 24px !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  position: relative !important;
  padding-bottom: 12px !important;
}

.footer-col h4::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 32px !important;
  height: 2.5px !important;
  background: #17C882 !important;
  border-radius: 2px !important;
}

.footer-col p {
  font-size: 14.5px !important;
  line-height: 1.7 !important;
  color: #94a3b8 !important;
  margin-bottom: 14px !important;
}

.footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-links li {
  margin-bottom: 12px !important;
}

.footer-links a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-size: 14.5px !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 26px !important;
  padding: 2px 0 !important;
}

.footer-links a:hover {
  color: #17C882 !important;
  transform: translateX(4px) !important;
}

.footer-contact-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  margin-bottom: 18px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #cbd5e1 !important;
}

.footer-contact-item svg {
  width: 18px !important;
  height: 18px !important;
  fill: #17C882 !important;
  flex-shrink: 0 !important;
  margin-top: 3px !important;
}

.footer-contact-item a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.footer-contact-item a:hover {
  color: #ffffff !important;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin-top: 40px !important;
  padding: 32px 30px 48px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: 13.5px !important;
  color: #64748b !important;
}

.footer-bottom-links {
  display: flex !important;
  gap: 22px !important;
}

.footer-bottom-links a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.footer-bottom-links a:hover {
  color: #17C882 !important;
}

/* ==========================================================================
   LEGAL PAGES (Impressum & Datenschutz)
   ========================================================================== */
.impressum, .datenschutz {
  max-width: 880px;
  margin: 40px auto 70px auto !important;
  text-align: left !important;
  background: #ffffff;
  padding: 44px 50px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-slate-200);
  box-shadow: var(--shadow-card);
}

.impressum *, .datenschutz * {
  text-align: left !important;
}

.impressum p, .datenschutz p {
  color: var(--color-slate-600) !important;
  line-height: 1.75 !important;
  font-size: 15.5px !important;
  margin-bottom: 18px !important;
  padding: 0 !important;
}

.impressum h2, .impressum h3, .impressum h4,
.datenschutz h2, .datenschutz h3, .datenschutz h4 {
  color: var(--color-primary) !important;
  margin-top: 28px !important;
  margin-bottom: 14px !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  #headerUpper {
    padding: 0 24px !important;
  }
  
  #headerDowner,
  #headerDownerPraxis,
  #headerDownerWeiteres {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 45px 30px 60px 30px !important;
  }

  #headerDowner {
    background-position: 70% 12% !important;
  }

  #headerBox {
    margin-top: 180px !important;
    margin-bottom: 24px !important;
    max-width: 450px !important;
  }
  
  #headlineHolder h1 {
    font-size: 40px !important;
  }
  
  #headlineHolder h2 {
    font-size: 22px !important;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .showcase-card,
  .showcase-card.reverse {
    grid-template-columns: 1fr;
  }
  
  .showcase-card.reverse .showcase-img-wrap {
    order: 1;
  }
  
  .showcase-card.reverse .showcase-text {
    order: 2;
  }
  
  .guide-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .certs-grid {
    grid-template-columns: 1fr;
  }
  
  .docs-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  #headerUpper nav {
    display: none !important;
  }

  .slicknav_menu {
    display: block !important;
  }
  
  #headerDowner {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 40px 20px 60px 20px !important;
    background-position: 63% 8% !important;
  }
  
  #headerDowner::before {
    background: linear-gradient(to right, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.55) 55%, rgba(15, 23, 42, 0.15) 100%) !important;
  }
  
  #headlineHolder h1 {
    font-size: 32px !important;
  }
  
  #headerBox {
    margin-top: 220px !important;
    padding: 24px 20px 30px 20px !important;
    margin-bottom: 24px !important;
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  #headlineHolder {
    max-width: 100% !important;
  }

  #headlineHolder h1 {
    font-size: 25px !important;
    line-height: 1.22 !important;
  }

  #headlineHolder h2 {
    font-size: 15px !important;
    line-height: 1.35 !important;
    margin-top: 6px !important;
  }

  #headerDowner {
    padding: 28px 16px 45px 16px !important;
    background-position: 63% 18% !important;
  }

  #headerBox {
    margin-top: 180px !important;
  }
}
  
  .metrics-grid {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
  
  .modern-intro-text {
    padding: 24px;
    font-size: 16px;
  }
  
  .download-callout-card {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom-bar {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ==========================================================================
   DOCTOR & STAFF SECTIONS & INTROS (PRAXIS.HTML)
   ========================================================================== */
#praxisTeam,
.praxisTeam,
.praxisTeam2 {
  position: relative !important;
}

#praxisTeam,
.praxisTeam {
  padding-top: 50px !important;
  padding-bottom: 80px !important;
}

.praxisTeam2 {
  padding-top: 70px !important;
  padding-bottom: 140px !important; /* Generous breathing room under the last staff member */
}

#praxisTeam > div:first-child,
.praxisTeam > div:first-child,
.praxisTeam2 > div:first-child {
  max-width: 820px !important;
  margin: 0 auto 50px auto !important;
  padding: 0 24px !important;
  text-align: center !important;
}

#praxisTeam h2,
.praxisTeam h2,
.praxisTeam2 h2 {
  padding: 0 !important;
  margin: 10px 0 16px 0 !important;
  font-size: 38px !important;
  font-weight: 800 !important;
  color: var(--color-slate-900) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.5px !important;
  text-align: center !important;
}

#praxisTeam .section-tag,
.praxisTeam .section-tag,
.praxisTeam2 .section-tag {
  display: inline-block !important;
  margin-bottom: 8px !important;
  color: #0b7a4b !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  text-align: center !important;
}

.section-subtitle {
  max-width: 680px !important;
  margin: 0 auto !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
  color: #4b5563 !important;
  font-weight: 400 !important;
  text-align: center !important;
}

#praxisFlex2 {
  margin-bottom: 30px !important;
}

/* ==========================================================================
   DOCTOR CARDS HOVER & POLISH
   ========================================================================== */
#praxisTeam .mitarbeiter,
.praxisTeam .mitarbeiter,
.praxisTeam2 .mitarbeiter {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease !important;
}

#praxisTeam .mitarbeiter:hover,
.praxisTeam .mitarbeiter:hover,
.praxisTeam2 .mitarbeiter:hover {
  transform: translateY(-5px) !important;
}

#praxisTeam .mitarbeiter .img,
.praxisTeam .mitarbeiter .img,
.praxisTeam2 .mitarbeiter .img {
  overflow: hidden !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
  transition: box-shadow 0.3s ease !important;
  background-color: #a6a6a6 !important;
}

#praxisTeam .mitarbeiter:hover .img,
.praxisTeam .mitarbeiter:hover .img,
.praxisTeam2 .mitarbeiter:hover .img {
  box-shadow: 0 20px 40px rgba(18, 95, 160, 0.18) !important;
}

#praxisTeam .mitarbeiter .content,
.praxisTeam .mitarbeiter .content,
.praxisTeam2 .mitarbeiter .content,
.mitarbeiter .content {
  background-color: #0d8054 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(13, 128, 84, 0.28) !important;
  border-radius: 8px !important;
  transition: transform 0.25s ease, background-color 0.25s ease !important;
}

#praxisTeam .mitarbeiter .content h5,
.praxisTeam .mitarbeiter .content h5,
.praxisTeam2 .mitarbeiter .content h5,
.mitarbeiter .content h5 {
  color: #ffffff !important;
}

#praxisTeam .mitarbeiter:hover .content,
.praxisTeam .mitarbeiter:hover .content,
.praxisTeam2 .mitarbeiter:hover .content,
.mitarbeiter:hover .content {
  transform: scale(1.02) !important;
  background-color: #0b6d47 !important;
}

/* ==========================================================================
   PATIENT FAQ ACCORDION COMPONENT
   ========================================================================== */
.faq-section {
  max-width: 960px;
  margin: 60px auto 40px;
  padding: 0 20px;
}

.faq-header {
  text-align: center;
  margin-bottom: 32px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(18, 95, 160, 0.35);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--color-slate-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-chevron {
  width: 22px;
  height: 22px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  fill: currentColor;
  flex-shrink: 0;
  color: var(--color-slate-500);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
  padding: 0 24px;
  color: var(--color-slate-600);
  font-size: 15.5px;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 22px;
}

/* ==========================================================================
   FASTING CLOCK BOX (Vorbereitung)
   ========================================================================== */
.fasting-clock-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
  border: 1px solid rgba(23, 200, 130, 0.35);
  border-radius: var(--radius-lg);
  padding: 26px 32px;
  margin: 35px 0;
  box-shadow: var(--shadow-sm);
}

.fasting-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 260px;
}

.fasting-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(18, 95, 160, 0.1);
  flex-shrink: 0;
}

.fasting-time {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
}

.fasting-desc {
  font-size: 14px;
  color: var(--color-slate-700);
  line-height: 1.45;
}

.fasting-desc strong {
  display: block;
  font-size: 15px;
  color: var(--color-slate-900);
}

/* ==========================================================================
   EMERGENCY REASSURANCE CARD (Patientenseiten)
   ========================================================================== */
.emergency-card {
  background: #ffffff;
  border-left: 5px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  margin: 35px 0 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.emergency-info h4 {
  margin: 0 0 6px 0;
  font-size: 18px;
  color: var(--color-slate-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.emergency-info p {
  margin: 0;
  font-size: 14.5px;
  color: var(--color-slate-600);
  line-height: 1.5;
}

.emergency-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(18, 95, 160, 0.25);
  transition: var(--transition);
}

.emergency-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(18, 95, 160, 0.35);
}

/* ==========================================================================
   TIMELINE STEPS & PROCESS BADGES (Durchführung & Nachsorge)
   ========================================================================== */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  margin-right: 6px;
}

/* ==========================================================================
   POST-OP CHECKLIST (Weg nach Hause)
   ========================================================================== */
.checklist-card {
  background: #ffffff;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin: 35px 0;
  box-shadow: var(--shadow-sm);
}

.checklist-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--color-slate-50);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.checklist-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  margin-top: 2px;
}

.checklist-item span {
  font-size: 14.5px;
  color: var(--color-slate-700);
  line-height: 1.45;
}

/* ==========================================================================
   IMAGE LIGHTBOX MODAL (Zertifikate)
   ========================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: -42px;
  right: -10px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  font-size: 28px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

/* ==========================================================================
   SASQUATCH ASSIST - PREMIUM BARRIEREFREIHEITS-SUITE
   100% DSGVO-konform, Zero-Tracking, Client-Side Only
   Speziell abgestimmt & isoliert gegen jegliche Kontrast- & Darkmode-Konflikte
   ========================================================================== */

#sasquatch-assist-container,
#sasquatch-assist-container * {
  box-sizing: border-box !important;
}

#sasquatch-assist-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  isolation: isolate !important;
}

/* Floating Sasquatch Trigger Button */
#sasquatch-trigger-btn {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  color: #ffffff !important;
  border: 2px solid #17C882 !important;
  border-radius: 50px !important;
  padding: 9px 18px 9px 11px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.4), 0 0 18px rgba(23, 200, 130, 0.25) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  outline: none !important;
}

#sasquatch-trigger-btn:hover,
#sasquatch-trigger-btn:focus-visible {
  background: linear-gradient(135deg, #125FA0 0%, #0f172a 100%) !important;
  border-color: #38bdf8 !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 14px 32px rgba(18, 95, 160, 0.4), 0 0 22px rgba(56, 189, 248, 0.3) !important;
}

.sq-trigger-icon-wrap {
  width: 36px !important;
  height: 36px !important;
  background: linear-gradient(135deg, #17C882 0%, #10b981 100%) !important;
  color: #0f172a !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 12px rgba(23, 200, 130, 0.35) !important;
  transition: transform 0.25s ease !important;
}

#sasquatch-trigger-btn:hover .sq-trigger-icon-wrap {
  transform: rotate(10deg) scale(1.08) !important;
}

.sq-trigger-svg {
  width: 20px !important;
  height: 20px !important;
}

.sq-trigger-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  line-height: 1.2 !important;
}

.sq-trigger-title {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  color: #ffffff !important;
}

.sq-trigger-sub {
  font-size: 10.5px !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
}

.sq-badge {
  position: absolute !important;
  top: -6px !important;
  right: -6px !important;
  background: #ef4444 !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5) !important;
  animation: sqPulse 2s infinite !important;
}

.sq-badge.visible {
  display: inline-flex !important;
}

@keyframes sqPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   SASQUATCH PANEL / MODAL (Base Standard Theme)
   ========================================================================== */
.sq-panel {
  display: none !important;
  position: fixed !important;
  bottom: 82px !important;
  left: 24px !important;
  width: 410px !important;
  max-width: calc(100vw - 36px) !important;
  max-height: calc(100vh - 105px) !important;
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 50px -10px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
  flex-direction: column !important;
  overflow: hidden !important;
  z-index: 999999 !important;
}

.sq-panel.sq-panel-open {
  display: flex !important;
  animation: sqPanelIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes sqPanelIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Panel Header */
.sq-panel-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 13px 18px !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  flex-shrink: 0 !important;
}

.sq-header-brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.sq-logo-box {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #125FA0 0%, #0f172a 100%) !important;
  color: #38bdf8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 3px 10px rgba(18, 95, 160, 0.25) !important;
  flex-shrink: 0 !important;
}

.sq-title-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.sq-title-row h3 {
  margin: 0 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.01em !important;
  line-height: 1.2 !important;
}

.sq-dsgvo-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
  border-radius: 50px !important;
  padding: 1.5px 7px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  cursor: help !important;
}

.sq-subtitle {
  margin: 2px 0 0 0 !important;
  font-size: 11px !important;
  color: #64748b !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

.sq-close-btn {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  color: #64748b !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
}

.sq-close-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  transform: rotate(90deg) !important;
}

/* Panel Body & Custom Scrollbar */
.sq-panel-body {
  padding: 13px 18px !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 13px !important;
  flex: 1 !important;
}

.sq-panel-body::-webkit-scrollbar {
  width: 6px !important;
}
.sq-panel-body::-webkit-scrollbar-track {
  background: transparent !important;
}
.sq-panel-body::-webkit-scrollbar-thumb {
  background: #cbd5e1 !important;
  border-radius: 4px !important;
}

.sq-section {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.sq-section-header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 3px !important;
}

.sq-section-label {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: #475569 !important;
  margin: 0 !important;
}

.sq-label-icon {
  font-size: 13px !important;
  color: #125FA0 !important;
}

.sq-font-badge {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 20px !important;
  padding: 1.5px 8px !important;
  letter-spacing: 0.01em !important;
}

/* Stepper Control (+ / -) */
.sq-font-stepper-box {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 11px !important;
  padding: 5px 8px !important;
}

.sq-stepper-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  border-radius: 7px !important;
  padding: 6px 11px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.18s ease !important;
  user-select: none !important;
  line-height: 1 !important;
}

.sq-stepper-btn:hover:not(:disabled) {
  background: #17C882 !important;
  border-color: #17C882 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(23, 200, 130, 0.3) !important;
}

.sq-stepper-btn:disabled,
.sq-stepper-btn.disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #94a3b8 !important;
  box-shadow: none !important;
}

.sq-font-slider-track {
  flex: 1 !important;
  height: 6px !important;
  background: #e2e8f0 !important;
  border-radius: 10px !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

.sq-font-steps-dots {
  position: absolute !important;
  top: 50% !important;
  left: 0 !important;
  right: 0 !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  justify-content: space-between !important;
  padding: 0 2px !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.sq-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #cbd5e1 !important;
  border: 1px solid #ffffff !important;
}

.sq-font-indicator-bar {
  height: 100% !important;
  background: linear-gradient(90deg, #125FA0 0%, #17C882 100%) !important;
  border-radius: 10px !important;
  transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Quick Font Size Pills */
.sq-font-quick-pills {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 5px !important;
  margin-top: 2px !important;
}

.sq-pill-btn {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 6px !important;
  padding: 4px 6px !important;
  min-height: 28px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.sq-pill-btn:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

.sq-pill-btn.active {
  background: #ecfdf5 !important;
  border-color: #10b981 !important;
  color: #065f46 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 0 1.5px #10b981 !important;
}

/* Contrast Modes Grid */
.sq-contrast-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 5px !important;
}

.sq-mode-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 4px !important;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 9px !important;
  padding: 6px 2px !important;
  cursor: pointer !important;
  color: #475569 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
  line-height: 1.1 !important;
}

.sq-mode-swatch {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  display: block !important;
}

.sq-mode-btn:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

.sq-mode-btn.active {
  background: #ffffff !important;
  border-color: #17C882 !important;
  box-shadow: 0 0 0 2px rgba(23, 200, 130, 0.25) !important;
  color: #0f172a !important;
  font-weight: 700 !important;
}

/* Ergonomic Tools Grid */
.sq-tools-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 6px !important;
}

.sq-tool-card {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 9px !important;
  padding: 7px 9px !important;
  cursor: pointer !important;
  text-align: left !important;
  transition: all 0.2s ease !important;
}

.sq-tool-icon {
  font-size: 16px !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  color: #0f172a !important;
}

.sq-tool-info {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.2 !important;
}

.sq-tool-info strong {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.sq-tool-info span {
  font-size: 10px !important;
  color: #64748b !important;
  margin-top: 1px !important;
}

.sq-tool-card:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

.sq-tool-card.active {
  background: #ecfdf5 !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 0 1.5px #10b981 !important;
}

.sq-tool-card.active .sq-tool-icon {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
}

.sq-tool-card.active .sq-tool-info strong {
  color: #065f46 !important;
}

.sq-tool-card.active .sq-tool-info span {
  color: #047857 !important;
}

/* Speech Card */
.sq-speech-card {
  width: 100% !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 8px 11px !important;
  cursor: pointer !important;
  text-align: left !important;
  transition: all 0.22s ease !important;
}

.sq-speech-icon-wrap {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #125FA0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
}

.sq-speech-text {
  flex: 1 !important;
}

.sq-speech-title-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
}

.sq-speech-title-row strong {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.sq-speech-state-badge {
  font-size: 10px !important;
  background: #e2e8f0 !important;
  color: #475569 !important;
  padding: 1.5px 6px !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
}

.sq-speech-text p {
  margin: 2px 0 0 0 !important;
  font-size: 10.5px !important;
  color: #64748b !important;
  line-height: 1.35 !important;
}

.sq-speech-card:hover {
  background: #f0fdf4 !important;
  border-color: #86efac !important;
}

.sq-speech-card.active {
  background: #ecfdf5 !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 0 1.5px #10b981 !important;
}

.sq-speech-card.active .sq-speech-icon-wrap {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
}

.sq-speech-card.active .sq-speech-title-row strong {
  color: #065f46 !important;
}

.sq-speech-card.active .sq-speech-state-badge {
  background: #10b981 !important;
  color: #ffffff !important;
}

/* Panel Footer */
.sq-panel-footer {
  padding: 9px 18px !important;
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
}

.sq-reset-action {
  width: 100% !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #475569 !important;
  border-radius: 8px !important;
  padding: 7px 10px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  transition: all 0.2s ease !important;
}

.sq-reset-action:hover {
  background: #fee2e2 !important;
  color: #b91c1c !important;
  border-color: #fca5a5 !important;
}

.sq-footer-note {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  font-size: 10.5px !important;
  color: #64748b !important;
}

.sq-footer-note strong {
  color: #334155 !important;
}

/* ==========================================================================
   GLOBAL ACCESS MODIFIERS (Applied to <html> for page content)
   ========================================================================== */

/* Text Sizes (Stufen 0 bis 4) */
html.sasquatch-text-lg { font-size: 115% !important; }
html.sasquatch-text-xl { font-size: 130% !important; }
html.sasquatch-text-xxl { font-size: 145% !important; }
html.sasquatch-text-3xl { font-size: 160% !important; }

html.sasquatch-text-lg body > *:not(#sasquatch-assist-container):not(#sasquatch-reading-guide):not(#sasquatch-reading-mask) {
  zoom: 1.15;
}
html.sasquatch-text-xl body > *:not(#sasquatch-assist-container):not(#sasquatch-reading-guide):not(#sasquatch-reading-mask) {
  zoom: 1.30;
}
html.sasquatch-text-xxl body > *:not(#sasquatch-assist-container):not(#sasquatch-reading-guide):not(#sasquatch-reading-mask) {
  zoom: 1.45;
}
html.sasquatch-text-3xl body > *:not(#sasquatch-assist-container):not(#sasquatch-reading-guide):not(#sasquatch-reading-mask) {
  zoom: 1.60;
}

/* Global High Contrast for Website Content */
html.sasquatch-contrast-high,
html.sasquatch-contrast-high body {
  background-color: #000000 !important;
  color: #ffffff !important;
}

html.sasquatch-contrast-high body *:not(#sasquatch-assist-container):not(#sasquatch-assist-container *) {
  border-color: #334155 !important;
}

html.sasquatch-contrast-high p:not(#sasquatch-assist-container *),
html.sasquatch-contrast-high h1:not(#sasquatch-assist-container *),
html.sasquatch-contrast-high h2:not(#sasquatch-assist-container *),
html.sasquatch-contrast-high h3:not(#sasquatch-assist-container *),
html.sasquatch-contrast-high h4:not(#sasquatch-assist-container *),
html.sasquatch-contrast-high h5:not(#sasquatch-assist-container *),
html.sasquatch-contrast-high h6:not(#sasquatch-assist-container *),
html.sasquatch-contrast-high span:not(#sasquatch-assist-container *):not(.sq-badge),
html.sasquatch-contrast-high li:not(#sasquatch-assist-container *),
html.sasquatch-contrast-high strong:not(#sasquatch-assist-container *) {
  color: #ffffff !important;
}

html.sasquatch-contrast-high a:not(#sasquatch-assist-container *) {
  color: #ffff00 !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
}

/* Global Dark Mode for Website Content */
html.sasquatch-contrast-dark,
html.sasquatch-contrast-dark body {
  background-color: #0f172a !important;
  color: #f8fafc !important;
}

html.sasquatch-contrast-dark p:not(#sasquatch-assist-container *),
html.sasquatch-contrast-dark h1:not(#sasquatch-assist-container *),
html.sasquatch-contrast-dark h2:not(#sasquatch-assist-container *),
html.sasquatch-contrast-dark h3:not(#sasquatch-assist-container *),
html.sasquatch-contrast-dark h4:not(#sasquatch-assist-container *),
html.sasquatch-contrast-dark h5:not(#sasquatch-assist-container *),
html.sasquatch-contrast-dark h6:not(#sasquatch-assist-container *),
html.sasquatch-contrast-dark span:not(#sasquatch-assist-container *):not(.sq-badge),
html.sasquatch-contrast-dark li:not(#sasquatch-assist-container *) {
  color: #f8fafc !important;
}

html.sasquatch-contrast-dark .mitarbeiter,
html.sasquatch-contrast-dark .card,
html.sasquatch-contrast-dark .faq-item {
  background-color: #1e293b !important;
  border-color: #334155 !important;
}

/* Monochrom */
html.sasquatch-contrast-mono {
  filter: grayscale(100%) !important;
}

/* Sepia / Blaufilter (Warm & augenschonend) */
html.sasquatch-contrast-sepia {
  filter: sepia(35%) contrast(95%) !important;
}

html.sasquatch-contrast-sepia body {
  background-color: #fdf8ed !important;
}

/* Dyslexie / Lesefreundliche Schrift */
html.sasquatch-readable-font *:not(#sasquatch-assist-container *) {
  font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  line-height: 1.7 !important;
}

/* Erhöhter Textabstand */
html.sasquatch-text-spacing *:not(#sasquatch-assist-container *) {
  letter-spacing: 0.08em !important;
  line-height: 1.85 !important;
  word-spacing: 0.16em !important;
}

/* Links markieren */
html.sasquatch-highlight-links a:not(#sasquatch-assist-container *) {
  background-color: #fef08a !important;
  color: #000000 !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
  padding: 1px 4px !important;
  border-radius: 3px !important;
}

/* ==========================================================================
   SASQUATCH ASSIST CONTAINER - DEDICATED HIGH-CONTRAST THEME (WCAG AAA)
   ========================================================================== */
html.sasquatch-contrast-high #sasquatch-assist-container .sq-panel {
  background: #000000 !important;
  color: #ffffff !important;
  border: 2.5px solid #ffff00 !important;
  box-shadow: 0 0 35px rgba(255, 255, 0, 0.35) !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-panel-header {
  background: #000000 !important;
  border-bottom: 2px solid #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-logo-box {
  background: #000000 !important;
  color: #ffff00 !important;
  border: 1.5px solid #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container h3,
html.sasquatch-contrast-high #sasquatch-assist-container strong {
  color: #ffffff !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-subtitle {
  color: #e2e8f0 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-dsgVO-pill {
  background: #000000 !important;
  color: #ffff00 !important;
  border: 1.5px solid #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-close-btn {
  background: #000000 !important;
  color: #ffff00 !important;
  border: 1.5px solid #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-section-label {
  color: #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-label-icon {
  color: #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-font-badge {
  background: #000000 !important;
  border: 1.5px solid #ffff00 !important;
  color: #ffff00 !important;
}

/* Stepper in High Contrast */
html.sasquatch-contrast-high #sasquatch-assist-container .sq-font-stepper-box {
  background: #000000 !important;
  border: 1.5px solid #ffffff !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-stepper-btn {
  background: #000000 !important;
  border: 1.5px solid #ffff00 !important;
  color: #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-stepper-btn:hover:not(:disabled) {
  background: #ffff00 !important;
  color: #000000 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-stepper-btn:disabled,
html.sasquatch-contrast-high #sasquatch-assist-container .sq-stepper-btn.disabled {
  opacity: 0.35 !important;
  border-color: #64748b !important;
  color: #64748b !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-font-slider-track {
  background: #334155 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-dot {
  background: #1e293b !important;
  border-color: #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-font-indicator-bar {
  background: #ffff00 !important;
}

/* Quick Pills in High Contrast */
html.sasquatch-contrast-high #sasquatch-assist-container .sq-pill-btn {
  background: #000000 !important;
  border: 1.5px solid #64748b !important;
  color: #ffffff !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-pill-btn:hover {
  border-color: #ffff00 !important;
  color: #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-pill-btn.active {
  background: #ffff00 !important;
  color: #000000 !important;
  font-weight: 800 !important;
  border-color: #ffff00 !important;
  box-shadow: 0 0 10px rgba(255, 255, 0, 0.4) !important;
}

/* Contrast Buttons in High Contrast */
html.sasquatch-contrast-high #sasquatch-assist-container .sq-mode-btn {
  background: #000000 !important;
  border: 1.5px solid #64748b !important;
  color: #ffffff !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-mode-btn:hover {
  border-color: #ffff00 !important;
  color: #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-mode-btn.active {
  background: #000000 !important;
  border: 2px solid #ffff00 !important;
  color: #ffff00 !important;
  box-shadow: 0 0 12px rgba(255, 255, 0, 0.4) !important;
}

/* Tool Cards in High Contrast */
html.sasquatch-contrast-high #sasquatch-assist-container .sq-tool-card {
  background: #000000 !important;
  border: 1.5px solid #64748b !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-tool-icon {
  background: #111827 !important;
  border: 1px solid #64748b !important;
  color: #ffffff !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-tool-info strong {
  color: #ffffff !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-tool-info span {
  color: #cbd5e1 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-tool-card:hover {
  border-color: #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-tool-card.active {
  background: #000000 !important;
  border: 2px solid #ffff00 !important;
  box-shadow: 0 0 12px rgba(255, 255, 0, 0.35) !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-tool-card.active .sq-tool-icon {
  background: #ffff00 !important;
  color: #000000 !important;
  border-color: #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-tool-card.active .sq-tool-info strong {
  color: #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-tool-card.active .sq-tool-info span {
  color: #ffffff !important;
}

/* Speech Card in High Contrast */
html.sasquatch-contrast-high #sasquatch-assist-container .sq-speech-card {
  background: #000000 !important;
  border: 1.5px solid #64748b !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-speech-icon-wrap {
  background: #111827 !important;
  border: 1px solid #64748b !important;
  color: #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-speech-title-row strong {
  color: #ffffff !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-speech-state-badge {
  background: #1f2937 !important;
  color: #ffff00 !important;
  border: 1px solid #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-speech-text p {
  color: #cbd5e1 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-speech-card:hover {
  border-color: #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-speech-card.active {
  background: #000000 !important;
  border: 2px solid #ffff00 !important;
  box-shadow: 0 0 12px rgba(255, 255, 0, 0.35) !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-speech-card.active .sq-speech-icon-wrap {
  background: #ffff00 !important;
  color: #000000 !important;
  border-color: #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-speech-card.active .sq-speech-title-row strong {
  color: #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-speech-card.active .sq-speech-text p {
  color: #ffff00 !important;
}

/* Footer in High Contrast */
html.sasquatch-contrast-high #sasquatch-assist-container .sq-panel-footer {
  background: #000000 !important;
  border-top: 2px solid #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-reset-action {
  background: #000000 !important;
  color: #ffff00 !important;
  border: 2px solid #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-reset-action:hover {
  background: #ffff00 !important;
  color: #000000 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-footer-note {
  color: #ffff00 !important;
}

html.sasquatch-contrast-high #sasquatch-assist-container .sq-footer-note strong {
  color: #ffff00 !important;
}

/* ==========================================================================
   SASQUATCH ASSIST CONTAINER - DEDICATED DARK MODE THEME
   ========================================================================== */
html.sasquatch-contrast-dark #sasquatch-assist-container .sq-panel {
  background: #0b1120 !important;
  color: #f8fafc !important;
  border: 1.5px solid #334155 !important;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.7) !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-panel-header {
  background: #0f172a !important;
  border-bottom: 1px solid #1e293b !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-logo-box {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  color: #38bdf8 !important;
  border: 1px solid #334155 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container h3,
html.sasquatch-contrast-dark #sasquatch-assist-container strong {
  color: #f8fafc !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-subtitle {
  color: #94a3b8 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-dsgvo-pill {
  background: #064e3b !important;
  color: #34d399 !important;
  border: 1px solid #059669 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-close-btn {
  background: #1e293b !important;
  color: #94a3b8 !important;
  border: 1px solid #334155 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-close-btn:hover {
  background: #334155 !important;
  color: #f8fafc !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-section-label {
  color: #38bdf8 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-label-icon {
  color: #38bdf8 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-font-badge {
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  color: #38bdf8 !important;
}

/* Stepper in Dark Mode */
html.sasquatch-contrast-dark #sasquatch-assist-container .sq-font-stepper-box {
  background: #0f172a !important;
  border: 1px solid #1e293b !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-stepper-btn {
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  color: #f8fafc !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-stepper-btn:hover:not(:disabled) {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-stepper-btn:disabled,
html.sasquatch-contrast-dark #sasquatch-assist-container .sq-stepper-btn.disabled {
  opacity: 0.35 !important;
  background: #0f172a !important;
  border-color: #1e293b !important;
  color: #475569 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-font-slider-track {
  background: #1e293b !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-dot {
  background: #334155 !important;
  border-color: #0f172a !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-font-indicator-bar {
  background: linear-gradient(90deg, #38bdf8 0%, #10b981 100%) !important;
}

/* Quick Pills in Dark Mode */
html.sasquatch-contrast-dark #sasquatch-assist-container .sq-pill-btn {
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  color: #cbd5e1 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-pill-btn:hover {
  background: #334155 !important;
  color: #ffffff !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-pill-btn.active {
  background: #064e3b !important;
  border-color: #10b981 !important;
  color: #6ee7b7 !important;
  box-shadow: 0 0 0 1.5px #10b981 !important;
}

/* Contrast Buttons in Dark Mode */
html.sasquatch-contrast-dark #sasquatch-assist-container .sq-mode-btn {
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  color: #cbd5e1 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-mode-btn:hover {
  background: #334155 !important;
  color: #ffffff !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-mode-btn.active {
  background: #1e293b !important;
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.35) !important;
}

/* Tool Cards in Dark Mode */
html.sasquatch-contrast-dark #sasquatch-assist-container .sq-tool-card {
  background: #0f172a !important;
  border: 1px solid #1e293b !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-tool-icon {
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  color: #38bdf8 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-tool-info strong {
  color: #f8fafc !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-tool-info span {
  color: #94a3b8 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-tool-card:hover {
  border-color: #38bdf8 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-tool-card.active {
  background: #064e3b !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25) !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-tool-card.active .sq-tool-icon {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-tool-card.active .sq-tool-info strong {
  color: #6ee7b7 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-tool-card.active .sq-tool-info span {
  color: #a7f3d0 !important;
}

/* Speech Card in Dark Mode */
html.sasquatch-contrast-dark #sasquatch-assist-container .sq-speech-card {
  background: #0f172a !important;
  border: 1px solid #1e293b !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-speech-icon-wrap {
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  color: #38bdf8 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-speech-title-row strong {
  color: #f8fafc !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-speech-state-badge {
  background: #1e293b !important;
  color: #38bdf8 !important;
  border: 1px solid #334155 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-speech-text p {
  color: #94a3b8 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-speech-card:hover {
  border-color: #38bdf8 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-speech-card.active {
  background: #064e3b !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25) !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-speech-card.active .sq-speech-icon-wrap {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-speech-card.active .sq-speech-title-row strong {
  color: #6ee7b7 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-speech-card.active .sq-speech-text p {
  color: #a7f3d0 !important;
}

/* Footer in Dark Mode */
html.sasquatch-contrast-dark #sasquatch-assist-container .sq-panel-footer {
  background: #0f172a !important;
  border-top: 1px solid #1e293b !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-reset-action {
  background: #1e293b !important;
  color: #cbd5e1 !important;
  border: 1px solid #334155 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-reset-action:hover {
  background: #450a0a !important;
  color: #fca5a5 !important;
  border-color: #ef4444 !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-footer-note {
  color: #64748b !important;
}

html.sasquatch-contrast-dark #sasquatch-assist-container .sq-footer-note strong {
  color: #94a3b8 !important;
}

/* ==========================================================================
   RESPONSIVE OPTIMIZATIONS FOR MOBILE & TABLET
   ========================================================================== */
@media (max-width: 600px) {
  #sasquatch-assist-container {
    bottom: 16px !important;
    left: 16px !important;
  }
  .sq-panel {
    bottom: 74px !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    max-width: calc(100vw - 28px) !important;
    max-height: calc(100vh - 90px) !important;
    border-radius: 16px !important;
  }
  .sq-tools-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 5px !important;
  }
  .sq-contrast-grid {
    gap: 4px !important;
  }
  .sq-mode-btn {
    padding: 5px 1px !important;
    font-size: 9.5px !important;
  }
}

/* XXL Cursor */
html.sasquatch-large-cursor,
html.sasquatch-large-cursor * {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 24 24"><path fill="%230f172a" stroke="%23ffffff" stroke-width="1.5" stroke-linejoin="round" d="M3 2l6 17 3-6 6-3L3 2z"/></svg>') 0 0, auto !important;
}

/* Reduced Motion */
html.sasquatch-pause-motion * {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

/* System-level Reduced Motion (WCAG 2.2.2 / 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Global Accessibility Focus Indicators (WCAG 2.4.7 AA) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2.5px solid #125FA0 !important;
  outline-offset: 3px !important;
}

#sasquatch-assist-container button:focus-visible,
#sasquatch-assist-container [tabindex]:focus-visible {
  outline: 2.5px solid #125FA0 !important;
  outline-offset: 2px !important;
}

html.sasquatch-contrast-high :focus-visible,
html.sasquatch-contrast-high #sasquatch-assist-container button:focus-visible {
  outline: 3px solid #ffff00 !important;
  outline-offset: 2px !important;
}

html.sasquatch-contrast-dark :focus-visible,
html.sasquatch-contrast-dark #sasquatch-assist-container button:focus-visible {
  outline: 2.5px solid #38bdf8 !important;
  outline-offset: 2px !important;
}

/* Speech Cursor */
html.sasquatch-speech-cursor,
html.sasquatch-speech-cursor * {
  cursor: help !important;
}

/* Element being spoken */
.sasquatch-speaking-target {
  outline: 3px solid #17C882 !important;
  outline-offset: 4px !important;
  background: rgba(23, 200, 130, 0.18) !important;
  border-radius: 6px;
  transition: all 0.2s ease;
}

/* Reading Guide (Leselineal) */
#sasquatch-reading-guide {
  position: fixed;
  left: 0;
  width: 100%;
  height: 44px;
  background: rgba(254, 240, 138, 0.28);
  border-top: 2.5px solid #eab308;
  border-bottom: 2.5px solid #eab308;
  pointer-events: none;
  z-index: 999998;
  backdrop-filter: contrast(1.15);
}

/* Reading Mask (Lesemaske) */
#sasquatch-reading-mask {
  position: fixed;
  left: 0;
  width: 100%;
  height: 80px;
  box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.65);
  pointer-events: none;
  z-index: 999997;
  border-top: 1.5px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
}

/* Responsive Mobile View */
@media (max-width: 640px) {
  #sasquatch-assist-container {
    bottom: 18px;
    left: 18px;
  }
  
  .sq-trigger-text {
    display: none;
  }

  #sasquatch-trigger-btn {
    padding: 10px;
    border-radius: 50%;
  }

  .sq-panel {
    bottom: 78px;
    left: 16px;
    width: calc(100vw - 32px);
    max-width: none;
    max-height: calc(100vh - 100px);
  }

  .sq-tools-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   2-COLUMN MOBILE TEAM GRID (Ärzte & Praxisteam) & RESPONSIVE POLISH
   ========================================================================== */
@media (max-width: 768px) {
  #praxisFlex,
  #praxisFlex2 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px 12px !important;
    width: 100% !important;
    max-width: 580px !important;
    margin: 0 auto !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
  }

  #praxisTeam,
  .praxisTeam,
  .praxisTeam2 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
  }

  .mitarbeiter {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  .mitarbeiter .img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08) !important;
    background-color: #a6a6a6 !important;
    margin: 0 !important;
  }

  .mitarbeiter .img div,
  .mitarbeiter .img > div {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1.08 !important;
    min-height: 145px !important;
    background-size: cover !important;
    background-position: center top !important;
    border-radius: 14px !important;
    display: block !important;
  }

  .mitarbeiter .content {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 48px !important;
    height: auto !important;
    margin-top: 8px !important;
    padding: 8px 6px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    border-radius: 8px !important;
    background: #17C882 !important;
    box-shadow: 0 4px 14px rgba(23, 200, 130, 0.25) !important;
  }

  .mitarbeiter h5 {
    font-size: 12.5px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    word-break: break-word !important;
  }

  #maps-wrapper {
    margin-bottom: 40px !important;
  }

  #maps-wrapper iframe#maps {
    height: 320px !important;
  }

  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    padding: 30px 20px 40px !important;
  }

  .footer-bottom-bar {
    flex-direction: column !important;
    gap: 18px !important;
    text-align: center !important;
    padding: 24px 20px 84px !important; /* Safe clearance for mobile Sasquatch button */
  }

  .footer-bottom-links {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 16px !important;
  }
}

@media (max-width: 360px) {
  #praxisFlex,
  #praxisFlex2 {
    gap: 10px 8px !important;
    padding: 0 8px !important;
  }
  .mitarbeiter .content {
    min-height: 44px !important;
    padding: 6px 4px !important;
  }
  .mitarbeiter h5 {
    font-size: 11px !important;
  }
}

/* ==========================================================================
   3-STEP PATIENT JOURNEY NAVIGATION (Vorbereitung -> Durchführung -> Weg nach Hause)
   ========================================================================== */
.patient-journey-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 860px;
  margin: 32px auto 42px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
}

.journey-step-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.journey-step-btn .step-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.journey-step-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  transform: translateY(-1px);
}

.journey-step-btn.active {
  background: #0d8054 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(13, 128, 84, 0.35);
}

.journey-step-btn.active .step-badge {
  background: #ffffff !important;
  color: #0d8054 !important;
}

.journey-arrow {
  color: #cbd5e1;
  font-size: 16px;
  font-weight: 700;
  user-select: none;
}

@media (max-width: 768px) {
  .patient-journey-nav {
    flex-direction: column;
    border-radius: 16px;
    gap: 8px;
    padding: 12px;
  }
  .journey-step-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 14px;
  }
  .journey-arrow {
    display: none;
  }
}

/* Inter-step Next/Previous Cards */
.journey-pagination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 50px 0 30px;
}

.journey-nav-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-nav-card:hover {
  border-color: #17C882;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(23, 200, 130, 0.15);
}

.journey-card-sub {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0b7a4b !important;
  display: block;
  margin-bottom: 4px;
}

.journey-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.journey-nav-card svg {
  color: #17C882;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.journey-nav-card:hover svg {
  transform: translateX(4px);
}

.journey-nav-card.prev-card:hover svg {
  transform: translateX(-4px);
}

@media (min-width: 992px) and (max-width: 1240px) {
  #headerUpper nav li {
    padding: 0 10px !important;
  }
  #headerUpper nav li a {
    font-size: 14px !important;
  }
}

/* ==========================================================================
   WCAG 2.2 LEVEL AA COLOR CONTRAST REINFORCEMENTS
   ========================================================================== */
.agp-btn-accept,
#agp-cb-accept,
#agp-cm-accept-all {
  background-color: #0d8054 !important;
  color: #ffffff !important;
}

.agp-btn-accept:hover,
#agp-cb-accept:hover,
#agp-cm-accept-all:hover {
  background-color: #0b6d47 !important;
}

.footer-contact-item a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 26px !important;
}

.footer-col a[href*="google.com/maps"] {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 28px !important;
  padding: 3px 0 !important;
  color: #0b7a4b !important;
}

/* ==========================================================================
   MOBILE NAVIGATION (SLICKNAV MODERN REDESIGN)
   ========================================================================== */
.slicknav_menu {
  display: none !important;
}

@media (max-width: 768px) {
  #headerUpper {
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: sticky !important;
  }

  #logoHolder {
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
  }

  #headerUpper nav {
    display: none !important;
  }

  .slicknav_menu {
    order: 2 !important;
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
  }

  .slicknav_btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    position: relative !important;
    transition: background-color 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease,
                transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .slicknav_btn:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 14px rgba(18, 95, 160, 0.12) !important;
    transform: translateY(-1px);
  }

  .slicknav_btn:focus-visible {
    outline: 3px solid #125FA0 !important;
    outline-offset: 3px !important;
  }

  /* Open / Active state */
  .slicknav_btn.slicknav_open {
    background: #125FA0 !important;
    border-color: #125FA0 !important;
    box-shadow: 0 4px 16px rgba(18, 95, 160, 0.35) !important;
    transform: scale(1.02);
  }

  .slicknav_menu .slicknav_menutxt {
    display: none !important;
  }

  .slicknav_menu .slicknav_icon {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 20px !important;
    height: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    float: none !important;
  }

  .slicknav_menu .slicknav_icon::before {
    display: none !important;
  }

  .slicknav_menu .slicknav_icon-bar {
    display: block !important;
    width: 20px !important;
    height: 2.25px !important;
    background-color: #1e293b !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    margin: 0 !important;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.2s ease,
                background-color 0.25s ease !important;
    transform-origin: center center !important;
  }

  /* Hamburger to X morphing animation */
  .slicknav_btn.slicknav_open .slicknav_icon-bar {
    background-color: #ffffff !important;
  }

  .slicknav_btn.slicknav_open .slicknav_icon-bar:nth-child(1) {
    transform: translateY(6.375px) rotate(45deg) !important;
  }

  .slicknav_btn.slicknav_open .slicknav_icon-bar:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }

  .slicknav_btn.slicknav_open .slicknav_icon-bar:nth-child(3) {
    transform: translateY(-6.375px) rotate(-45deg) !important;
  }

  /* Mobile Dropdown Panel */
  .slicknav_nav {
    position: fixed !important;
    top: 74px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-height: calc(100vh - 74px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-bottom: 3px solid rgba(18, 95, 160, 0.15) !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.22),
                0 10px 20px -5px rgba(15, 23, 42, 0.08) !important;
    padding: 16px 20px 28px 20px !important;
    margin: 0 !important;
    list-style: none !important;
    z-index: 999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  .slicknav_nav.slicknav_hidden {
    display: none !important;
  }

  @keyframes slicknavSlideDown {
    0% {
      opacity: 0;
      transform: translateY(-10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .slicknav_nav:not(.slicknav_hidden) {
    animation: slicknavSlideDown 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  }

  .slicknav_nav li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .slicknav_nav li a,
  .slicknav_nav .slicknav_row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 48px !important;
    padding: 12px 18px !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    border: 1px solid #eef2f6 !important;
    color: #1e293b !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: 15.5px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    letter-spacing: -0.01em !important;
    transition: background-color 0.2s ease,
                border-color 0.2s ease,
                color 0.2s ease,
                transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .slicknav_nav li a::after {
    content: "→";
    font-size: 15px;
    font-weight: 700;
    color: #94a3b8;
    margin-left: 12px;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .slicknav_nav li a:hover,
  .slicknav_nav li a:active {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #125FA0 !important;
    transform: translateX(3px);
  }

  .slicknav_nav li a:hover::after,
  .slicknav_nav li a:active::after {
    color: #125FA0;
    transform: translateX(3px);
  }

  .slicknav_nav li a:focus-visible {
    outline: 3px solid #125FA0 !important;
    outline-offset: 1px !important;
  }

  .slicknav_nav li.slicknav-current a,
  .slicknav_nav li#active a,
  .slicknav_nav li.active a {
    background: rgba(18, 95, 160, 0.08) !important;
    border-color: rgba(18, 95, 160, 0.3) !important;
    color: #125FA0 !important;
    font-weight: 700 !important;
    box-shadow: inset 3.5px 0 0 #125FA0 !important;
  }

  .slicknav_nav li.slicknav-current a::after,
  .slicknav_nav li#active a::after,
  .slicknav_nav li.active a::after {
    color: #125FA0 !important;
  }

  .slicknav_nav li a[href="#footerBox"] {
    background: linear-gradient(135deg, rgba(18, 95, 160, 0.06) 0%, rgba(13, 128, 84, 0.06) 100%) !important;
    border-color: rgba(18, 95, 160, 0.22) !important;
    color: #125FA0 !important;
  }
}

.slicknav-backdrop {
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.slicknav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Accessibility Suite High-Contrast & Dark Mode adaptions */
body.a11y-high-contrast .slicknav_btn {
  background: #000000 !important;
  border: 2px solid #ffffff !important;
}
body.a11y-high-contrast .slicknav_btn.slicknav_open {
  background: #ffff00 !important;
  border-color: #ffff00 !important;
}
body.a11y-high-contrast .slicknav_icon-bar {
  background-color: #ffffff !important;
}
body.a11y-high-contrast .slicknav_btn.slicknav_open .slicknav_icon-bar {
  background-color: #000000 !important;
}
body.a11y-high-contrast .slicknav_nav {
  background: #000000 !important;
  border: 2px solid #ffffff !important;
}
body.a11y-high-contrast .slicknav_nav li a {
  background: #111111 !important;
  color: #ffffff !important;
  border-color: #444444 !important;
}

body.a11y-dark-mode .slicknav_btn {
  background: #1e293b !important;
  border-color: #334155 !important;
}
body.a11y-dark-mode .slicknav_icon-bar {
  background-color: #f8fafc !important;
}
body.a11y-dark-mode .slicknav_nav {
  background: #0f172a !important;
  border-color: #334155 !important;
}
body.a11y-dark-mode .slicknav_nav li a {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f1f5f9 !important;
}

