/* ==========================================================================
   Werkbank — Landingpage Styles
   ========================================================================== */

:root {
  --bg: #0b0d14;
  --bg-elev: #11141d;
  --bg-card: #151927;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #eef0f6;
  --text-muted: #a3a9bd;
  --text-dim: #6c7286;
  --brand: #6d5cff;
  --brand-2: #22d3ee;
  --brand-3: #f472b6;
  --ok: #34d399;
  --bad: #f87171;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  padding: 0.1em 0.45em;
  border-radius: 6px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.grad {
  background: linear-gradient(90deg, var(--brand), var(--brand-2) 55%, var(--brand-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: 0.9rem;
}
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section__head--left { text-align: left; margin-left: 0; }
.section__head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; }
.section__head p { color: var(--text-muted); font-size: 1.05rem; }
.section__head em { color: var(--text); font-style: normal; font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(135deg, var(--brand), #8b7bff);
  color: #fff; box-shadow: 0 8px 24px rgba(109, 92, 255, 0.35);
}
.btn--primary:hover { box-shadow: 0 10px 32px rgba(109, 92, 255, 0.5); transform: translateY(-1px); }
.btn--ghost { background: rgba(255,255,255,0.04); border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); }
.btn--sm { padding: 0.55rem 1.05rem; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 20, 0.7);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; font-size: 1.05rem;
}
.nav__links { display: flex; align-items: center; gap: 1.6rem; font-size: 0.95rem; color: var(--text-muted); }
.nav__links a:hover { color: var(--text); }
.nav__login { color: var(--text) !important; font-weight: 500; }
.nav__burger {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav__burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; pointer-events: none; }
.hero__glow--1 { width: 520px; height: 520px; background: var(--brand); top: -160px; left: -120px; }
.hero__glow--2 { width: 460px; height: 460px; background: var(--brand-2); bottom: -200px; right: -100px; opacity: 0.2; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem 0.4rem 0.6rem;
  border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(255,255,255,0.04);
  font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.4rem;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52,211,153,0.2); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 800; margin-bottom: 1.3rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-muted); max-width: 560px; margin-bottom: 2rem; }
.lead strong { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.hero__trust { display: flex; gap: 1.4rem; flex-wrap: wrap; font-size: 0.9rem; color: var(--text-dim); }

/* Terminal */
.terminal {
  background: #0a0c12; border: 1px solid var(--border-strong); border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 0 1px rgba(109,92,255,0.15), 0 0 80px rgba(109,92,255,0.15);
  overflow: hidden; transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform .4s ease;
}
.terminal:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.terminal__bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--border); background: #0e111a; }
.terminal__dot { width: 11px; height: 11px; border-radius: 50%; }
.terminal__dot--r { background: #ff5f57; } .terminal__dot--y { background: #febc2e; } .terminal__dot--g { background: #28c840; }
.terminal__title { margin-left: 0.6rem; font-family: var(--mono); font-size: 0.75rem; color: var(--text-dim); }
.terminal__body {
  margin: 0; padding: 1.1rem 1.2rem 1.3rem; font-family: var(--mono); font-size: 0.82rem; line-height: 1.7;
  color: #cfd4e3; white-space: pre-wrap; word-break: break-word;
}
.t-prompt { color: var(--brand-2); } .t-user { color: var(--brand-3); font-weight: 600; }
.t-ai { color: var(--brand); } .t-ok { color: var(--ok); } .t-hl { color: #fff; font-weight: 600; }
.t-dim { color: var(--text-dim); } .t-link { color: var(--brand-2); text-decoration: underline; }
.t-cost { color: var(--ok); background: rgba(52,211,153,0.08); padding: 0.15rem 0.5rem; border-radius: 6px; }
.cursor { display: inline-block; width: 8px; height: 1em; background: var(--text); vertical-align: -0.15em; margin-left: 4px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Proof ---------- */
.proof { padding: 1.5rem 0 0; }
.proof__label { text-align: center; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1.2rem; }
.proof__row { display: flex; justify-content: center; gap: clamp(1.2rem, 4vw, 3rem); flex-wrap: wrap; color: var(--text-dim); font-weight: 600; font-size: 0.95rem; opacity: 0.85; }

/* ---------- Compare ---------- */
.compare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; max-width: 960px; margin: 0 auto; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; position: relative; }
.card--good { border-color: rgba(109,92,255,0.5); box-shadow: 0 0 0 1px rgba(109,92,255,0.2), 0 20px 60px rgba(109,92,255,0.12); }
.card__tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1.2rem; }
.card__tag--good { color: var(--brand-2); }
.card__price { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--border); font-weight: 700; font-size: 1.05rem; }
.card__price span { color: var(--text-dim); font-weight: 400; margin: 0 0.35rem; }
.list li { position: relative; padding-left: 1.7rem; margin-bottom: 0.65rem; color: var(--text-muted); }
.list li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.list--check li::before { content: "✓"; color: var(--ok); }
.list--x li::before { content: "✕"; color: var(--bad); }
.list li strong { color: var(--text); }

/* ---------- Steps ---------- */
.steps { background: var(--bg-elev); border-block: 1px solid var(--border); }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; }
.step__num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; margin-bottom: 1rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.97rem; }
.steps__note {
  max-width: 900px; margin: 2rem auto 0; padding: 1.1rem 1.3rem; border-radius: var(--radius-sm);
  background: rgba(34,211,238,0.06); border: 1px solid rgba(34,211,238,0.25); color: var(--text-muted); font-size: 0.93rem;
}
.steps__note strong { color: var(--text); }
.steps__note em { color: var(--text); font-style: normal; font-weight: 600; }

/* ---------- Features ---------- */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.feature {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem;
  transition: transform .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-3px); border-color: rgba(109,92,255,0.45); }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: rgba(109,92,255,0.14); margin-bottom: 1rem; }
.feature h3 { font-size: 1.08rem; margin-bottom: 0.45rem; }
.feature p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Pricing ---------- */
.pricing { background: var(--bg-elev); border-block: 1px solid var(--border); }
.toggle { display: inline-flex; margin-top: 1.4rem; padding: 4px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); }
.toggle__btn { border: 0; background: transparent; color: var(--text-muted); padding: 0.5rem 1.1rem; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 0.9rem; font-family: inherit; }
.toggle__btn.is-active { background: var(--bg-card); color: var(--text); box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.toggle__save { color: var(--ok); font-size: 0.75rem; margin-left: 0.3rem; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; align-items: stretch; }
.plan { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; gap: 0.9rem; }
.plan--featured { border-color: rgba(109,92,255,0.6); box-shadow: 0 0 0 1px rgba(109,92,255,0.25), 0 24px 70px rgba(109,92,255,0.18); transform: translateY(-6px); }
.plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff; }
.plan h3 { font-size: 1.25rem; }
.plan__desc { color: var(--text-muted); font-size: 0.93rem; min-height: 2.8em; }
.plan__price { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; }
.plan__per { font-size: 0.9rem; font-weight: 500; color: var(--text-dim); margin-left: 0.3rem; letter-spacing: 0; }
.plan .list { margin-top: 0.4rem; }
.pricing__foot { text-align: center; color: var(--text-dim); font-size: 0.88rem; margin-top: 2rem; }

/* ---------- Quote ---------- */
.quote__inner { max-width: 820px; text-align: center; }
.quote blockquote { margin: 0 0 1.6rem; font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; }
.quote blockquote em { font-style: normal; color: var(--brand-2); }
.quote__who { display: inline-flex; align-items: center; gap: 0.9rem; text-align: left; color: var(--text-muted); font-size: 0.93rem; }
.quote__who strong { color: var(--text); }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: linear-gradient(135deg, var(--brand-3), var(--brand)); color: #fff; }

/* ---------- FAQ ---------- */
.faq__inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq__list { display: flex; flex-direction: column; gap: 0.7rem; }
.faq__item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 1.2rem; }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.05rem 2rem 1.05rem 0; font-weight: 600; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--text-dim); transition: transform .2s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { color: var(--text-muted); padding-bottom: 1.1rem; font-size: 0.96rem; }
.faq__item p em { color: var(--text); font-style: normal; font-weight: 600; }

/* ---------- CTA ---------- */
.cta__box {
  position: relative; text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 140% at 50% 0%, rgba(109,92,255,0.35), rgba(11,13,20,0) 60%), var(--bg-card);
  border: 1px solid rgba(109,92,255,0.4);
}
.cta__box h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); font-weight: 800; margin-bottom: 0.8rem; }
.cta__box > p { color: var(--text-muted); margin-bottom: 1.8rem; }
.cta__form { display: flex; gap: 0.6rem; max-width: 460px; margin: 0 auto; }
.cta__form input {
  flex: 1; min-width: 0; padding: 0.85rem 1.1rem; border-radius: 999px; border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.05); color: var(--text); font: inherit; font-size: 0.98rem; outline: none;
}
.cta__form input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(109,92,255,0.25); }
.cta__form input::placeholder { color: var(--text-dim); }
.cta__hint { margin-top: 0.9rem; font-size: 0.85rem; color: var(--text-dim); }
.cta__hint.is-ok { color: var(--ok); }
.cta__hint.is-err { color: var(--bad); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-elev); padding: 3.5rem 0 1.5rem; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer__brand p { color: var(--text-muted); font-size: 0.93rem; margin-top: 1rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer__cols h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 0.9rem; }
.footer__cols a { display: block; color: var(--text-muted); font-size: 0.93rem; margin-bottom: 0.55rem; }
.footer__cols a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.4rem; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-dim); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .terminal { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: 2; }
  .terminal { transform: none; }
  .features__grid, .pricing__grid, .steps__grid { grid-template-columns: 1fr 1fr; }
  .plan--featured { transform: none; }
  .faq__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11,13,20,0.97); border-bottom: 1px solid var(--border); padding: 0.6rem 1.25rem 1.2rem;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
  .nav__links a.btn { margin-top: 0.8rem; border: 0; }
  .nav__burger { display: flex; }
  .compare__grid, .features__grid, .pricing__grid, .steps__grid, .footer__cols { grid-template-columns: 1fr; }
  .cta__form { flex-direction: column; }
  .hero__trust { gap: 0.6rem 1.2rem; }
  .terminal__body { font-size: 0.75rem; }
}

/* ---------- Honeypot (unsichtbar für Menschen) ---------- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.btn:disabled { opacity: 0.7; cursor: progress; }

/* ---------- Rechtsseiten ---------- */
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 800; margin-bottom: 0.6rem; }
.legal h2 { font-size: 1.2rem; font-weight: 700; margin: 2.2rem 0 0.7rem; }
.legal p { color: var(--text-muted); margin-bottom: 0.9rem; }
.legal p strong { color: var(--text); }
.legal a:not(.btn):not(.logo) { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
.legal__meta { font-size: 0.9rem; color: var(--text-dim) !important; }
.legal .ph { background: rgba(244, 114, 182, 0.14); color: #f9a8d4; border: 1px dashed rgba(244,114,182,0.5); border-radius: 6px; padding: 0 0.35em; font-style: normal; }
