/* protovox marketing site — design tokens */
:root {
  --brand: #863bff;
  --brand-dark: #6c22e6;
  --brand-light: #a875ff;
  --bg: #ffffff;
  --bg-alt: #f6f4fb;
  --surface: #ffffff;
  --text: #1c1626;
  --text-muted: #5c5468;
  --border: #e6e1f0;
  --success: #1fa971;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(28, 22, 38, 0.04), 0 8px 24px -12px rgba(28, 22, 38, 0.12);
  --shadow-lg: 0 20px 60px -20px rgba(134, 59, 255, 0.35);
  --container: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #120e19;
    --bg-alt: #17121f;
    --surface: #1c1626;
    --text: #f2effa;
    --text-muted: #b6adc7;
    --border: #2c2438;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; color: var(--text-muted); }
code {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 0.1em 0.45em;
  border-radius: 6px;
  font-size: 0.9em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(134, 59, 255, 0.6);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* Notice bar */
.notice-bar {
  background: #fbbf24;
  color: #1c1626;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 10px 20px;
}
.notice-bar .wrap { max-width: var(--container); }
.notice-bar strong { font-weight: 800; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(60% 60% at 85% 0%, color-mix(in srgb, var(--brand) 18%, transparent), transparent),
    var(--bg);
  text-align: center;
}
.hero-inner { max-width: 780px; }
.eyebrow {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.hero-lead { font-size: 1.15rem; max-width: 620px; margin-inline: auto; }
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 32px 0 40px;
}
.hero-facts {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.hero-facts strong { color: var(--text); font-size: 1.1rem; }

/* Section head */
.section-head { max-width: 620px; margin: 0 auto 44px; text-align: center; }
.section-lead { font-size: 1.05rem; }

/* Features */
.features { padding: 72px 0; }
.features-alt { background: var(--bg-alt); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand);
  margin-bottom: 16px;
}
.card-icon svg { width: 22px; height: 22px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }
.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.badge-group:empty { display: none; }
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  color: var(--brand);
}

/* How it works */
.how { padding: 72px 0; }
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.steps li { position: relative; padding-left: 4px; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}
.steps p { font-size: 0.95rem; margin-bottom: 0; }

/* Security */
.security { padding: 72px 0; background: var(--bg-alt); }
.security-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.perm-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.perm-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.92rem;
}
.perm-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.mock-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
}
.dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dot-green { background: var(--success); }
.dot-purple { background: var(--brand); }
.dot-gray { background: var(--text-muted); opacity: 0.5; }

/* FAQ */
.faq { padding: 72px 0; }
.accordion { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.accordion details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
}
.accordion summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--brand);
  transition: transform 0.2s ease;
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details p { padding-bottom: 16px; margin: 0; font-size: 0.95rem; }

/* CTA */
.cta { padding: 88px 0; }
.cta-inner {
  text-align: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 24px;
  padding: 64px 32px;
  color: #fff;
}
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255, 255, 255, 0.85); margin-bottom: 28px; }
.cta-inner .btn-primary {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.4);
}
.cta-inner .btn-primary:hover { background: #f4effe; }

/* Contact */
.contact { padding: 72px 0 96px; background: var(--bg-alt); }
.contact-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-facts {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.95rem;
}
.contact-facts strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.contact-facts a { color: var(--text); text-decoration: none; font-weight: 600; }
.contact-facts a:hover { color: var(--brand); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 18px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.88rem; font-weight: 600; }
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.field textarea { resize: vertical; min-height: 110px; }

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  left: -9999px;
  opacity: 0;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
}
.check-field input { margin-top: 3px; flex-shrink: 0; }
.check-field a { color: var(--brand); }

.form-status {
  margin: 0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.form-status.is-success { background: color-mix(in srgb, var(--success) 16%, transparent); color: var(--success); }
.form-status.is-error { background: color-mix(in srgb, #e0413f 16%, transparent); color: #e0413f; }

/* Legal pages (Impressum / Datenschutz) */
.legal-hero { padding: 56px 0 8px; text-align: left; }
.legal-hero .wrap { max-width: 780px; margin: 0; }
.breadcrumb {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.legal { padding: 40px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal section { margin-top: 40px; }
.legal section:first-child { margin-top: 0; }
.legal h2 { font-size: 1.15rem; }
.legal p, .legal li { color: var(--text-muted); font-size: 0.98rem; }
.legal ul { padding-left: 20px; }
.legal-note {
  margin-top: 48px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  font-size: 0.88rem;
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-footer { font-size: 1rem; margin-right: 0; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--brand); }
.footer-copy { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .security-inner { grid-template-columns: 1fr; }
  .security-visual { order: -1; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 24px 20px;
    gap: 4px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 10px 0; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary.btn-sm { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .form-row-2 { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
}
