/* Losung360 landing page shared design system */

:root {
  --color-accent: #FE7408;
  --color-accent-solid: #ff9800;
  --color-accent-hover: #f58a00;
  --color-text: #1a1a1a;
  --color-text-muted: #666;
  --color-border: #d9d9d9;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f8fa;
  --radius-lg: 22px;
  --radius-md: 12px;
  --shadow-card: 0 12px 35px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
}

/* ---------- Entrance animations (page load) ---------- */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-in-right {
  from {
    opacity: 0;
    transform: translateX(48px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes gradient-shift {
  from {
    background-position: 0% 0;
  }
  to {
    background-position: 100% 0;
  }
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  padding: 0 32px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff7ef 0%, #ffffff 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 6vw, 110px);
  min-height: 620px;
  /* clears the fixed, floating site-header so hero content never sits under it */
  padding-top: 84px;
}

/* Shifts the hero copy left to align with the footer's 32px inset.
   hero-visual (the form) is untouched and stays exactly where the
   default centered .hero layout puts it - a relative-position offset
   only repaints hero-copy, it doesn't change what space it reserves,
   so it can't push or pull any sibling. */
.hero--split .hero-copy {
  position: relative;
  left: -181px;
}

@media (max-width: 900px) {
  .hero--split .hero-copy {
    left: 0;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* each page sets --hero-bg-image inline; pages with none just show the gradient */
  background-image: var(--hero-bg-image, none);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  -webkit-mask-image: linear-gradient(to right, transparent, transparent 25%, #000 45%);
  mask-image: linear-gradient(to right, transparent, transparent 25%, #000 45%);
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  flex: 0 1 620px;
  padding: 56px 0 56px 32px;
}

.hero-copy h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--color-text);
  animation: fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* longer headlines (e.g. Warehousing's) get more room + a touch smaller
   size so the manual <br> lands exactly 2 lines, with no further wrap.
   (extra `.hero-copy` in the selector beats the base h1 rule's specificity) */
.hero-copy h1.hero-headline--2line {
  font-size: clamp(28px, 3vw, 40px);
}

/* desktop-only: the split layout (wide column + left pull) only makes
   sense side-by-side with the form; mobile stacks full-width instead */
@media (min-width: 901px) {
  .hero:has(.hero-headline--2line) .hero-copy {
    flex-basis: 900px;
    /* the shared -181px offset was calibrated for the default 620px-wide
       hero-copy; this box is 280px wider, so it needs a smaller pull to
       land at the same footer-aligned position */
    left: -41px;
  }
}

.hero-copy h1 .accent-text {
  background: linear-gradient(90deg, var(--color-accent) 0%, #ffab5c 50%, var(--color-accent) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 7s ease-in-out infinite alternate;
}

.hero-subhead {
  font-size: 16px;
  color: var(--color-text-muted);
  margin: 0 0 28px;
  max-width: 480px;
  animation: fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.hero-trust-heading {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 18px;
  animation: fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

/* two auto-scrolling logo rows inside the hero - top drifts right, bottom left */
.hero-trust-marquee {
  max-width: 560px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  animation: fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero-trust-row {
  display: flex;
  width: max-content;
  animation: trust-scroll 26s linear infinite;
}

.hero-trust-row + .hero-trust-row {
  margin-top: 12px;
}

.hero-trust-row.scroll-right {
  animation-direction: reverse;
}

/* margin instead of flex gap so the -50% loop point lines up exactly */
.hero-trust-row img {
  height: 74px;
  width: auto;
  display: block;
  margin-right: 14px;
}

/* raw brand logos (no card frame) - smaller, wider spaced */
.hero-trust-row.logos-plain img {
  height: 34px;
  margin-right: 36px;
}

.hero-trust-marquee:hover .hero-trust-row {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .hero-trust-row {
    animation: trust-scroll 0s paused;
  }
}

.hero-stats {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  font-size: 17px;
  font-weight: 500;
  color: var(--color-text);
  padding-left: 20px;
  position: relative;
  margin-bottom: 12px;
  animation: fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* stagger the bullets one after another */
.hero-stats li:nth-child(1) { animation-delay: 0.20s; }
.hero-stats li:nth-child(2) { animation-delay: 0.30s; }
.hero-stats li:nth-child(3) { animation-delay: 0.40s; }
.hero-stats li:nth-child(4) { animation-delay: 0.50s; }
.hero-stats li:nth-child(5) { animation-delay: 0.60s; }
.hero-stats li:nth-child(6) { animation-delay: 0.70s; }

.hero-stats li::before {
  content: "•";
  color: var(--color-text);
  position: absolute;
  left: 0;
}

/* ---------- Lead form card ---------- */

.hero-visual {
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
  align-self: stretch;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 32px;
}

.hero-visual .losung-form-wrap {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 340px;
  max-width: 100%;
  animation: fade-in-right 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.losung-form-wrap {
  padding: 22px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.losung-form-wrap h3 {
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  color: #000;
  margin: 0 0 8px;
}

.losung-form-wrap p {
  text-align: center;
  color: #555;
  font-size: 13px;
  margin: 0 0 18px;
}

.field-group {
  margin-bottom: 14px;
}

.field-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #000;
  margin-bottom: 6px;
}

.field-group input,
.field-group select {
  width: 100%;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0 14px;
  font-size: 14px;
  color: #333;
  background: rgba(255, 255, 255, 0.85);
  font-family: inherit;
}

.field-group input::placeholder {
  color: #8a8a8a;
}

.field-group input:focus,
.field-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(254, 116, 8, 0.15);
}

/* honeypot field - hidden from real users, catches simple bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit-btn {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, #ffab5c 0%, var(--color-accent-solid) 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 6px;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

/* shine sweep across the button on hover */
.submit-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.submit-btn:hover {
  background: linear-gradient(90deg, var(--color-accent-solid) 0%, var(--color-accent-hover) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(254, 116, 8, 0.35);
}

.submit-btn:hover::after {
  left: 130%;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.submit-btn:focus {
  outline: none;
}

.form-message {
  display: none;
  text-align: center;
  margin-top: 15px;
  font-weight: 600;
  font-size: 14px;
}

.form-message.success {
  display: block;
  color: #1a8a3d;
}

.form-message.error {
  display: block;
  color: #c62828;
}

@media (max-width: 480px) {
  .losung-form-wrap {
    padding: 20px;
  }
}

/* ---------- Why Us ---------- */

.why-us {
  padding: 72px 0;
  background: var(--color-bg-soft);
  overflow: hidden;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.why-us-image {
  width: 100%;
  height: auto;
  /* pull past the container padding so the photo touches the viewport edge */
  margin-left: -32px;
  -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 95%);
  mask-image: linear-gradient(to right, #000 55%, transparent 95%);
}

.why-us-content h2 {
  color: var(--color-accent);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  margin: 0 0 18px;
}

.why-us-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 32px;
}

.why-us-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* mobile-only auto-scrolling marquee version of the pills - hidden on desktop */
.why-us-pills-marquee {
  display: none;
}

.why-us-pill {
  background: #eceef1;
  border-radius: 16px;
  padding: 22px 24px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, background 0.35s ease;
}

.why-us-pill:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* ---------- Scroll-reveal animation ---------- */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-on-scroll.reveal-delay-1 {
  transition-delay: 0.15s;
}

/* pills both reveal on scroll and lift on hover - one combined transition */
.why-us-pill.reveal-on-scroll {
  transition:
    opacity 0.7s ease-out,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    background 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-copy h1,
  .hero-stats li,
  .hero-visual .losung-form-wrap {
    animation: none;
  }

  .feature-card:hover,
  .why-us-pill:hover,
  .submit-btn:hover {
    transform: none;
  }
}

/* ---------- Trust strip ---------- */

.trust {
  padding: 40px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.trust h2 {
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin: 0 0 8px;
}

.trust-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--color-text-muted);
  margin: 0 0 28px;
}

.trust-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.trust-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: trust-scroll 28s linear infinite;
}

.trust-marquee:hover .trust-track {
  animation-play-state: paused;
}

/* Each logo occupies exactly 1/5 of the viewport, so 5 are visible at a time */
.trust-track img {
  flex: 0 0 20vw;
  width: 20vw;
  height: 56px;
  object-fit: contain;
  padding: 0 28px;
  box-sizing: border-box;
  opacity: 0.85;
}

@keyframes trust-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-track,
  .why-us-pills-track {
    animation: none;
  }
}

/* ---------- Feature grid ---------- */

.features {
  padding: 64px 0;
}

.features h2 {
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin: 0 0 8px;
}

.features-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--color-text-muted);
  margin: 0 0 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
  border: 1px solid #d9d9d9;
  /* one combined transition serving both scroll-reveal and hover lift */
  transition:
    opacity 0.7s ease-out,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.feature-card img {
  height: 110px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto 18px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover img {
  transform: translateY(-4px) scale(1.05);
}

.feature-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fe7d15, #ff8f2e);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-icon-badge svg {
  width: 26px;
  height: 26px;
}

.feature-card:hover .feature-icon-badge {
  transform: translateY(-4px) scale(1.05);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
  text-align: left;
}

.feature-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.feature-checklist li::before {
  content: "✓";
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- Footprints map ---------- */

.footprints {
  padding: 64px 0;
}

.footprints h2 {
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin: 0 0 32px;
}

.footprints-map-wrap {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.footprints-map {
  width: 100%;
}

/* invisible hover target sitting on top of each pin baked into the map image */
.map-hotspot {
  position: absolute;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -60%);
  border-radius: 50%;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.map-hotspot:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* clip callouts that would spill past the viewport edge on narrow screens */
.footprints {
  overflow: hidden;
}

/* SVG layer for the leader line - extends past the map so lines can
   reach callouts placed in the whitespace beside it */
.map-callout-svg {
  position: absolute;
  top: 0;
  left: -320px;
  width: calc(100% + 640px);
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}

.map-callout-line {
  stroke: var(--color-accent);
  stroke-width: 2.5;
  fill: none;
  /* retract: line pulls back after the bubble has faded */
  transition: stroke-dashoffset 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.map-callout-line.active {
  /* draw: line extends first, bubble follows */
  transition: stroke-dashoffset 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.map-callout-dot {
  fill: var(--color-accent);
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.map-callout-dot.active {
  opacity: 1;
}

/* the bubble at the end of the line: circular warehouse image + name */
.map-callout {
  position: absolute;
  width: 160px;
  text-align: center;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition:
    opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.map-callout.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  /* appear after the line has finished drawing */
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1) 0.3s,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.map-callout-img-wrap {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-accent);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
  background: #fff;
  margin: 0 auto 8px;
}

.map-callout-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-callout-name {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  background: #fff;
  border-radius: 999px;
  padding: 4px 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  margin: 0 0 4px;
}

.map-callout-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(254, 116, 8, 0.14);
  color: var(--color-accent);
}

.map-callout-status.upcoming {
  background: #eceef1;
  color: #555;
}

@media (prefers-reduced-motion: reduce) {
  .map-callout,
  .map-callout-line,
  .map-callout-dot {
    transition: none;
  }
}

/* ---------- Growth hub (dark SellerPro section) ---------- */

.growth-hub {
  background: #000;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 6px 6px 0 0 #ff8b1f;
  color: #fff;
  padding: 34px 30px;
  margin: 0 32px 64px;
}

.growth-hub-head {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 22px;
}

.growth-hub-head h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin: 0;
}

.growth-hub-head h2 span {
  display: block;
  color: #ff8b1f;
}

.growth-hub-head p {
  margin: 10px 0 0;
  color: #aaa;
  font-size: 0.9rem;
}

.gh-layout {
  display: grid;
  grid-template-columns: 1fr 260px 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 1450px;
  margin: auto;
}

.gh-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gh-card {
  background: linear-gradient(90deg, #171717, #322115);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 11px;
  transition: 0.35s;
}

.gh-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 0 24px rgba(255, 136, 0, 0.25);
}

.gh-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}

.gh-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gh-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.gh-card-head h3 {
  font-size: 0.8rem;
  color: #fff;
  margin: 0;
}

.gh-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.gh-tags span {
  padding: 4px 9px;
  border-radius: 999px;
  background: #262626;
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.68rem;
}

.gh-center {
  position: relative;
  width: 260px;
  height: 260px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gh-ring {
  width: 175px;
  height: 175px;
  border-radius: 50%;
  background: #ff8b1f;
  padding: 14px;
  box-shadow: 0 0 40px rgba(255, 136, 0, 0.4);
  animation: gh-pulse 3s infinite;
}

.gh-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #8a4d14;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gh-inner h3 {
  font-size: 1.35rem;
  color: #fff;
  margin: 0;
}

.gh-inner small {
  color: #f1d7ba;
  letter-spacing: 1.5px;
  font-size: 0.62rem;
  white-space: nowrap;
}

.gh-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #ff8b1f;
  border-radius: 50%;
  box-shadow: 0 0 15px #ff8b1f;
}

.gh-dot-t { top: 10px; left: 50%; transform: translateX(-50%); }
.gh-dot-r { right: 10px; top: 50%; transform: translateY(-50%); }
.gh-dot-b { bottom: 10px; left: 50%; transform: translateX(-50%); }
.gh-dot-l { left: 10px; top: 50%; transform: translateY(-50%); }

@keyframes gh-pulse {
  50% {
    transform: scale(1.04);
  }
}

@media (max-width: 1024px) {
  .gh-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .gh-center {
    order: -1;
  }
}

@media (max-width: 600px) {
  .growth-hub {
    padding: 26px 18px;
    margin: 0 16px 40px;
  }

  .gh-center {
    width: 210px;
    height: 210px;
  }

  .gh-ring {
    width: 150px;
    height: 150px;
  }

  .gh-card {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gh-ring {
    animation: none;
  }
}

/* ---------- Bottom CTA ---------- */

.cta-band {
  background: var(--color-bg-soft);
}

/* Full-bleed form card: flush to the viewport edges */
.cta-band .container {
  padding: 0;
}

.cta-band .losung-form-wrap {
  width: 100%;
  border-radius: 0;
  padding: 48px clamp(24px, 6vw, 96px) 56px;
}

.cta-band .losung-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
}

.cta-band .losung-form .hp-field,
.cta-band .losung-form input[type="hidden"] {
  grid-column: 1 / -1;
}

.cta-band .losung-form .submit-btn,
.cta-band .losung-form .form-message {
  grid-column: 1 / -1;
}

@media (max-width: 700px) {
  .cta-band .losung-form {
    grid-template-columns: 1fr;
  }
}

/* ---------- Site header (injected by shared/header.js) ---------- */

.site-header {
  /* fixed + floating over the hero, so its transparent bar shows the
     hero's own gradient/image behind it instead of the page's white
     background (which is what sat behind it in normal flow) */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px 32px;
  /* the nav pill is position:absolute (so it can be dead-centered), which
     means it no longer contributes to this bar's height - without an
     explicit height, .header-nav's top:50% would center against a
     collapsed box and clip the pill. This guarantees a sane height
     regardless of which children are in-flow. */
  min-height: 68px;
  background: transparent;
  pointer-events: none;
}

/* re-enable interaction on the actual controls inside the transparent bar */
.site-header a,
.site-header button,
.site-header .nav-pill,
.site-header .header-mobile-panel {
  pointer-events: auto;
}

/* logo now lives inside the glass pill, immediately left of Home */
.nav-pill-logo {
  display: flex;
  align-items: center;
  padding: 0 14px 0 6px;
  margin-right: 4px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-pill-logo a {
  display: flex;
  align-items: center;
}

.nav-pill-logo img {
  height: 32px;
  width: auto;
  display: block;
}

/* keep the nav pill dead-centered in the bar */
.header-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-pill {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.nav-pill > li {
  position: relative;
}

.nav-pill > li > a,
.nav-pill > li > button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 20px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}

.nav-pill > li > a:hover,
.nav-pill > li > button:hover {
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.75);
}

/* caret on items with dropdowns */
.has-dropdown > button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s;
}

.has-dropdown:hover > button::after,
.has-dropdown.open > button::after {
  transform: rotate(225deg) translateY(-2px);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out, visibility 0.25s;
}

.has-dropdown:hover > .dropdown,
.has-dropdown.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}

.dropdown a:hover {
  background: rgba(254, 116, 8, 0.1);
  color: var(--color-accent);
}

.header-burger {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  color: var(--color-text);
  cursor: pointer;
}

.header-burger svg {
  width: 22px;
  height: 22px;
}

.header-mobile-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 12px;
  right: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  max-height: calc(100vh - 90px);
  overflow-y: auto;
}

.header-mobile-panel a {
  display: block;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 10px;
}

.header-mobile-panel a:hover {
  background: rgba(254, 116, 8, 0.1);
  color: var(--color-accent);
}

.header-mobile-panel .mobile-group {
  display: block;
  padding: 12px 12px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  /* keep just the logo visible; the link pill collapses into the burger menu */
  .header-nav {
    position: static;
    transform: none;
  }

  .nav-pill {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .nav-pill > li:not(.nav-pill-logo) {
    display: none;
  }

  .nav-pill-logo {
    padding: 0;
    margin-right: 0;
    border-right: none;
  }

  .header-burger {
    display: flex;
  }

  .site-header.menu-open .header-mobile-panel {
    display: block;
  }

  .site-header {
    padding: 10px 20px;
    justify-content: space-between;
  }
}

/* ---------- Site footer (injected by shared/footer.js) ---------- */

.site-footer {
  padding: 56px 32px 24px;
  border-top: 1px solid #eee;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.7fr 1fr;
  gap: 40px;
  max-width: 1450px;
  margin: 0 auto;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 20px;
}

.site-footer h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 16px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: 0.3s;
}

.footer-socials a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.footer-socials svg {
  width: 16px;
  height: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.25s;
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-address p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 12px;
}

.footer-copyright {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin: 40px 0 0;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer {
    padding: 40px 24px 20px;
  }
}

/* ---------- Minimal foot note (no site nav/footer) ---------- */

.foot-note {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: #999;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding-top: 0;
  }

  .hero::before {
    display: none;
  }

  .hero-copy {
    flex-basis: auto;
    order: -1;
    /* top padding alone clears the fixed header on mobile */
    padding: 84px 32px 32px;
  }

  /* stacked mobile layout is full-width, so the narrow-column font
     shrink (needed to fit 2 lines in the desktop split layout) isn't
     needed here - size it like a normal hero headline instead */
  .hero-copy h1.hero-headline--2line {
    font-size: clamp(28px, 7vw, 38px);
  }

  .hero-visual {
    justify-content: center;
    padding: 32px;
    min-height: 0;
  }

  .hero-visual .losung-form-wrap {
    width: 100%;
    max-width: 360px;
  }

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

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .why-us-image {
    margin-left: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (max-width: 560px) {
  .hero-stats {
    display: none;
  }

  .why-us-image {
    display: none;
  }

  /* tighter section rhythm on mobile - desktop paddings stack up into
     large empty gaps on a narrow screen */
  .why-us {
    padding: 40px 0;
  }

  .features {
    padding: 36px 0;
  }

  .footprints {
    padding: 36px 0;
  }

  .trust {
    padding: 28px 0;
  }

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

  /* the static grid becomes a continuously auto-scrolling marquee on mobile */
  .why-us-pills {
    display: none;
  }

  .why-us-pills-marquee {
    display: block;
    overflow: hidden;
    margin: 0 -32px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  }

  .why-us-pills-track {
    display: flex;
    gap: 12px;
    width: max-content;
    padding: 0 32px;
    animation: trust-scroll 16s linear infinite;
  }

  .why-us-pills-track .why-us-pill {
    flex: 0 0 auto;
    min-width: 220px;
  }

  .trust-track {
    animation-duration: 20s;
  }

  /* 3 logos at a time on small screens */
  .trust-track img {
    flex-basis: 33.333vw;
    width: 33.333vw;
    height: 40px;
    padding: 0 16px;
  }
}
