/* ==========================================================================
   Swiss Marketer LP Conversion System 2026
   Scoped to high-intent landing pages and A/B variants.
   ========================================================================== */

.cxl-page {
  --cxl-red: #dc0018;
  --cxl-red-dark: #990010;
  --cxl-ink: #090a0f;
  --cxl-ink-2: #242936;
  --cxl-muted: #667085;
  --cxl-line: rgba(15, 23, 42, 0.11);
  --cxl-paper: #fff;
  --cxl-soft: #f5f6f8;
  --cxl-green: #0f9f6e;
  background: #fff;
  color: var(--cxl-ink);
}

.cxl-page [hidden],
.cxl-page #anfrage-legacy,
.cxl-page #lead-formular-legacy {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.cxl-page main {
  overflow: clip;
}

.cxl-hero {
  position: relative;
  min-height: min(920px, auto);
  padding: calc(78px + clamp(36px, 6vw, 74px)) 0 clamp(44px, 7vw, 78px);
  background:
    linear-gradient(90deg, rgba(220, 0, 24, 0.08) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.06) 0 1px, transparent 1px),
    linear-gradient(135deg, #ffffff 0%, #f6f7f9 48%, #eef1f5 100%);
  background-size: 44px 44px, 44px 44px, auto;
  overflow: hidden;
}

.cxl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.78) 38%, transparent 68%),
    linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.78) 100%);
  pointer-events: none;
}

.cxl-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--r-gutter, clamp(18px, 3vw, 40px));
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.82fr);
  gap: clamp(26px, 4vw, 58px);
  align-items: start;
}

.cxl-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 13px;
  border: 1px solid rgba(220, 0, 24, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--cxl-red);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cxl-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--cxl-red);
  box-shadow: 0 0 0 5px rgba(220, 0, 24, 0.08);
}

.cxl-title {
  max-width: 11.5em;
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 6.2vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 760;
  color: var(--cxl-ink);
}

.cxl-title .red {
  color: var(--cxl-red);
}

.cxl-title .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 420;
}

.cxl-lead {
  max-width: 58ch;
  margin: 20px 0 0;
  color: #303642;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.58;
  font-weight: 520;
}

.cxl-fomo {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  max-width: 680px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(220, 0, 24, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 54px -42px rgba(15, 23, 42, 0.55);
}

.cxl-fomo__pulse {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--cxl-red);
  animation: cxlPulse 1.9s ease-in-out infinite;
}

.cxl-fomo strong {
  display: block;
  font-size: 14px;
  color: var(--cxl-ink);
}

.cxl-fomo span {
  display: block;
  margin-top: 3px;
  color: var(--cxl-muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.cxl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.cxl-proof-row,
.cxl-trustline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 20px;
  color: var(--cxl-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.cxl-proof-row span,
.cxl-trustline span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.cxl-proof-row span::before,
.cxl-trustline span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--cxl-red);
  flex: 0 0 auto;
}

.cxl-mini-board {
  margin-top: clamp(24px, 4vw, 38px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.42fr);
  gap: 14px;
  max-width: 760px;
}

.cxl-pipeline,
.cxl-pressure {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 26px 64px -44px rgba(15, 23, 42, 0.58);
  overflow: hidden;
}

.cxl-pipeline {
  padding: 16px;
}

.cxl-pipeline__top,
.cxl-pressure__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--cxl-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cxl-pipeline__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  animation: cxlFloat 5.2s ease-in-out infinite;
}

.cxl-pipeline__row:nth-child(3) { animation-delay: 0.45s; }
.cxl-pipeline__row:nth-child(4) { animation-delay: 0.9s; }
.cxl-pipeline__row:last-child { border-bottom: 0; }

.cxl-pipeline__lead {
  min-width: 0;
}

.cxl-pipeline__lead strong {
  display: block;
  font-size: 14px;
  color: var(--cxl-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cxl-pipeline__lead span {
  display: block;
  margin-top: 3px;
  color: var(--cxl-muted);
  font-size: 12.5px;
}

.cxl-status {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(15, 159, 110, 0.1);
  color: var(--cxl-green);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
}

.cxl-pressure {
  padding: 16px;
}

.cxl-pressure__value {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.cxl-pressure__label {
  margin-top: 8px;
  color: var(--cxl-muted);
  font-size: 13px;
  line-height: 1.45;
}

.cxl-meter {
  margin-top: 18px;
  height: 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.cxl-meter span {
  display: block;
  height: 100%;
  width: var(--meter, 72%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cxl-red), #ff7a88);
  animation: cxlMeter 3.8s ease-in-out infinite;
}

.cxl-form-wrap.form-wrap {
  position: sticky;
  top: 86px;
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  padding: clamp(18px, 2.5vw, 30px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 34px 90px -46px rgba(15, 23, 42, 0.75);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.cxl-form-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
  margin-bottom: 18px;
}

.cxl-form-eyebrow {
  color: var(--cxl-red);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cxl-form-title {
  margin: 5px 0 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.15vw, 30px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.cxl-form-chip {
  padding: 7px 10px;
  border: 1px solid rgba(220, 0, 24, 0.16);
  border-radius: 999px;
  background: rgba(220, 0, 24, 0.07);
  color: var(--cxl-red);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
}

.cxl-form-wrap .form__progress {
  margin-bottom: 18px;
}

.cxl-form-wrap .form__step-title {
  font-size: clamp(21px, 2vw, 29px);
  margin-bottom: 16px;
}

.cxl-form-wrap .form__step-num {
  color: var(--cxl-muted);
}

.cxl-form-wrap .form__options {
  grid-template-columns: 1fr;
  gap: 10px;
}

.cxl-form-wrap .form__option {
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 15px;
}

.cxl-form-wrap .form__option:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(220, 0, 24, 0.13);
}

.cxl-form-wrap .form__option-sub {
  line-height: 1.35;
}

.cxl-form-wrap .form__field {
  margin-bottom: 13px;
}

.cxl-form-wrap .form__field input,
.cxl-form-wrap .form__field textarea,
.cxl-form-wrap .form__field select {
  border-radius: 13px;
  min-height: 48px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.cxl-form-wrap .form__field select {
  appearance: none;
  padding-right: 44px;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--cxl-muted) 50%),
    linear-gradient(135deg, var(--cxl-muted) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.cxl-form-wrap .form__field input:focus,
.cxl-form-wrap .form__field textarea:focus,
.cxl-form-wrap .form__field select:focus {
  border-color: rgba(220, 0, 24, 0.42);
  box-shadow: 0 0 0 4px rgba(220, 0, 24, 0.09);
  outline: 0;
}

.cxl-form-wrap .form__field textarea {
  min-height: 96px;
}

.cxl-form-wrap .form__nav {
  margin-top: 18px;
  gap: 10px;
}

.cxl-form-wrap .btn-pill {
  min-height: 48px;
  padding: 12px 19px;
}

.cxl-form-note {
  margin: 14px 0 0;
  color: var(--cxl-muted);
  font-size: 12.5px;
  line-height: 1.45;
  text-align: center;
}

.cxl-direct {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 12px;
  font-size: 13.5px;
}

.cxl-direct a {
  color: var(--cxl-ink-2);
  text-decoration: none;
  font-weight: 700;
}

.cxl-direct a:hover {
  color: var(--cxl-red);
}

.cxl-band {
  padding: clamp(38px, 6vw, 72px) 0;
  background: #fff;
}

.cxl-band--soft {
  background: linear-gradient(180deg, #f8f9fb, #fff);
}

.cxl-band--dark {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.05) 0 1px, transparent 1px),
    linear-gradient(135deg, #090a0f 0%, #141824 100%);
  background-size: 52px 52px, 52px 52px, auto;
  color: #fff;
}

.cxl-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--r-gutter, clamp(18px, 3vw, 40px));
}

.cxl-section-head {
  max-width: 760px;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.cxl-eyebrow {
  color: var(--cxl-red);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cxl-band--dark .cxl-eyebrow {
  color: #ff6a78;
}

.cxl-heading {
  margin: 9px 0 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: inherit;
}

.cxl-heading .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 420;
}

.cxl-sub {
  max-width: 62ch;
  margin: 15px 0 0;
  color: var(--cxl-muted);
  font-size: 16.5px;
  line-height: 1.62;
}

.cxl-band--dark .cxl-sub {
  color: rgba(255,255,255,0.7);
}

.cxl-signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cxl-signal {
  min-height: 188px;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 66px -50px rgba(15, 23, 42, 0.65);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.38s;
}

.cxl-signal:hover {
  transform: translateY(-4px);
  border-color: rgba(220, 0, 24, 0.22);
}

.cxl-signal__num {
  color: var(--cxl-red);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cxl-signal__title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.cxl-signal__text {
  margin-top: 10px;
  color: var(--cxl-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.cxl-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}

.cxl-proof-panel {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 74px -54px rgba(15, 23, 42, 0.74);
}

.cxl-band--dark .cxl-proof-panel {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.055);
  box-shadow: none;
}

.cxl-proof-panel__title {
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.cxl-proof-panel__text {
  margin-top: 13px;
  color: var(--cxl-muted);
  line-height: 1.62;
}

.cxl-band--dark .cxl-proof-panel__text {
  color: rgba(255,255,255,0.68);
}

.cxl-metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.cxl-metric {
  padding: 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.045);
}

.cxl-band--dark .cxl-metric {
  background: rgba(255,255,255,0.08);
}

.cxl-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.cxl-metric span {
  display: block;
  margin-top: 7px;
  color: var(--cxl-muted);
  font-size: 12.5px;
  line-height: 1.35;
}

.cxl-band--dark .cxl-metric span {
  color: rgba(255,255,255,0.64);
}

.cxl-media-card {
  position: relative;
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  background: #111827;
  box-shadow: 0 28px 80px -50px rgba(15, 23, 42, 0.7);
}

.cxl-media-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.03);
}

.cxl-media-card__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 15px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  background: rgba(8, 10, 15, 0.72);
  color: #fff;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.cxl-media-card__caption strong {
  display: block;
  font-size: 14.5px;
}

.cxl-media-card__caption span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,0.68);
  font-size: 12.5px;
  line-height: 1.4;
}

.cxl-fomo-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(220,0,24,0.08), rgba(15,23,42,0.04)),
    #fff;
  border: 1px solid rgba(220, 0, 24, 0.15);
}

.cxl-fomo-strip__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--cxl-red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
}

.cxl-fomo-strip strong {
  display: block;
  font-size: 17px;
}

.cxl-fomo-strip span {
  display: block;
  margin-top: 4px;
  color: var(--cxl-muted);
  font-size: 14px;
  line-height: 1.45;
}

.cxl-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cxl-step {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.065);
  border: 1px solid rgba(255,255,255,0.12);
}

.cxl-step__num {
  color: #ff7080;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.cxl-step__title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.cxl-step__text {
  margin-top: 10px;
  color: rgba(255,255,255,0.68);
  font-size: 14.5px;
  line-height: 1.55;
}

.cxl-sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 900;
  display: none;
}

.cxl-sticky-cta .btn-pill {
  width: 100%;
}

.cxl-anchor-card {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 22px;
  background: #fff;
}

.cxl-anchor-card__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.cxl-anchor-card__text {
  margin-top: 10px;
  color: var(--cxl-muted);
  line-height: 1.58;
}

@keyframes cxlPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 0, 24, 0.28); }
  50% { transform: scale(0.78); box-shadow: 0 0 0 9px rgba(220, 0, 24, 0); }
}

@keyframes cxlFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes cxlMeter {
  0%, 100% { transform: scaleX(0.86); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
}

@media (max-width: 1120px) {
  .cxl-hero__inner,
  .cxl-visual-grid {
    grid-template-columns: 1fr;
  }

  .cxl-form-wrap.form-wrap {
    position: relative;
    top: auto;
    max-width: 760px;
  }

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

@media (max-width: 760px) {
  .cxl-hero {
    padding-top: calc(72px + 22px);
  }

  .cxl-hero__inner {
    gap: 22px;
    display: flex;
    flex-direction: column;
  }

  .cxl-copy {
    display: contents;
  }

  .cxl-kicker { order: 1; }
  .cxl-title { order: 2; }
  .cxl-form-wrap.form-wrap { order: 3; }
  .cxl-lead { order: 4; }
  .cxl-fomo { order: 5; }
  .cxl-hero-actions { order: 6; }
  .cxl-trustline,
  .cxl-proof-row { order: 7; }
  .cxl-mini-board { order: 8; }

  .cxl-page .btn-pill {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .cxl-title {
    font-size: clamp(36px, 11.5vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.035em;
  }

  .cxl-lead {
    font-size: 15.5px;
  }

  .cxl-mini-board,
  .cxl-signal-grid,
  .cxl-steps,
  .cxl-metric-row,
  .cxl-fomo-strip {
    grid-template-columns: 1fr;
  }

  .cxl-hero-actions .btn-pill,
  .cxl-fomo-strip .btn-pill {
    width: 100%;
  }

  .cxl-form-top {
    grid-template-columns: 1fr;
  }

  .cxl-form-chip {
    justify-self: start;
  }

  .cxl-form-wrap .form__grid-2 {
    grid-template-columns: 1fr;
  }

  .cxl-form-wrap .form__nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cxl-form-wrap .form__nav .btn-pill {
    width: 100%;
  }

  .cxl-sticky-cta {
    display: block;
  }

  .cxl-page main {
    padding-bottom: 84px;
  }
}

@media (max-width: 460px) {
  .cxl-kicker {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }

  .cxl-fomo {
    grid-template-columns: 1fr;
  }

  .cxl-fomo__pulse {
    margin-top: 0;
  }

  .cxl-form-wrap.form-wrap {
    border-radius: 20px;
    padding: 16px;
  }

  .cxl-media-card {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cxl-fomo__pulse,
  .cxl-pipeline__row,
  .cxl-meter span {
    animation: none;
  }
}
