/* AI-Track Usecase-Mockup — agentbuilders.ch Brand Guide v1.0
 *
 * Tokens nach Brand Guide. Inter (Display 700) + JetBrains Mono (Eyebrows).
 * Eyebrow-Anatomie: ▸ NN — TITLE (Mono, UPPERCASE, tracking 1.6, Heritage).
 * Buttons: Default Ink, Hover Heritage (180ms ease-out).
 * 60/30/10 Verhältnis: 60% Paper · 30% Ink · 10% Heritage Red.
 */

/* ---------- TOKENS (Brand Guide v1.0) ---------- */
:root {
  /* Farbsystem */
  --c-ink:        #0a0a0a;
  --c-carbon:     #161613;
  --c-paper:      #f4f1ea;
  --c-pure:       #ffffff;
  --c-accent:     #b5331f;
  --c-accent-hi:  #e14328;
  --c-edge:       #e0ddd4;
  --c-mute:       #6e6e66;
  --c-ash:        #9a978d;

  /* Schrift */
  --f-sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Easing & Duration */
  --ease-standard: cubic-bezier(.2,.8,.2,1);
  --ease-in:       cubic-bezier(.4,0,1,1);
  --ease-out:      cubic-bezier(0,0,.2,1);
  --dur-fast:      120ms;
  --dur-base:      240ms;
  --dur-slow:      480ms;

  /* Legacy aliases (innerhalb dieses Files weiterverwendet) */
  --bg:       var(--c-paper);
  --ink:      var(--c-ink);
  --ink-soft: var(--c-mute);
  --red:      var(--c-accent);
  --red-bright: var(--c-accent-hi);
  --line:     var(--c-ink);
  --line-soft: var(--c-edge);
  --paper:    var(--c-pure);
  --black:    var(--c-ink);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--f-sans);
  background: var(--c-paper);
  color: var(--c-ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

/* ---------- BANNER ---------- */
.banner-bar {
  background: var(--c-ink);
  color: var(--c-paper);
  padding: 10px 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}
.banner-bar a {
  color: var(--c-paper);
  margin-left: 16px;
  text-decoration: none;
  opacity: .7;
  transition: opacity var(--dur-fast) var(--ease-standard);
}
.banner-bar a:hover { opacity: 1; }

/* ---------- LAYOUT ---------- */
.shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
section { border-top: 1px solid var(--c-ink); }
section:first-of-type { border-top: 1px solid var(--c-ink); }

/* Section-Label = Eyebrow nach Brand Guide: ▸ NN — TITLE */
.section-label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 28px;
  font-variant-numeric: tabular-nums;
}
.section-label .num { font-weight: 500; }
.section-label .em-dash { margin: 0 8px; }

/* ---------- HERO ---------- */
.hero { padding: 80px 0 56px; border-top: 0; }
.eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "\25B8";   /* U+25B8 BLACK RIGHT-POINTING SMALL TRIANGLE */
  margin-right: 8px;
  display: inline-block;
}
.eyebrow.is-red { color: var(--c-accent); }
.hero h1 {
  font-family: var(--f-sans);
  font-size: clamp(2.6rem, 5.6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 0 0 32px;
  color: var(--c-ink);
  white-space: pre-line;
  max-width: 16ch;
}
.hero .sub {
  font-size: 1.0625rem;
  color: var(--c-mute);
  margin: 0 0 36px;
  max-width: 60ch;
  font-weight: 400;
}
.hero hr.thin {
  border: 0;
  border-top: 1px solid var(--c-ink);
  margin: 28px 0 14px;
  max-width: 460px;
}
.hero .sub-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin: 0 0 28px;
  max-width: 460px;
  border-bottom: 1px solid var(--c-ink);
  padding-bottom: 8px;
}

/* ---------- BUTTONS (Brand Guide: Default Ink → Hover Heritage 180ms) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.btn-primary {
  background: var(--c-ink);
  color: var(--c-paper);
}
.btn-primary:hover { background: var(--c-accent); color: var(--c-paper); }
.btn-secondary {
  background: var(--c-accent);
  color: var(--c-paper);
}
.btn-secondary:hover { background: var(--c-accent-hi); }
.btn-arrow::after {
  content: "\2192";
  margin-left: 12px;
  font-weight: 400;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cta-row .small-note {
  font-size: 0.875rem;
  color: var(--c-mute);
  margin-left: 6px;
}
.cta-row .small-note a { color: var(--c-ink); text-decoration: underline; }

/* ---------- USECASE STORY ---------- */
.usecase-story { padding: 64px 0 56px; }
.usecase-story h2 {
  font-family: var(--f-sans);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.05;
  margin: 0 0 24px;
}
.usecase-story .row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}
.usecase-story .body p {
  font-size: 1.0rem;
  line-height: 1.55;
  margin: 0 0 14px;
  color: var(--c-ink);
}
.usecase-story .body .pain-bullet,
.usecase-story .body .solution-bullet,
.usecase-story .body .diff-bullet {
  position: relative;
  padding-left: 24px;
}
.usecase-story .body .pain-bullet::before,
.usecase-story .body .solution-bullet::before,
.usecase-story .body .diff-bullet::before {
  content: "\25B8";
  color: var(--c-accent);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
}
.usp-callout {
  background: var(--c-ink);
  color: var(--c-paper);
  padding: 24px 28px;
  font-size: 0.9875rem;
  line-height: 1.5;
  border: 0;
}
.usp-callout strong {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent-hi);
  opacity: 1;
  margin-bottom: 6px;
}

/* ---------- WORKFLOW ---------- */
.workflow-section { padding: 64px 0; }
.workflow-section h2 {
  font-family: var(--f-sans);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.05;
  margin: 0 0 12px;
}
.workflow-section .sub {
  color: var(--c-mute);
  font-size: 1rem;
  margin: 0 0 36px;
  max-width: 70ch;
}
.workflow-canvas {
  border: 1px solid var(--c-ink);
  background: var(--c-pure);
  padding: 36px 28px;
  overflow: hidden;
}
.workflow-canvas svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- ROI + PRICING ---------- */
.roi-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--c-ink);
  border-bottom: 1px solid var(--c-ink);
}
.roi-cell { padding: 36px 28px; }
.roi-cell:first-child { border-right: 1px solid var(--c-ink); }
.roi-cell .num {
  font-family: var(--f-sans);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  line-height: 1;
  margin-bottom: 10px;
}
.roi-cell .label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin: 0 0 6px;
}
.roi-cell .body { color: var(--c-mute); font-size: 0.9875rem; }

.pricing-section { padding: 56px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.pricing-grid--single { grid-template-columns: minmax(0, 540px); }
.pricing-card {
  border: 1px solid var(--c-ink);
  padding: 28px;
  background: transparent;
}
.pricing-card .label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--c-accent);
}
.pricing-card .amount {
  font-family: var(--f-sans);
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
.pricing-card .card-note {
  font-size: 0.875rem;
  color: var(--c-mute);
  margin: 14px 0 0;
  line-height: 1.45;
}
.pricing-statement {
  border-bottom: 1px solid var(--c-ink);
  border-top: 1px solid var(--c-ink);
  padding: 14px 0;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink);
}

/* ---------- CTA SECTION ---------- */
.cta-section { padding: 56px 0; }
.cta-section h2 {
  font-family: var(--f-sans);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.05;
  margin: 0 0 32px;
}
.cta-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--c-ink);
}
.cta-card {
  padding: 32px;
  background: var(--c-ink);
  color: var(--c-paper);
}
.cta-card + .cta-card { border-left: 1px solid rgba(244, 241, 234, 0.1); }
.cta-card .label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--c-accent-hi);
}
.cta-card .head {
  font-family: var(--f-sans);
  font-size: clamp(1.2rem, 2vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.cta-card .head a { color: var(--c-paper); text-decoration: none; }
.cta-card .head .arrow { margin-left: 8px; font-weight: 400; }
.cta-card .body { font-size: 0.9375rem; opacity: 0.85; margin: 0; }

/* ---------- FOOTER ---------- */
footer {
  background: var(--c-ink);
  color: var(--c-paper);
  padding: 36px 0 28px;
  font-size: 0.875rem;
}
footer .shell { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
footer .label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--c-accent-hi);
}
footer a { color: var(--c-paper); text-decoration: underline; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 760px) {
  .shell { padding: 0 20px; }
  .usecase-story .row { grid-template-columns: 1fr; gap: 28px; }
  .roi-block { grid-template-columns: 1fr; }
  .roi-cell:first-child { border-right: 0; border-bottom: 1px solid var(--c-ink); }
  .pricing-grid { grid-template-columns: 1fr; }
  .cta-cards { grid-template-columns: 1fr; }
  .cta-card + .cta-card { border-left: 0; border-top: 1px solid rgba(244, 241, 234, 0.1); }
  footer .shell { flex-direction: column; }
}
