/* Titan — Seiten im hellen Design (en.html, de.html, it.html). Nüchtern und hell: Marineblau auf kühlem Weiß, genaue Linien,
   eckige Knöpfe, eine Schrift. Schrift: Helvetica Neue, wo vorhanden (Apple-Geräte); Android und Windows
   nehmen ihre eigene Systemschrift. Die Fotos in assets/brand/de-*.webp gehören zu dieser Seite. */

:root {
  --navy: #0e1a34;
  --navy-2: #18294f;
  --text: #3b475d;
  --mute: #6b7589;
  --line: #dfe3ea;
  --line-2: #c5ccd8;
  --canvas: #f5f6f8;
  --gold: #a9832f;
  --gold-line: #c9a24a;
  --err: #b3261e;
  --font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  --wrap: 1200px;
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, p, ol, ul, dl, dd, figure, table { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
sup { font-size: .6em; line-height: 0; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }

h2 { font-size: clamp(27px, 3vw, 40px); font-weight: 700; line-height: 1.12; letter-spacing: -.022em; color: var(--navy); text-wrap: balance; }
h3 { font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.008em; color: var(--navy); }

/* ---------- Knöpfe: eckig, 8px ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border: 0; border-radius: 8px; font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap; text-decoration: none; color: #fff; background: var(--navy); cursor: pointer; transition: background .15s, box-shadow .15s; }
.btn:hover { background: var(--navy-2); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--ghost { color: var(--navy); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: transparent; box-shadow: inset 0 0 0 1px var(--navy); }
.btn--ghost[target="_blank"]::after { content: "\2197"; margin-left: 9px; font-weight: 400; }
.btn--light { color: var(--navy); background: #fff; }
.btn--light:hover { background: #e9ecf2; }

/* ---------- Risikozeile und Kopf ---------- */
.risk { padding: 9px var(--gutter); font-size: 12.5px; line-height: 1.4; text-align: center; color: var(--mute); background: var(--canvas); border-bottom: 1px solid var(--line); }
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-stuck { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 40px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--navy); }
.logo__mark img { width: 20px; height: 20px; object-fit: contain; }
.logo__name { font-size: 17px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--navy); }
.logo--light .logo__mark { background: rgba(255, 255, 255, .1); }
.logo--light .logo__name { color: #fff; }
.top__nav { display: flex; gap: 32px; margin-left: auto; font-size: 15px; font-weight: 500; }
.top__nav a { text-decoration: none; color: var(--text); transition: color .15s; }
.top__nav a:hover { color: var(--navy); }

/* ---------- Erster Bildschirm ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.hero__copy { align-self: center; padding: clamp(48px, 6vw, 88px) clamp(32px, 4.5vw, 72px) clamp(48px, 6vw, 88px) var(--edge); }
.tag { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--navy); }
h1 { margin-top: 22px; font-size: clamp(36px, 4.3vw, 60px); font-weight: 700; line-height: 1.06; letter-spacing: -.03em; color: var(--navy); }
h1 span { display: block; color: #62708f; }
.hero__lead { max-width: 33em; margin-top: 24px; font-size: clamp(17px, 1.35vw, 19px); }
.ticks { display: grid; gap: 10px; margin-top: 28px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 500; color: var(--navy); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 13px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.proof { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--mute); text-decoration: none; }
.proof img { width: auto; height: 22px; filter: invert(1) hue-rotate(180deg); mix-blend-mode: multiply; }
.proof span::after { content: "\2197"; margin-left: 8px; }
.proof:hover span { color: var(--navy); }

.hero__stage { position: relative; display: grid; place-items: center; min-height: 700px; padding: 56px clamp(24px, 4vw, 64px); background: var(--canvas) url("../assets/brand/de-hero-wall.webp") center / cover no-repeat; }
/* ---------- Rückruf-Formular ---------- */
.form { width: min(100%, 430px); padding: 30px 30px 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 30px 70px -34px rgba(14, 26, 52, .45), 0 2px 6px rgba(14, 26, 52, .05); scroll-margin-top: 110px; }
.form__title { font-size: 24px; letter-spacing: -.018em; }
.form__sub { margin-top: 8px; font-size: 15px; line-height: 1.5; }
.field { display: block; margin-top: 16px; }
.field > span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--navy); }
.field input, .field select { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 16px; color: var(--navy); background: #fff; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.field select { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%230e1a34' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input::placeholder { color: #9aa3b4; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(14, 26, 52, .12); }
.field.is-bad input, .field.is-bad select { border-color: var(--err); }
.field-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; }
.form__note { margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: var(--gold); }
.consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; font-size: 13px; line-height: 1.5; color: var(--mute); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); }
.consent.is-bad { color: var(--err); }
.form__error { margin-top: 14px; font-size: 13.5px; line-height: 1.45; color: var(--err); }
.form .btn { margin-top: 18px; }
.form__fine { margin-top: 12px; font-size: 13px; text-align: center; color: var(--mute); }
.form__back { padding: 4px 6px; border: 0; font-size: 13px; color: var(--mute); background: none; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.form__back:hover { color: var(--navy); }


/* ---------- direkt schreiben: WhatsApp und Telegram ---------- */
.ico { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico--wa { color: #1fa855; }
.ico--tg { color: #229ed9; }
.chat { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 8px; font-size: 15px; font-weight: 600; white-space: nowrap; text-decoration: none; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .15s; }
.chat:hover { box-shadow: inset 0 0 0 1px var(--navy); }
.chat--dark { height: 52px; padding: 0 20px; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42); }
.chat--dark:hover { box-shadow: inset 0 0 0 1px #fff; }
.chat--dark .ico { color: #fff; }
.form__done { padding: 14px 0 2px; outline: 0; }
.form__done .btn { margin-top: 12px; }
/* "Get access" buttons: WhatsApp and Telegram filled in their own colours, a shade deeper than the apps' own */
.chat--wa, .chat--tg { height: 52px; padding: 0 20px; gap: 10px; color: #fff; box-shadow: none; transition: background .15s; }
.chat--wa, .btn--wa { background: #1f9d55; }
.chat--wa:hover, .btn--wa:hover { background: #198a49; box-shadow: none; }
.chat--tg, .dock__chat--tg { background: #2a8fd0; }
.chat--tg:hover, .dock__chat--tg:hover { background: #2380bd; box-shadow: none; }
.chat--wa .ico, .chat--tg .ico, .btn--wa .ico, .dock__chat--tg .ico { color: #fff; }
.btn--wa { gap: 9px; }
/* saved: the two chat buttons are an extra, so both are quiet and there is nothing to go back to */
.form__done.is-saved .btn { color: var(--navy); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.form__done.is-saved .btn:hover { box-shadow: inset 0 0 0 1px var(--navy); }
.form__done.is-saved .form__fine { display: none; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__done .form__sub { margin-bottom: 12px; }
.form__check { position: relative; display: block; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 50%; background: var(--navy); }
.form__check::after { content: ""; position: absolute; left: 14px; top: 14px; width: 16px; height: 9px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* ---------- first screen with Titan at work (js/algo.js) ---------- */
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.hero__stage--algo { min-height: 660px; }
.algo { --algo-fade: 1; position: relative; width: min(100%, 580px); padding: 22px 24px 16px; border-radius: 14px; color: #eef1f6; background: #0c1730; box-shadow: 0 34px 80px -34px rgba(8, 15, 34, .75), 0 2px 6px rgba(8, 15, 34, .2); }
.algo__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.algo__pair { font-size: 13px; line-height: 1.4; color: rgba(238, 241, 246, .6); }
.algo__pair b { display: block; font-size: 19px; font-weight: 700; letter-spacing: .03em; color: #fff; }
.algo__status { position: relative; flex: none; width: 210px; height: 36px; }
.algo__status span { position: absolute; right: 0; top: 0; display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 13px; border-radius: 8px; font-size: 13.5px; font-weight: 600; white-space: nowrap; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); opacity: 0; transform: translateY(5px); transition: opacity .4s ease, transform .4s ease; }
.algo__status span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #d2ac55; }
.algo__status span[data-s="skip"]::before { background: rgba(238, 241, 246, .5); }
.algo[data-stage="scan"] .algo__status [data-s="scan"],
.algo[data-stage="skip"] .algo__status [data-s="skip"],
.algo[data-stage="signal"] .algo__status [data-s="signal"],
.algo[data-stage="entry"] .algo__status [data-s="entry"],
.algo[data-stage="protect"] .algo__status [data-s="protect"],
.algo[data-stage="exit"] .algo__status [data-s="exit"] { opacity: 1; transform: none; }
.algo__status span[data-s="skip"]::before { background: #e3878a; }
/* the engine: inputs on the left, the signal on the right; js/algo.js draws its lines, nodes and pulses */
.algo__engine { position: relative; margin-top: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); opacity: var(--algo-fade); }
.algo__engine svg { display: block; width: 100%; height: auto; aspect-ratio: 600 / 120; overflow: visible; }
.algo__edge { stroke: rgba(238, 241, 246, .1); stroke-width: 1; vector-effect: non-scaling-stroke; }
.algo__edges--lit .algo__edge { stroke: #d2ac55; stroke-width: 1.3; }
.algo__node { fill: #0c1730; stroke: rgba(238, 241, 246, .42); stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: stroke .4s ease; }
.algo__node--out { stroke: rgba(238, 241, 246, .6); }
.algo.is-signal .algo__node--out { stroke: #d2ac55; }
.algo__glow { fill: #d2ac55; }
.algo__pulse { fill: #f4f6fa; }
.algo__ring { fill: none; stroke: #d2ac55; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.algo__ring--pass { stroke: #e3878a; }
.algo__in, .algo__out { position: absolute; transform: translateY(-50%); font-size: 12px; font-weight: 600; line-height: 1.2; letter-spacing: .02em; white-space: nowrap; }
.algo__in { left: 0; width: 21.5%; text-align: right; color: rgba(238, 241, 246, .58); }
.algo__out { left: 83.6%; color: rgba(238, 241, 246, .82); transition: color .4s ease; }
.algo.is-signal .algo__out { color: #d2ac55; }
.algo__chart { position: relative; margin-top: 14px; opacity: var(--algo-fade); }
.algo__chart svg { display: block; width: 100%; height: auto; aspect-ratio: 600 / 230; overflow: visible; }
.algo__grid path { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 1; vector-effect: non-scaling-stroke; }
/* the protection: take profit above the entry (gold), stop loss below (red), from the entry to the right edge */
.algo__zone--tp { fill: rgba(210, 172, 85, .14); }
.algo__zone--sl { fill: rgba(227, 135, 138, .17); }
.algo__tp, .algo__sl { stroke-width: 1.2; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.algo__tp { stroke: #d2ac55; }
.algo__sl { stroke: #e3878a; }
.algo.has-exit .algo__zone, .algo.has-exit .algo__tp, .algo.has-exit .algo__sl { opacity: .45; transition: opacity .6s ease; }
.algo__scan { stroke: rgba(238, 241, 246, .26); stroke-width: 1; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .4s ease; }
.algo.is-scanning .algo__scan { opacity: 1; }
.algo__line { fill: none; stroke: #d2ac55; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.algo__head { fill: #d2ac55; stroke: #0c1730; stroke-width: 2; vector-effect: non-scaling-stroke; }
.algo__mark { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 7px; transform: translate(-50%, -5.5px); opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.algo__mark i { width: 11px; height: 11px; border-radius: 50%; background: #0c1730; box-shadow: 0 0 0 2px #eef1f6; }
.algo__mark b { padding: 3px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; line-height: 1.35; white-space: nowrap; color: #0c1730; background: #eef1f6; }
.algo__mark--skip { flex-direction: column-reverse; transform: translate(-50%, calc(-100% + 5.5px)); }
.algo__mark--skip i { box-shadow: 0 0 0 2px rgba(238, 241, 246, .5); }
.algo__mark--skip b { color: rgba(238, 241, 246, .78); background: transparent; box-shadow: inset 0 0 0 1px rgba(238, 241, 246, .3); }
.algo__mark--exit { flex-direction: column-reverse; transform: translate(-50%, calc(-100% + 5.5px)); } /* label above: under it lies the take profit tag */
.algo__mark--exit i { box-shadow: 0 0 0 2px #d2ac55; }
.algo.has-skip [data-mark="skip"], .algo.has-entry [data-mark="entry"], .algo.has-exit [data-mark="exit"] { opacity: 1; }
.algo__tag { position: absolute; right: 0; padding: 2px 7px; border-radius: 5px; font-size: 11px; font-weight: 700; letter-spacing: .02em; line-height: 1.35; white-space: nowrap; color: #0c1730; opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.algo__tag--tp { right: auto; margin-top: 5px; background: #d2ac55; } /* inside the gold zone, under its line, at its start */
.algo__tag--sl { transform: translateY(calc(-100% - 5px)); background: #e3878a; } /* inside the red zone, over its line */
.algo.has-protect .algo__tag { opacity: 1; }
.algo__fine { margin-top: 12px; font-size: 11px; letter-spacing: .04em; text-align: right; color: rgba(238, 241, 246, .4); }
/* The inspiration marquee stays static when reduced motion is preferred. */
.inspiration { padding: 18px 0 24px; border-bottom: 1px solid var(--line); background: #fff; }
.inspiration__head { padding-block: 8px; }
.inspiration__head h2 { font-size: 11px; font-weight: 600; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.inspiration__window { overflow: hidden; }
.inspiration__track { display: flex; }
.inspiration__names { display: flex; flex: 0 0 100%; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 28px; padding: 20px 12px 28px; color: #485166; }
.inspiration__names li { flex: 0 0 auto; white-space: nowrap; }
.inspiration__gs { font: 600 28px/.86 Georgia, "Times New Roman", serif; letter-spacing: -1.5px; }
.inspiration__br { font-size: 33px; font-weight: 750; line-height: 1; letter-spacing: -1.7px; }
.inspiration__ft { font: 28px/1 Georgia, "Times New Roman", serif; letter-spacing: -.8px; }
.inspiration__jpm { font: 29px/1 Georgia, "Times New Roman", serif; letter-spacing: -1px; }
.inspiration__names[aria-hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .inspiration .inspiration__window { mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent); }
  /* Each four-name group fills the visible band, not the full browser width.
     Equal slots keep at least three complete names inside the desktop fade edges. */
  .inspiration .inspiration__track { width: max(200%, 1680px); animation: inspiration-scroll 32s linear infinite; }
  .inspiration .inspiration__names { display: flex; flex: 0 0 50%; flex-wrap: nowrap; gap: 0; padding-inline: 0; }
  .inspiration .inspiration__names li { flex: 0 0 25%; text-align: center; }
}
@keyframes inspiration-scroll { to { transform: translateX(-50%); } }

.request { background: var(--canvas); border-bottom: 1px solid var(--line); }
.request__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); align-items: center; gap: clamp(32px, 6vw, 96px); padding-block: clamp(48px, 6vw, 84px); }
.request .form { width: 100%; }
.request__copy p { max-width: 24em; margin-top: 14px; font-size: 19px; }
#access { scroll-margin-top: 76px; } /* "Get access" scrolls here; the header stays on top */
.request__chats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }



/* ---------- vier Fakten ---------- */
.facts { padding: 0 0 18px; }
.facts__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts__in div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 30px 28px 30px 0; }
.facts__in div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.facts dt { font-size: 14px; line-height: 1.4; color: var(--mute); }
.facts dd { font-size: clamp(26px, 2.7vw, 36px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.facts__fine { padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mute); }

/* ---------- Ablauf ---------- */
.flow { padding: clamp(64px, 8vw, 112px) 0; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: clamp(20px, 6vw, 96px); }
.head p { max-width: 30em; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin-top: clamp(40px, 5vw, 64px); padding-top: 34px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold-line); }
.steps li { position: relative; }
.steps li::before { content: ""; position: absolute; left: 0; top: -40px; width: 10px; height: 10px; border: 2px solid var(--gold-line); border-radius: 50%; background: #fff; }
.steps__n { display: block; font-size: 14px; font-weight: 600; color: var(--gold); }
.steps h3 { margin-top: 8px; }
.steps p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; }
.after { margin-top: clamp(36px, 4vw, 52px); padding: 20px 24px; border: 1px solid var(--line); border-left: 3px solid var(--gold-line); border-radius: 8px; font-size: 16px; background: var(--canvas); }
.after b { color: var(--navy); }

/* ---------- Konditionen ---------- */
.terms { padding: clamp(64px, 8vw, 112px) 0; background: var(--canvas); border-block: 1px solid var(--line); }
.terms__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.table { width: 100%; margin-top: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: 12px; border-collapse: separate; border-spacing: 0; background: #fff; overflow: hidden; }
.table th, .table td { padding: 16px 22px; font-size: 16px; line-height: 1.45; text-align: left; vertical-align: top; }
.table tr + tr th, .table tr + tr td { border-top: 1px solid var(--line); }
.table th { width: 40%; font-weight: 400; color: var(--mute); }
.table td { font-weight: 600; color: var(--navy); }
.terms__fine { margin-top: 14px; font-size: 12.5px; color: var(--mute); }
.terms__img { overflow: hidden; border-radius: 12px; background: #e9ecf1; }
.terms__img img { width: 100%; height: 100%; object-fit: cover; }
.terms__img { aspect-ratio: 1 / 1.06; }

/* ---------- Track Record: the account against the S&P 500 (js/record.js draws the lines and labels) ---------- */
.record { padding: clamp(64px, 8vw, 112px) 0; }
.record__in { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; gap: clamp(28px, 4vw, 56px); margin-top: clamp(28px, 4vw, 48px); }
.chart { position: relative; padding: 22px 24px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.chart__keys { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; font-weight: 600; color: var(--navy); }
.chart__key { display: inline-flex; align-items: center; gap: 9px; }
.chart__key::before { content: ""; width: 18px; height: 3px; border-radius: 2px; }
.chart__key--titan::before { background: var(--gold); }
.chart__key--spx::before { background: #8a93a5; }
.chart__plot { position: relative; margin: 24px 64px 30px 46px; aspect-ratio: 2 / 1; }
.chart__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart__y { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--line); }
.chart__y b { position: absolute; right: calc(100% + 10px); top: -.7em; font-size: 12px; font-weight: 400; line-height: 1.4; color: var(--mute); white-space: nowrap; }
.chart__x { position: absolute; top: calc(100% + 10px); transform: translateX(-50%); font-size: 12px; color: var(--mute); white-space: nowrap; }
.chart__line { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart__line--titan { stroke: var(--gold); }
.chart__line--spx { stroke: #8a93a5; stroke-width: 2; }
.chart__end { position: absolute; left: calc(100% + 10px); transform: translateY(-50%); font-size: 13px; font-weight: 700; white-space: nowrap; opacity: 0; transition: opacity .5s ease; }
.chart__end--titan { color: var(--gold); }
.chart__end--spx { color: var(--mute); }
.chart.is-drawn .chart__end { opacity: 1; }
.table--vs { margin-top: 0; }
.table--vs th, .table--vs td { padding: 14px 18px; font-size: 15px; }
.table--vs thead td, .table--vs thead th { padding-block: 12px; font-size: 13px; font-weight: 600; color: var(--navy); background: var(--canvas); }
.table--vs tbody th { width: auto; white-space: nowrap; }
.table--vs td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.table--vs td + td { font-weight: 500; color: var(--mute); }
.record__side .btn { margin-top: 22px; }
.record__fine { margin-top: 16px; font-size: 12px; line-height: 1.55; color: var(--mute); }

/* ---------- Fragen ---------- */
.faq { padding: clamp(64px, 8vw, 112px) 0; background: var(--canvas); border-top: 1px solid var(--line); }
.faq__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(28px, 6vw, 96px); }
.faq__list { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
details + details { border-top: 1px solid var(--line); }
summary { position: relative; padding: 20px 56px 20px 24px; font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--navy); list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 26px; top: 26px; width: 9px; height: 9px; border-right: 1.6px solid var(--navy); border-bottom: 1.6px solid var(--navy); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
details p { max-width: 40em; padding: 0 56px 22px 24px; font-size: 16px; }
details a { color: var(--navy); text-underline-offset: 3px; }

/* ---------- Fuß ---------- */
/* Schluss: ruhiges Bild, darüber die Einladung zum Gespräch */
.cta { color: rgba(255, 255, 255, .82); background: linear-gradient(90deg, rgba(11, 20, 40, .9) 0%, rgba(11, 20, 40, .62) 55%, rgba(11, 20, 40, .3) 100%), #0b1428 url("../assets/brand/de-dawn.webp") center 58% / cover no-repeat; }
.cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: clamp(64px, 9vw, 128px); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cta h2 { color: #fff; }
.cta p { margin-top: 10px; font-size: 18px; }
.foot { padding: 0 0 56px; color: rgba(255, 255, 255, .68); background: #0b1428; }
.foot__cols { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding: 56px 0 40px; }
.foot__brand p { max-width: 22em; margin-top: 16px; font-size: 15px; }
.foot nav { display: grid; align-content: start; gap: 10px; font-size: 15px; }
.foot nav h3 { margin-bottom: 4px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #fff; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: #fff; }
.foot__risk { max-width: 66em; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; line-height: 1.65; }
.foot__copy { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .46); }

/* ---------- Telefon: Leiste unten ---------- */
.dock { position: fixed; inset: auto 0 0; z-index: 30; display: none; align-items: center; gap: 10px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(14, 26, 52, .35); transform: translateY(110%); transition: transform .3s ease; }
.dock.is-on { transform: none; }
.dock p { margin-right: auto; font-size: 13px; line-height: 1.3; color: var(--mute); }
.dock__chat { display: grid; place-items: center; flex: none; width: 46px; height: 42px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); }
.dock__chat--tg { box-shadow: none; }
.dock b { display: block; font-size: 15px; font-weight: 700; color: var(--navy); }

/* ---------- Tablet und Telefon ---------- */
@media (max-width: 1000px) {
  .top__nav { display: none; }
  .top__in { justify-content: space-between; }
  .hero { grid-template-columns: 1fr; }
  .hero__copy { padding: 40px var(--gutter) 36px; }
  .hero__stage { min-height: 0; padding: 36px var(--gutter) 44px; background-position: 50% 30%; border-top: 1px solid var(--line); }
  .form { width: min(100%, 520px); }
  .hero__stage--algo { min-height: 0; padding-block: 24px 28px; }
  /* phones and tablets: headline, then the moving panel, then the text and the buttons
     (the bar at the bottom carries the button on the first screen) */
  .hero:has(.hero__stage--algo) { display: flex; flex-direction: column; }
  .hero:has(.hero__stage--algo) .hero__copy { display: contents; }
  .hero:has(.hero__stage--algo) .hero__copy > * { margin-inline: var(--gutter); }
  .hero:has(.hero__stage--algo) .tag { align-self: flex-start; margin-top: 32px; }
  .hero:has(.hero__stage--algo) h1 { margin-bottom: 26px; }
  .hero:has(.hero__stage--algo) .hero__stage { order: 1; }
  .hero:has(.hero__stage--algo) .hero__lead, .hero:has(.hero__stage--algo) .hero__cta,
  .hero:has(.hero__stage--algo) .ticks, .hero:has(.hero__stage--algo) .proof { order: 2; }
  .hero:has(.hero__stage--algo) .hero__lead { margin-top: 28px; }
  .hero:has(.hero__stage--algo) .proof { align-self: flex-start; margin-bottom: 36px; }
  .request__in { grid-template-columns: 1fr; justify-items: start; gap: 24px; padding-block: 40px 48px; }
  .request .form { justify-self: stretch; width: 100%; max-width: 520px; }
  .facts__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__in div { padding: 22px 16px 22px 0; }
  .facts__in div + div { padding-left: 0; border-left: 0; }
  .facts__in div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .facts__in div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .head, .terms__in, .record__in, .faq__in { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; padding: 0 0 0 30px; }
  .steps::before { left: 4px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .steps li { padding-bottom: 26px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before { left: -30px; top: 6px; }
  .terms__img { aspect-ratio: 5 / 4; order: -1; }
  .terms__img img { object-position: 50% 42%; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .risk { font-size: 11.5px; text-align: left; }
  .top__in { height: 64px; }
  .top .btn { display: none; } /* am Telefon führt die Leiste unten zum Chat */
  .logo__mark { width: 30px; height: 30px; }
  .logo__name { font-size: 15px; }
  h1 { margin-top: 18px; font-size: clamp(33px, 9.6vw, 42px); }
  .hero__lead { margin-top: 18px; }
  .ticks { margin-top: 22px; }
  .proof { margin-top: 26px; }
  .form { padding: 24px 20px 20px; }
  .request__copy p { font-size: 17px; }
  .hero__cta { margin-top: 24px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .request__chats .chat { flex: 1 1 100%; }
  .algo { padding: 18px 16px 14px; }
  .algo__pair b { font-size: 17px; }
  .algo__status { width: 172px; }
  .algo__status span { height: 32px; padding: 0 10px; font-size: 12.5px; }
  .algo__mark b { font-size: 10.5px; padding: 2px 6px; }
  .algo__in, .algo__out { font-size: 10.5px; }
  .algo__tag { font-size: 10px; padding: 1px 5px; }
  .facts dd { font-size: 23px; }
  .form__title { font-size: 22px; }
  .table th, .table td { display: block; width: auto; padding: 0 18px; }
  .table th { padding-top: 14px; font-size: 13.5px; }
  .table td { padding-bottom: 14px; }
  .table tr + tr td { border-top: 0; }
  .table--vs th, .table--vs td { display: table-cell; padding: 12px 12px; font-size: 14px; }
  .table--vs tbody th { white-space: normal; }
  .table--vs thead td, .table--vs thead th { padding-block: 10px; font-size: 12.5px; }
  .table--vs tr + tr td { border-top: 1px solid var(--line); }
  .chart { padding: 16px 14px 12px; }
  .chart__plot { margin: 20px 50px 28px 38px; aspect-ratio: 4 / 3; }
  .chart__x--minor { display: none; }
  .chart__y b, .chart__x { font-size: 11px; }
  .chart__end { font-size: 12px; }
  summary { padding: 18px 48px 18px 18px; font-size: 16.5px; }
  summary::after { right: 20px; top: 23px; }
  details p { padding: 0 18px 20px; }
  .cta__actions { width: 100%; }
  .cta .btn { width: 100%; }
  .foot { padding-bottom: 104px; }
  .dock { display: flex; }
}

/* small phones (360 wide): the header of the panel stays on one line */
@media (max-width: 380px) {
  .algo__top { gap: 10px; }
  .algo__pair { font-size: 12px; white-space: nowrap; }
  .algo__status { width: 150px; }
  .algo__status span { gap: 7px; padding: 0 9px; font-size: 12px; }
}

/* ---------- header: the other language (en.html ↔ ar.html, plans.html ↔ ar-plans.html) ---------- */
.top__lang { flex: none; padding: 8px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 600; line-height: 1.2; text-decoration: none; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .15s; }
.top__lang:hover { box-shadow: inset 0 0 0 1px var(--navy); }
.top__lang[lang="ar"] { font-family: "IBM Plex Sans Arabic", var(--font); }

/* ---------- language choice for visitors from Saudi Arabia (build.mjs adds it to their pages) ---------- */
.langpick { width: min(calc(100vw - 32px), 380px); padding: 0; border: 0; border-radius: 14px; color: var(--text); background: #fff; box-shadow: 0 30px 80px -20px rgba(8, 15, 34, .5); }
.langpick::backdrop { background: rgba(11, 20, 40, .6); }
.langpick__in { display: grid; justify-items: center; gap: 18px; padding: 30px 24px 24px; text-align: center; }
.langpick__q { display: grid; gap: 4px; font-size: 16px; font-weight: 600; color: var(--navy); }
.langpick__q [lang="ar"] { font-family: "IBM Plex Sans Arabic", var(--font); font-size: 21px; }
.langpick__btns { display: grid; gap: 10px; width: 100%; }
.langpick .btn { width: 100%; }
.langpick .btn[lang="ar"] { font-family: "IBM Plex Sans Arabic", var(--font); font-size: 18px; }

/* ---------- plans (plans.html, ar-plans.html): the checkout half of the Saudi test ---------- */
.plans { padding-block: clamp(56px, 7vw, 96px); background: var(--canvas); border-bottom: 1px solid var(--line); }
#plans, #access { scroll-margin-top: 76px; }
.plans__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 16px; margin-top: clamp(30px, 4vw, 46px); }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.plan--featured { border-color: var(--navy); box-shadow: 0 30px 70px -34px rgba(14, 26, 52, .4); }
.plan__badge { position: absolute; top: -13px; left: 26px; padding: 4px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 700; line-height: 1.4; color: #fff; background: var(--gold); }
.plan__name { font-size: 22px; letter-spacing: -.01em; }
.plan__cycle { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--mute); }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 22px 0; }
.plan__price b { font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.plan__price span { font-size: 15px; color: var(--mute); }
.plan .btn { margin-top: auto; }
.plan__fine { margin-top: 10px; font-size: 13px; line-height: 1.45; text-align: center; color: var(--mute); }
.plans__all { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; }
.plans__all li { position: relative; padding-left: 26px; font-size: 15px; font-weight: 500; color: var(--navy); }
.plans__all li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 11px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.plans__ask { margin-top: 18px; font-size: 15px; color: var(--mute); }
.plans__ask a { font-weight: 600; color: var(--navy); text-underline-offset: 3px; }
@media (max-width: 1000px) {
  .plans__grid { grid-template-columns: 1fr; max-width: 520px; }
  .plan--featured { order: -1; }
  .top__lang { margin-left: auto; }
  [dir="rtl"] .top__lang { margin-left: 0; margin-right: auto; }
}
@media (max-width: 640px) {
  .top__lang { padding: 7px 11px; font-size: 14px; }
  .plan { padding: 28px 20px 20px; }
  .plan__price b { font-size: 40px; }
}

/* ---------- Arabic (ar.html, ar-plans.html): right to left ---------- */
[dir="rtl"] { --font: "IBM Plex Sans Arabic", "Helvetica Neue", Helvetica, Arial, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .facts dd, [dir="rtl"] .plan__name { letter-spacing: 0; } /* Arabic letters must stay joined */
[dir="rtl"] h1 { line-height: 1.25; }
[dir="rtl"] .top__nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .ticks li, [dir="rtl"] .plans__all li { padding-left: 0; padding-right: 30px; }
[dir="rtl"] .ticks li::before, [dir="rtl"] .plans__all li::before { left: auto; right: 2px; }
[dir="rtl"] .btn--ghost[target="_blank"]::after { content: "\2196"; margin-left: 0; margin-right: 9px; }
[dir="rtl"] .proof span::after { content: "\2196"; margin-left: 0; margin-right: 8px; }
[dir="rtl"] .field select { padding-right: 14px; padding-left: 38px; background-position: left 14px center; }
[dir="rtl"] .field input[type="tel"] { text-align: right; }
[dir="rtl"] .form__hp { left: auto; right: -9999px; } /* far left would widen a right-to-left page */
[dir="rtl"] .facts__in div { padding: 30px 0 30px 28px; }
[dir="rtl"] .facts__in div + div { padding-right: 28px; border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .steps li::before { left: auto; right: 0; }
[dir="rtl"] .after { border-left: 1px solid var(--line); border-right: 3px solid var(--gold-line); }
[dir="rtl"] .table th, [dir="rtl"] .table td { text-align: right; }
[dir="rtl"] .table--vs td { direction: ltr; } /* signed figures such as +772% keep their sign in front */
[dir="rtl"] summary { padding: 20px 24px 20px 56px; }
[dir="rtl"] summary::after { right: auto; left: 26px; }
[dir="rtl"] details p { padding: 0 24px 22px 56px; }
[dir="rtl"] .dock p { margin-right: 0; margin-left: auto; }
[dir="rtl"] .plan__badge { left: auto; right: 26px; }
/* the chart, the panel on the first screen and the moving name strip read left to right, as on a trading screen */
[dir="rtl"] .algo, [dir="rtl"] .chart, [dir="rtl"] .inspiration__window { direction: ltr; }
@media (max-width: 1000px) {
  [dir="rtl"] .facts__in div { padding: 22px 0 22px 16px; }
  [dir="rtl"] .facts__in div + div { padding-right: 0; border-right: 0; }
  [dir="rtl"] .facts__in div:nth-child(even) { padding-left: 0; padding-right: 18px; border-left: 0; border-right: 1px solid var(--line); }
  [dir="rtl"] .steps { padding: 0 30px 0 0; }
  [dir="rtl"] .steps::before { left: auto; right: 4px; }
  [dir="rtl"] .steps li::before { left: auto; right: -30px; }
}
@media (max-width: 640px) {
  [dir="rtl"] .risk { text-align: right; }
  [dir="rtl"] summary { padding: 18px 18px 18px 48px; }
  [dir="rtl"] summary::after { right: auto; left: 20px; }
}
