/* produkte.autofokus24.de — eigenständiges modernes Design,
 * komplett losgelöst vom Legacy-Portal. System-Font-Stack,
 * CSS-Custom-Properties, Mobile-First.
 *
 * Bewusst kein autofokus-*.css, kein style.css aus dem Portal,
 * keine Tabellen-Layout-Reste. Diese Seiten sind die strategische
 * Brücke vom Bewertungs-Portal in die neue Geschäftswelt
 * (Widget, REST API, White-Label) — sie müssen modern wirken.
 */

:root {
  --af-primary:      #1077f1;
  --af-primary-dark: #0a5dbf;
  --af-text:         #1a2332;
  --af-muted:        #6b7280;
  --af-border:       #e5e7eb;
  --af-bg:           #f8fafc;
  --af-card:         #ffffff;
  --af-radius:       10px;
  --af-shadow:       0 1px 3px rgba(0,0,0,0.06);
  --af-success:      #2e7d32;
  --af-warn:         #b35c00;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                "Helvetica Neue", Arial, sans-serif;
  color: var(--af-text);
  background: var(--af-bg);
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--af-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header / Navigation ─────────────────────────────────── */
.af-nav {
  background: #fff;
  border-bottom: 1px solid var(--af-border);
  padding: 12px 0;
  position: sticky; top: 0; z-index: 10;
}
.af-nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.af-logo {
  font-weight: 800; font-size: 18px; color: var(--af-primary-dark);
  text-decoration: none;
}
.af-logo span { color: var(--af-text); font-weight: 400; }
.af-nav-links {
  display: flex; gap: 18px; flex-wrap: wrap;
}
.af-nav-links a {
  color: var(--af-text); font-weight: 500; font-size: 14px;
}
.af-nav-cta {
  padding: 8px 14px; border-radius: 6px;
  background: var(--af-primary); color: #fff !important;
  font-size: 14px; font-weight: 600;
}
.af-nav-cta:hover { background: var(--af-primary-dark); text-decoration: none; }

/* ── Hero ────────────────────────────────────────────────── */
.af-hero {
  background: linear-gradient(135deg, #1077f1, #0a5dbf);
  color: #fff;
  padding: 72px 24px 60px;
  text-align: center;
}
.af-hero h1 {
  font-size: 38px; line-height: 1.2; font-weight: 800;
  max-width: 760px; margin: 0 auto 16px;
}
.af-hero p {
  font-size: 18px; opacity: 0.9;
  max-width: 620px; margin: 0 auto 28px;
}
.af-hero-cta {
  display: inline-block; padding: 14px 28px;
  background: #fff; color: var(--af-primary-dark);
  border-radius: 8px; font-weight: 700; font-size: 15px;
  margin: 0 6px;
}
.af-hero-cta:hover { background: #eef6fe; text-decoration: none; }
.af-hero-cta.secondary {
  background: rgba(255,255,255,0.15); color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.af-hero-cta.secondary:hover { background: rgba(255,255,255,0.25); }

/* ── Sections ───────────────────────────────────────────── */
.af-section {
  max-width: 1100px; margin: 0 auto; padding: 64px 24px;
}
.af-section h2 {
  font-size: 28px; font-weight: 800; margin: 0 0 12px;
}
.af-section .lead {
  color: var(--af-muted); font-size: 17px; max-width: 720px;
  margin: 0 0 36px;
}

.af-cards {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .af-cards.three { grid-template-columns: repeat(3, 1fr); }
  .af-cards.two   { grid-template-columns: repeat(2, 1fr); }
}
.af-card {
  background: var(--af-card);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius);
  padding: 24px;
  box-shadow: var(--af-shadow);
  display: flex; flex-direction: column;
}
.af-card h3 {
  font-size: 20px; margin: 0 0 8px; color: var(--af-primary-dark);
}
.af-card .price {
  font-size: 14px; color: var(--af-muted); margin: 0 0 12px;
}
.af-card p { margin: 0 0 16px; flex: 1; }
.af-card ul { padding-left: 18px; margin: 0 0 16px; }
.af-card ul li { margin-bottom: 6px; }
.af-card .af-btn {
  display: inline-block; padding: 10px 16px;
  background: var(--af-primary); color: #fff !important;
  border-radius: 6px; font-weight: 600; font-size: 14px;
  text-align: center; align-self: flex-start;
}
.af-card .af-btn:hover { background: var(--af-primary-dark); text-decoration: none; }

/* ── Code-Block ─────────────────────────────────────────── */
.af-code {
  background: #0f172a; color: #cdd6e2;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px; line-height: 1.6;
  padding: 14px 16px; border-radius: 8px;
  white-space: pre; overflow-x: auto;
  margin: 16px 0;
}

/* ── Footer ─────────────────────────────────────────────── */
.af-footer {
  background: #0f172a; color: #94a3b8;
  padding: 32px 24px; margin-top: 60px;
}
.af-footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 16px; font-size: 13px;
}
.af-footer a { color: #cdd6e2; }

/* ── Banner für Demo-Stand ──────────────────────────────── */
.af-banner {
  background: #fff4ed; border-bottom: 1px solid #f8b890;
  color: #7a3e00; padding: 10px 24px; text-align: center;
  font-size: 13px;
}
