:root {
  --bg-main: #f6f4ef;        /* warmes Off-White */
  --bg-card: #ffffff;
  --bg-soft: #eeebe4;

  --text-main: #1f2933;
  --text-soft: #374151;
  --text-muted: #6b7280;

  --accent: #2f3a44;        /* warmes Anthrazit */
  --accent-soft: #e3e0d8;

  --border-light: #e6e2d9;
}

/* Grundlayout */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
}

.page {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 16px 80px;
}

/* Hero */
.hero {
  margin-bottom: 40px;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.hero-sub {
  font-size: 1.1rem;
  color: #4b5563;
}

.hero-trust {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #6b7280;
}

/* Cards */
.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.card h2,
.card h3 {
  margin-top: 0;
}

/* Formular */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
}

.form-group input:focus {
  outline: none;
  border-color: #2563eb;
}

.form-group small {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: #6b7280;
}

.optional label::after {
  content: " (optional)";
  font-weight: normal;
  color: #6b7280;
}

/* Buttons */
button {
  cursor: pointer;
  border: none;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 1rem;
}

button.primary {
  background: #2563eb;
  color: white;
  margin-top: 8px;
}

button.primary:hover {
  background: #1d4ed8;
}

button.secondary {
  background: #111827;
  color: white;
  margin-top: 16px;
}

button.secondary:hover {
  background: #000000;
}

/* Ergebnis */
.result p {
  margin: 6px 0;
}

.section-intro {
  color: #4b5563;
  margin-bottom: 20px;
}

/* Hinweise */
.note {
  font-size: 0.9rem;
  color: #6b7280;
}

.trust {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Footer */
.footer {
  margin-top: 48px;
  text-align: center;
  font-size: 0.9rem;
  color: #6b7280;
}

/* =========================
   WELCOME PAGE (WOW VERSION)
   ========================= */

.page-welcome {
  max-width: 1040px;
}

/* Topbar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 6px;
  margin-bottom: 20px;
}

.brand-name {
  font-weight: 800;
  letter-spacing: -0.3px;
}

/* HERO */
.welcome-hero {
  padding: 90px 16px 70px;
  background:
    radial-gradient(800px 400px at 15% 0%, #ede9df 0%, transparent 60%),
    radial-gradient(700px 400px at 85% 20%, #f4efe6 0%, transparent 55%);
}

.welcome-hero-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: 44px 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

/* Pill */
.pill {
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
}

/* Headline */
.welcome-h1 {
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.welcome-h1 .soft {
  color: var(--text-soft);
  font-weight: 700;
}

.welcome-h1 strong {
  color: #1d4ed8;
}

.welcome-sub {
  font-size: 18px;
  color: #374151;
  max-width: 65ch;
  margin-bottom: 26px;
}

/* CTA */
.cta-row {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.btn {
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 900;
}

/* Primary Button – ruhig & warm */
.btn-primary {
  background: linear-gradient(
    180deg,
    #1f4fd8,
    #1b45bf
  );
  color: #ffffff;
  box-shadow: 
    0 6px 14px rgba(31, 79, 216, 0.18);
  border: none;
}

.btn-primary:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}



.btn-ghost {
  background: rgba(255,255,255,0.7);
}

/* Trust row */
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trust-item {
  background: rgba(255,255,255,0.8);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.04);
}

/* Steps */
.steps {
  margin-top: 26px;
  gap: 14px;
}

.step {
  border-radius: 18px;
  padding: 18px;
}

.step-nr {
  background: linear-gradient(180deg, #111827, #000);
}

/* Benefits */
.benefits {
  margin-top: 22px;
}

.benefit {
  border-radius: 18px;
  padding: 18px;
}

.step,
.benefit,
.trust-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: none;
}

/* FAQ */
.faq {
  border-radius: 18px;
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 40px;
}

.faq {
  margin-bottom: 20px;
}

.mini-cta {
  margin-top: 28px;
}

/* =========================
   Mobile
   ========================= */
@media (max-width: 720px) {
  .welcome-h1 {
    font-size: 36px;
  }

  .welcome-hero-inner {
    padding: 28px 20px;
  }

  .trust-row,
  .benefits {
    grid-template-columns: 1fr;
  }

  .screenshots {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  /* PDF CTA Mobile */
  .pdf-cta {
    padding: 18px 14px;
  }

  .pdf-button {
    width: 100%;
  }
}

/* =========================
   Screenshot Section
   ========================= */

.screenshot-section {
  background: #fffdf9;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.screenshot-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid #eee6da;
}

.screenshot-item img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.screenshot-item figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
}

.screenshot-item img {
  max-height: 420px;
  object-fit: cover;
}

@media (max-width: 720px) {
  .screenshots {
    grid-template-columns: 1fr;
  }
}
/* =========================
   Ultra-dezentes Fade-in
   ========================= */

.fade-section {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Motion-Reduction (Accessibility) */
@media (prefers-reduced-motion: reduce) {
  .fade-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* =========================
   PDF CTA
   ========================= */

.pdf-cta {
  margin-top: 28px;
  padding: 20px;
  background: #fffdf9;
  border: 1px solid #eee6da;
  border-radius: 16px;
  text-align: center;
}

.pdf-cta h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.pdf-cta-text {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 14px;
}

.pdf-button {
  display: inline-block;
  margin-top: 6px;
}

.pdf-cta-note {
  margin-top: 10px;
  font-size: 12px;
  color: #6b7280;
}

/* =========================
   TOPBAR – FINAL
   ========================= */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 12px;
  margin-bottom: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-dot {
  width: 10px;
  height: 10px;
  background: linear-gradient(180deg, #1f4fd8, #1b45bf);
  border-radius: 50%;
}

.brand-name {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.3px;
}

.topnav {
  display: flex;
  gap: 18px;
}

.toplink {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-soft);
  padding: 8px 10px;
  border-radius: 10px;
}

.toplink:hover {
  background: var(--bg-soft);
  color: var(--text-main);
}

/* =========================
   BUTTONS – KONSISTENT
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-ghost {
  color: var(--text-soft);
  font-weight: 700;
}

.btn-ghost:hover {
  background: var(--bg-soft);
}

/* =========================
   SECTION SPACING
   ========================= */

.welcome-section {
  margin-top: 40px;
}

.section-intro {
  max-width: 70ch;
}

/* =========================
   MOBILE TOPBAR
   ========================= */

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    gap: 12px;
  }

  .topnav {
    gap: 12px;
  }
}

/* =========================
   Disabled Button
========================= */

button:disabled,
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(20%);
  box-shadow: none;
}

/* =========================
   FOOTER – FINAL (CH)
========================= */

.site-footer {
  margin-top: 80px;
  padding: 32px 16px;
  background: #f6f7f9;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-links {
  font-size: 14px;
  color: #374151;
}

.footer-links a {
  color: #374151;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-note {
  margin-top: 8px;
  font-size: 13px;
  color: #6b7280;
}

#pdfHint {
  margin-top: 10px;
  font-size: 13px;
}

/* =========================
   PDF Hint – dynamisch
========================= */

.pdf-hint {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
}

/* Zustand: Aktion noch nicht möglich */
.pdf-hint.info {
  background: rgba(37, 99, 235, 0.08);
  border-left: 4px solid #2563eb;
  color: #1e3a8a;
}

/* Zustand: bereit zum Kauf */
.pdf-hint.ready {
  background: rgba(16, 185, 129, 0.10); /* grünlich */
  border-left: 4px solid #10b981;
  color: #065f46;
}

/* =========================
   LEGAL FOOTER
========================= */

.site-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links {
  text-align: center;
  margin-bottom: 12px;
}

.footer-links a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.legal-box {
  display: none;
  margin: 16px auto;
  max-width: 760px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 18px 20px;
  color: var(--text-soft);
}

.legal-box h3 {
  margin-top: 0;
  font-size: 16px;
}

.footer-tagline {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
}
