/* Sicher-mit-Rauchmeldern.de -- design system
   Tokens, layout primitives, components. No framework dependency. */

:root {
  color-scheme: light dark;

  /* -- brand accent (kept from existing brand) -- */
  --accent: #ff5a1f;
  --accent-dark: #d9430f;
  --accent-soft: #fff0e6;
  --accent-ink: #ffffff;
  --success: #1f7a4d;

  /* -- warm smoke-neutral scale (light) -- */
  --paper: #faf9f7;
  --surface: #ffffff;
  --surface-tint: #f3efea;
  --ink: #1d1a17;
  --ink-muted: #5c554d;
  --ink-faint: #8a8177;
  --border: #e6ded4;
  --shadow-color: 28 20 12;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --nav-height: 72px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #17140f;
    --surface: #201b15;
    --surface-tint: #26201a;
    --ink: #f2ece3;
    --ink-muted: #c2b8ab;
    --ink-faint: #8d8276;
    --border: #373026;
    --accent: #ff7a45;
    --accent-dark: #ff5a1f;
    --accent-soft: #3a2317;
    --accent-ink: #1d1108;
    --shadow-color: 0 0 0;
  }
}

:root[data-theme="dark"] {
  --paper: #17140f;
  --surface: #201b15;
  --surface-tint: #26201a;
  --ink: #f2ece3;
  --ink-muted: #c2b8ab;
  --ink-faint: #8d8276;
  --border: #373026;
  --accent: #ff7a45;
  --accent-dark: #ff5a1f;
  --accent-soft: #3a2317;
  --accent-ink: #1d1108;
  --shadow-color: 0 0 0;
}
:root[data-theme="light"] {
  --paper: #faf9f7;
  --surface: #ffffff;
  --surface-tint: #f3efea;
  --ink: #1d1a17;
  --ink-muted: #5c554d;
  --ink-faint: #8a8177;
  --border: #e6ded4;
  --accent: #ff5a1f;
  --accent-dark: #d9430f;
  --accent-soft: #fff0e6;
  --accent-ink: #ffffff;
  --shadow-color: 28 20 12;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 88px 0; }
@media (max-width: 768px) {
  section { padding: 56px 0; }
}

h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 3.4vw + 1rem, 3.1rem); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem); line-height: 1.15; }
h3 { font-size: 1.15rem; line-height: 1.3; }
p { margin: 0; color: var(--ink-muted); }
.lede { font-size: 1.15rem; line-height: 1.55; max-width: 58ch; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--accent); } }
:root[data-theme="dark"] .eyebrow { color: var(--accent); }
:root[data-theme="light"] .eyebrow { color: var(--accent-dark); }

/* -- buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgb(255 90 31 / 0.55); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--ink-faint); transform: translateY(-2px); }
.btn-light { background: var(--surface); color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.35); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn-primary:hover, .btn-secondary:hover, .btn-light:hover { transform: none; }
}

/* -- icon -- */
.icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.icon-tile {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
@media (prefers-color-scheme: dark) { .icon-tile { color: var(--accent); } }
:root[data-theme="dark"] .icon-tile { color: var(--accent); }

/* -- nav -- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}
.logo strong { color: var(--accent-dark); }
:root[data-theme="dark"] .logo strong { color: var(--accent); }
@media (prefers-color-scheme: dark) { .logo strong { color: var(--accent); } }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-muted);
}
.nav-links a:hover { color: var(--ink); }
.nav-phone {
  font-weight: 700;
  color: var(--ink) !important;
  white-space: nowrap;
}
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    color: var(--ink);
  }
}

/* -- ambient glow orbs -- */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
  pointer-events: none;
  background: radial-gradient(circle, var(--accent) 0%, transparent 72%);
  animation: drift 16s ease-in-out infinite;
  z-index: 0;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -18px) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .glow-orb { animation: none; }
}

/* -- hero -- */
.hero {
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero .hero-grid { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-trust {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--ink-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .icon { width: 15px; height: 15px; color: var(--accent-dark); }
:root[data-theme="dark"] .hero-trust .icon { color: var(--accent); }

/* hero visual: device panel, not a fake stock photo */
.device-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 24px 60px -24px rgb(var(--shadow-color) / 0.28);
}
.device-ring {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, var(--accent-soft), transparent 70%);
  border: 1px solid var(--border);
  position: relative;
}
.device-ring .icon { width: 46px; height: 46px; color: var(--accent-dark); }
:root[data-theme="dark"] .device-ring .icon { color: var(--accent); }
.device-ring::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.35;
}
.device-ring::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pulse-ring 2.6s cubic-bezier(0.2, 0.7, 0.4, 1) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .device-ring::before { animation: none; display: none; }
}
.device-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: center;
}
.device-stats .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-dark);
}
:root[data-theme="dark"] .device-stats .num { color: var(--accent); }
.device-stats .label {
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 4px;
}
.device-stats div + div { border-left: 1px solid var(--border); }

/* -- trust bar -- */
.trust-bar {
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-tint);
}
.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  justify-content: center;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.92rem;
}
.trust-item .icon { width: 18px; height: 18px; color: var(--accent-dark); }
:root[data-theme="dark"] .trust-item .icon { color: var(--accent); }

/* -- divided feature band (replaces generic 3-card row) -- */
.feature-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.feature-band > div {
  padding: 8px 32px;
}
.feature-band > div + div { border-left: 1px solid var(--border); }
@media (max-width: 860px) {
  .feature-band { grid-template-columns: 1fr; }
  .feature-band > div + div { border-left: none; border-top: 1px solid var(--border); padding-top: 32px; margin-top: 8px; }
}

/* -- services bento (asymmetric, exact cell count) -- */
.services-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.service-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-tile:not(.primary):hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 32px -18px rgb(var(--shadow-color) / 0.35);
}
.service-tile:hover .icon-tile { transform: scale(1.1); }
.icon-tile { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
@media (prefers-reduced-motion: reduce) {
  .service-tile, .service-tile:hover, .icon-tile { transform: none; transition: none; }
}
.service-tile.primary {
  grid-row: 1 / 3;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-tile.primary h3, .service-tile.primary p { color: inherit; }
.service-tile.primary p { opacity: 0.75; }
.service-tile .icon-tile { background: rgba(255,255,255,0.12); color: var(--accent); }
.service-tile.primary .badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 999px;
}
@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-tile.primary { grid-row: auto; }
}

/* -- roadmap (real sequence, animated progress line + lighting nodes) -- */
.roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 4px;
}
.roadmap-line {
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.roadmap-line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--accent);
  transition: width 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.roadmap.in-view .roadmap-line::after { width: 100%; }

.roadmap-node { text-align: center; padding: 0 16px; }
.roadmap-node-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  transition: border-color 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.5s ease;
  color: var(--ink-faint);
}
.roadmap.in-view .roadmap-node-badge {
  border-color: var(--accent);
  color: var(--accent-dark);
  transform: scale(1.08);
}
:root[data-theme="dark"] .roadmap.in-view .roadmap-node-badge { color: var(--accent); }
@media (prefers-color-scheme: dark) { .roadmap.in-view .roadmap-node-badge { color: var(--accent); } }

@media (max-width: 860px) {
  .roadmap { grid-template-columns: 1fr; gap: 36px; }
  .roadmap-line {
    top: 0; bottom: 0; left: 27px; right: auto; width: 3px; height: auto;
  }
  .roadmap-line::after { width: 100%; height: 0%; transition: height 1.6s cubic-bezier(0.16, 1, 0.3, 1); }
  .roadmap.in-view .roadmap-line::after { height: 100%; }
  .roadmap-node {
    text-align: left;
    padding: 0;
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }
  .roadmap-node-badge { margin: 0; flex: 0 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .roadmap-line::after, .roadmap-node-badge { transition: none; }
}

/* -- CTA band -- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .glow-orb { opacity: 0.5; }
.cta-band h2, .cta-band p { color: inherit; }
.cta-band p { opacity: 0.75; max-width: 60ch; margin: 14px auto 0; }
.cta-band .hero-actions { justify-content: center; }

/* -- faq -- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  padding: 20px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-dark); }
:root[data-theme="dark"] .faq-item summary:hover { color: var(--accent); }
.faq-item summary .icon { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); color: var(--ink-faint); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-body { overflow: hidden; height: 0; transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-body p { padding-bottom: 20px; max-width: 68ch; }
.faq-body p a, .article-card p a, .legal-card p a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
:root[data-theme="dark"] .faq-body p a,
:root[data-theme="dark"] .article-card p a,
:root[data-theme="dark"] .legal-card p a { color: var(--accent); }
@media (prefers-color-scheme: dark) {
  .faq-body p a, .article-card p a, .legal-card p a { color: var(--accent); }
}
@media (prefers-reduced-motion: reduce) {
  .faq-body { transition: none; }
}

/* -- contact -- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.field input, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 120px; }
.honeypot { position: absolute; left: -9999px; }

.contact-card {
  background: var(--surface-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-card .row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.contact-card .row .icon { color: var(--accent-dark); margin-top: 2px; }
:root[data-theme="dark"] .contact-card .row .icon { color: var(--accent); }
.contact-card a { text-decoration: none; font-weight: 700; }

/* -- footer -- */
footer.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 28px;
}
footer.site-footer a { text-decoration: none; opacity: 0.82; }
footer.site-footer a:hover { opacity: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-grid h4 { color: inherit; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; opacity: 0.6; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  opacity: 0.65;
}

/* -- simple pages (impressum/datenschutz) -- */
.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 48px);
  max-width: 820px;
  margin: 0 auto;
}
.legal-card h2 { font-size: 1.1rem; margin-top: 32px; margin-bottom: 8px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: var(--ink-muted); line-height: 1.7; }
.legal-card ul { padding-left: 20px; }

/* -- blog -- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 768px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.blog-card:hover { transform: translateY(-3px); border-color: var(--ink-faint); }
.blog-card-visual {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-tint);
  color: var(--accent-dark);
}
:root[data-theme="dark"] .blog-card-visual { color: var(--accent); }
.blog-card-visual .icon { width: 44px; height: 44px; }
.blog-card-body { padding: 22px; }
.blog-card-body h3 { margin-bottom: 8px; }
.blog-card-body p { font-size: 0.92rem; }

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 48px);
  max-width: 760px;
  margin: 0 auto;
}
.article-card h2 { font-size: 1.25rem; margin-top: 34px; margin-bottom: 10px; }
.article-card h2:first-child { margin-top: 0; }
.article-card p, .article-card li { line-height: 1.75; margin-bottom: 4px; }
.article-card ul { padding-left: 20px; margin-bottom: 16px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  margin-bottom: 20px;
}

/* -- scroll reveal (progressive enhancement, motion-safe) -- */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in-view { opacity: 1; transform: translateY(0); transition: opacity 0.5s ease, transform 0.5s ease; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* -- mobile sticky call button -- */
.call-fab {
  position: fixed;
  bottom: 18px;
  left: 18px;
  right: 18px;
  z-index: 40;
  background: var(--accent);
  color: var(--accent-ink);
  text-align: center;
  padding: 15px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 30px -8px rgb(var(--shadow-color) / 0.4);
}
@media (min-width: 861px) { .call-fab { display: none; } }

/* -- wizard: step progress -- */
.wizard-wrap { max-width: 640px; margin: 0 auto; }
.step-progress {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
}
.step-progress-line {
  position: absolute;
  top: 17px;
  left: 8%;
  right: 8%;
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.step-progress-line-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.step-node { text-align: center; flex: 1; position: relative; }
.step-node-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink-faint);
  position: relative;
  z-index: 1;
}
.step-node.done .step-node-badge { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.step-node.current .step-node-badge { border-color: var(--accent); color: var(--accent-dark); }
:root[data-theme="dark"] .step-node.current .step-node-badge { color: var(--accent); }
.step-node-label {
  font-size: 0.78rem;
  color: var(--ink-faint);
  font-weight: 600;
}
.step-node.current .step-node-label, .step-node.done .step-node-label { color: var(--ink); }

/* -- wizard: choice cards -- */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .choice-grid { grid-template-columns: 1fr; } }
.choice-card {
  display: block;
  cursor: pointer;
}
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card-body {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--surface);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 14px;
}
.choice-card-body .icon-tile { margin-bottom: 0; flex: 0 0 auto; }
.choice-card input:checked + .choice-card-body {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.choice-card:hover .choice-card-body { border-color: var(--ink-faint); transform: translateY(-2px); }
.choice-card input:checked + .choice-card-body:hover { border-color: var(--accent); }
.choice-card-body strong { display: block; font-size: 0.98rem; }
.choice-card-body span { font-size: 0.85rem; color: var(--ink-muted); }

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  gap: 14px;
}
.wizard-actions .btn-secondary { flex: 0 0 auto; }
