/* Focused Nordrhein Lead Marketing Landing Page & Clean Funnel */
/* Self-hosted Inter (GDPR-safe, no external Google Fonts request). Latin subset. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-bg: #fbfcf9;
  --color-surface: #ffffff;
  --color-primary: #006b40;
  --color-primary-dark: #00482b;
  --color-primary-soft: #e2ebdf;
  --color-fg: #1e2920;
  --color-muted: #526657;
  --color-border: #d2ded5;
  --color-terracotta: #c57e43;
  --color-terracotta-text: #964f1d;
  --color-danger: #c4322b;
  --color-button-fg: #f1f6f2;
  --font-branding: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-soft: 0 15px 45px rgba(30, 41, 32, 0.05);
  --shadow-hover: 0 10px 24px rgba(0, 107, 64, 0.08);
  --transition-normal: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: var(--font-body);
  color: var(--color-fg);
  line-height: 1.45;
  min-height: 100dvh;
  background: linear-gradient(180deg, #f1f6f2 0%, #fbfcf9 100%);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.15rem, 3vh, 2rem) 1rem clamp(0.8rem, 2vh, 1.35rem);
}

.brand-header {
  width: 100%;
  max-width: 1080px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(0.85rem, 2.2vh, 1.45rem);
}

body:not([data-step="0"]) .brand-header {
  margin-bottom: clamp(1rem, 2.4vh, 1.6rem);
}

.logo-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.logo-img {
  width: clamp(145px, 17vw, 188px);
  height: auto;
  display: block;
}

/* Honeypot anti-spam field: removed from layout & a11y tree, but still in the
   DOM and submittable so bots that fill every input get caught. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.content-wrapper {
  width: 100%;
  max-width: 1080px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.main-layout-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   LANDING PAGE (STEP 0) STYLES
   ========================================================================== */

.landing-view-wrapper {
  display: none;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2.5vh, 1.7rem);
  animation: fadeUp 0.35s ease both;
}

.landing-view-wrapper.active {
  display: flex;
}

.landing-hero {
  text-align: center;
  padding: 0;
  max-width: 44rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  min-height: 1.85rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.23), rgba(255, 255, 255, 0.1)),
    rgba(0, 72, 43, 0.34);
  color: #eef7ef;
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.22rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  letter-spacing: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 6px 18px rgba(0, 38, 23, 0.14);
}

.eyebrow-tag strong {
  color: #ffffff;
}

.landing-title {
  font-family: var(--font-branding);
  font-size: clamp(2rem, 5.2vh, 3rem);
  font-weight: 700;
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 12px rgba(0, 38, 23, 0.35);
  text-wrap: balance;
}

.landing-subtitle {
  font-size: clamp(0.98rem, 2vh, 1.12rem);
  color: #eef7ef;
  max-width: 34rem;
  margin: 0 auto;
  text-shadow: 0 1px 8px rgba(0, 38, 23, 0.35);
  text-wrap: balance;
}

.landing-cta-card {
  width: 100%;
  max-width: 1080px;
  min-height: clamp(26rem, 58vh, 34rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 72, 43, 0.32), rgba(0, 72, 43, 0.8)),
    linear-gradient(90deg, rgba(0, 72, 43, 0.54), rgba(0, 72, 43, 0.08)),
    url('../img/hero/team_credibility.webp') center 36% / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 6vh, 3.2rem);
  box-shadow: 0 28px 70px rgba(0, 72, 43, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 2.2vh, 1.3rem);
  text-align: center;
}

.cta-value-tags {
  display: flex;
  gap: 0.42rem 0.55rem;
  justify-content: center;
  flex-wrap: wrap;
  width: min(100%, 32rem);
  max-width: 32rem;
}

.cta-value-tags > span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #f4fbf5;
  background: rgba(0, 72, 43, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.24rem 0.62rem;
  border-radius: var(--radius-pill);
}

.rating-stars {
  color: #ffb100;
  font-size: 0.72rem;
  letter-spacing: 0.04rem;
  text-shadow: 0 1px 5px rgba(0, 38, 23, 0.22);
}

.btn-start-funnel {
  width: min(100%, 30rem);
  min-height: 3.45rem;
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: var(--radius-pill);
  background:
    linear-gradient(135deg, #007f4a 0%, #008f55 52%, #006b40 100%);
  color: #ffffff;
  font-family: var(--font-branding);
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 34px rgba(0, 38, 23, 0.3);
  transition:
    transform 0.28s var(--transition-normal),
    box-shadow 0.28s var(--transition-normal),
    background-position 0.35s ease;
  background-size: 180% 180%;
}

.btn-start-funnel::before {
  content: '';
  position: absolute;
  inset: -35% auto -35% -55%;
  width: 42%;
  transform: skewX(-18deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.34),
    rgba(255, 255, 255, 0.12),
    transparent
  );
  opacity: 0;
  pointer-events: none;
}

.btn-start-funnel:hover,
.btn-start-funnel:focus-visible {
  background-position: 100% 50%;
  transform: translateY(-3px);
  box-shadow:
    0 18px 36px rgba(0, 107, 64, 0.34),
    0 0 0 5px rgba(120, 198, 154, 0.16),
    0 0 32px rgba(52, 211, 153, 0.32);
}

.btn-start-funnel:hover::before,
.btn-start-funnel:focus-visible::before {
  opacity: 1;
  animation: buttonShine 0.95s ease forwards;
}

.btn-start-funnel .arrow-icon {
  margin-left: 8px;
  position: relative;
  z-index: 1;
  transition: transform 0.22s ease;
}

.btn-start-funnel:hover .arrow-icon,
.btn-start-funnel:focus-visible .arrow-icon {
  transform: translateX(5px);
}

.btn-start-funnel > span,
.btn-start-funnel > svg {
  position: relative;
  z-index: 1;
}

.cta-sub-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #eef7ef;
  text-shadow: 0 1px 5px rgba(0, 38, 23, 0.28);
}

.cta-sub-badge svg {
  color: #ffffff;
}

/* Scrollable Trust Section */
.landing-trust-section {
  width: 100%;
  border-top: 1px solid var(--color-border);
  padding-top: clamp(1.15rem, 2.4vh, 1.6rem);
  margin-top: 0;
}

.trust-section-title {
  font-family: var(--font-branding);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.18;
  font-weight: 800;
  color: var(--color-primary-dark);
  text-align: center;
  margin-bottom: clamp(0.9rem, 2vw, 1.2rem);
}

.trust-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1rem);
}

.trust-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 24px rgba(31, 47, 38, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.trust-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 125, 77, 0.24);
  box-shadow: 0 16px 34px rgba(31, 47, 38, 0.1);
}

.trust-card-img {
  width: 100%;
  height: clamp(118px, 12vw, 150px);
  object-fit: cover;
  display: block;
}

.trust-card-body {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: clamp(0.8rem, 1.6vw, 1rem);
}

.green-check {
  color: var(--color-primary);
  flex-shrink: 0;
  background: var(--color-primary-soft);
  border-radius: var(--radius-pill);
  padding: 2px;
  margin-top: 0.1rem;
}

.trust-point-text {
  display: flex;
  flex-direction: column;
  gap: 0.14rem;
}

.trust-point-text strong {
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  line-height: 1.2;
  color: var(--color-fg);
  font-weight: 800;
}

.trust-point-text span {
  font-size: clamp(0.76rem, 0.9vw, 0.84rem);
  color: var(--color-muted);
  line-height: 1.38;
}

.trust-tags-clean {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem;
  margin-top: clamp(0.8rem, 1.6vw, 1rem);
}

.pill-tag {
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   FUNNEL FORM WIZARD STYLES
   ========================================================================== */

.funnel-container-wrapper {
  display: none;
  width: 100%;
  animation: fadeUp 0.35s ease both;
}

.funnel-container-wrapper.active {
  display: block;
}

.funnel-container {
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: clamp(0.25rem, 1.5vw, 1rem);
  box-shadow: none;
  position: relative;
  overflow: visible;
}

.progress-bar-container {
  margin-bottom: clamp(1rem, 2vh, 1.35rem);
}

.progress-bar-bg {
  width: 100%;
  height: 0.38rem;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
}

.progress-bar-fill {
  width: 20%;
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.progress-text {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.step-pane-container {
  position: relative;
  min-height: clamp(18rem, 44vh, 24.5rem);
}

.step-pane {
  display: none;
  width: 100%;
  opacity: 0;
}

.step-pane.active {
  display: block;
  opacity: 1;
}

.step-pane.sliding {
  display: block;
  position: absolute;
  inset: 0 auto auto 0;
}

.step-title {
  max-width: 48rem;
  margin-bottom: clamp(1rem, 2.3vh, 1.35rem);
  color: var(--color-fg);
  font-family: var(--font-branding);
  font-size: clamp(1.34rem, 2.6vh, 1.72rem);
  font-weight: 800;
  line-height: 1.18;
  text-wrap: balance;
}

.step-subtitle {
  margin-bottom: clamp(0.65rem, 1.55vh, 0.95rem);
  color: var(--color-muted);
  font-size: 0.86rem;
}

/* Minimal option cards */
.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.9rem, 1.85vh, 1.18rem);
  grid-auto-rows: 1fr;
  max-width: 760px;
  margin-inline: auto;
}

.option-card {
  min-height: clamp(5.15rem, 10vh, 6.2rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--color-fg);
  box-shadow: 0 5px 16px rgba(30, 41, 32, 0.025);
  cursor: pointer;
  font-size: clamp(0.98rem, 2vh, 1.08rem);
  font-weight: 700;
  text-align: left;
  user-select: none;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.option-card:hover,
.option-card.selected {
  border-color: var(--color-primary);
  box-shadow: 0 10px 24px rgba(0, 107, 64, 0.095);
  transform: translateY(-2px);
}

.option-card:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.option-card.selected {
  background: #f6faf5;
  box-shadow: 0 0 0 3px rgba(0, 107, 64, 0.13), 0 10px 24px rgba(0, 107, 64, 0.1);
}

.option-icon {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  transition: all 0.22s ease;
}

.option-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.option-card:hover .option-icon,
.option-card.selected .option-icon {
  background: var(--color-primary);
  color: #ffffff;
}

.option-circle {
  position: relative;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  margin-left: auto;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  transition: all 0.15s ease;
}

.option-card.selected .option-circle {
  border-color: var(--color-primary);
  background: var(--color-primary);
}

.option-card.selected .option-circle::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
}

/* Controls readable over the photo (visual cards only) */
.option-card.visual-card .option-icon {
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary);
}

.option-card.visual-card .option-circle {
  border-color: rgba(255, 255, 255, 0.85);
}

.option-card.visual-card.selected {
  box-shadow: 0 0 0 3px var(--color-primary), 0 12px 26px rgba(0, 107, 64, 0.2);
}

/* Visual option cards (Steps 1-4): single image tile with overlaid label */
.option-card.visual-card {
  display: block;
  position: relative;
  aspect-ratio: 3 / 2;
  padding: 0;
  overflow: hidden;
  min-height: auto;
  border-width: 1px;
  border-radius: 16px;
}

.card-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.option-card.visual-card:hover .card-img {
  transform: scale(1.04);
}

.card-label-wrapper {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.6rem 0.95rem 0.7rem;
  width: 100%;
  background: linear-gradient(180deg, rgba(0, 40, 24, 0) 0%, rgba(0, 40, 24, 0.55) 45%, rgba(0, 40, 24, 0.88) 100%);
}

.card-label-wrapper > span {
  font-size: clamp(1.02rem, 1.9vh, 1.18rem);
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 26, 15, 0.55);
}

/* Compact overlay tiles on small screens */
@media (max-width: 720px) {
  .card-label-wrapper {
    padding: 1.25rem 0.7rem 0.6rem;
    gap: 0.6rem;
  }

  .card-label-wrapper > span {
    font-size: 0.92rem;
  }
}

.navigation-bar {
  display: flex;
  justify-content: flex-start;
  min-height: 2.35rem;
  margin-top: clamp(0.75rem, 1.55vh, 1rem);
  padding-top: clamp(0.45rem, 1vh, 0.7rem);
  border-top: 1px solid rgba(210, 222, 213, 0.5);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2rem;
  padding: 0 0.8rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-muted);
  font: 700 0.85rem var(--font-body);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back:hover {
  background: var(--color-primary-soft);
  color: var(--color-fg);
}

/* Lead Form Styling */
/* Step 5: the whole pane is one unified card (heading + subtitle + form inside) */
.step-pane[data-step="5"] {
  max-width: 480px;
  margin-inline: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.5vh, 2.25rem);
  box-shadow: var(--shadow-soft);
}

.lead-form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.field-error {
  display: none;
  margin-top: 0.3rem;
  color: var(--color-danger);
  font-size: 0.72rem;
  font-weight: 600;
}

.field-error.show {
  display: block;
}

.form-input.invalid {
  border-color: var(--color-danger);
}

.form-input.invalid:focus {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 4px rgba(196, 50, 43, 0.12);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.ui-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--color-fg);
  font-size: 0.8rem;
  font-weight: 700;
}

.form-input {
  width: 100%;
  min-height: clamp(2.9rem, 5.5vh, 3.25rem);
  padding: 0 1.1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  outline: none;
  background: #ffffff;
  color: var(--color-fg);
  font: 500 0.9rem var(--font-body);
  transition: all 0.2s ease;
}

.form-input::placeholder {
  color: #83948b;
}

.form-input:hover {
  border-color: rgba(0, 107, 64, 0.4);
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0, 107, 64, 0.12);
}

.btn-submit {
  width: 100%;
  min-height: 3.4rem;
  margin-top: 0.5rem;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 107, 64, 0.18);
  cursor: pointer;
  font: 700 1rem var(--font-branding);
  transition: all 0.25s ease;
}

.btn-submit:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 14px 28px rgba(0, 107, 64, 0.25);
  transform: translateY(-2px);
}

.btn-submit:disabled {
  cursor: wait;
  opacity: 0.8;
  transform: none;
}

.gdpr-disclaimer {
  max-width: 32rem;
  margin: 0 auto;
  color: var(--color-muted);
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
}

.gdpr-disclaimer a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

.gdpr-disclaimer a:hover {
  text-decoration: underline;
}

.trust-badges-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.95rem;
  margin-top: 0.55rem;
  padding-top: 0.62rem;
  border-top: 1px solid rgba(210, 222, 213, 0.5);
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #4f6556;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}

.trust-badge-icon {
  color: var(--color-primary);
}

/* Success View / Loader */
.labor-illusion,
.success-pane {
  display: none;
  text-align: center;
}

/* Center the capped-width heading/subtitle within the centered success pane
   (.step-title has max-width but no auto margins → would otherwise sit left). */
.success-pane .step-title,
.success-pane .step-subtitle {
  margin-inline: auto;
}

.labor-illusion {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(16rem, 36vh, 22rem);
  padding: 2rem 1rem;
}

.spinner {
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1.2rem;
  border: 4px solid var(--color-primary-soft);
  border-top-color: var(--color-primary);
  border-radius: var(--radius-pill);
  animation: spin 0.8s linear infinite;
}

.loading-text {
  min-height: 1.9rem;
  margin-bottom: 0.35rem;
  font: 700 1.08rem var(--font-branding);
}

.loading-subtext {
  color: var(--color-muted);
  font-size: 0.88rem;
}

.success-pane {
  padding: clamp(1.5rem, 4vh, 2.5rem) 1rem;
}

.thank-you-page .success-pane {
  display: block;
  width: min(100%, 46rem);
  margin-inline: auto;
}

.thank-you-page .success-pane .step-subtitle {
  margin-bottom: 0;
}

/* After submit: vertically center the confirmation between header and footer */
body.funnel-complete .main-layout-container {
  flex-grow: 1;
  justify-content: center;
}

.success-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 1.8rem;
  font-weight: 700;
}

.error-banner {
  display: none;
  margin-bottom: 0.8rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(150, 79, 29, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(197, 126, 67, 0.1);
  color: var(--color-terracotta-text);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  min-height: 2.35rem;
  margin-top: clamp(1rem, 2.5vh, 1.65rem);
  padding-top: clamp(1rem, 2.5vh, 1.65rem);
  color: var(--color-muted);
  font-size: 0.74rem;
  text-align: center;
}

footer a {
  color: var(--color-muted);
  font-weight: 700;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  color: var(--color-primary);
}

/* ==========================================================================
   ANIMATIONS & MEDIA QUERIES
   ========================================================================== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes buttonShine {
  from { transform: translateX(0) skewX(-18deg); }
  to { transform: translateX(380%) skewX(-18deg); }
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutLeft {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-100%); opacity: 0; }
}

@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

.slide-in-right {
  animation: slideInRight var(--transition-normal) forwards;
}

.slide-out-left {
  animation: slideOutLeft var(--transition-normal) forwards;
}

.slide-in-left {
  animation: slideInLeft var(--transition-normal) forwards;
}

.slide-out-right {
  animation: slideOutRight var(--transition-normal) forwards;
}

@media (max-width: 720px) {
  body {
    padding: 1rem 0.65rem 0.8rem;
  }

  .brand-header {
    margin-bottom: 0.85rem;
  }

  body:not([data-step="0"]) .brand-header {
    margin-bottom: 0.9rem;
  }

  .logo-container {
    padding: 0;
  }

  .logo-img {
    width: 142px;
  }

  .landing-view-wrapper {
    gap: 1rem;
  }

  .landing-hero {
    padding: 0;
    max-width: 100%;
  }

  .eyebrow-tag {
    font-size: 0.72rem;
    margin-bottom: 0.7rem;
    padding: 0.24rem 0.68rem;
  }

  .landing-title {
    font-size: 1.72rem;
    line-height: 1.08;
    margin-bottom: 0.55rem;
  }

  .landing-subtitle {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .landing-cta-card {
    max-width: 100%;
    min-height: clamp(27rem, 62vh, 31rem);
    padding: 1.15rem;
    gap: 0.72rem;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(0, 72, 43, 0.34), rgba(0, 72, 43, 0.82)),
      linear-gradient(90deg, rgba(0, 72, 43, 0.54), rgba(0, 72, 43, 0.08)),
      url('../img/hero/team_credibility.webp') center 30% / cover no-repeat;
  }

  .cta-value-tags > span {
    font-size: 0.7rem;
    padding: 0.22rem 0.52rem;
  }

  .btn-start-funnel {
    min-height: 3.1rem;
    font-size: 0.96rem;
  }

  .cta-sub-badge {
    font-size: 0.7rem;
  }

  .landing-trust-section {
    padding-top: 1rem;
  }

  .options-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .option-card {
    min-height: 4.1rem;
    padding: 0.66rem;
    border-radius: 12px;
    font-size: 0.9rem;
    gap: 0.55rem;
  }

  .option-icon {
    width: 2rem;
    height: 2rem;
    flex-basis: 2rem;
  }

  .option-icon svg {
    width: 1rem;
    height: 1rem;
  }

  .option-circle {
    width: 1rem;
    height: 1rem;
  }

  .funnel-container {
    padding: 0.2rem 0.05rem 0;
    border-radius: 0;
  }

  .progress-bar-container {
    margin-bottom: 0.55rem;
  }

  .progress-bar-bg {
    height: 0.32rem;
  }

  .progress-text {
    margin-top: 0.34rem;
    font-size: 0.68rem;
  }

  .step-pane-container {
    min-height: 0;
  }

  .step-title {
    font-size: 1.14rem;
    line-height: 1.18;
  }

  .step-subtitle {
    margin-bottom: 0.5rem;
    font-size: 0.76rem;
    line-height: 1.3;
  }

  .navigation-bar {
    min-height: 1.8rem;
    margin-top: 0.48rem;
    padding-top: 0.38rem;
  }

  .btn-back {
    min-height: 1.8rem;
    font-size: 0.76rem;
  }

  .trust-section-title {
    text-align: left;
    margin-bottom: 0.75rem;
  }

  .trust-card-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .trust-card-img {
    height: 112px;
  }

  .trust-card-body {
    padding: 0.76rem 0.82rem;
  }

  .trust-tags-clean {
    justify-content: flex-start;
    margin-top: 0.7rem;
  }

  .trust-badges-bar {
    gap: 0.3rem 0.58rem;
    margin-top: 0.38rem;
    padding-top: 0.4rem;
  }

  .trust-badge-item {
    font-size: 0.68rem;
  }

  footer {
    min-height: 2.15rem;
    margin-top: 1rem;
    padding-top: 1rem;
    font-size: 0.68rem;
    gap: 0.35rem 0.75rem;
  }
}

@media (max-width: 480px) {
  .options-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .cta-value-tags {
    gap: 0.55rem;
  }
  
  .cta-value-tags > span {
    font-size: 0.74rem;
  }

  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

/* Cookie / tracking consent banner */
.consent-banner {
  position: fixed;
  left: 50%;
  bottom: clamp(0.6rem, 2vw, 1.1rem);
  transform: translateX(-50%);
  z-index: 1000;
  width: min(680px, calc(100% - 1.5rem));
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(30, 41, 32, 0.16);
}

.consent-banner[hidden] {
  display: none;
}

.consent-text {
  flex: 1;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.consent-text a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

.consent-text a:hover {
  text-decoration: underline;
}

.consent-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.consent-btn {
  min-height: 2.3rem;
  padding: 0 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  cursor: pointer;
  font: 700 0.82rem var(--font-body);
  transition: all 0.2s ease;
}

.consent-btn-secondary {
  background: transparent;
  color: var(--color-muted);
}

.consent-btn-secondary:hover {
  background: var(--color-primary-soft);
  color: var(--color-fg);
}

.consent-btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.consent-btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

@media (max-width: 560px) {
  .consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }

  .consent-actions {
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .btn-start-funnel::before {
    display: none;
  }
}
