@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@0,400;0,700;0,900;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #07070f;
  --bg2: #0e0e1a;
  --bg3: #141420;
  --card: #111120;
  --border: rgba(255,255,255,0.07);
  --accent: #818cf8;
  --accent2: #a78bfa;
  --gold: #d97706;
  --green: #10b981;
  --red: #ef4444;
  --text: #f1f5f9;
  --text2: #94a3b8;
  --text3: #64748b;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,7,15,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { font-family: 'Bodoni Moda', serif; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.nav-brand span { color: var(--accent); }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { font-size: .82rem; color: var(--text2); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
#langToggle {
  background: transparent; border: 1px solid var(--border);
  color: var(--text2); font-family: 'Inter', sans-serif;
  font-size: .75rem; padding: .25rem .6rem; border-radius: 6px;
  cursor: pointer; transition: all .2s;
}
#langToggle:hover { border-color: var(--accent); color: var(--accent); }

/* HERO */
.hero {
  min-height: 92vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 6rem 2rem 4rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(129,140,248,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(129,140,248,0.1); border: 1px solid rgba(129,140,248,0.3);
  border-radius: 999px; padding: .35rem 1rem;
  font-size: .75rem; color: var(--accent); margin-bottom: 2rem;
  font-weight: 600; letter-spacing: .02em;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(0.8)} }

.hero h1 {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900; line-height: 1.08;
  max-width: 860px;
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p.sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text2); max-width: 600px;
  margin: 0 auto 2.5rem; font-weight: 300;
}
.cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: #fff; border: none;
  padding: .9rem 2rem; border-radius: 10px;
  font-size: .95rem; font-weight: 700; cursor: pointer;
  text-decoration: none; transition: all .2s;
  letter-spacing: .01em;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--text2);
  border: 1px solid var(--border); padding: .9rem 2rem;
  border-radius: 10px; font-size: .95rem; font-weight: 500;
  cursor: pointer; text-decoration: none; transition: all .2s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* AGENT DEMO */
.agent-demo {
  max-width: 700px; margin: 4rem auto 0;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 0 60px rgba(129,140,248,0.08), var(--shadow);
}
.agent-demo-header {
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: .75rem 1.2rem; display: flex; align-items: center; gap: .5rem;
}
.agent-demo-header .dot { width: 10px; height: 10px; border-radius: 50%; }
.agent-demo-header .dot.red { background: #ef4444; }
.agent-demo-header .dot.yellow { background: #f59e0b; }
.agent-demo-header .dot.green { background: #10b981; }
.agent-demo-header .title { font-size: .78rem; color: var(--text3); margin-left: .5rem; }
.agent-demo-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.agent-step {
  display: flex; gap: 1rem; align-items: flex-start;
}
.agent-step-icon {
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.agent-step-icon.purple { background: rgba(129,140,248,0.15); }
.agent-step-icon.green { background: rgba(16,185,129,0.15); }
.agent-step-icon.gold { background: rgba(215,119,6,0.15); }
.agent-step-content h4 { font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: .2rem; }
.agent-step-content p { font-size: .78rem; color: var(--text2); line-height: 1.5; }
.agent-step-content .tag {
  display: inline-block; margin-top: .4rem;
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3);
  color: var(--green); font-size: .7rem; font-weight: 600;
  padding: .15rem .5rem; border-radius: 4px;
}

/* SECTIONS */
section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
}
.section-title {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900; line-height: 1.15;
  margin-bottom: 1rem;
}
.section-sub { font-size: 1.05rem; color: var(--text2); max-width: 560px; }

/* FEATURES GRID */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.feature-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: rgba(129,140,248,0.4); transform: translateY(-2px); }
.feature-card.highlight { border-color: rgba(129,140,248,0.3); background: linear-gradient(135deg, var(--card) 0%, rgba(129,140,248,0.05) 100%); }
.feat-icon { font-size: 1.6rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.feature-card p { font-size: .82rem; color: var(--text2); line-height: 1.6; }
.feature-card .beta {
  display: inline-block; margin-top: .7rem;
  background: rgba(129,140,248,0.1); border: 1px solid rgba(129,140,248,0.3);
  color: var(--accent); font-size: .65rem; font-weight: 700;
  padding: .15rem .5rem; border-radius: 4px; letter-spacing: .05em;
}

/* COMPARISON TABLE */
.comp-table { width: 100%; border-collapse: collapse; margin-top: 2.5rem; }
.comp-table th {
  font-size: .78rem; font-weight: 700; text-align: left;
  padding: .9rem 1rem; border-bottom: 1px solid var(--border);
  color: var(--text2);
}
.comp-table th.highlight { color: var(--accent); }
.comp-table td {
  font-size: .83rem; padding: .9rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04); color: var(--text2);
}
.comp-table td:first-child { color: var(--text); font-weight: 500; }
.comp-table .yes { color: var(--green); font-weight: 700; }
.comp-table .no { color: var(--red); }
.comp-table .highlight-col { color: var(--text); font-weight: 600; }
.comp-table tr:hover td { background: var(--bg2); }

/* HOW IT WORKS */
.steps { display: flex; flex-direction: column; gap: 0; margin-top: 3rem; }
.step {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 1.5rem; align-items: flex-start;
  padding-bottom: 2.5rem; position: relative;
}
.step:not(:last-child)::before {
  content: '';
  position: absolute; left: 29px; top: 50px; bottom: 0;
  width: 1px; background: var(--border);
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg2); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 800; color: var(--accent);
  font-family: 'Bodoni Moda', serif;
}
.step-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; padding-top: .6rem; }
.step-content p { font-size: .83rem; color: var(--text2); line-height: 1.6; }

/* ZWEI WELTEN */
.zwei-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.welt-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.welt-card.bad { border-color: rgba(239,68,68,0.2); }
.welt-card.good { border-color: rgba(16,185,129,0.2); background: linear-gradient(135deg, var(--card) 0%, rgba(16,185,129,0.04) 100%); }
.welt-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.welt-card.bad .welt-label { color: var(--red); }
.welt-card.good .welt-label { color: var(--green); }
.welt-list { list-style: none; display: flex; flex-direction: column; gap: .8rem; }
.welt-list li { font-size: .85rem; color: var(--text2); display: flex; align-items: flex-start; gap: .6rem; }
.welt-list li::before { flex-shrink: 0; margin-top: .1rem; }
.welt-card.bad .welt-list li::before { content: '✕'; color: var(--red); font-weight: 700; }
.welt-card.good .welt-list li::before { content: '✓'; color: var(--green); font-weight: 700; }

/* PRICING */
.price-box {
  max-width: 500px; margin: 3rem auto 0;
  background: var(--card); border: 1px solid rgba(129,140,248,0.3);
  border-radius: var(--radius); padding: 2.5rem; text-align: center;
  box-shadow: 0 0 40px rgba(129,140,248,0.07);
}
.price-box .price { font-family: 'Bodoni Moda', serif; font-size: 3.5rem; font-weight: 900; }
.price-box .price span { font-size: 1.2rem; font-weight: 400; color: var(--text2); vertical-align: super; }
.price-box .price-per { font-size: .82rem; color: var(--text2); margin-top: .3rem; }
.price-box .price-list { list-style: none; text-align: left; margin: 1.8rem 0; display: flex; flex-direction: column; gap: .7rem; }
.price-box .price-list li { font-size: .85rem; color: var(--text2); display: flex; gap: .6rem; }
.price-box .price-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* BLOG PREVIEW */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
.blog-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.4rem; text-decoration: none; color: inherit;
  transition: border-color .2s, transform .2s; display: block;
}
.blog-card:hover { border-color: rgba(129,140,248,0.3); transform: translateY(-2px); }
.blog-tag { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.blog-card h3 { font-size: .88rem; font-weight: 700; line-height: 1.4; color: var(--text); }
.blog-card p { font-size: .78rem; color: var(--text2); margin-top: .4rem; line-height: 1.5; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: .8rem; margin-top: 2.5rem; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1.2rem 1.5rem; font-size: .88rem; font-weight: 600;
  color: var(--text); cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; font-family: 'Inter', sans-serif;
}
.faq-q .arrow { transition: transform .2s; color: var(--text3); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s; }
.faq-item.open .faq-a { padding: 0 1.5rem 1.2rem; max-height: 300px; }
.faq-a p { font-size: .83rem; color: var(--text2); line-height: 1.7; }

/* ARTICLE LAYOUT */
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-hero { padding: 5rem 2rem 3rem; text-align: center; }
.article-hero .article-tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.article-hero h1 { font-family: 'Bodoni Moda', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.1; }
.article-hero .article-meta { font-size: .78rem; color: var(--text3); margin-top: 1rem; }
.article-body { padding: 0 2rem 5rem; }
.article-body h2 { font-family: 'Bodoni Moda', serif; font-size: 1.6rem; font-weight: 700; margin: 2.5rem 0 1rem; }
.article-body h3 { font-size: 1.05rem; font-weight: 700; margin: 1.8rem 0 .6rem; }
.article-body p { font-size: .92rem; color: var(--text2); line-height: 1.8; margin-bottom: 1rem; }
.article-body ul { margin: 1rem 0 1rem 1.5rem; }
.article-body ul li { font-size: .9rem; color: var(--text2); line-height: 1.7; margin-bottom: .4rem; }
.article-body strong { color: var(--text); }
.article-cta {
  background: var(--card); border: 1px solid rgba(129,140,248,0.3);
  border-radius: var(--radius); padding: 2rem; margin: 2.5rem 0; text-align: center;
}
.article-cta h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.article-cta p { font-size: .85rem; color: var(--text2); margin-bottom: 1.2rem; }
.info-box {
  background: rgba(129,140,248,0.06); border: 1px solid rgba(129,140,248,0.2);
  border-radius: 10px; padding: 1.2rem 1.5rem; margin: 1.5rem 0;
}
.info-box p { color: var(--text); }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem; text-align: center;
}
footer .footer-links { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: .8rem; flex-wrap: wrap; }
footer .footer-links a { font-size: .78rem; color: var(--text3); text-decoration: none; transition: color .2s; }
footer .footer-links a:hover { color: var(--text2); }
footer p { font-size: .72rem; color: var(--text3); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .zwei-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .comp-table { font-size: .75rem; }
  .comp-table th, .comp-table td { padding: .6rem .5rem; }
  nav { padding: 0 1rem; }
  section { padding: 3.5rem 1.2rem; }
}

/* LANG */
html.en [data-de]:not([data-en]) { display: none; }
html:not(.en) [data-en]:not([data-de]) { display: none; }
