/* =====================================================================
   TRADER CHALLENGE — Funnel Styles (dark, accent #e1ff20)
   ===================================================================== */
:root {
  --bg: #0b0b0c;
  --bg2: #111112;
  --card: #17171a;
  --card2: #1d1d21;
  --line: #2a2a2f;
  --accent: #e1ff20;
  --accent-ink: #0b0b0c;
  --text: #f4f4f2;
  --muted: #a0a0a5;
  --danger: #ff5c5c;
  --ok: #4ade80;
  --radius: 16px;
  --maxw: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.alt { background: var(--bg2); }

/* --- Topbar --- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.logo { font-weight: 800; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; }
.logo em { color: var(--accent); font-style: normal; }
.topbar-note { font-size: .8rem; color: var(--muted); }
@media (max-width: 600px) {
  .topbar { justify-content: center; }
  .topbar-note { display: none; }
}

/* --- Badges / kickers --- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(225, 255, 32, .08);
  border: 1px solid rgba(225, 255, 32, .35);
  color: var(--accent);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .3 } }

/* --- Type --- */
h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.13; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.2; font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 700; }
.sub { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); }
.hl { color: var(--accent); }
.center { text-align: center; }
.kicker { color: var(--accent); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font); font-weight: 800; font-size: 1.02rem;
  padding: 16px 32px; border: 0; border-radius: 12px; cursor: pointer;
  text-decoration: none; transition: transform .15s, box-shadow .15s;
  box-shadow: 0 8px 30px rgba(225, 255, 32, .22);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(225, 255, 32, .3); }
.btn.big { font-size: 1.1rem; padding: 19px 40px; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn-note { font-size: .8rem; color: var(--muted); margin-top: 10px; }

/* --- Hero --- */
.hero { padding: 40px 0 72px; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
}
.hero-copy .badge { margin-bottom: 20px; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy .sub { margin-bottom: 28px; }
.hero-points { list-style: none; margin: 0 0 30px; display: grid; gap: 12px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; color: #d6d6d2; }
.hero-points .tick { color: var(--accent); font-weight: 800; flex: 0 0 auto; }

/* --- 9:16 Phone frame --- */
.phone {
  width: min(320px, 78vw);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  background: #000;
  border-radius: 34px;
  border: 6px solid #232327;
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px #000;
  overflow: hidden; position: relative;
}
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone .placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; text-align: center;
  padding: 24px; background:
    radial-gradient(120% 80% at 50% 0%, rgba(225,255,32,.14), transparent 55%),
    linear-gradient(180deg, #151517, #0b0b0c);
}
.phone .placeholder .play {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 10px 40px rgba(225,255,32,.35);
}
.phone .placeholder p { color: var(--muted); font-size: .85rem; }
.phone .tag {
  position: absolute; left: 14px; bottom: 16px; z-index: 2;
  background: rgba(0,0,0,.55); backdrop-filter: blur(6px);
  border-radius: 10px; padding: 8px 12px; font-size: .8rem;
}
.phone .tag b { display: block; }
.phone .tag span { color: #cfcfcb; font-size: .74rem; }
.phone .video-play-overlay {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: rgba(0, 0, 0, .35); cursor: pointer;
  transition: opacity .3s;
}
.phone .video-play-overlay span {
  background: rgba(0,0,0,.6); border-radius: 999px; padding: 8px 14px;
  font-size: .8rem; font-weight: 700;
}
.phone .video-play-overlay.hidden { opacity: 0; pointer-events: none; }
.phone .mute-hint {
  position: absolute; bottom: 14px; right: 12px; z-index: 6;
  background: rgba(0,0,0,.72); border: 1px solid rgba(225,255,32,.5);
  border-radius: 999px; padding: 10px 16px;
  font-size: .82rem; font-weight: 700; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* --- Cards / grids --- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.card .icon { font-size: 1.6rem; margin-bottom: 14px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }

/* --- Market proof --- */
.market { text-align: center; }
.market .scenario { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.market .result { font-size: 2rem; font-weight: 800; color: var(--accent); margin-top: 6px; }
.market .bar { height: 6px; border-radius: 3px; background: var(--line); margin-top: 16px; overflow: hidden; }
.market .bar i { display: block; height: 100%; background: var(--accent); }

/* --- Steps --- */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step { display: flex; gap: 18px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.step .num {
  flex: 0 0 44px; height: 44px; border-radius: 12px;
  background: rgba(225,255,32,.1); border: 1px solid rgba(225,255,32,.35);
  color: var(--accent); font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.step p { color: var(--muted); font-size: .95rem; }

/* --- Testimonials --- */
.quote { position: relative; }
.quote p { color: #d9d9d5; font-size: .98rem; }
.quote .who { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.quote .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, #2b2b30, #1b1b1f);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--accent); font-size: .95rem;
}
.quote .who b { display: block; font-size: .92rem; }
.quote .who span { color: var(--muted); font-size: .8rem; }

/* --- FAQ --- */
details.faq {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 24px; margin-bottom: 12px;
}
details.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--accent); font-weight: 800; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--muted); margin-top: 12px; font-size: .95rem; }

/* --- Opt-in form --- */
.optin {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 36px; max-width: 560px; margin: 0 auto;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.optin .fsteps { display: flex; gap: 6px; margin-bottom: 24px; }
.optin .fsteps i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.optin .fsteps i.on { background: var(--accent); }
.optin label { display: block; font-weight: 700; margin-bottom: 10px; font-size: 1.05rem; }
.optin .hint { color: var(--muted); font-size: .85rem; margin-bottom: 16px; }
.optin input {
  width: 100%; background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 16px; font-size: 1rem; font-family: var(--font);
  outline: none; transition: border-color .15s;
}
.optin input:focus { border-color: var(--accent); }
.optin input.err { border-color: var(--danger); }
.optin .errmsg { color: var(--danger); font-size: .85rem; margin-top: 8px; min-height: 1.2em; }
.optin .btn { width: 100%; margin-top: 18px; }
.optin .privacy { color: var(--muted); font-size: .75rem; margin-top: 14px; text-align: center; }
.optin .success { text-align: center; padding: 20px 0; }
.optin .success .big-tick { font-size: 2.6rem; }

/* --- TÜV-Siegel (V1 + V2) --- */
.tuev-badge {
  margin-top: 18px; background: #fff; border-radius: 16px;
  padding: 14px 18px; display: flex; justify-content: center;
  align-items: center; gap: 20px; flex-wrap: wrap;
}
.tuev-badge img { width: min(340px, 100%); height: auto; flex: 0 1 auto; }

/* --- Footer --- */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; }
footer .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
footer a { color: var(--muted); text-decoration: none; margin-right: 18px; }
footer a:hover { color: var(--text); }
footer .disclaimer { margin-top: 22px; color: #6f6f74; font-size: .74rem; line-height: 1.6; max-width: 860px; }

/* --- Chat (Qualifizierung) --- */
.chat-shell { max-width: 560px; margin: 0 auto; }
.chat-progress { margin-bottom: 14px; }
.chat-progress .label { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.chat-progress .track { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.chat-progress .fill { height: 100%; width: 0%; background: var(--accent); transition: width .4s; }
.chat {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 20px;
  height: min(62vh, 560px); overflow-y: auto; padding: 22px 18px 90px;
  position: relative; scroll-behavior: smooth;
}
.chat-head {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 20px 20px 0 0; padding: 14px 18px; margin-bottom: -1px;
}
.chat-head .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #9db500);
  color: var(--accent-ink); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.chat-head b { display: block; line-height: 1.2; }
.chat-head span { color: var(--ok); font-size: .78rem; }
.bubble {
  max-width: 82%; padding: 12px 16px; border-radius: 16px;
  margin-bottom: 10px; font-size: .95rem; animation: pop .25s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }
.bubble.bot { background: var(--card2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble.user { background: rgba(225,255,32,.14); border: 1px solid rgba(225,255,32,.4); margin-left: auto; border-bottom-right-radius: 6px; }
.typing { display: inline-flex; gap: 5px; padding: 14px 18px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s } .typing i:nth-child(3) { animation-delay: .4s }
@keyframes blink { 0%,100% { opacity: .25 } 50% { opacity: 1 } }
.quick { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 14px; }
.quick button {
  background: transparent; color: var(--text); font-family: var(--font);
  border: 1.5px solid var(--accent); border-radius: 999px;
  padding: 10px 18px; font-size: .92rem; font-weight: 600; cursor: pointer;
  transition: background .15s, color .15s;
}
.quick button:hover { background: var(--accent); color: var(--accent-ink); }
.chat-input { display: flex; gap: 10px; margin-top: 14px; }
.chat-input[hidden] { display: none; }
.chat-input input {
  flex: 1; background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 13px 18px; color: var(--text);
  font-family: var(--font); font-size: .95rem; outline: none;
}
.chat-input input:focus { border-color: var(--accent); }
.chat-input button {
  background: var(--accent); border: 0; border-radius: 999px;
  width: 48px; height: 48px; font-size: 1.1rem; cursor: pointer;
}
.chat-cta { display: block; text-align: center; margin-top: 8px; }

/* --- Calendly --- */
.calendly-box { background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }

/* --- Utility pages (erfolgreich / kein-termin) --- */
.narrow { max-width: 680px; margin: 0 auto; }
.status-icon { font-size: 3rem; margin-bottom: 18px; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .hero-points { text-align: left; max-width: 460px; margin-left: auto; margin-right: auto; }
  .grid3 { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
