:root {
  --bg: #0b1220;
  --bg-2: #14203a;
  --bg-3: #1a2847;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --brand: #2563eb;
  --brand-strong: #1f56d2;
  --text: #0b1220; /* Tiefes Schwarz-Blau für maximale Autorität */
  --text-muted: rgba(11, 18, 32, 0.85); /* Erhöhter Kontrast für bessere Lesbarkeit */
  --text-light: rgba(11, 18, 32, 0.65); /* Für weniger wichtige Nebeninfos */
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255, 255, 255, 0.85);
  --line: rgba(11, 18, 32, 0.1);
  --line-dark: rgba(255, 255, 255, 0.15);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1160px;
  --measure: 75ch;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text); /* Einheitlich kräftig */
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  max-width: 20ch;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  max-width: 28ch;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
}

p {
  margin: 0;
  max-width: var(--measure);
  color: var(--text-muted); /* Dunkler als vorher */
}

.container {
  width: min(var(--maxw), calc(100% - 3rem));
  margin-inline: auto;
  padding-left: 0;
  padding-right: 0;
}

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
}
.section-narrow .eyebrow {
  text-align: center;
}

.section--hero .eyebrow,
.section--dark .eyebrow,
.panel--dark .eyebrow,
.panel--brand .eyebrow,
.why-now-box .eyebrow {
  color: rgba(233, 239, 255, 0.8);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
}

.brand-mark {
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  align-items: center;
  color: var(--text-muted);
}

.nav-links a {
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: rgba(11, 18, 32, 0.35);
}

.nav-cta {
  font-weight: 700;
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.68rem 1.15rem;
  font-weight: 620;
  line-height: 1.15;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--brand-strong);
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(11, 18, 32, 0.04);
  border-color: rgba(11, 18, 32, 0.35);
}

.section--hero .btn-secondary,
.section--dark .btn-secondary,
.panel--brand .btn-secondary,
.panel--dark .btn-secondary,
.why-now-box .btn-secondary {
  color: var(--text-on-dark);
  border-color: var(--line-dark);
}

.section--hero .btn-secondary:hover,
.section--dark .btn-secondary:hover,
.panel--brand .btn-secondary:hover,
.panel--dark .btn-secondary:hover,
.why-now-box .btn-secondary:hover {
  background: rgba(233, 239, 255, 0.08);
  border-color: rgba(233, 239, 255, 0.35);
}


/* Hero Section Background */
.section--hero {
  background: linear-gradient(165deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg-3) 100%);
  color: var(--text-on-dark);
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 5rem);
}

.section--hero h1 {
  color: var(--text-on-dark);
}

.section--hero p {
  color: var(--text-on-dark-muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 60%) minmax(0, 40%);
  gap: clamp(1.5rem, 4vw, 3.1rem);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.15rem;
}
.section-narrow .hero-copy {
  justify-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Center hero-actions when parent is text-centered (section-narrow heroes) */
.section-narrow .hero-actions,
[style*="text-align:center"] .hero-actions,
[style*="text-align: center"] .hero-actions {
  justify-content: center;
}

.visual-shell {
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: linear-gradient(150deg, rgba(20, 32, 58, 0.8), rgba(26, 40, 71, 0.64));
  padding: clamp(0.75rem, 2vw, 1.15rem);
}

.hero-visual-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.section--trust-banner {
  padding: 2rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.trust-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-align: center;
  max-width: 100%;
  word-wrap: break-word;
}

.trust-logos {
  max-width: 100%;
  height: auto;
  opacity: 0.85;
  filter: grayscale(1);
  transition: filter 200ms ease, opacity 200ms ease;
}

.trust-logos:hover {
  filter: grayscale(0);
  opacity: 1;
}

.callout-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.callout {
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font-size: 0.86rem;
  line-height: 1.3;
  color: rgba(233, 239, 255, 0.9);
  background: rgba(233, 239, 255, 0.04);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.goal-grid,
.core-services-grid,
.solution-grid,
.benefit-grid,
.case-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
}

.goal-grid,
.core-services-grid,
.benefit-grid,
.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.tile,
.goal-card,
.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.15rem;
  display: grid;
  gap: 0.58rem;
}

.card h3,
.tile h3,
.goal-card h3,
.case-card h3 {
  color: var(--text);
}

.card p,
.tile p,
.goal-card p,
.case-card p {
  color: var(--text-muted);
}

.card-link,
.goal-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand);
}

.quick-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.58rem;
  font-size: 0.75rem;
  color: rgba(11, 18, 32, 0.72);
  width: fit-content;
}

.system-grid {
  display: grid;
  grid-template-columns: minmax(0, 55%) minmax(0, 45%);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
}

.system-points {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.72rem;
}

.system-points li {
  padding-left: 0.88rem;
  border-left: 2px solid var(--line);
  color: var(--text-muted);
}

.highlight-wrap {
  margin-top: 0.9rem;
}

.highlight-panel {
  border-radius: var(--radius);
  padding: clamp(1.1rem, 2.5vw, 1.9rem);
  border: 1px solid var(--line);
  display: grid;
  gap: 0.68rem;
}

.panel--brand {
  background: linear-gradient(145deg, #2563eb, #1f56d2);
  color: var(--text-on-dark);
  border-color: rgba(233, 239, 255, 0.34);
}

.panel--dark {
  background: linear-gradient(145deg, #14203a, #1a2847);
  color: var(--text-on-dark);
  border-color: rgba(233, 239, 255, 0.22);
}

.highlight-claim {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  line-height: 1.12;
  max-width: 22ch;
}

.highlight-support {
  max-width: 58ch;
}

.proof-box,
.faq-box {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-soft);
  padding: clamp(1.15rem, 2.8vw, 1.9rem);
  display: grid;
  gap: 0.95rem;
}

.proof-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.proof-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 0.85rem 0.95rem;
  color: var(--text-muted);
}

.accordion-wrap {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.accordion {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: clip;
  background: #ffffff;
}

.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.08rem;
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  font-weight: 640;
  color: var(--text);
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  color: rgba(11, 18, 32, 0.7);
}

.accordion[open] summary::after {
  content: "−";
}

.accordion .content {
  border-top: 1px solid var(--line);
  padding: 0.9rem 1.08rem 1rem;
}

.why-now {
  padding: 0 0 clamp(2.4rem, 5vw, 4rem);
}

.why-now-box {
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: linear-gradient(145deg, #14203a, #1a2847);
  color: var(--text-on-dark);
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  display: grid;
  gap: 0.7rem;
}

.form-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: clamp(1rem, 2.6vw, 1.6rem);
}

.form-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label {
  font-size: 0.84rem;
  font-weight: 620;
  color: var(--text);
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.64rem 0.72rem;
  font: inherit;
  color: var(--text);
  background: #ffffff;
}

.form-row textarea {
  min-height: 118px;
  resize: vertical;
}

.footer {
  border-top: 1px solid rgba(233, 239, 255, 0.16);
  background: var(--bg);
  color: var(--text-on-dark);
}

.footer-main {
  padding: 2.6rem 0 2.2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.2fr 1.35fr 0.9fr 0.9fr;
}

.footer-col h3 {
  margin: 0;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 620;
}

.footer-col p {
  margin: 0;
  color: rgba(233, 239, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.58;
}

.footer-col ul {
  list-style: none;
  margin: 0.92rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.36rem;
}

.footer-col a {
  color: rgba(233, 239, 255, 0.8);
  font-size: 0.87rem;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-logo {
  height: 66px;
  width: auto;
}

.footer-contact {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.28rem;
}

.footer-bottom {
  border-top: 1px solid rgba(233, 239, 255, 0.12);
  padding: 0.85rem 0 0.95rem;
}

.footer-bottom-row p {
  margin: 0;
  color: rgba(233, 239, 255, 0.62);
  font-size: 0.78rem;
}

.whatsapp-float {
  display: none !important;
}

@media (max-width: 1020px) {
  .hero-grid,
  .system-grid,
  .goal-grid,
  .benefit-grid,
  .core-services-grid,
  .solution-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .callout-row {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--maxw), calc(100% - 2.5rem));
    margin-inline: auto;
  }

  /* Mobile container padding */

  .brand-mark {
    height: 30px;
  }

  .hero-visual-img {
    max-height: 320px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.28rem;
    padding: 2.2rem 0 1.8rem;
  }

  .footer-logo {
    height: 58px;
  }
}

.dr-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.dr-chat {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  display: grid;
  gap: 0.55rem;
}

.dr-chat-launch {
  border: 1px solid rgba(37, 99, 235, 0.42);
  background: #ffffff;
  color: var(--text-dark, #0b1220);
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  padding: 0.62rem 0.92rem;
  cursor: pointer;
}

.dr-chat-panel {
  width: min(360px, calc(100vw - 2rem));
  border: 1px solid rgba(11, 18, 32, 0.14);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(11, 18, 32, 0.2);
  overflow: hidden;
}

.dr-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.72rem 0.8rem;
  border-bottom: 1px solid rgba(11, 18, 32, 0.12);
}

.dr-chat-close {
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: #fff;
  border-radius: 999px;
  width: 30px;
  height: 30px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.dr-chat-meta {
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid rgba(11, 18, 32, 0.12);
  color: rgba(11, 18, 32, 0.68);
  font-size: 0.82rem;
}

.dr-chat-messages {
  padding: 0.7rem;
  max-height: 320px;
  overflow: auto;
  display: grid;
  gap: 0.5rem;
  background: #f8fbff;
}

.dr-msg {
  display: grid;
  gap: 0.2rem;
  max-width: 88%;
}

.dr-msg-user {
  justify-self: end;
}

.dr-msg-body {
  margin: 0;
  padding: 0.44rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(37, 99, 235, 0.24);
  background: #e8f0ff;
  color: #102247;
  font-size: 0.9rem;
  line-height: 1.45;
}

.dr-msg-user .dr-msg-body {
  background: #e9effa;
  border-color: rgba(11, 18, 32, 0.12);
  color: #0b1220;
}

.dr-msg-time,
.dr-chat-info {
  color: rgba(11, 18, 32, 0.58);
  font-size: 0.73rem;
}

.dr-chat-info {
  margin: 0;
}

.dr-chat-form {
  border-top: 1px solid rgba(11, 18, 32, 0.12);
  padding: 0.6rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
}

.dr-chat-form textarea {
  grid-column: 1 / -1;
  border: 1px solid rgba(11, 18, 32, 0.14);
  border-radius: 10px;
  padding: 0.52rem 0.6rem;
  font: inherit;
  line-height: 1.4;
  resize: vertical;
}

.dr-chat-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: rgba(11, 18, 32, 0.7);
  line-height: 1.35;
}

.dr-chat-consent a {
  text-decoration: underline;
}

.dr-chat-send {
  justify-self: end;
  border: 0;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
}

.dr-chat-send:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 760px) {
  .dr-chat {
    right: 0.75rem;
    bottom: 5.5rem;
    left: auto;
  }

  .dr-chat-launch {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }

  .dr-chat-panel {
    width: min(340px, calc(100vw - 1.5rem));
  }
}

.goal-link-active {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

#leistungen-grid .card-hidden {
  display: none;
}

/* Global CMP */
.cmp-lock {
  overflow: hidden;
}

.cmp-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 38px rgba(11, 18, 32, 0.18);
  padding: 1rem;
}

.cmp-title {
  font-size: 1.02rem;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.cmp-text {
  margin: 0;
  max-width: none;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.cmp-links {
  margin: 0.55rem 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.cmp-link {
  text-decoration: underline;
}

.cmp-actions {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cmp-reopen {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 110;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  padding: 0.5rem 0.8rem;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.cmp-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
}

.cmp-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.55);
}

.cmp-modal-panel {
  position: relative;
  margin: min(8vh, 5rem) auto 0;
  width: min(640px, calc(100% - 2rem));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(11, 18, 32, 0.24);
  overflow: hidden;
}

.cmp-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
}

.cmp-modal-title {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text);
}

.cmp-modal-close {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.cmp-modal-body {
  padding: 0.85rem 1rem;
  display: grid;
  gap: 0.7rem;
}

.cmp-row {
  display: grid;
  gap: 0.35rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.cmp-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  color: var(--text);
}

.cmp-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.cmp-row-text {
  margin: 0;
  max-width: none;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cmp-modal-actions {
  border-top: 1px solid var(--line);
  padding: 0.8rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

@media (min-width: 900px) {
  .cmp-banner {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(920px, calc(100% - 2rem));
  }
}

@media (max-width: 640px) {
  .cmp-modal-panel {
    margin-top: 0.75rem;
  }

  .cmp-actions .btn,
  .cmp-modal-actions .btn {
    width: 100%;
  }
}

/* ═══ UX AUDIT FIXES (2026-03-28) ═══ */

/* Hamburger Button */
.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
@media (max-width: 760px) {
  .nav-wrap {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    min-height: 60px;
    padding: 0.5rem 0;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(320px, 85vw);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4.5rem 1.5rem 2rem;
    box-shadow: -8px 0 32px rgba(11, 18, 32, 0.15);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 280ms ease, visibility 0s 280ms;
    z-index: 200;
    overflow-y: auto;
  }
  
  .nav-links.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 280ms ease, visibility 0s 0s;
  }


  .nav-links a {
    padding: 0.85rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav-links .nav-cta {
    margin-top: 1rem;
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
    padding: 0.85rem 1.25rem;
    text-align: center;
    justify-content: center;
    border: none;
    font-weight: 700;
  }

  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: min(320px, 85vw);
    background: rgba(11, 18, 32, 0.45);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms ease;
  }

  .nav-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  /* Fix container padding - generous mobile margins */
  /* (handled by base rule above) */

  /* Ensure body font is at least 16px */
  body {
    font-size: 16px;
  }

  /* Buttons min-height */
  .btn {
    min-height: 44px;
    padding: 0.75rem 1.25rem;
  }

  /* Hero padding */
  .section--hero {
    padding-top: 2rem;
  }

  /* Space for sticky CTA bar */
  body {
    padding-bottom: 68px;
  }
}

/* Mobile Sticky CTA Bar */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 115;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(11, 18, 32, 0.1);
  padding: 0.65rem 1rem;
  display: none;
}

@media (max-width: 760px) {
  .mobile-cta-bar {
    display: block;
  }

  /* Push chat widget up above sticky bar */
  .dr-chat {
    bottom: 5rem;
  }

  /* Push cookie reopen button up */
  .cmp-reopen {
    bottom: 5rem;
  }
}

@media (min-width: 761px) {
  .mobile-cta-bar {
    display: none !important;
  }
}

/* Desktop nav: increase touch targets */
@media (min-width: 761px) {
  .nav-links a {
    padding: 0.6rem 0.1rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}


/* Trust logos mobile fix */
@media (max-width: 760px) {
  .trust-logos {
    max-width: 100%;
    height: auto;
  }
  
  .section--trust-banner {
    padding: 1rem 0;
  }
  
  .trust-label {
    font-size: 0.8rem;
  }
}

/* Prevent cookie/chat overlap on mobile */
@media (max-width: 760px) {
  .cmp-banner {
    bottom: 4.5rem;
  }
  
  .cmp-reopen {
    bottom: 4.5rem;
    left: 0.75rem;
    font-size: 0.78rem;
    padding: 0.4rem 0.65rem;
  }
}


/* ═══ REDESIGN: Clean Section Rhythm (2026-03-28) ═══ */

/* Base section spacing */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

/* Light section (white) */
.section--light {
  background: var(--surface);
}

/* Soft section (light gray) */
.section--soft {
  background: var(--surface-soft);
}

/* Dark section */
.section--dark {
  background: var(--bg);
  color: var(--text-on-dark);
}

.section--dark h2,
.section--dark h3 {
  color: var(--text-on-dark);
}

.section--dark p {
  color: var(--text-on-dark-muted);
}

/* CTA dark section */
.section--cta {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

/* Narrow content container */
.section-narrow {
  max-width: 720px;
  margin: 0 auto;
}

.section-narrow h2 {
  margin-bottom: 1rem;
}

.section-narrow p {
  margin-top: 0.75rem;
  line-height: 1.7;
}

/* Trust banner - compact */
.section--trust-banner {
  padding: 2rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trust-logos {
  height: auto;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  opacity: 0.65;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  display: block;
  margin: 1.5rem auto 0;
  object-fit: contain;
}

/* Card grid */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: grid;
  gap: 0.65rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 4px 20px rgba(11, 18, 32, 0.06);
}

.card h3 {
  font-size: 1.25rem;
}

.card-subtitle {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.88rem;
}

.card p {
  line-height: 1.65;
}

.card-link {
  font-weight: 600;
  color: var(--brand);
  margin-top: 0.5rem;
}

.card-link:hover {
  color: var(--brand-strong);
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.team-copy {
  display: grid;
  gap: 0.75rem;
}

.value-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.value-list li {
  line-height: 1.6;
  color: var(--text-muted);
}

.team-img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  max-height: 400px;
}

/* Callout grid */
.callout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.callout-item {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
}

.callout-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand);
  font-weight: 700;
  font-size: 1.1rem;
}

.callout-item p {
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}

/* Mobile responsive */
@media (max-width: 760px) {
  .card-grid--3 {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-visual {
    order: -1;
  }
  
  .team-img {
    max-height: 280px;
    width: 100%;
  }
  
  .card-grid--3 {
    grid-template-columns: 1fr !important;
  }

  .callout-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .trust-wrap {
    flex-direction: column;
    gap: 0.75rem;
  }

  .trust-logos {
    height: auto;
    width: 100%;
    max-width: 100%;
  }

  .section-narrow {
    text-align: center;
  }
}

@media (max-width: 1020px) {
  .card-grid--3 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Buttons on dark backgrounds */
.section--dark .btn-primary,
.section--cta .btn-primary {
  background: #ffffff;
  color: var(--brand);
  border-color: #ffffff;
}

.section--dark .btn-primary:hover,
.section--cta .btn-primary:hover {
  background: rgba(255,255,255,0.9);
}

.section--dark .btn-secondary,
.section--cta .btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.6);
}

.section--dark .btn-secondary:hover,
.section--cta .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: #ffffff;
}

/* Links on dark sections */
.section--dark a:not(.btn):not(.nav-cta):not(.footer-contact a),
.section--cta a:not(.btn) {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
}

/* Professional navigation improvements */
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: background 150ms ease, color 150ms ease;
  border-bottom: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(11, 18, 32, 0.05);
  color: var(--text);
  border-bottom: none;
}

.nav-cta {
  background: var(--brand);
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 0.5rem 1.1rem !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  white-space: nowrap;
  transition: background 150ms ease !important;
}

.nav-cta:hover {
  background: var(--brand-strong) !important;
  color: #ffffff !important;
  border-bottom: none !important;
}

/* Mobile nav improvements */
@media (max-width: 760px) {
  .nav-links a {
    border-radius: 0;
    padding: 0.85rem 0;
    font-size: 1.05rem;
  }
  
  .nav-links .nav-cta {
    border-radius: 999px !important;
    padding: 0.85rem 1.25rem !important;
    font-size: 1rem !important;
  }
}

/* Active nav state - shows current page */
.nav-links a[aria-current="page"] {
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand);
  font-weight: 600;
}

/* Text-based trust names */
.trust-names {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: center;
  justify-content: center;
}

.trust-names span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.02em;
  position: relative;
}

.trust-names span::before {
  content: "—";
  margin-right: 0.5rem;
  color: var(--brand);
  opacity: 0.6;
}

@media (max-width: 760px) {
  .trust-names {
    gap: 0.75rem 1.5rem;
  }
  .trust-names span {
    font-size: 0.82rem;
  }
}

/* Navigation Dropdowns */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  padding: 0;
  text-align: left;
  text-decoration: none;
}

.nav-dropdown-trigger::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 5px;
  margin-bottom: 2px;
  opacity: 0.5;
  transition: transform 200ms ease;
}

.nav-dropdown:hover .nav-dropdown-trigger::after {
  transform: rotate(-135deg);
  margin-bottom: -1px;
}

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(11, 18, 32, 0.12);
  padding: 0.5rem;
  display: grid;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 0s 180ms, transform 180ms ease;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 180ms ease, visibility 0s 0s, transform 180ms ease;
}

.nav-dropdown-panel a {
  padding: 0.55rem 0.85rem !important;
  border-radius: 8px;
  font-size: 0.88rem !important;
  color: var(--text-muted) !important;
  white-space: nowrap;
  transition: background 120ms ease, color 120ms ease;
  background: none !important;
}

.nav-dropdown-panel a:hover {
  background: rgba(37, 99, 235, 0.06) !important;
  color: var(--brand) !important;
}

/* Mobile: dropdowns are collapsible, indented */
@media (max-width: 760px) {
  .nav-dropdown-panel {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 0 0 1rem !important;
    min-width: auto !important;
    width: 100% !important;
    background: transparent !important;
    display: block !important;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 280ms ease, opacity 200ms ease;
    z-index: auto !important;
  }

  .nav-dropdown.is-expanded .nav-dropdown-panel {
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    padding-bottom: 0.5rem !important;
  }

  .nav-dropdown-panel a {
    padding: 0.85rem 0 !important;
    font-size: 1.05rem !important;
    border-bottom: 1px solid var(--line) !important;
    color: var(--text) !important;
    white-space: normal !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
  }

  .nav-dropdown-trigger::after {
    content: "˅" !important;
    display: inline !important;
    width: auto !important;
    height: auto !important;
    border: none !important;
    transform: none !important;
    margin-left: 0.4em !important;
    margin-bottom: 0 !important;
    opacity: 0.5 !important;
    font-size: 0.8em !important;
  }

  .nav-dropdown.is-expanded .nav-dropdown-trigger::after {
    content: "˄" !important;
    transform: none !important;
    margin-bottom: 0 !important;
  }
}
