/* Home: split thesis + four plates. Tokens live in base.css. */

:root { --maxw: 1080px; }
html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
h1, h2, h3 { margin: 0; text-wrap: balance; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 36px 48px;
  align-items: end;
  padding: 56px 0 40px;
}
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ion);
  margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(46px, 7.2vw, 88px);
  letter-spacing: -0.042em;
  line-height: 0.94;
  max-width: 8.4ch;
}
.hero-copy {
  border-left: 3px solid var(--ion);
  padding: 8px 0 8px 28px;
}
.lead {
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.4;
  max-width: 28ch;
  margin: 0 0 28px;
  color: color-mix(in srgb, var(--fg) 86%, var(--muted));
}
.hero-actions {
  display: flex;
  gap: 14px 20px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-copy .hero-actions {
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: nowrap;
}
.pill { white-space: nowrap; }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-mark { animation: rise 0.62s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero-copy { animation: rise 0.62s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both; }
}

.how {
  padding: 8px 0 28px;
  color: var(--muted);
  font-size: 16px;
  max-width: 52ch;
  line-height: 1.45;
}

.decide { padding: 8px 0 48px; }
.decide-hint {
  color: var(--muted);
  font-size: 16px;
  max-width: 46ch;
  margin: 10px 0 22px;
}
.decide h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.035em;
}
.decide-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 24px 24px 24px 32px;
}
.decide-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--ion);
}
.decide[data-state="yes"] .decide-card::before { background: var(--ok); }
.decide[data-state="no"] .decide-card::before { background: var(--hi); }
.decide-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ion);
  margin: 0 0 8px;
}
.decide-brief {
  font-size: 17px;
  line-height: 1.45;
  max-width: 46ch;
  margin: 0 0 22px;
}
.decide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}
.decide-actions .pill,
.cta button.pill {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.decide-actions .pill[aria-pressed="true"] { opacity: 1; }
.decide-out {
  margin: 18px 0 0;
  font-size: 16px;
  max-width: 46ch;
  line-height: 1.4;
}
.decide-out[data-state="yes"] { color: var(--ok); }
.decide-out[data-state="no"] { color: var(--hi); }

#vorteile { padding: 0 0 8px; }
.board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.plate {
  position: relative;
  background: var(--card);
  padding: 28px 28px 32px 32px;
}
.plate::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--ion);
}
.plate h2 {
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 10px;
}
.plate p {
  color: var(--muted);
  font-size: 16px;
  max-width: 34ch;
  line-height: 1.5;
}

.receipt {
  margin-top: 28px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
}
.receipt h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin: 0 0 20px;
}
.receipt-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.receipt-list li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 12px 28px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.receipt-list span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ion);
}
.receipt-list p {
  font-size: 17px;
  line-height: 1.4;
}
.receipt-note {
  margin-top: 16px;
  color: var(--faint);
  font-size: 14px;
  max-width: 46ch;
}

.cta { padding: 72px 0 104px; }
.cta h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 5.2vw, 52px);
  letter-spacing: -0.038em;
  margin-bottom: 28px;
  max-width: 11ch;
  line-height: 1.02;
}

.brief-form {
  display: grid;
  gap: 18px;
  max-width: 36rem;
  margin: 0 0 14px;
}
.brief-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}
.brief-form input,
.brief-form textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  color: var(--fg);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 12px;
  line-height: 1.4;
}
.brief-form textarea { resize: vertical; min-height: 5.5rem; }
.brief-form input:focus,
.brief-form textarea:focus {
  outline: 2px solid var(--ion);
  outline-offset: 2px;
  border-color: var(--ion);
}
.form-err {
  color: var(--hi);
  font-size: 14px;
  margin: 0;
}
.form-note {
  color: var(--faint);
  font-size: 14px;
  max-width: 42ch;
}
.cta .hero-actions { margin-top: 4px; }
.cta button.pill { cursor: pointer; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}
.foot-inner, .foot-inner a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--faint);
}
.foot-inner a:hover { color: var(--fg); }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 780px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 32px 0 24px;
    align-items: start;
  }
  .hero h1 {
    font-size: clamp(40px, 12vw, 64px);
    line-height: 0.98;
    max-width: 9ch;
  }
  .hero-copy {
    border-left: none;
    border-top: 3px solid var(--ion);
    padding: 20px 0 0;
  }
  .hero-copy .hero-actions { flex-wrap: nowrap; }
  .board { grid-template-columns: 1fr; }
  .plate { padding: 22px 22px 26px 26px; }
  .cta h2 { line-height: 1.08; }
  .receipt-list li { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
}
