/* =============================================================
   Heist Bot — Landing
   Gestaltungsidee: das Dossier eines Raubzugs. Dunkle Flaechen,
   Gold als Scheinwerfer (nie flaechig), Abschnitte als nummerierte
   Planungsschritte, feines Korn ueber allem.
   Mobil zuerst: Grundregeln gelten fuers Handy, Aufweitungen ab 768px.
   ============================================================= */

/* ---------- Token ---------- */
:root {
    --gold: #FFC53D;
    --gold-deep: #E0A526;
    --gold-gradient: linear-gradient(135deg, #FFC53D, #E0A526);

    --surface: #0A0B0F;
    --surface-1: #101219;
    --surface-2: #171A23;
    --surface-3: #1F232F;

    --text: #F2F3F5;
    --text-2: #A2A7B3;
    --text-3: #858B99;

    --outline: rgba(255, 255, 255, 0.14);
    --outline-soft: rgba(255, 255, 255, 0.08);
    --gold-soft: rgb(255 197 61 / .10);
    --gold-line: rgb(255 197 61 / .22);

    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-full: 999px;

    --shadow-1: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-2: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-3: 0 16px 48px rgba(0, 0, 0, 0.55);

    --kopf-hoehe: 64px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

body { margin: 0; }

img,
svg,
video { max-width: 100%; height: auto; display: block; }

button,
input,
select { font: inherit; color: inherit; }

a { color: inherit; }

/* ---------- Grundlagen ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 12px); }

body {
    background: var(--surface);
    color: var(--text-2);
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Feines Korn ueber der ganzen Seite — nimmt den Flaechen das Digitale.
   Inline-SVG als data:-URI, damit nichts nachgeladen wird (DSGVO). */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 {
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    color: var(--text);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 8vw, 3.75rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 5.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 1rem; }

.container {
    width: min(1120px, 100% - 2.5rem);
    margin-inline: auto;
}

.gold { color: var(--gold); }

/* ---------- Kopfbereich ---------- */
.kopf {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--kopf-hoehe);
    display: flex;
    align-items: center;
    background: rgba(10, 10, 15, 0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--outline-soft);
}

.kopf .container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.marke {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-right: auto;
}

.marke img { width: 30px; height: 30px; }

.marke span {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 0.14em;
    color: var(--text);
}

.nav {
    display: none;
    gap: 26px;
}

.nav a {
    text-decoration: none;
    color: var(--text-3);
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.nav a:hover { color: var(--text); border-bottom-color: var(--gold); }

/* ---------- Knoepfe ---------- */
.knopf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--r-full);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.knopf svg { width: 17px; height: 17px; }

.knopf-gold {
    background: var(--gold-gradient);
    color: #14140c;
    box-shadow: 0 6px 20px rgba(255, 170, 0, 0.22);
}

.knopf-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255, 170, 0, 0.32); }

.knopf-leer {
    background: transparent;
    border-color: var(--outline);
    color: var(--text);
}

.knopf-leer:hover { border-color: var(--gold-line); background: var(--gold-soft); }

.knopf-klein { min-height: 38px; padding: 0 14px; font-size: 0.72rem; }

/* Sprachumschalter + Hamburger */
.sprache {
    background: transparent;
    border: 1px solid var(--outline);
    border-radius: var(--r-full);
    color: var(--text-2);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    min-height: 38px;
    min-width: 46px;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.sprache:hover { border-color: var(--gold-line); color: var(--gold); }

.kopf .knopf-gold { display: none; }

.hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid var(--outline);
    border-radius: var(--r-sm);
    cursor: pointer;
}

.hamburger svg { width: 20px; height: 20px; }

/* Mobiles Menue */
.mobilnav {
    position: fixed;
    inset: var(--kopf-hoehe) 0 auto 0;
    z-index: 45;
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 14px 20px 22px;
    background: rgba(10, 10, 15, 0.97);
    border-bottom: 1px solid var(--outline);
}

.mobilnav.offen { display: flex; }

.mobilnav a {
    padding: 13px 4px;
    text-decoration: none;
    color: var(--text-2);
    font-weight: 600;
    border-bottom: 1px solid var(--outline-soft);
}

.mobilnav .knopf { margin-top: 14px; }

@media (min-width: 900px) {
    .nav { display: flex; }
    .kopf .knopf-gold { display: inline-flex; }
    .hamburger { display: none; }
    .mobilnav { display: none !important; }
}

/* ---------- Abschnitte ---------- */
.abschnitt {
    position: relative;
    z-index: 2;
    padding: 72px 0;
}

.abschnitt + .abschnitt { border-top: 1px solid var(--outline-soft); }

/* Nummerierte Marke wie in einem Einsatzplan: "01 — Der Plan" */
.marker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}

.marker::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-line), transparent);
}

.abschnitt-kopf { max-width: 640px; margin-bottom: 40px; }
.abschnitt-kopf p { color: var(--text-3); margin: 0; }

@media (min-width: 768px) {
    .abschnitt { padding: 104px 0; }
}

/* ---------- Held ---------- */
.held {
    position: relative;
    z-index: 2;
    padding: 48px 0 64px;
    overflow: hidden;
}

/* Scheinwerfer: Gold als Licht, nicht als Flaeche. */
.held::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    width: min(900px, 130%);
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 190, 0, 0.16) 0%, rgba(255, 140, 0, 0.05) 38%, transparent 68%);
    pointer-events: none;
}

.held-raster { position: relative; display: grid; gap: 44px; }

.kicker {
    display: inline-block;
    margin: 0 0 18px;
    padding: 6px 14px;
    border: 1px solid var(--gold-line);
    border-radius: var(--r-full);
    background: var(--gold-soft);
    color: var(--gold);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.held h1 { margin-bottom: 18px; }

.lede { font-size: 1.1rem; max-width: 34em; margin-bottom: 26px; }

.held-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }

.held-fuss {
    margin: 20px 0 0;
    color: var(--text-3);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

/* ---------- Chat-Demo ---------- */
.chatfenster {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--outline);
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, var(--surface-1), var(--surface));
    box-shadow: var(--shadow-3);
    overflow: hidden;
}

.chat-kopf {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--outline-soft);
    font-size: 0.82rem;
}

.chat-punkt {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
}

.chat-titel { color: var(--text); font-weight: 700; }
.chat-meta { margin-left: auto; color: var(--text-3); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }

.chat-verlauf {
    height: 290px;
    overflow-y: auto;
    padding: 14px;
    font-size: 0.94rem;
    line-height: 1.5;
    scrollbar-width: thin;
}

.chat-zeile { margin-bottom: 7px; word-wrap: break-word; overflow-wrap: anywhere; }
.chat-name { font-weight: 700; }
.chat-name.bot { color: var(--gold); }
.chat-name.du { color: #7dd3fc; }
.chat-name.v1 { color: #f0abfc; }
.chat-name.v2 { color: #86efac; }
.chat-name.v3 { color: #fca5a5; }
.chat-system { color: var(--text-3); font-style: italic; }
.chat-gewinn { color: #4ade80; font-weight: 600; }
.chat-verlust { color: #f87171; font-weight: 600; }

.chat-eingabe {
    display: flex;
    gap: 8px;
    padding: 11px;
    border-top: 1px solid var(--outline-soft);
    background: var(--surface-1);
}

.chat-eingabe input {
    flex: 1;
    min-width: 0;
    min-height: 42px;
    padding: 0 13px;
    background: var(--surface-3);
    border: 1px solid var(--outline);
    border-radius: var(--r-sm);
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
}

/* Der einzige Fokus-Indikator der Seite. Vorher wurde die native Umrandung
   entfernt und nur die Rahmenfarbe auf --gold-line (Gold mit 22 % Deckkraft)
   gesetzt — das ergab 1,77:1 gegen das Eingabefeld und war damit praktisch
   unsichtbar. Jetzt ein voller Goldring: sichtbar, ohne das Layout zu
   verschieben, weil outline keinen Platz einnimmt. */
.chat-eingabe input:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-color: var(--gold);
}

/* Maus-Klicks bekommen weiterhin nur die ruhige Rahmenhervorhebung. */
.chat-eingabe input:focus:not(:focus-visible) {
    outline: none;
    border-color: var(--gold-line);
}

.chat-vorschlaege {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0 11px 12px;
    background: var(--surface-1);
}

.chat-vorschlaege button {
    padding: 5px 11px;
    background: transparent;
    border: 1px solid var(--outline);
    border-radius: var(--r-full);
    color: var(--text-3);
    font-family: 'Rajdhani', monospace;
    font-size: 0.82rem;
    cursor: pointer;
    transition: color 0.16s ease, border-color 0.16s ease;
}

.chat-vorschlaege button:hover { color: var(--gold); border-color: var(--gold-line); }

@media (min-width: 900px) {
    .held { padding: 88px 0 104px; }
    .held-raster { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 56px; }
    .chat-verlauf { height: 340px; }
}

/* ---------- Fuss ---------- */
.fuss {
    position: relative;
    z-index: 2;
    padding: 40px 0;
    border-top: 1px solid var(--outline-soft);
    color: var(--text-3);
    font-size: 0.9rem;
}

/* ---------- Karten (Funktionen) ---------- */
.karten { display: grid; gap: 16px; }

.karte {
    position: relative;
    padding: 24px 22px;
    background: var(--surface-1);
    border: 1px solid var(--outline);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

/* Goldene Haarlinie oben — Akzent, der beim Zeigen aufleuchtet. */
.karte::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.karte:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.karte:hover::before { opacity: 1; }

.karte svg { width: 24px; height: 24px; color: var(--gold); margin-bottom: 14px; }
.karte h3 { margin-bottom: 6px; }
.karte p { margin: 0; color: var(--text-3); font-size: 0.96rem; }

code {
    padding: 1px 6px;
    background: var(--surface-3);
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    font-size: 0.88em;
    color: var(--gold);
}

/* ---------- Warum kostenlos ---------- */
.rechnung { display: grid; gap: 28px; }

.rechnung-text p { color: var(--text-2); }

.haken { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.haken li { display: flex; align-items: flex-start; gap: 10px; }
.haken svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 5px; }

.status {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 12px 14px;
    background: var(--surface-1);
    border: 1px dashed var(--outline);
    border-radius: var(--r-md);
    color: var(--text-3);
    font-size: 0.93rem;
}

.status svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; }

.anteil {
    align-self: start;
    padding: 30px 26px;
    background: linear-gradient(160deg, var(--surface-2), var(--surface-1));
    border: 1px solid var(--gold-line);
    border-radius: var(--r-lg);
    text-align: center;
    box-shadow: var(--shadow-2);
}

.anteil-zahl {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.6rem, 10vw, 3.6rem);
    font-weight: 900;
    line-height: 1;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.anteil-text { margin: 10px 0 0; color: var(--text-3); font-size: 0.95rem; }

/* ---------- Schritte ---------- */
.schritte { list-style: none; margin: 0 0 48px; padding: 0; display: grid; gap: 18px; counter-reset: s; }

.schritte li {
    position: relative;
    padding: 22px 22px 22px 68px;
    background: var(--surface-1);
    border: 1px solid var(--outline);
    border-radius: var(--r-lg);
}

.schritt-nr {
    position: absolute;
    left: 22px;
    top: 22px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold-line);
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--gold);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
}

.schritte h3 { margin-bottom: 4px; }
.schritte p { margin: 0; color: var(--text-3); font-size: 0.96rem; }

/* ---------- Vertrauen ---------- */
.vertrauen {
    padding-top: 34px;
    border-top: 1px solid var(--outline-soft);
    text-align: center;
}

.vertrauen-titel {
    margin: 0 0 18px;
    color: var(--text-3);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.partner { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 24px; }

.partner a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px 9px 9px;
    background: var(--surface-1);
    border: 1px solid var(--outline);
    border-radius: var(--r-full);
    text-decoration: none;
    color: var(--text-2);
    font-weight: 600;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.partner a:hover { border-color: var(--gold-line); color: var(--text); }
.partner img { width: 34px; height: 34px; border-radius: 50%; }

/* ---------- Befehlstabelle ---------- */
.tabelle-rahmen {
    border: 1px solid var(--outline);
    border-radius: var(--r-lg);
    overflow-x: auto;   /* breite Inhalte scrollen im Rahmen, nicht die Seite */
    background: var(--surface-1);
}

.befehle { width: 100%; border-collapse: collapse; min-width: 460px; }

.befehle th {
    padding: 14px 18px;
    text-align: left;
    background: var(--surface-2);
    color: var(--text-3);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.befehle td { padding: 13px 18px; border-top: 1px solid var(--outline-soft); font-size: 0.96rem; }
.befehle tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }

.faq details {
    background: var(--surface-1);
    border: 1px solid var(--outline);
    border-radius: var(--r-md);
    overflow: hidden;
}

.faq summary {
    padding: 17px 20px;
    cursor: pointer;
    color: var(--text);
    font-weight: 700;
    list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: '+';
    float: right;
    color: var(--gold);
    font-size: 1.3rem;
    line-height: 1;
}

.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--text-3); }

/* ---------- Fuss ---------- */
.fuss-raster { display: grid; gap: 22px; }
.fuss-marke { margin: 0 0 4px; font-family: 'Orbitron', sans-serif; font-weight: 900; color: var(--text); letter-spacing: 0.1em; }
.fuss-klein { margin: 0; font-size: 0.88rem; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fuss-links a { text-decoration: none; transition: color 0.18s ease; }
.fuss-links a:hover { color: var(--gold); }
.fuss-spende { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--outline-soft); font-size: 0.82rem; }

@media (min-width: 768px) {
    .karten { grid-template-columns: repeat(2, 1fr); }
    .schritte { grid-template-columns: repeat(3, 1fr); }
    .fuss-raster { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 1024px) {
    .karten { grid-template-columns: repeat(3, 1fr); }
    .rechnung { grid-template-columns: 1.5fr 0.8fr; gap: 46px; align-items: center; }
}

/* Bewegung reduzieren, wenn das System es verlangt. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Einblenden beim Scrollen ----------
   Ohne JavaScript greift .reveal nie — die Inhalte sind dann von Anfang an da. */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.sichtbar { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
}

/* Zeilenausgleich: verhindert einzeln haengende Woerter in Ueberschriften. */
h1, h2 { text-wrap: balance; }

/* Held kompakter: der Blick soll schnell beim naechsten Abschnitt sein. */
@media (min-width: 900px) {
    .held { padding: 72px 0 76px; }
    .chat-verlauf { height: 380px; }
}

/* Abschnittsabstaende etwas straffer — die Seite soll zuegig lesen. */
@media (min-width: 768px) {
    .abschnitt { padding: 84px 0; }
}

/* Tap-Ziele auf dem Handy komfortabel gross (Empfehlung: mind. 44px). */
@media (max-width: 899px) {
    .sprache { min-height: 44px; min-width: 50px; }
    .hamburger { width: 44px; height: 44px; }
}

/* ── Schaustücke: echte Aufnahmen aus dem laufenden Produkt ──────────────
   Der Alert steht bewusst OHNE Rahmen: die OBS-Quelle ist transparent, und
   genau so sieht ihn der Zuschauer — frei über dem Bild. Das App-Fenster
   bekommt dagegen einen Rahmen, weil es ein Fenster IST. */

.schaustuecke {
    margin-top: 56px;
    display: grid;
    gap: 52px;
}

.schaustueck { margin: 0; }

.schaustueck img {
    display: block;
    width: 100%;
    max-width: 710px;
    height: auto;
    margin-inline: auto;
}

.schaustueck figcaption {
    margin-top: 16px;
    text-align: center;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-3);
    max-width: 56ch;
    margin-inline: auto;
}

.schaustueck--fenster img {
    max-width: 100%;
    border: 1px solid var(--outline);
    border-radius: var(--r-lg);
    box-shadow: 0 18px 48px rgb(0 0 0 / .5);
}

@media (min-width: 900px) {
    .schaustuecke { gap: 64px; }
}
