/* ==========================================================================
   Connect Money — Landingpage
   Quelle: Figma "Website" (zxUmMnCbxTUsbOzMNhWEum, node 35:41148)
   Design-Breite 1440px, Content 1280px (80px Gutter)
   ========================================================================== */

/* Aeonik Pro ist lizenzpflichtig: Dateien nach assets/fonts/ legen,
   dann greifen die @font-face-Regeln. Bis dahin: lokal installierte Schrift
   bzw. Fallback. */
@font-face {
  font-family: "Aeonik Pro";
  src: local("Aeonik Pro Regular"), local("AeonikPro-Regular"),
       url("../assets/fonts/AeonikPro-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aeonik Pro";
  src: local("Aeonik Pro Medium"), local("AeonikPro-Medium"),
       url("../assets/fonts/AeonikPro-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aeonik Pro";
  src: local("Aeonik Pro Bold"), local("AeonikPro-Bold"),
       url("../assets/fonts/AeonikPro-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens (Figma-Variablen) ---------- */
:root {
  --ink: #161a1e;
  --light: #f0f2f2;
  --grey: #d4dadb;
  --white: #fff;
  --green: #75eba6;
  --green-dark: #257f60;
  --forest: #213a38;
  --sky: #afe3f2;
  --coral: #ff9176;
  --muted: #5c6669;
  --muted-dark: #9aa4a7;

  --font: "Aeonik Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --page: 1440px;
  --content: 1280px;
  --gutter: 80px;
  --section-gap: 160px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grey);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; /* clip statt hidden: kein Scroll-Container → position: sticky funktioniert */
}
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { font-weight: 400; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: none; }

/* ---------- Typo (Figma Text Styles "Connect/…") ---------- */
.t-display { font-size: 120px; line-height: 1;    letter-spacing: -0.03em; }
.t-h1      { font-size: 64px;  line-height: 1.1;  letter-spacing: -0.03em; }
.t-h2      { font-size: 40px;  line-height: 1.15; letter-spacing: -0.015em; }
.t-h3      { font-size: 28px;  line-height: 1.2;  letter-spacing: -0.01em; }
.t-body-l  { font-size: 24px;  line-height: 1.35; letter-spacing: -0.005em; }
.t-body    { font-size: 18px;  line-height: 1.45; }
.t-small   { font-size: 16px;  line-height: 1.45; }
.t-label   { font-size: 14px;  line-height: 1.3;  font-weight: 500; }

/* Figma "cap height"-Trimming für Texte mit leading: normal */
.trim { line-height: 1.2; text-box: trim-both cap alphabetic; }

/* ---------- Layout ---------- */
.container {
  width: min(var(--content), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.section { margin-top: var(--section-gap); }

/* Section-Header: Eyebrow links (≈ halbe Breite) + Copy rechts */
.section-head {
  display: flex;
  align-items: flex-start;
}
.section-head__eyebrow { flex: 0 0 650px; }
.section-head__copy {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section-head__copy .btn { align-self: flex-start; }
.section-head__copy .t-body { color: var(--muted); }

/* ---------- Eyebrow-Pill ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 40px;
  background: var(--ink);
  color: var(--light);
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
  text-box: trim-both cap alphabetic;
}
.eyebrow--light { background: var(--light); color: var(--ink); }

/* ---------- Buttons ---------- */
/* Komponente "Button / Get in touch" (Green | Dark) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 6px 6px 20px;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--ink);
  overflow: hidden;
}
.btn__icon img { width: 16px; height: 16px; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark .btn__icon { background: var(--green); }

/* Kompakte Variante "CTA / Cashless" (138×40) */
.btn--sm {
  gap: 10px;
  height: 40px;
  padding: 5.33px 5.33px 5.33px 13px;
  border-radius: 66.667px;
}
.btn--sm .btn__icon { width: 29.333px; height: 29.333px; }
.btn--sm .btn__icon img { width: 100%; height: 100%; }

/* ==========================================================================
   01 Hero
   ========================================================================== */
/* Hero füllt genau den ersten Screen → die Solution-Section beginnt direkt
   unter dem Fold (Figma: 900px = Viewporthöhe). svh = Viewport mit sichtbaren
   Browserleisten, damit auf Mobile beim Laden nichts hereinlugt.
   Untergrenze, damit Headline und Ring bei sehr flachen Fenstern Platz haben. */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
}
/* Box von "image 14" (Figma: x 18, y −120, 1440×1198). Das Bild wird darin wie
   object-fit: cover gezeichnet – im Canvas, siehe js/hero-ring.js */
.hero__visual {
  position: absolute;
  top: -120px;
  left: 1.25%;
  width: 100%;
  aspect-ratio: 1440 / 1198;
  min-height: 1198px;
  pointer-events: none;
}
.hero__canvas,
.hero__ring-static {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__ring-static { object-fit: cover; }

/* Navigation */
.nav {
  position: absolute;
  z-index: 10;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1324px, 100% - 2 * 58px);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 18px;
  background: var(--white);
  border-radius: 8px;
}
.nav__logo { display: block; }
/* Optische Zentrierung: Die Buchstaben füllen nur 17.5 der 24px Höhe (Unterlänge
   des "y"). Um den halben Rest (≈13.5 %) nach unten schieben → Versalhöhe sitzt mittig. */
.nav__logo img { width: 235.83px; height: 24px; transform: translateY(13.5%); }
.nav__links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 32px;
  font-size: 16px;
  font-weight: 500;
  color: #000;
  white-space: nowrap;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  height: 52px;
  padding: 7px 7px 7px 16px;
  border-radius: 4px;
  background: var(--green);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.nav__cta .btn__icon { width: 39px; height: 38px; border-radius: 4px; }
.nav__cta .btn__icon img { width: 100%; height: 100%; }

.hero__title {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 36px;
  padding-top: 418px;
  font-size: 64px;
  font-weight: 400;
  color: #000;
  white-space: nowrap;
}
.hero__title span { line-height: 1.2; text-box: trim-both cap alphabetic; }
/* Intro-Zustand bis GSAP übernimmt (js/animations.js) – verhindert Aufblitzen */
.js-anim .nav,
.js-anim .hero__title,
.js-anim .hero__visual { visibility: hidden; }

/* ==========================================================================
   02 Solution-Banner
   ========================================================================== */
.solution-banner {
  position: relative;
  height: 503px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* Flächen, die das Muster hinter Text aussparen (wie in Figma) */
.plate { position: absolute; background: var(--ink); }

.solution-banner__label {
  position: absolute;
  left: 64px;
  top: 61px;
  font-size: 18px;
}
.solution-banner__copy {
  position: absolute;
  left: 697px;
  top: 58px;
  width: 454px;
  height: 346px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.solution-banner__copy .t-h2 { letter-spacing: 0; }

/* ==========================================================================
   03 Solutions (3 Karten)
   ========================================================================== */
.solutions {
  width: min(1064px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.solution-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 522px;
  grid-template-rows: 588px; /* Bild (603px) ragt unten raus, Button bleibt bei 488px wie in Figma */
  height: 588px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--light);
}
.solution-card__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 60px;
}
.solution-card__copy .t-h2 {
  width: 440px;
  max-width: 100%;
  margin-top: 22.6px;        /* Headline-Oberkante bei 117px (Figma 40:47555) */
  line-height: 1.1;          /* Figma 40:47555: 40px / 1.1 */
  letter-spacing: 0;
}
/* Figma 40:47555: Fließtext 21px, Leading normal, Muted */
.solution-card__copy .t-body-l {
  width: 335px;
  max-width: 100%;
  margin-top: 44px;
  font-size: 21px;
  line-height: normal;
  letter-spacing: 0;
  color: var(--muted);
}
.solution-card__copy .btn { margin-top: auto; }
.solution-card__media {
  position: relative;
  height: 603px;
  overflow: hidden;
}
.solution-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sticky-Stack (à la paypal.de): Karten kleben gestaffelt (+40px je Karte),
   die nächste fährt drüber; überdeckte Karten skaliert js/animations.js runter.
   Nur wenn die Karte komplett in den Viewport passt. */
@media (min-width: 961px) and (min-height: 720px) {
  .solution-card {
    position: sticky;
    top: calc(40px + var(--stack, 0) * 40px);
    transform-origin: 50% 0;
    box-shadow: 0 -12px 40px rgb(22 26 30 / 0.08);
  }
  .solution-card:nth-child(2) { --stack: 1; }
  .solution-card:nth-child(3) { --stack: 2; }
  /* Sticky wertet die Margin-Box aus: margin-bottom (80/40/0) gleicht den
     Versatz aus, sodass sich alle Karten im selben Moment lösen, sobald
     Karte 3 angekommen ist, und gemeinsam weiterscrollen. Die negativen
     margin-top heben den Zusatzabstand im Layout wieder auf. */
  .solution-card { margin-bottom: calc((2 - var(--stack, 0)) * 40px); }
  .solution-card + .solution-card { margin-top: calc((var(--stack) - 3) * 40px); }
}

/* ==========================================================================
   04 Product
   ========================================================================== */
.product {
  position: relative;
  padding: 80px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.product > *:not(.pattern):not(.plate) { position: relative; }
.product .section-head__eyebrow { flex-basis: 570px; }
.product .section-head__copy { gap: 24px; }
.product .section-head__copy .t-body { color: var(--muted-dark); }

.features {
  display: flex;
  gap: 16px;
  margin-top: 96px;
}
.feature {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 32px;
  border-radius: 8px;
  background: var(--forest);
}
.feature__num { color: var(--green); }
.feature__text { display: flex; flex-direction: column; gap: 12px; }
.feature__text .t-small { color: var(--muted-dark); }

.portal {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-top: 96px;
}
.portal__copy {
  flex: 0 0 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.portal__list { display: flex; flex-direction: column; gap: 14px; }
.portal__list li { display: flex; align-items: center; gap: 14px; }
.portal__list li::before {
  content: "";
  flex: 0 0 14px;
  height: 2px;
  background: var(--green);
}

/* Dashboard-Mock */
.dashboard {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 8px;
  background: var(--light);
  color: var(--ink);
}
.dashboard__top { display: flex; align-items: center; justify-content: space-between; }
.dashboard__range { display: flex; gap: 4px; }
.dashboard__range span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
}
.dashboard__range .is-active { background: var(--ink); color: var(--white); }
.dashboard__kpis { display: flex; gap: 12px; }
.kpi {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 6px;
  background: var(--white);
  white-space: nowrap;
}
.kpi__label { color: var(--muted); }
.kpi__delta { color: var(--green-dark); }
.chart {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border-radius: 6px;
  background: var(--white);
}
.chart__title { color: var(--muted); }
.chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 140px;
}
.chart__bars span {
  flex: 1 1 0;
  height: var(--h);
  border-radius: 2px 2px 0 0;
  background: var(--grey);
}
.chart__bars .is-hi { background: var(--green); }

/* ==========================================================================
   05 Why Connect
   ========================================================================== */
.why .section-head__eyebrow { flex-basis: 546px; }
.why .section-head__copy .t-h2 { color: var(--ink); }

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 64px;
}
.stats__row { display: flex; gap: 16px; }
.stat {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px;
  border-radius: 16px;
  overflow: hidden;
}
.stat > * { position: relative; }
.stat__value { color: var(--green); white-space: nowrap; }
/* Hintergrund = Bildgrund von stat-cards-raw.png, damit beim Drehen keine Bildecken sichtbar werden */
.stat--cards { flex: 0 0 630px; background: #c9cecf; }
.stat--days  { flex: 1 1 634px; background: var(--sky); }
.stat--white { background: var(--white); }
.stat--ink   { background: var(--ink); }
.stat--forest{ background: var(--forest); }

/* 300K: Karten-Bogen (Bild in Figma um -90° gedreht) */
.stat__arc {
  position: absolute !important;
  left: -24.5px;
  top: -35.17px;
  width: 679px;
  height: 641px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.stat__arc img {
  flex: none;
  width: 641px;
  height: 679px;
  object-fit: cover;
  transform: rotate(-90deg);
  /* Bildkanten weich ausblenden (Ring liegt innerhalb ~82 % des Radius) */
  -webkit-mask-image: radial-gradient(circle closest-side, #000 86%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 86%, transparent 100%);
}
.stat--cards .stat__value {
  position: absolute;
  left: 50%;
  top: 188px;
  transform: translateX(-50%);
  color: var(--ink);
}

/* 60: Muster + ausgesparte Zahl */
.stat--days .plate { position: absolute; background: var(--sky); }
.stat--days .pattern { position: absolute; }
.stat--days .stat__value {
  position: absolute;
  left: 32.58px;
  top: 113.13px;
  font-size: 174.97px;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.trusted { margin-top: 64px; }
/* Pillen-Reihe zentriert, ohne Abstand (Figma: "Trusted by leading" + farbige Pillen) */
.trusted__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.trusted__pills .eyebrow[style*="--pill"] { background: var(--pill); color: var(--ink); }
/* Logo-Marquee: Track enthält die Liste zweimal (JS klont), x wird endlos umgebrochen */
.marquee {
  margin-top: 24px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track { display: flex; width: max-content; gap: 16px; }
.logos {
  display: flex;
  flex: none;
  gap: 16px;
}
.logos li {
  flex: none;
  width: 208px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.logos img { width: auto; height: auto; max-width: 136px; max-height: 60px; }

/* ==========================================================================
   06 Tailored Cards
   ========================================================================== */
.tailored {
  position: relative;
  display: flex;
  align-items: center;
  gap: 64px;
  height: 588px;
  padding: 40px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}
.tailored__copy {
  flex: 0 0 440px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.themes { display: flex; gap: 10px; }
.themes span {
  width: 40px;
  height: 40px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--c);
}
.tailored__copy .btn { margin-top: 8px; }
.tailored__media {
  position: absolute;
  left: 600.99px;
  top: 16px;
  width: 662.2px;
  height: 559px;
  border-radius: 8px;
  object-fit: cover;
}

/* ---------- Karten-Reihe in 3D (Canvas, js inline am Seitenende) ---------- */
.fan {
  overflow: hidden;
  background: var(--grey);
}
.fan__canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.fan noscript img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   07 Marketplace
   ========================================================================== */
.market__body {
  display: flex;
  gap: 16px;
  margin-top: 56px;
}
.market__intro {
  flex: 0 0 416px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}
.market__intro-top { display: flex; flex-direction: column; gap: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 8px 14px;
  border: 1px solid var(--white);
  border-radius: 999px;
  white-space: nowrap;
}
.merchants {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.merchants li {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background: var(--light);
}
/* Logos kommen weiß auf transparent (connect.money) → für die hellen Kacheln invertieren */
.merchants img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.85;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.merchants img.is-entering { opacity: 0; transform: translateY(12px); }
.merchants img.is-leaving { opacity: 0; transform: translateY(-12px); }

/* ==========================================================================
   08 Our Cards
   ========================================================================== */
.tiers {
  display: flex;
  gap: 16px;
  height: 922px;
  margin-top: 56px;
}
.tier {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 24px;
  border-radius: 8px;
  background: var(--light);
}
.tier__visual {
  width: 100%;
  height: 166px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border-radius: 10px;
  background: var(--c);
}
.tier__chip { width: 30px; height: 24px; border-radius: 4px; background: var(--white); }
.tier__head { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.tier__head .t-small { color: var(--muted); }
.tier__divider { width: 100%; height: 1px; background: var(--ink); flex-shrink: 0; }
.tier__features { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.tier__features li { display: flex; gap: 10px; align-items: flex-start; }
.tier__features img { width: 16px; height: 16px; flex-shrink: 0; }
.tier .btn { margin-top: auto; }
.tier__badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--green);
  white-space: nowrap;
}

.tier--super { background: var(--ink); color: var(--white); }
.tier--super .tier__visual { color: var(--ink); }
.tier--super .tier__head { align-items: flex-start; }
.tier--super .tier__head .t-small { color: var(--muted-dark); }
.tier--super .tier__divider { background: var(--white); }
.tier--lending .tier__visual { color: var(--white); }

/* ==========================================================================
   09 CTA
   ========================================================================== */
.cta {
  position: relative;
  height: 354px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.cta__title {
  position: absolute;
  left: 98px;
  top: 111px;
  font-size: 64.573px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.cta__copy {
  position: absolute;
  left: 784px;
  top: 98px;
  width: 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 64px;
}

/* ==========================================================================
   10 Footer
   ========================================================================== */
/* Reveal: Header + Main liegen als Ebene über dem Footer (z-index + Hintergrund),
   der Footer klebt sticky am Viewport-Boden und wird beim Scrollen aufgedeckt. */
/* Ebenen: Footer liegt mit z-index −1 unter allem. Header und Main decken ihn mit
   ihrem Hintergrund ab, bilden aber KEINEN eigenen Stacking-Context – so darf die
   Hero-Bühne (ragt bis y≈1078 in Main hinein) über dem Main-Hintergrund liegen,
   während die Solution-Banner-Karte (positioniert, später im DOM) darüber bleibt. */
body > header,
body > main { background: var(--grey); }
body > main { padding-bottom: 153px; } /* Abstand CTA → Footer (Figma) */

.footer {
  --fw: min(100vw, var(--page));   /* Referenzbreite für die Wortmarke */
  --footer-shift: 0px;             /* wird von js/footer-reveal.js gesetzt */
  position: sticky;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--green);
  color: var(--ink);
}
.footer__inner {
  position: relative;
  transform: translate3d(0, var(--footer-shift), 0);
  will-change: transform;
}
/* Wortmarke "CONNECT…" — 2418px breit, läuft rechts aus dem Footer */
.footer__wordmark {
  position: absolute;
  top: 53.43px;
  left: calc(50% - var(--fw) / 2 + var(--fw) * 0.04432);
  width: calc(var(--fw) * 1.67941);
  height: auto;
  aspect-ratio: 2418.36 / 246.113;
}
.footer__content {
  position: relative;
  /* Wortmarke (53px + Höhe) + 37px Luft → 337px bei 1440 */
  padding-top: calc(53.43px + var(--fw) * 0.17091 + 37px);
  padding-bottom: 22px;
}
.footer__links { display: flex; gap: 64px; white-space: nowrap; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__heading { font-size: 14px; font-weight: 700; line-height: 1.3; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 63.77px;
  white-space: nowrap;
}
.footer__legal { display: flex; gap: 32px; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Responsive (Design ist Desktop 1440 — sinnvolle Ableitung darunter)
   ========================================================================== */
@media (max-width: 1280px) {
  :root { --gutter: 40px; --section-gap: 120px; }
  .section-head__eyebrow,
  .product .section-head__eyebrow,
  .why .section-head__eyebrow { flex-basis: 40%; }
  .solution-banner__copy { left: auto; right: 48px; }
  .cta__copy { left: auto; right: 48px; }
  .stat--cards { flex: 1 1 0; }
  .tailored__media { left: auto; right: 16px; width: calc(100% - 440px - 120px); }
  .nav__links { display: none; }
}

@media (max-width: 960px) {
  :root { --gutter: 20px; --section-gap: 96px; }
  .t-display { font-size: 88px; }
  .t-h2 { font-size: 32px; }

  .hero { height: auto; min-height: 100svh; padding-bottom: 64px; }
  .hero__visual { min-height: 0; top: -8.33vw; left: 0; }
  .hero__title { flex-direction: column; align-items: center; gap: 12px; padding-top: 62vw; font-size: clamp(36px, 9vw, 56px); white-space: normal; text-align: center; }
  .nav { width: calc(100% - 2 * var(--gutter)); height: 56px; padding: 0 6px 0 14px; }
  .nav__logo img { width: 150px; height: auto; }
  .nav__cta { height: 44px; gap: 10px; padding: 3px 3px 3px 12px; white-space: nowrap; }
  .nav__cta .btn__icon { width: 36px; height: 36px; }
  .solution-card { grid-template-columns: minmax(0, 1fr); }
  .solution-card__copy { min-width: 0; }
  .solution-card__copy .t-h2,
  .solution-card__copy .t-body-l { width: auto; }
  .product .pattern, .product .plate { display: none; }
  .stat { flex: none !important; height: 300px; }
  .t-h2 { font-size: 28px; }
  .t-display { font-size: 72px; }
  .stat--days .stat__value { font-size: 120px; }
  .stat__arc { left: 50%; transform: translateX(-50%) scale(0.8); }

  .section-head { flex-direction: column; gap: 24px; }
  .section-head__eyebrow { flex-basis: auto !important; }

  .solution-banner { height: auto; padding: 40px 24px; }
  .solution-banner__label { position: relative; left: 0; top: 0; }
  .solution-banner__copy { position: relative; left: 0; right: auto; top: 0; width: 100%; height: auto; gap: 40px; margin-top: 160px; }

  .solution-card { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .solution-card__copy { padding: 32px; }
  .solution-card__copy .btn { margin-top: 40px; }
  .solution-card__media { height: 420px; }

  .product { padding: 40px 24px; }
  .features, .portal, .stats__row, .market__body, .tiers { flex-direction: column; }
  .features { margin-top: 56px; }
  .portal { align-items: stretch; margin-top: 56px; }
  .portal__copy { flex-basis: auto; }
  .dashboard__kpis { flex-wrap: wrap; }

  .stat--cards, .stat--days { flex: none; }
  .logos li { width: 160px; height: 72px; }
  .logos img { max-width: 108px; max-height: 42px; }

  .tailored { flex-direction: column; align-items: stretch; height: auto; padding: 24px; }
  .tailored__copy { flex-basis: auto; }
  .tailored__media { position: static; width: 100%; height: 320px; }

  .market__intro { flex-basis: auto; gap: 40px; }
  .merchants { grid-template-columns: repeat(2, 1fr); }
  .tiers { height: auto; }
  .tier .btn { margin-top: 24px; }

  .cta { height: auto; padding: 40px 24px; }
  .cta__title, .cta__copy { position: relative; left: 0; right: auto; top: 0; width: 100%; }
  .cta__copy { margin-top: 32px; gap: 32px; }
  .cta .plate { display: none; }

  body > main { padding-bottom: 96px; }
  .footer__links { gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 12px; margin-top: 48px; }
}

/* ==========================================================================
   Mobile-Sperre: Website vorerst nur auf Desktop (≥ 961px).
   Darunter wird der gesamte Seiteninhalt ausgeblendet, nur der Hinweis bleibt.
   ========================================================================== */
.mobile-block { display: none; }
@media (max-width: 960px) {
  body > *:not(.mobile-block) { display: none !important; }
  .mobile-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    min-height: 100vh;
    min-height: 100svh;
    padding: 32px var(--gutter);
    background: var(--grey);
    color: var(--ink);
  }
  .mobile-block__logo { width: 180px; height: auto; margin-bottom: 24px; }
  .mobile-block__title { font-size: 32px; line-height: 1.15; letter-spacing: -0.015em; }
  .mobile-block__text { max-width: 32ch; font-size: 18px; line-height: 1.45; color: var(--muted); }
}
