/* Hazardo Bot – Website. Gleiche Designsprache wie das Dashboard: dunkel, Warnstreifen-Gelb als Akzent. */
:root {
  --bg: #0b0d10; --bg-2: #0f1216; --surface: #14181e; --surface-2: #1a1f27; --surface-3: #232a35;
  --border: #262c36; --border-strong: #353d4b;
  --text: #e9ecf1; --text-2: #b6bfcc; --muted: #8590a0;
  --accent: #ffc400; --accent-hover: #ffd43d; --accent-ink: #1a1400;
  --accent-soft: rgba(255, 196, 0, 0.12); --accent-line: rgba(255, 196, 0, 0.4);
  --success: #38d39f; --danger: #ff6464; --info: #5ea8ff; --warn: #ffb020;
  --radius: 16px; --max: 1120px;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --stripes: repeating-linear-gradient(-45deg, var(--accent) 0 10px, #17140a 10px 20px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--mono); font-size: 0.9em; background: var(--surface-3); padding: 1px 7px; border-radius: 6px; color: var(--text); }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; text-decoration: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.muted { color: var(--muted); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 42px; padding: 0 18px; border-radius: 11px; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text); font: 650 15px/1 var(--font); cursor: pointer; white-space: nowrap; transition: background 0.15s, border-color 0.15s, transform 0.08s; }
.btn:hover { background: var(--surface-3); border-color: #465063; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 750; }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 13px; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); border-color: transparent; color: var(--text); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }

/* ── Header ── */
.header { position: sticky; top: 0; z-index: 50; background: rgba(11, 13, 16, 0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--stripes); opacity: 0.9; }
.header-in { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); font-weight: 850; letter-spacing: 0.14em; font-size: 15px; }
.brand:hover { text-decoration: none; }
.brand-tag { font-size: 10.5px; letter-spacing: 0.1em; padding: 2px 6px; border-radius: 5px; background: var(--accent); color: var(--accent-ink); }
.header-panel { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--text-2); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 9px; }
.nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.header-cta { display: flex; gap: 8px; }
.menu-btn { display: none; width: 42px; height: 42px; margin-left: auto; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text); border-radius: 11px; cursor: pointer; place-items: center; }

/* ── Hero ── */
.hero { position: relative; padding: 84px 0 72px; overflow: hidden; background: radial-gradient(900px 520px at 78% -8%, rgba(255, 196, 0, 0.13), transparent 62%), radial-gradient(700px 420px at 0% 0%, rgba(94, 168, 255, 0.07), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; margin-bottom: 22px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.06; letter-spacing: -0.025em; font-weight: 850; }
.hl { color: var(--accent); }
.lead { font-size: 19px; color: var(--text-2); margin-top: 22px; max-width: 54ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--text-2); font-size: 14.5px; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts .i { color: var(--success); }

/* Hero-Illustration (reines HTML/CSS) */
.hero-visual { position: relative; padding: 0 0 104px 0; }
.mock { background: #1d2026; border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); overflow: hidden; }
.mock-head { padding: 12px 18px; border-bottom: 1px solid var(--border); color: var(--text-2); font-weight: 650; font-size: 14px; background: #1a1d23; }
.mock-hash { color: var(--muted); margin-right: 4px; }
.mock-cmd { padding: 14px 18px 4px; font-size: 14px; color: var(--muted); }
.mock-cmd b { color: #8ea1ff; font-weight: 650; }
.mock-user { color: var(--text); font-weight: 650; }
.mock-msg { display: flex; gap: 14px; padding: 8px 18px 20px; }
.mock-av { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 850; flex: none; }
.mock-name { font-weight: 650; color: #fff; margin-bottom: 6px; font-size: 15px; }
.mock-tag { font-size: 10px; background: #5865f2; color: #fff; padding: 1px 5px; border-radius: 4px; margin-left: 4px; font-weight: 700; vertical-align: 1px; }
.mock-embed { background: #25282f; border-left: 4px solid var(--accent); border-radius: 6px; padding: 12px 16px 14px 14px; min-width: 0; }
.mock-embed-title { font-weight: 750; color: #fff; margin-bottom: 8px; }
.mock-grid { display: grid; grid-template-columns: auto 1fr; gap: 3px 16px; font-size: 14px; }
.mock-grid span { color: var(--muted); }
.mock-grid b { font-weight: 600; color: var(--text); }
.mock-auto { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--warn); font-weight: 600; }
.mock-panel { position: absolute; right: -8px; bottom: 0; width: 250px; padding: 14px 16px; background: var(--surface); z-index: 1; }
.mock-panel-title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 750; margin-bottom: 10px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 14.5px; font-weight: 600; border-top: 1px solid var(--border); }
.mock-row:first-of-type { border-top: 0; }
.mock-row.dim { color: var(--muted); }
.mock-row em { font-style: normal; font-size: 11px; color: var(--accent); margin-left: 6px; }
.sw { width: 36px; height: 20px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--border-strong); position: relative; }
.sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #c4ccd8; }
.sw.on { background: var(--accent); border-color: var(--accent); }
.sw.on::after { left: 18px; background: var(--accent-ink); }

/* ── Sektionen ── */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.section-head p { color: var(--text-2); margin-top: 14px; font-size: 17px; }
.status-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px; color: var(--text-2); font-size: 15px; margin-bottom: 28px; }
.status-note .i { color: var(--accent); margin-top: 3px; }
.sub-title { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 34px 0 16px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 18px; font-weight: 750; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card p { color: var(--text-2); font-size: 15px; }
.card-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 4px; }
.cards.compact { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cards.compact .card { padding: 16px 18px; gap: 6px; }
.cards.compact .card h3 { font-size: 16px; }
.cards.compact .card p { font-size: 14px; }
.btn[aria-disabled='true'] { opacity: 0.6; cursor: default; pointer-events: none; }
.back-top { margin-left: auto; }
.card.soon { border-style: dashed; background: transparent; }
.card.soon h3 { color: var(--text-2); }
.card.soon .card-icon { background: var(--surface-3); color: var(--muted); }
.badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 750; border: 1px solid var(--border-strong); background: var(--surface-3); color: var(--text-2); white-space: nowrap; }
.badge.live { background: rgba(56, 211, 159, 0.12); color: var(--success); border-color: rgba(56, 211, 159, 0.35); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 26px 24px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 850; }
.step h3 { font-size: 18px; margin-bottom: 8px; margin-top: 4px; }
.step p { color: var(--text-2); font-size: 15px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.checks { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; }
.checks li { display: flex; gap: 14px; }
.checks .i { color: var(--success); margin-top: 4px; }
.checks strong { display: block; font-size: 16px; }
.checks span { color: var(--text-2); font-size: 15px; }

/* Dashboard-Illustration */
.dash { background: var(--bg); border: 1px solid var(--border-strong); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); display: grid; grid-template-columns: 150px 1fr; min-height: 320px; }
.dash-side { background: var(--bg-2); border-right: 1px solid var(--border); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.dash-side .dash-logo { font-weight: 850; letter-spacing: 0.12em; color: var(--text); padding: 4px 8px 12px; font-size: 12px; }
.dash-side span { padding: 7px 10px; border-radius: 8px; }
.dash-side span.on { background: var(--accent-soft); color: var(--accent); }
.dash-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dash-stat { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.dash-stat b { display: block; font-size: 20px; line-height: 1.1; }
.dash-stat small { color: var(--muted); font-size: 11.5px; }
.dash-list { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.dash-li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; font-size: 13px; border-top: 1px solid var(--border); }
.dash-li:first-child { border-top: 0; }
.dash-li .pillx { font-size: 11px; font-weight: 750; padding: 1px 8px; border-radius: 999px; background: rgba(255, 100, 100, 0.12); color: var(--danger); border: 1px solid rgba(255, 100, 100, 0.35); }
.dash-li .pillx.info { background: rgba(94, 168, 255, 0.12); color: var(--info); border-color: rgba(94, 168, 255, 0.35); }
.dash-li .pillx.acc { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.dash-li em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12px; }

/* Tabelle */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 14px 20px; border-bottom: 1px solid var(--border); }
.table td { padding: 14px 20px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { white-space: nowrap; }

.fineprint { margin-top: 20px; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--accent); font-weight: 500; transition: transform 0.15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--text-2); }
.faq .answer p + p { margin-top: 10px; }

/* CTA + Footer */
.cta { text-align: center; padding: 88px 0; position: relative; overflow: hidden; background: radial-gradient(700px 360px at 50% 100%, rgba(255, 196, 0, 0.12), transparent 65%); }
.cta h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.02em; font-weight: 850; }
.cta p { color: var(--text-2); margin: 14px auto 30px; max-width: 52ch; font-size: 18px; }
.cta .hero-cta { justify-content: center; margin-top: 0; }
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 44px 0 36px; font-size: 14.5px; color: var(--muted); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h3 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-2); margin-bottom: 4px; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13.5px; }

/* Rechtstexte */
.legal { max-width: 800px; margin: 0 auto; padding: 64px 24px 96px; }
.legal h1 { font-size: 38px; letter-spacing: -0.02em; font-weight: 850; margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin-bottom: 30px; }
.legal h2 { font-size: 22px; margin: 38px 0 10px; font-weight: 750; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; font-weight: 700; }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.legal address { font-style: normal; color: var(--text-2); line-height: 1.8; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); vertical-align: top; }
.legal th { background: var(--surface); color: var(--text); }
.todo { background: rgba(255, 196, 0, 0.2); color: var(--accent); padding: 1px 6px; border-radius: 5px; font-weight: 650; }
.draft-banner { padding: 14px 18px; border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: 12px; color: var(--text-2); font-size: 15px; margin-bottom: 30px; }
.back { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 26px; font-weight: 650; }

.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 24px; }
.notfound h1 { font-size: 72px; font-weight: 850; color: var(--accent); line-height: 1; }
.notfound p { color: var(--text-2); margin: 12px 0 26px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 56px 0 52px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .menu-btn { display: grid; }
  .header-panel { display: none; position: absolute; top: 66px; left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 14px; padding: 14px 24px 22px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
  .header.open .header-panel { display: flex; }
  .nav { flex-direction: column; }
  .nav a { padding: 12px 12px; font-size: 16px; }
  .header-cta { flex-direction: column; }
  .header-cta .btn { width: 100%; height: 46px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .section { padding: 60px 0; }
  .lead { font-size: 17px; }
  .mock-panel { position: relative; right: auto; width: auto; margin-top: -14px; margin-left: 24px; }
  .hero-visual { padding-bottom: 0; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .btn-lg { width: 100%; }
  .hero-cta { flex-direction: column; }
  .table th, .table td { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
