/* Testimonial-LPs /t/<name> (Konrad 21.10.2026): Headline · Video · CTA → Opt-in → WhatsApp.
   Look = live-masterclass (Hintergrund #0c0e13, Primär #3d77ff, Clash Display + Inter). */
@font-face { font-family: "Clash Display"; src: url("/fonts/clash-display-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("/fonts/clash-display-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0c0e13;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --primary: #3d77ff;
  --primary-soft: rgba(61, 119, 255, 0.55);
  --card: #141824;
  --line: rgba(255, 255, 255, 0.1);
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 45% at 50% -5%, rgba(61, 119, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 60% 40% at 85% 30%, rgba(124, 58, 237, 0.12), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; max-width: 760px; margin: 0 auto; padding: 14px 16px 0;
}
.top .who { display: flex; align-items: center; gap: 10px; }
.top .avatar { width: 34px; height: 34px; border-radius: 999px; object-fit: cover; border: 1px solid var(--line); }
.top .name { font-family: "Clash Display", system-ui, sans-serif; font-weight: 600; font-size: 17px; letter-spacing: 0.01em; }
.top .check { width: 17px; height: 17px; flex: none; }

main { width: 100%; max-width: 760px; margin: 0 auto; padding: 28px 16px 40px; }

h1 {
  font-family: "Clash Display", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 7.4vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  text-align: center;
  text-wrap: balance;
}
h1 .nw { white-space: nowrap; }
h1 .hl { color: var(--primary); text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.14em; }

.video {
  position: relative; margin-top: 26px; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 18px; overflow: hidden; background: #000;
  border: 1px solid rgba(158, 188, 255, 0.28);
  box-shadow: 0 0 40px rgba(61, 119, 255, 0.28), 0 24px 60px rgba(0, 0, 0, 0.55);
}
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video button.play {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer;
  background: linear-gradient(180deg, rgba(12, 14, 19, 0) 40%, rgba(12, 14, 19, 0.55));
  display: grid; place-items: center;
}
.video .play-ring {
  width: 78px; height: 78px; border-radius: 999px; display: grid; place-items: center;
  background: var(--primary);
  box-shadow: 0 0 0 1px rgba(158, 188, 255, 0.67) inset, 0 0 36px rgba(61, 119, 255, 0.7), 0 0 88px rgba(61, 119, 255, 0.45);
  transition: transform 0.2s ease;
}
.video button.play:hover .play-ring { transform: scale(1.06); }
.video .play-ring svg { width: 30px; height: 30px; margin-left: 4px; }

.disclaimer { margin-top: 10px; text-align: center; color: var(--muted); font-size: 12.5px; }

.cta {
  margin: 26px auto 0; display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; max-width: 520px; min-height: 66px; padding: 14px 20px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--primary); color: #fff; white-space: nowrap;
  font-family: "Clash Display", system-ui, sans-serif; font-weight: 600; font-size: clamp(16px, 4.6vw, 19px); letter-spacing: 0.01em;
  box-shadow: 0 0 0 1px rgba(158, 188, 255, 0.67) inset, 0 0 36px rgba(61, 119, 255, 0.68), 0 0 88px rgba(61, 119, 255, 0.48);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.cta:hover { filter: brightness(1.08); }
.cta:active { transform: scale(0.98); }
.cta svg { width: 23px; height: 23px; flex: none; }

footer { padding: 8px 16px 28px; text-align: center; font-size: 12.5px; color: var(--muted); }
footer a { color: var(--muted); text-decoration: none; margin: 0 8px; }
footer a:hover { color: var(--text); }

/* Opt-in: Bottom-Sheet auf dem Handy, zentriertes Fenster ab Tablet */
.sheet { position: fixed; inset: 0; z-index: 50; display: none; }
.sheet.open { display: block; }
.sheet .backdrop { position: absolute; inset: 0; background: rgba(5, 6, 10, 0.72); backdrop-filter: blur(4px); }
.sheet .panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--card); border-top: 1px solid var(--line); border-radius: 22px 22px 0 0;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  animation: up 0.28s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 640px) {
  .sheet .panel { left: 50%; top: 50%; bottom: auto; right: auto; width: 440px; transform: translate(-50%, -50%); border-radius: 22px; border: 1px solid var(--line); animation: none; }
}
.sheet h2 { font-family: "Clash Display", system-ui, sans-serif; font-weight: 600; font-size: 23px; line-height: 1.2; text-align: center; padding: 0 30px; text-wrap: balance; }
.sheet .close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--muted); font-size: 20px; cursor: pointer; }
.sheet form { margin-top: 18px; display: grid; gap: 12px; }
.sheet input {
  width: 100%; height: 54px; padding: 0 16px; border-radius: 14px;
  border: 1px solid var(--line); background: #0f121b; color: var(--text);
  font: 16px "Inter", system-ui, sans-serif;
}
.sheet input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(61, 119, 255, 0.25); }
.sheet .cta { margin-top: 4px; max-width: none; min-height: 58px; font-size: 18px; }
.sheet .cta[disabled] { opacity: 0.7; cursor: progress; }
.sheet .error { color: #f87171; font-size: 14px; text-align: center; min-height: 0; }
.sheet .legal { color: var(--muted); font-size: 12.5px; text-align: center; line-height: 1.45; }
.sheet .legal a { text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Konrad 21.10. (2. Runde): WhatsApp-CTA im grünen Look der Danke-Seite
   (CtaButton tone="whatsapp": Verlauf #1FBE5C → #0b7c3c, grüner Rand,
   pulsierender Glow, Licht-Sweep) + Frage-Zeile darüber. */
.wa-block { margin-top: 30px; text-align: center; }
.wa-ask {
  font-family: "Clash Display", system-ui, sans-serif; font-weight: 600;
  font-size: clamp(1.25rem, 5.4vw, 1.75rem); line-height: 1.25; text-wrap: balance;
}
.wa-word {
  color: #25d366; text-decoration: underline; text-decoration-color: rgba(37, 211, 102, 0.7);
  text-decoration-thickness: 0.12em; text-underline-offset: 0.18em;
  text-shadow: 0 0 18px rgba(37, 211, 102, 0.55);
}
.cta.wa {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 18px; justify-content: space-between; gap: 12px;
  border: 2px solid rgba(37, 211, 102, 0.7);
  background: linear-gradient(90deg, #1fbe5c, #0b7c3c);
  box-shadow: 0 0 28px rgba(37, 211, 102, 0.55), 0 0 60px rgba(37, 211, 102, 0.3);
  animation: wa-pulse 2.6s ease-in-out infinite;
  white-space: normal;
}
.cta.wa .lbl {
  flex: 1; text-align: center; font-family: "Clash Display", system-ui, sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(14px, 3.9vw, 19px); line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 40, 18, 0.55), 0 0 16px rgba(190, 232, 255, 0.65);
}
.cta.wa svg { width: 22px; height: 22px; flex: none; position: relative; z-index: 2; }
.cta.wa .lbl { position: relative; z-index: 2; }
.cta.wa::after {
  content: ""; position: absolute; top: -30%; bottom: -30%; left: 0; width: 28%; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(190, 232, 255, 0.28) 38%, rgba(255, 255, 255, 0.72) 50%, rgba(190, 232, 255, 0.28) 62%, transparent 100%);
  animation: wa-sweep 4.6s ease-in-out infinite;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 0 28px rgba(37, 211, 102, 0.55), 0 0 60px rgba(37, 211, 102, 0.3); }
  50% { box-shadow: 0 0 40px rgba(37, 211, 102, 0.75), 0 0 84px rgba(37, 211, 102, 0.45); }
}
@keyframes wa-sweep {
  0% { transform: translateX(-140%) skewX(-18deg); }
  14%, 100% { transform: translateX(340%) skewX(-18deg); }
}
@media (prefers-reduced-motion: reduce) {
  .cta.wa { animation: none; }
  .cta.wa::after { animation: none; opacity: 0; }
}
.sheet .cta.wa { margin-top: 4px; }

/* Play-Button unten rechts, damit Betrag/Zeitraum im Thumbnail sichtbar bleiben (21.10.) */
.video button.play { place-items: end; padding: 14px; background: linear-gradient(180deg, rgba(12, 14, 19, 0) 55%, rgba(12, 14, 19, 0.45)); }
.video .play-ring { width: 60px; height: 60px; }
.video .play-ring svg { width: 24px; height: 24px; margin-left: 3px; }

/* Konrad 21.10. (3. Runde): WhatsApp-Logo oben rechts (öffnet das Opt-in) +
   Pille „Extended Traders Testimonial" über der Headline (wie die Pille der Haupt-LP). */
.wa-logo {
  width: 44px; height: 44px; flex: none; border-radius: 999px; cursor: pointer; display: grid; place-items: center;
  border: 2px solid rgba(37, 211, 102, 0.7); background: linear-gradient(135deg, #1fbe5c, #0b7c3c);
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.5), 0 0 40px rgba(37, 211, 102, 0.25);
  transition: transform 0.15s ease;
}
.wa-logo:hover { transform: scale(1.06); }
.wa-logo svg { width: 24px; height: 24px; }
.tag {
  display: flex; width: fit-content; margin: 0 auto 16px; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(61, 119, 255, 0.45); background: rgba(61, 119, 255, 0.1);
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #9ebcff;
}
.tag img { width: 18px; height: 18px; }
