/* warmlead.de — Bespoke Crisp White & Thermal-Copper Architectural B2B Design
 * Completely distinct from dark competitors: ultra-clean Alabaster/White canvas (#f8f8f5 / #ffffff),
 * obsidian ink (#111317), thermal copper accent (#e8451a), 60-FPS animated Thermal Engine,
 * interactive ice-to-ember meter, live qualification scanner & cursor spotlight cards. Zero stock photos.
 */

:root {
  --bg: #f8f8f5;
  --surface: #ffffff;
  --surface-elev: #ffffff;
  --surface-muted: #f2f1ec;
  --border: #e4e2db;
  --border-strong: #cfccc2;
  --fg: #111317;
  --fg-muted: #555c68;
  --fg-subtle: #7a8190;
  --accent: #e8451a;
  --accent-warm: #ff6b2b;
  --accent-hover: #cf3810;
  --accent-tint: #fff3ee;
  --accent-border: #fbd0c0;
  --cold: #0284c7;
  --green: #147a42;
  --green-tint: #edf9f2;
  --green-border: #bce5cb;
  --amber: #b45309;
  --amber-tint: #fef7e6;
  --radius: 8px;
  --radius-lg: 14px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 248, 245, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.025em;
  color: var(--fg);
}

.brand-warm {
  color: var(--accent);
}

.brand-tld {
  color: var(--fg-subtle);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--fg);
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 140ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #d93b12);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(232, 69, 26, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f35325, var(--accent-hover));
  box-shadow: 0 8px 22px rgba(232, 69, 26, 0.3);
}

.btn-dark {
  background: var(--fg);
  color: #ffffff;
  border-color: var(--fg);
}

.btn-dark:hover {
  background: #232730;
  border-color: #232730;
}

.btn-outline {
  background: var(--surface);
  color: var(--fg);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--fg);
  background: var(--surface-muted);
}

.btn-ghost {
  background: transparent;
  color: var(--fg-muted);
}

.btn-ghost:hover {
  color: var(--fg);
}

.btn-green {
  background: var(--green);
  color: #ffffff;
}

.btn-green:hover {
  background: #0f6234;
}

.btn-danger-outline {
  background: #ffffff;
  color: #b91c1c;
  border-color: #fecaca;
}

.btn-danger-outline:hover {
  background: #fef2f2;
  border-color: #b91c1c;
}

/* --- Sections & Hairline Dividers --- */
.section {
  padding: 88px 0;
}

.section-tight {
  padding: 52px 0;
}

.section-surface {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}

.dot-green {
  background: var(--green);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.pulse-dot.green {
  background: var(--green);
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(232, 69, 26, 0.34);
  animation: wlPulse 2.1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

.pulse-dot.green::after {
  background: rgba(20, 122, 66, 0.32);
}

h1 {
  margin: 18px 0 0;
  font-size: clamp(2.45rem, 5.4vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--fg);
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.1vw, 2.45rem);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.025em;
  color: var(--fg);
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.accent-text {
  background: linear-gradient(95deg, #d93b12 0%, #ff6b2b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead-p {
  margin: 18px 0 0;
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--fg-muted);
  max-width: 58ch;
}

/* --- Hero with Precision Architectural Coordinate Grid (Crisp White/Alabaster) --- */
.hero {
  position: relative;
  padding: 78px 0 64px;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(17, 19, 23, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 19, 23, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 76% 72% at 50% 24%, #000 32%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 76% 72% at 50% 24%, #000 32%, transparent 82%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 920px;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(232, 69, 26, 0.08), transparent 70%);
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-center .lead-p {
  margin-left: auto;
  margin-right: auto;
  max-width: 56ch;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--accent-border);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(17, 19, 23, 0.04);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-center .hero-actions {
  justify-content: center;
}

.hero-footnote {
  margin-top: 20px;
  font-size: 13px;
  color: var(--fg-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-center .hero-footnote {
  justify-content: center;
}

/* --- 60-FPS Interactive Thermal Engine Stage (Light Architectural Blueprint Card) --- */
.engine-wrap {
  margin: 46px auto 0;
  max-width: 920px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 24px 26px 20px;
  box-shadow: 0 22px 54px rgba(17, 19, 23, 0.07);
  position: relative;
  overflow: hidden;
}

.engine-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--fg-muted);
}

.engine-svg {
  width: 100%;
  height: auto;
  display: block;
  margin: 8px auto 0;
  overflow: visible;
}

.eng-layer-1 {
  animation: wlLevitate 5.4s ease-in-out infinite;
}

.eng-layer-2 {
  animation: wlLevitate 5.4s ease-in-out infinite -1.8s;
}

.eng-layer-3 {
  animation: wlLevitate 5.4s ease-in-out infinite -3.6s;
}

.eng-orbit-cw {
  transform-origin: 420px 185px;
  animation: wlSpinCW 28s linear infinite;
}

.eng-orbit-ccw {
  transform-origin: 420px 185px;
  animation: wlSpinCCW 19s linear infinite;
}

.eng-dash-flow {
  stroke-dasharray: 6 10;
  animation: wlDashFlow 12s linear infinite;
}

.eng-station {
  cursor: pointer;
  transition: opacity 220ms ease;
}

.eng-station .st-box {
  fill: #fafaf7;
  stroke: #dcd9d0;
  stroke-width: 1.2;
  transition: stroke 240ms ease, fill 240ms ease;
}

.eng-station.is-active .st-box,
.eng-station:hover .st-box {
  fill: #fff4ef;
  stroke: #e8451a;
  stroke-width: 1.7;
}

.eng-station .st-num {
  fill: #7a8190;
  transition: fill 240ms ease;
}

.eng-station.is-active .st-num,
.eng-station:hover .st-num {
  fill: #e8451a;
}

.eng-station .st-title {
  fill: #3d4350;
  transition: fill 240ms ease;
}

.eng-station.is-active .st-title,
.eng-station:hover .st-title {
  fill: #111317;
}

.eng-station .st-wire {
  stroke: #d6d3ca;
  stroke-width: 1.4;
  transition: stroke 240ms ease;
}

.eng-station.is-active .st-wire,
.eng-station:hover .st-wire {
  stroke: #e8451a;
  stroke-width: 1.9;
}

.engine-telemetry {
  margin-top: 12px;
  padding: 11px 16px;
  border-radius: 10px;
  background: #111317;
  color: #f4f5f7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
}

.engine-step-pills {
  display: flex;
  gap: 6px;
}

.eng-pill {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 180ms ease;
}

.eng-pill.is-active,
.eng-pill:hover {
  background: var(--accent-tint);
  border-color: var(--accent);
  color: var(--accent);
}

/* --- 4-Column Hairline KPI Strip --- */
.kpi-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kpi-cell {
  padding: 34px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.kpi-cell:last-child {
  border-right: none;
}

.kpi-num {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.kpi-lbl {
  margin-top: 6px;
  font-size: 13px;
  color: var(--fg-muted);
}

/* --- Problem Section + Thermal Lead-Temperatur Switch --- */
.quote-bar {
  margin-top: 26px;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--accent);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.55;
}

.temp-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 18px 44px rgba(17, 19, 23, 0.06);
  transition: border-color 300ms ease;
}

.temp-card:not(.is-cold) {
  border-color: var(--accent-border);
}

.temp-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  border-radius: 10px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
}

.temp-tab {
  appearance: none;
  border: none;
  border-radius: 7px;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--fg-muted);
  transition: background-color 220ms ease, color 220ms ease;
}

.temp-tab.active-warm {
  background: linear-gradient(135deg, var(--accent), #d93b12);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(232, 69, 26, 0.25);
}

.temp-tab.active-cold {
  background: #e0f2fe;
  color: #0369a1;
}

.temp-meter-wrap {
  margin-top: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.temp-meter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.temp-track {
  position: relative;
  height: 7px;
  border-radius: 999px;
  background: #ebe9e2;
}

.temp-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 95%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f97316, var(--accent));
  transition: width 480ms cubic-bezier(0.22, 1, 0.36, 1), background 320ms ease;
}

.temp-thumb {
  position: absolute;
  top: 50%;
  left: 95%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 10px rgba(232, 69, 26, 0.45);
  transition: left 480ms cubic-bezier(0.22, 1, 0.36, 1), border-color 320ms ease, box-shadow 320ms ease;
}

.temp-card.is-cold .temp-fill {
  width: 19%;
  background: linear-gradient(90deg, #0284c7, #38bdf8);
}

.temp-card.is-cold .temp-thumb {
  left: 19%;
  border-color: var(--cold);
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.35);
}

.temp-points {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.temp-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--fg);
}

.temp-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  background: var(--accent);
  color: #ffffff;
}

.temp-card.is-cold .temp-icon {
  background: #e2e8f0;
  color: #64748b;
}

.temp-card.is-cold .temp-points li {
  color: var(--fg-muted);
}

/* --- Interactive 5-Step Pipeline with Animated Progress Bar --- */
.pipeline-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin-top: 40px;
}

.step-tabs {
  display: grid;
  gap: 10px;
}

.step-tab {
  position: relative;
  overflow: hidden;
  width: 100%;
  text-align: left;
  appearance: none;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.step-tab:hover {
  background: var(--bg);
  border-color: var(--border);
}

.step-tab.active {
  background: var(--bg);
  border-color: var(--border-strong);
  box-shadow: 0 6px 18px rgba(17, 19, 23, 0.04);
}

.step-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5px;
  background: transparent;
}

.step-tab.active .step-progress::after {
  content: '';
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  animation: wlStepFill 5.2s linear forwards;
}

.step-badge-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  flex-shrink: 0;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.step-tab.active .step-badge-box {
  background: linear-gradient(135deg, var(--accent), #d93b12);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 5px 14px rgba(232, 69, 26, 0.28);
}

.step-tab-title {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--fg-muted);
  transition: color 180ms ease;
}

.step-tab.active .step-tab-title {
  color: var(--fg);
}

.step-tab-desc {
  margin-top: 5px;
  font-size: 13.5px;
  color: var(--fg-muted);
  line-height: 1.55;
}

.pipeline-stage {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px 28px;
  min-height: 375px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-image:
    radial-gradient(circle, #dfddd4 1px, transparent 1px);
  background-size: 24px 24px;
}

.pipeline-preview-card {
  width: 100%;
  max-width: 410px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(17, 19, 23, 0.08);
  transition: opacity 220ms ease, transform 220ms ease;
}

.pipeline-preview-card.switching {
  opacity: 0.3;
  transform: translateY(7px);
}

.pv-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.pv-rows {
  display: grid;
  gap: 8px;
}

.pv-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 7px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 13px;
}

.pv-row .k {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-subtle);
}

.pv-row .v {
  font-weight: 600;
  color: var(--fg);
  text-align: right;
}

.pv-row .v.accent {
  color: var(--accent);
}

.pv-row .v.green {
  color: var(--green);
}

.pipeline-dots {
  display: flex;
  gap: 7px;
  margin-top: 24px;
}

.pipeline-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--border-strong);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 220ms ease, background-color 200ms ease;
}

.pipeline-dot.active {
  width: 26px;
  background: var(--accent);
}

/* --- Live Lead Qualification Scanner (Light Architectural Card) --- */
.scanner-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 20px 46px rgba(17, 19, 23, 0.07);
}

.scanner-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-warm), transparent);
  box-shadow: 0 0 14px rgba(232, 69, 26, 0.55);
  animation: wlScanBeam 3.8s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.72;
}

.scanner-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--fg-muted);
}

.scanner-checks {
  margin-top: 14px;
  display: grid;
  gap: 9px;
}

.scan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 13.5px;
  transition: border-color 260ms ease, background-color 260ms ease;
}

.scan-row.done {
  border-color: var(--green-border);
  background: var(--green-tint);
}

.scan-row.scanning {
  border-color: var(--accent-border);
  background: var(--accent-tint);
}

.scan-status {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--fg-subtle);
  white-space: nowrap;
}

.scan-row.done .scan-status {
  color: var(--green);
  font-weight: 600;
}

.scan-row.scanning .scan-status {
  color: var(--accent);
  font-weight: 600;
}

.scanner-foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

/* --- Cursor Spotlight Precision Cards (Zero Photos!) --- */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(232, 69, 26, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.v-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-tint);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  flex-shrink: 0;
}

/* --- Cards, Tags & Grids --- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 200ms ease, box-shadow 220ms ease;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 10px 26px rgba(17, 19, 23, 0.05);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--fg);
  white-space: nowrap;
}

.tag-accent {
  background: var(--accent-tint);
  border-color: var(--accent-border);
  color: #b8320e;
}

.tag-green {
  background: var(--green-tint);
  border-color: var(--green-border);
  color: var(--green);
}

.tag-amber {
  background: var(--amber-tint);
  border-color: #f3d28e;
  color: var(--amber);
}

.vertical-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-decoration: none;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), border-color 200ms ease, box-shadow 240ms ease;
}

.vertical-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(17, 19, 23, 0.08);
}

.price-mono {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-top: 10px;
}

.price-mono span {
  font-weight: 400;
  color: var(--fg-muted);
  font-size: 12.5px;
}

/* --- Interactive Package Calculator & Forms --- */
.calc-box {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: start;
  box-shadow: 0 12px 32px rgba(17, 19, 23, 0.04);
}

.calc-summary {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='password'],
input[type='number'],
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 14.5px;
}

input::placeholder,
textarea::placeholder {
  color: var(--fg-subtle);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* --- Marketplace Table, Filters & Precision Category Tiles --- */
.boerse-cat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.boerse-cat-tile {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 16px 18px;
  text-decoration: none;
  display: block;
  background: var(--surface);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.boerse-cat-tile:hover,
.boerse-cat-tile.active {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(17, 19, 23, 0.06);
}

.filter-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.filter-bar .field {
  margin-bottom: 0;
}

.tab-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}

.tab-pill:hover {
  border-color: var(--fg);
  color: var(--fg);
}

.tab-pill.active {
  background: var(--fg);
  border-color: var(--fg);
  color: #ffffff;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 740px;
}

table.data-table th {
  text-align: left;
  padding: 13px 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  background: var(--surface-muted);
  border-bottom: 1px solid var(--border);
}

table.data-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

table.data-table tr:last-child td {
  border-bottom: none;
}

.empty-state {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}

.iban-box {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: grid;
  gap: 10px;
}

.iban-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.iban-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-reveal {
  background: var(--green-tint);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  font-size: 13.5px;
}

.contact-reveal .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  margin-bottom: 2px;
}

/* --- Lists, Breadcrumbs, Legal Prose, FAQ & Alerts --- */
.check-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--fg);
}

.check-list li::before {
  content: '✓';
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-subtle);
  margin-bottom: 14px;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--fg-muted);
}

.breadcrumb a:hover {
  color: var(--fg);
}

.prose {
  max-width: 780px;
}

.prose h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.prose p,
.prose li {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.72;
}

.prose ul {
  padding-left: 20px;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  max-width: 820px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 17px 20px;
  transition: border-color 180ms ease;
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--fg);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--fg-muted);
}

.faq-item[open] summary::after {
  content: '−';
  color: var(--accent);
}

.faq-item p {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--fg-muted);
  line-height: 1.65;
}

.alert {
  padding: 13px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 18px;
  border: 1px solid var(--border);
}

.alert-ok {
  background: var(--green-tint);
  border-color: var(--green-border);
  color: var(--green);
}

.alert-err {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.alert-info {
  background: var(--surface-muted);
  border-color: var(--border-strong);
  color: var(--fg);
}

/* --- Footer --- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
  font-size: 13.5px;
  color: var(--fg-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col a {
  text-decoration: none;
  color: var(--fg-muted);
}

.footer-col a:hover {
  color: var(--fg);
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--fg-subtle);
}

/* --- Mobile Quick Nav --- */
.mobile-quick-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mobile-quick-nav-inner {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 9px 24px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg-muted);
  white-space: nowrap;
}

.mobile-quick-nav-inner a {
  text-decoration: none;
}

.mobile-quick-nav-inner a.active {
  color: var(--fg);
  font-weight: 600;
}

/* --- Motion Keyframes & Scroll Reveal --- */
@keyframes wlPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.78;
  }
  70% {
    transform: scale(2.25);
    opacity: 0;
  }
  100% {
    transform: scale(2.25);
    opacity: 0;
  }
}

@keyframes wlLevitate {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes wlSpinCW {
  to {
    transform: rotate(360deg);
  }
}

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

@keyframes wlDashFlow {
  to {
    stroke-dashoffset: -160;
  }
}

@keyframes wlStepFill {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

@keyframes wlScanBeam {
  0% {
    top: 12%;
    opacity: 0;
  }
  15% {
    opacity: 0.85;
  }
  85% {
    opacity: 0.85;
  }
  100% {
    top: 86%;
    opacity: 0;
  }
}

@keyframes pricePop {
  0% {
    transform: scale(1);
    color: var(--fg);
  }
  40% {
    transform: scale(1.06);
    color: var(--accent);
  }
  100% {
    transform: scale(1);
    color: var(--fg);
  }
}

.price-pop {
  animation: pricePop 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

html.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1), transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

html.has-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .pulse-dot::after,
  .eng-layer-1,
  .eng-layer-2,
  .eng-layer-3,
  .eng-orbit-cw,
  .eng-orbit-ccw,
  .eng-dash-flow,
  .scanner-beam,
  .step-tab.active .step-progress::after {
    animation: none !important;
  }
  html.has-reveal [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .pipeline-grid,
  .calc-box,
  .grid-4,
  .grid-3,
  .grid-2,
  .footer-grid,
  .filter-bar,
  .contact-reveal {
    grid-template-columns: 1fr;
  }

  .boerse-cat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .kpi-cell {
    border-bottom: 1px solid var(--border);
  }

  .main-nav {
    display: none;
  }

  .mobile-quick-nav {
    display: block;
  }
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 0 16px;
  }
  .mobile-quick-nav-inner {
    padding: 9px 16px;
  }
  .section {
    padding: 58px 0;
  }
  .engine-wrap {
    padding: 16px;
  }
  .iban-row {
    flex-direction: column;
    gap: 2px;
  }
}
