/* ============================================================
   Gefahrstoff-QR — Landingpage Styles
   Mobile-first, Design-Token-System, keine Framework-Abhängigkeiten
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Colors */
  --color-bg:         #0a1628;
  --color-bg-surface: #0f1e35;
  --color-bg-raised:  #162340;
  --color-text:       #f0f6ff;
  --color-muted:      #8fa4c0;
  --color-border:     rgba(255, 255, 255, 0.07);

  /* Brand: Warnung/Handwerk-Orange + Compliance-Teal */
  --color-accent:     #ff6b35;
  --color-accent-2:   #ff9a5c;
  --color-trust:      #2dd4bf;
  --color-trust-dark: #0d9488;

  /* Gradients */
  --gradient-accent:  linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  --gradient-hero-bg: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(255,107,53,.12) 0%, transparent 60%),
                      radial-gradient(ellipse 60% 40% at 80% 100%, rgba(45,212,191,.08) 0%, transparent 50%),
                      linear-gradient(180deg, #0a1628 0%, #0d1f38 100%);

  /* Spacing scale */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  48px;
  --space-xl:  80px;

  /* Typography scale */
  --font-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --text-xs:   .8rem;
  --text-sm:   .9rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;
  --text-4xl:  2.75rem;
  --text-5xl:  3.5rem;

  /* Shape & depth */
  --max-width:    1160px;
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --shadow-card:  0 4px 24px rgba(0, 0, 0, .35);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, .5);
  --transition:   all .25s cubic-bezier(.2, .9, .2, 1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--gradient-hero-bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }
[hidden] { display: none !important; }

/* ── Layout helpers ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.section { padding-block: clamp(56px, 8vw, var(--space-xl)); }

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.section-intro {
  color: var(--color-muted);
  font-size: var(--text-lg);
  line-height: 1.6;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--text-base);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #ff9a6b 0%, #ff6b35 42%, #ffb88c 100%);
  color: #051018;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 140, 100, 0.45),
    0 0 42px rgba(255, 115, 70, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 200, 170, 0.55),
    0 0 52px rgba(255, 130, 85, 0.45);
}

/* Eigenständiger CTA (ohne .btn): kommt nach tw.css auf derselben Klasse nicht vor — garantiert Orange auf der statischen Seite */
.btn-cta-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 1rem;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.875rem;
  line-height: 1.25;
  text-decoration: none !important;
  color: #051018 !important;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: linear-gradient(135deg, #ff9a6b 0%, #ff6b35 42%, #ffb88c 100%);
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 140, 100, 0.45),
    0 0 42px rgba(255, 115, 70, 0.35);
  cursor: pointer;
  transition: var(--transition);
}
@media (min-width: 640px) {
  .btn-cta-orange {
    font-size: 1rem;
  }
}
.btn-cta-orange:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 200, 170, 0.55),
    0 0 52px rgba(255, 130, 85, 0.45);
}
.btn-cta-orange--block {
  width: 100%;
}

/* Preise: „Empfohlen“-Badge — gleicher Orange-Verlauf wie Primär-CTA */
.pricing-badge-recommended {
  position: absolute;
  top: -0.75rem;
  right: 1.5rem;
  z-index: 1;
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #051018;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: linear-gradient(135deg, #ff9a6b 0%, #ff6b35 42%, #ffb88c 100%);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 140, 100, 0.4),
    0 0 28px rgba(255, 115, 70, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .15);
}

.btn-large {
  padding: 16px 32px;
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}

/* ── Site Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 14px clamp(16px, 4vw, 40px);
  gap: var(--space-md);
  background: rgba(10, 22, 40, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.logo {
  font-weight: 900;
  font-size: var(--text-xl);
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Desktop nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: var(--space-md);
  margin-left: auto;
}

.nav-link {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover { color: var(--color-text); background: rgba(255,255,255,.05); }

.nav-cta { padding: 10px 18px; font-size: var(--text-sm); }

/* Hamburger button */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile menu overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, .5);
}
body.nav-open              { overflow: hidden; }
body.nav-open .nav-mobile  { display: flex; justify-content: flex-end; }

.nav-mobile-inner {
  width: min(100%, 360px);
  height: 100%;
  background: var(--color-bg-surface);
  border-left: 1px solid var(--color-border);
  padding: var(--space-md);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.nav-close {
  align-self: flex-end;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 700;
  cursor: pointer;
  font-size: var(--text-sm);
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: var(--space-sm);
}
.mobile-links .nav-link {
  display: block;
  padding: 14px 12px;
  font-size: var(--text-lg);
  color: var(--color-text);
  border-radius: var(--radius-md);
}
.mobile-links .btn { margin-top: var(--space-sm); justify-content: center; width: 100%; }

/* Breakpoint: show desktop nav from 768 px */
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-toggle  { display: none; }
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  min-height: clamp(500px, 80vh, 780px);
  display: flex;
  align-items: center;
  padding-block: clamp(48px, 8vw, 96px);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy {
    align-items: flex-start;
    text-align: left;
  }

  .hero-checkmarks {
    justify-content: flex-start;
  }

  .hero-cta-group {
    justify-content: flex-start;
  }
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, .4);
  background: rgba(45, 212, 191, .08);
  color: var(--color-trust);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: .04em;
}

.hero-title {
  font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
  font-weight: 900;
  line-height: 1.08;
  color: var(--color-text);
}

.hero-subtitle {
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 640px;
}

.hero-checkmarks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm) var(--space-md);
}
.hero-checkmarks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-base);
  font-weight: 600;
}
.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-trust);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-xs);
}

.hero-note {
  font-size: var(--text-xs);
  color: var(--color-muted);
}

/* ── Pain-Points ─────────────────────────────────────────────── */
.pain-section { background: rgba(255,255,255,.015); }

.excel-alternative-section {
  background: rgba(255,255,255,.025);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* ── Gefahrstoffkataster (SEO-Landingcopy) ───────────────────── */
.kataster-section {
  background: rgba(45, 212, 191, .03);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.kataster-prose {
  max-width: 760px;
  margin-inline: auto;
  color: var(--color-muted);
  font-size: var(--text-lg);
  line-height: 1.65;
}

.kataster-prose h3 {
  margin-top: 1.75rem;
  margin-bottom: .65rem;
  color: var(--color-text);
  font-size: clamp(var(--text-lg), 2.2vw, var(--text-xl));
  font-weight: 800;
  line-height: 1.25;
}

.kataster-prose p + p {
  margin-top: 1rem;
}

.kataster-prose a {
  color: var(--color-trust);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.kataster-prose a:hover {
  text-decoration-color: var(--color-trust);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.pain-card {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: var(--transition);
}
.pain-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

.pain-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  display: block;
  width: 48px;
  height: 48px;
  line-height: 48px;
}

.pain-card h3 { font-size: var(--text-xl); font-weight: 800; margin-bottom: var(--space-xs); }
.pain-card p  { color: var(--color-muted); line-height: 1.6; }

@media (min-width: 640px)  { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pain-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Features ────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.feature-card {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

.feature-card--accent {
  border-color: rgba(255, 107, 53, .3);
  background: linear-gradient(160deg, rgba(255,107,53,.06) 0%, var(--color-bg-raised) 60%);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 107, 53, .1);
  color: var(--color-accent);
  flex-shrink: 0;
}
.feature-icon svg { width: 32px; height: 32px; }

.feature-title { font-size: var(--text-xl); font-weight: 800; line-height: 1.2; }

.feature-desc { color: var(--color-muted); line-height: 1.65; flex-grow: 1; }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-sm);
  margin-top: auto;
}
.feature-list li {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-trust);
  padding-left: 1.2em;
  position: relative;
}
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--color-trust); }

@media (min-width: 768px)  { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing-section { background: rgba(255,255,255,.015); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: start;
}

.pricing-card {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
}

.pricing-card--highlight {
  border-color: var(--color-accent);
  background: linear-gradient(160deg, rgba(255,107,53,.08) 0%, var(--color-bg-raised) 60%);
  box-shadow: 0 0 0 1px rgba(255,107,53,.3), var(--shadow-card);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-card-header { display: flex; flex-direction: column; gap: 8px; }

.plan-name { font-size: var(--text-xl); font-weight: 800; }

.plan-price { display: flex; align-items: baseline; gap: 6px; }

.price-amount { font-size: var(--text-4xl); font-weight: 900; line-height: 1; }

.price-period { font-size: var(--text-base); color: var(--color-muted); }

.plan-tagline { font-size: var(--text-sm); color: var(--color-muted); }

.plan-features { display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }

.plan-features li {
  font-size: var(--text-sm);
  font-weight: 500;
  padding-left: 1.4em;
  position: relative;
}
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--color-trust); font-weight: 700; }

.plan-cta { justify-content: center; margin-top: auto; }

.pricing-note {
  text-align: center;
  margin-top: var(--space-lg);
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.pricing-note a { color: var(--color-trust); text-decoration: underline; text-decoration-color: transparent; transition: var(--transition); }
.pricing-note a:hover { text-decoration-color: var(--color-trust); }

@media (min-width: 768px)  { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .pricing-card--highlight { transform: scale(1.04); }
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(255,107,53,.12) 0%, rgba(45,212,191,.08) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.cta-banner-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.cta-banner-inner h2 { font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl)); font-weight: 900; }
.cta-banner-inner p  { color: var(--color-muted); font-size: var(--text-lg); }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-lg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
}

.footer-tagline { font-size: var(--text-sm); color: var(--color-muted); line-height: 1.6; margin-top: 6px; }

.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.footer-links a { font-size: var(--text-sm); color: var(--color-muted); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--color-text); }

.footer-copy { font-size: var(--text-xs); color: var(--color-muted); margin-top: var(--space-sm); }

@media (min-width: 768px) {
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .footer-copy  { width: 100%; text-align: center; margin-top: 0; }
}

/* ── Accessibility ───────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

/* ── Signup Modal ────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.modal-card {
  background: var(--color-surface);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 460px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  transform: translateY(16px);
  transition: transform .2s ease;
}
.modal-overlay.is-open .modal-card { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--color-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: .25rem .4rem;
  border-radius: 6px;
  transition: var(--transition);
}
.modal-close:hover { color: var(--color-text); background: rgba(255,255,255,.06); }

.modal-badge {
  display: inline-block;
  background: rgba(255,107,53,.15);
  color: var(--color-accent);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .25rem .7rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: .4rem;
  line-height: 1.25;
}
.modal-sub {
  font-size: .9rem;
  color: var(--color-muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--color-muted); }
.form-input {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: var(--color-text);
  font-size: .95rem;
  padding: .7rem 1rem;
  width: 100%;
  transition: border-color .15s ease;
  font-family: inherit;
}
.form-input:focus { outline: none; border-color: var(--color-accent); }
.form-input::placeholder { color: rgba(255,255,255,.25); }

.modal-submit {
  width: 100%;
  margin-top: .5rem;
  padding: .85rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  position: relative;
}
.modal-submit:disabled { opacity: .6; cursor: not-allowed; }

.modal-success {
  text-align: center;
  padding: 1rem 0;
  display: none;
}
.modal-success .success-icon {
  font-size: 2.5rem;
  margin-bottom: .75rem;
}
.modal-success h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: .5rem; }
.modal-success p  { font-size: .9rem; color: var(--color-muted); line-height: 1.6; }

.modal-note {
  font-size: .78rem;
  color: var(--color-muted);
  text-align: center;
  margin-top: 1rem;
}

.modal-error {
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: 8px;
  color: #f87171;
  font-size: .85rem;
  padding: .6rem .9rem;
  margin-top: .75rem;
  display: none;
}
/* ── ROI Calculator Card ────────────────────────────────────── */
.roi-card {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--shadow-card);
}

.roi-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

/* — Slider — */
.roi-slider-wrap { margin-bottom: var(--space-md); }

.roi-slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.roi-slider-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-muted);
}

.roi-slider-value {
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--color-trust);
  font-variant-numeric: tabular-nums;
  min-width: 3ch;
  text-align: right;
}

.roi-slider {
  width: 100%;
  height: 6px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,.1);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  accent-color: var(--color-trust);
}

.roi-slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--color-muted);
  margin-top: 4px;
}

/* — Time Metric Tiles — */
.roi-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: var(--space-md);
}

.roi-metric {
  border-radius: var(--radius-sm);
  border: 1px solid;
  padding: 14px;
}

.roi-metric--bad {
  background: rgba(255, 107, 53, .08);
  border-color: rgba(255, 107, 53, .25);
}

.roi-metric--good {
  background: rgba(45, 212, 191, .08);
  border-color: rgba(45, 212, 191, .25);
}

.roi-metric__label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  font-weight: 600;
  margin-bottom: 10px;
}

.roi-metric--bad .roi-metric__label  { color: var(--color-accent); }
.roi-metric--good .roi-metric__label { color: var(--color-trust); }

.roi-metric__value {
  font-size: var(--text-2xl);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.roi-metric--bad .roi-metric__value  { color: var(--color-accent-2); }
.roi-metric--good .roi-metric__value { color: var(--color-trust); }

.roi-metric__unit {
  font-size: var(--text-sm);
  font-weight: 500;
  margin-left: 3px;
}

/* — Savings Highlight — */
.roi-savings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(45, 212, 191, .06);
  border: 1px solid rgba(45, 212, 191, .3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.roi-savings__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
}

.roi-savings__value {
  font-size: var(--text-4xl);
  font-weight: 900;
  color: var(--color-trust);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.roi-savings__unit {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-left: 2px;
}

/* ── Hero screenshot image ───────────────────────────────────── */
.hero-screenshot-wrap {
  margin: 0;
  padding: 0;
}
.hero-screenshot-wrap img {
  display: block;
  margin: 0 auto;
  max-height: 260px;
  width: auto;
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .28),
              0 4px 16px rgba(37, 99, 235, .18);
}

/* ── Feature card images ─────────────────────────────────────── */
.feature-img-wrap {
  margin: var(--space-sm) 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
}
.feature-img-wrap img {
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

/* ── Product Screenshots Section ────────────────────────────── */
.screenshots-section {
  background: var(--color-bg-surface);
}

.screenshots-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.screenshot-card {
  /* Reset default <figure> browser margin (1em 40px) */
  margin: 0;
  padding: 0;
}

.screenshot-card picture {
  display: block;
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.55),
              0 0 0 1px rgba(255, 107, 53, 0.06);
}

.screenshot-card figcaption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.screenshots-secondary-row {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: flex-start;
}

/* Form screenshot grows to fill available space */
.screenshots-secondary-row .screenshot-card:not(.screenshot-card--mobile) {
  flex: 1 1 0;
  min-width: 0;
}

/* Mobile portrait: fixed 220px, never stretches to row height */
.screenshot-card--mobile {
  flex: 0 0 220px;
  width: 220px;
}

.screenshot-card--mobile picture {
  display: block;
  width: 220px;
}

.screenshot-card--mobile img {
  width: 220px;
  height: auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.07);
}

@media (max-width: 900px) {
  .screenshots-secondary-row {
    flex-direction: column;
  }

  .screenshot-card--mobile {
    flex: none;
    width: auto;
    max-width: 280px;
    margin-inline: auto;
  }

  .screenshot-card--mobile picture {
    width: auto;
  }

  .screenshot-card--mobile img {
    width: 100%;
  }
}

/* ── SDB Interactive Demo ───────────────────────────────────── */
.sdb-demo-section {
  background: #f8fafc;
  color: #0f172a;
  border-top: 1px solid rgba(148, 163, 184, .22);
  border-bottom: 1px solid rgba(148, 163, 184, .22);
}

.sdb-demo-section .section-label { color: #2563eb; }
.sdb-demo-section .section-header h2 { color: #0f172a; }
.sdb-demo-section .section-intro { color: #475569; }

.sdb-demo-heading {
  margin-bottom: clamp(28px, 5vw, 48px);
}

.sdb-demo-shell {
  display: grid;
  gap: clamp(20px, 4vw, 32px);
  padding: clamp(18px, 4vw, 32px);
  border: 1px solid #dbe4f0;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
}

.sdb-demo-workflow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

.sdb-demo-file,
.sdb-demo-dropzone {
  min-height: 164px;
  border-radius: 22px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.sdb-demo-file {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid #dbe4f0;
  background: #ffffff;
  color: #0f172a;
  cursor: grab;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
}

.sdb-demo-file:active { cursor: grabbing; }
.sdb-demo-file:hover,
.sdb-demo-file:focus-visible {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 18px 40px rgba(37, 99, 235, .16);
}

.sdb-demo-file__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 72px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fee2e2 0%, #fff1f2 100%);
  color: #b91c1c;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  border: 1px solid #fecaca;
}

.sdb-demo-file strong,
.sdb-demo-file small {
  display: block;
}

.sdb-demo-file small {
  margin-top: 4px;
  color: #64748b;
  font-size: .86rem;
}

.sdb-demo-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px dashed #93c5fd;
  background: #eff6ff;
  color: #1e3a8a;
  text-align: center;
  cursor: pointer;
}

.sdb-demo-dropzone__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #dbeafe;
  color: #2563eb;
}

.sdb-demo-dropzone__icon svg {
  width: 28px;
  height: 28px;
}

.sdb-demo-dropzone span:last-child {
  color: #475569;
  font-size: .92rem;
}

.sdb-demo-dropzone.is-drag-over,
.sdb-demo-dropzone:focus-visible {
  transform: translateY(-3px);
  border-color: #2563eb;
  background: #dbeafe;
  box-shadow: 0 18px 44px rgba(37, 99, 235, .18);
}

.sdb-demo-dropzone.is-processing {
  border-color: #14b8a6;
  background: #ecfdf5;
  color: #0f766e;
}

.sdb-demo-dropzone.is-ready {
  border-color: #10b981;
  background: #ecfdf5;
  color: #047857;
}

.sdb-demo-output {
  min-height: 120px;
}

.sdb-processing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 156px;
  border: 1px solid #ccfbf1;
  border-radius: 20px;
  background: #f0fdfa;
  color: #0f766e;
  font-weight: 800;
  text-align: center;
}

.sdb-processing__spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #99f6e4;
  border-top-color: #0d9488;
  border-radius: 999px;
  animation: sdb-spin .8s linear infinite;
}

@keyframes sdb-spin {
  to { transform: rotate(360deg); }
}

.sdb-result {
  display: grid;
  gap: 22px;
  align-items: start;
}

.sdb-result__data,
.sdb-qr-card {
  border: 1px solid #dbe4f0;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .08);
}

.sdb-result__data {
  padding: clamp(18px, 3vw, 28px);
}

.sdb-result__header {
  margin-bottom: 18px;
}

.sdb-result__status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sdb-result__header h3 {
  color: #0f172a;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.15;
}

.sdb-data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.sdb-data-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}

.sdb-data-field--danger {
  border-color: #fecaca;
  background: #fef2f2;
}

.sdb-data-field--pictograms {
  grid-column: 1 / -1;
}

.sdb-data-field__label {
  color: #64748b;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.sdb-data-field__value {
  color: #0f172a;
  font-size: .96rem;
  line-height: 1.45;
}

.sdb-data-field--danger .sdb-data-field__value {
  color: #991b1b;
}

.sdb-pictogram-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sdb-pictogram {
  display: flex;
  min-height: 126px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  text-align: center;
}

.sdb-pictogram .ghs-pictogram-card__svg {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
}

.sdb-pictogram .ghs-pictogram-svg {
  width: 72px;
  height: 72px;
}

.sdb-pictogram .ghs-pictogram-card__label {
  display: grid;
  gap: 3px;
  color: #475569;
  font-size: .8rem;
  font-weight: 900;
  line-height: 1.15;
}

.sdb-pictogram .ghs-pictogram-card__code {
  color: #64748b;
  font-size: .72rem;
  font-weight: 950;
}

.sdb-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  text-align: center;
}

.sdb-qr-card__eyebrow {
  color: #2563eb;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sdb-qr-card h3 {
  color: #0f172a;
  font-size: 1.2rem;
  line-height: 1.25;
}

.sdb-qr-card__image {
  width: 220px;
  height: 220px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
}

.sdb-qr-card__link {
  color: #1d4ed8;
  font-weight: 800;
  text-decoration: none;
}

.sdb-qr-card__link:hover {
  text-decoration: underline;
}

@media (min-width: 760px) {
  .sdb-demo-workflow {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }

  .sdb-result {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .sdb-data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
