:root {
  --bg: #f7f7f5; --panel: #ffffff; --fg: #15171c; --muted: #5f6573; --line: #e4e4e0;
  --brand: #0f766e; --brand-fg: #ffffff; --brand-soft: #e3f2ef; --ink: #0d1f1d;
  --radius: 18px; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0e1012; --panel: #171a1d; --fg: #eceeef; --muted: #9ba2ab; --line: #272b30; --brand: #2dd4bf; --brand-fg: #052522; --brand-soft: #10302c; --ink: #e9fbf8; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0e1012; --panel: #171a1d; --fg: #eceeef; --muted: #9ba2ab; --line: #272b30; --brand: #2dd4bf; --brand-fg: #052522; --brand-soft: #10302c; --ink: #e9fbf8; color-scheme: dark; }

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
header.site { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: .05em; color: var(--fg); text-decoration: none; }
.brand i { width: 30px; height: 30px; border-radius: 9px; background: var(--brand); color: var(--brand-fg); display: grid; place-items: center; font-style: normal; font-size: 15px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 650; color: var(--brand); background: var(--brand-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 18px; max-width: 16ch; }
h2 { font-size: 1.5rem; letter-spacing: -.015em; margin: 0 0 12px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; margin: 0 0 28px; }
.hero { padding: 48px 0 40px; }

.gen { display: flex; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 8px; max-width: 620px; box-shadow: 0 10px 40px rgba(15, 23, 30, .06); }
.gen input { flex: 1; min-width: 0; font: inherit; font-size: 17px; border: 0; background: transparent; color: var(--fg); padding: 10px 12px; outline: none; }
.gen:focus-within { border-color: var(--brand); }
.btn { font: inherit; font-weight: 650; border: 0; border-radius: 12px; padding: 12px 20px; cursor: pointer; background: var(--brand); color: var(--brand-fg); white-space: nowrap; text-decoration: none; display: inline-block; }
.btn:disabled { opacity: .6; cursor: default; }
.btn:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.note { font-size: 13.5px; color: var(--muted); margin-top: 12px; max-width: 620px; }
.err { color: #c2410c; font-weight: 550; margin-top: 12px; }

.progress { max-width: 620px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-top: 4px; }
.bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; margin: 12px 0 8px; }
.bar span { display: block; height: 100%; width: 8%; background: var(--brand); border-radius: 99px; transition: width .6s ease; }
.steps { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 15px; }
.steps li::before { content: "○"; margin-right: 8px; }
.steps li.done { color: var(--fg); }
.steps li.done::before { content: "✓"; color: var(--brand); font-weight: 700; }
.steps li.now { color: var(--fg); font-weight: 600; }
.steps li.now::before { content: "●"; color: var(--brand); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 12px 0 56px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.num { width: 32px; height: 32px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 750; }
section.block { padding: 8px 0 48px; }
.compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.compare ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
.compare li { margin: 6px 0; }
footer.site { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 13.5px; }

/* Demo-Ansicht */
.demo-bar { background: var(--ink); color: var(--bg); font-size: 14px; }
.demo-bar .wrap { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.demo-grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(0, 1.55fr); gap: 24px; padding: 28px 0 60px; align-items: start; }
.open-chat { margin-top: 22px; }
.browser { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 14px 50px rgba(15, 23, 30, .08); }
.chrome { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 92%, var(--fg)); }
.chrome i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.chrome .url { flex: 1; margin-left: 8px; font-size: 13px; color: var(--muted); background: var(--bg); border-radius: 8px; padding: 5px 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.site-mock { padding: 30px 28px 260px; min-height: 520px; position: relative; }
.site-head { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; }
.site-head img { height: 40px; max-width: 160px; object-fit: contain; }
.site-head .mark { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 750; }
.site-head strong { font-size: 1.15rem; }
.site-mock h2 { font-size: 1.7rem; max-width: 20ch; }
.site-mock p { color: var(--muted); max-width: 52ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 14px; }
.side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
.form { display: flex; flex-direction: column; gap: 10px; }
.form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 550; }
.form input, .form textarea { font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.form textarea { min-height: 80px; resize: vertical; }
.consent { flex-direction: row !important; align-items: flex-start; gap: 8px !important; font-weight: 400 !important; font-size: 13px !important; color: var(--muted); }
.consent input { margin-top: 3px; accent-color: var(--brand); }
.try { margin: 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.try li { margin: 5px 0; }
.ok { background: var(--brand-soft); border-radius: 12px; padding: 14px; font-weight: 550; }

@media (max-width: 860px) {
  .cards, .compare { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-grid > aside { order: 2; }
  .side { position: static; }
  .gen { flex-direction: column; }
  .site-mock { padding: 24px 18px 120px; min-height: 0; }
}

/* Demo-Anruf im Browser */
.call-card { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.call-head { display: flex; gap: 12px; align-items: center; }
.call-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: var(--brand-fg); display: grid; place-items: center; font-weight: 750; font-size: 1.2rem; flex: none; }
.call-sub { font-size: 13px; color: var(--muted); }
.call-text { color: var(--muted); font-size: 15px; margin: 12px 0; }
.call-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.call-end { background: #b91c1c; color: #fff; }
.level { flex: 1; min-width: 80px; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.level span { display: block; height: 100%; width: 0; background: var(--brand); transition: width .08s; }
.call-state { font-size: 14px; min-height: 1.4em; margin: 10px 0 0; }
.call-log { max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.call-log .b { max-width: 88%; padding: 7px 11px; border-radius: 12px; font-size: 14px; }
.call-log .b.user { align-self: flex-end; background: var(--brand); color: var(--brand-fg); }
.call-log .b.assistant { align-self: flex-start; background: var(--bg); border: 1px solid var(--line); }

[hidden] { display: none !important; }
