/* ============================================================================
   ZeroThought — site.css
   Seitenspezifische Styles für zerothought.net, aufbauend auf zerothought.css
   (Tokens + Komponenten). Reihenfolge: fonts.css → zerothought.css → site.css
   ========================================================================== */

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--zt-font-body);
  font-size: 16px;
}

::selection { background: var(--zt-lacquer-tint); color: var(--zt-ink); }

/* ------------------------------------------------ Intro (Puls-Punkt) ----- */
/* Die ursprüngliche Platzhalter-Seite als Auftakt: 500 ms Punkt auf Paper,
   dann Überblendung zur Seite. Nur mit JS sichtbar (sonst nie im Weg). */
#intro {
  display: none;
  position: fixed; inset: 0; z-index: 100;
  background: var(--zt-paper);
  align-items: center; justify-content: center;
  transition: opacity 400ms var(--zt-ease), visibility 0s 400ms;
}
.js #intro { display: flex; }
#intro.done { opacity: 0; visibility: hidden; pointer-events: none; }
#intro .intro-dot {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--zt-lacquer);
  animation: zt-soft-pulse var(--zt-dur-heartbeat) cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes zt-soft-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.14); }
}

/* ---------------------------------------------------------------- Header -- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: var(--zt-border);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.monogram {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex: none;
  background: var(--zt-ink); color: var(--zt-paper);
  font-family: var(--zt-font-sans); font-weight: 900;
  font-size: 19px; letter-spacing: -0.06em; text-indent: -0.06em;
  transition: background var(--zt-dur-micro) var(--zt-ease);
}
.brand:hover .monogram { background: var(--zt-lacquer); }
.brand-name {
  display: inline-flex; align-items: baseline;
  font-family: var(--zt-font-sans); font-weight: 900; font-size: 19px;
  letter-spacing: var(--zt-track-tight); color: var(--zt-ink);
  white-space: nowrap;
}
.brand-name .zt-dot { margin: 0 2px; }
.site-nav { display: flex; gap: 24px; align-items: center; }
@media (max-width: 820px) {
  .site-nav { gap: 16px; }
  .site-nav .zt-nav-link { display: none; }
}

/* ------------------------------------------------- Scroll-Reveal (Motion) -- */
/* Nur mit JS aktiv (html.js), Dauer/Easing aus den Motion-Tokens.
   prefers-reduced-motion wird global im Reset von zerothought.css entschärft. */
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity var(--zt-dur-entrance) var(--zt-ease),
              transform var(--zt-dur-entrance) var(--zt-ease);
}
.js .reveal.d1 { transition-delay: 90ms; }
.js .reveal.d2 { transition-delay: 180ms; }
.js .reveal.d3 { transition-delay: 270ms; }
.js .reveal.d4 { transition-delay: 360ms; }
.js .reveal.d5 { transition-delay: 450ms; }
.js .reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------- Sektionen -- */
.sec { padding-block: clamp(72px, 10vw, 140px); }
.sec--chalk { background: var(--zt-chalk); }
.sec--dark  { background: var(--zt-graphite); color: var(--zt-paper); }

/* Editorial-Raster: schmale, sticky Randspalte + Inhaltsspalte */
.sec-grid {
  display: grid; grid-template-columns: 190px 1fr;
  gap: 40px clamp(36px, 5vw, 80px);
  align-items: start;
}
.sec-side { position: sticky; top: 100px; }
.sec-side .rule-lacquer {
  width: 44px; height: 3px; background: var(--zt-lacquer); margin-bottom: 18px;
}
@media (max-width: 900px) {
  .sec-grid { grid-template-columns: 1fr; gap: 28px; }
  .sec-side { position: static; }
}

.kicker {
  font-family: var(--zt-font-mono); font-size: 11px;
  letter-spacing: var(--zt-track-mono); text-transform: uppercase;
  color: var(--zt-lacquer);
}
.sec h2 {
  font-family: var(--zt-font-sans); font-weight: 800;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.08; letter-spacing: var(--zt-track-snug);
  max-width: 820px; margin-bottom: 22px;
}
.sec h2 em { font-style: normal; color: var(--zt-lacquer); }
.sec .lead {
  font-size: clamp(16px, 2vw, 19px); line-height: 1.6;
  color: var(--zt-slate); max-width: 720px; font-weight: 500;
  margin-bottom: 44px;
}
.sec--dark .lead { color: var(--zt-bone); }

/* ------------------------------------------------------------------ Hero -- */
.hero { padding-block: clamp(96px, 13vw, 180px); }
.hero h1 {
  font-family: var(--zt-font-sans); font-weight: 900;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02; letter-spacing: var(--zt-track-tight);
  color: var(--zt-paper); max-width: 980px;
  margin-bottom: 28px;
}
.hero .lead {
  font-size: clamp(16px, 2.2vw, 20px); line-height: 1.6;
  color: var(--zt-bone); max-width: 720px; font-weight: 500;
  margin-bottom: 44px;
}
.hero .lead strong { color: var(--zt-paper); }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .status {
  margin-top: 60px; padding-top: 20px;
  border-top: 1px solid rgba(250, 250, 247, 0.18);
  display: flex; align-items: center; gap: 14px;
  font-family: var(--zt-font-mono); font-size: 10px;
  letter-spacing: var(--zt-track-mono); text-transform: uppercase;
  color: var(--zt-stone);
}

/* Ghost-Button auf dunklem Grund */
.zt-btn-ghost--dark { background: transparent; color: var(--zt-paper);
  border: 1px solid rgba(250, 250, 247, 0.35); }
.zt-btn-ghost--dark:hover { background: var(--zt-paper); color: var(--zt-ink);
  border-color: var(--zt-paper); }

/* ----------------------------------------------------------------- Grids -- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid--2 { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- Cards -- */
.card {
  border: var(--zt-border); background: var(--zt-paper);
  padding: 26px 26px 22px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform 250ms var(--zt-ease),
              border-color 250ms var(--zt-ease),
              box-shadow 250ms var(--zt-ease);
}
.card::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--zt-lacquer); transform: scaleX(0); transform-origin: left;
  transition: transform 450ms var(--zt-ease);
}
.card:hover {
  transform: translateY(-3px); border-color: var(--zt-ink);
  box-shadow: var(--zt-shadow-card);
}
.card:hover::after { transform: scaleX(1); }
.card--top-ink { border-top: 3px solid var(--zt-ink); }
.card--top-lacquer { border-top: 3px solid var(--zt-lacquer); }
.card .num {
  font-family: var(--zt-font-mono); font-size: 11px;
  letter-spacing: var(--zt-track-mono); text-transform: uppercase;
  color: var(--zt-lacquer); margin-bottom: 14px;
}
.card h3 {
  font-family: var(--zt-font-sans); font-weight: 700;
  font-size: 20px; letter-spacing: var(--zt-track-snug);
  line-height: 1.22; margin-bottom: 10px;
  transition: color 250ms var(--zt-ease);
}
.card:hover h3 { color: var(--zt-lacquer); }
.card p { font-size: 14.5px; line-height: 1.58; color: var(--zt-slate); }
.card .anchor {
  margin-top: auto; padding-top: 16px;
  font-family: var(--zt-font-mono); font-size: 9.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--zt-stone);
}

/* ------------------------------------------- Problem · Fragen als Zeilen -- */
.q-list { border-top: 2px solid var(--zt-ink); }
.q-row {
  display: grid; grid-template-columns: 72px 1fr 240px;
  gap: 8px 36px; align-items: baseline;
  padding: 30px 0; border-bottom: var(--zt-border);
}
.q-row .qn {
  font-family: var(--zt-font-mono); font-size: 12px;
  letter-spacing: var(--zt-track-mono); color: var(--zt-lacquer);
}
.q-row h3 {
  font-family: var(--zt-font-sans); font-weight: 700;
  font-size: clamp(19px, 2.4vw, 23px); letter-spacing: var(--zt-track-snug);
  line-height: 1.2;
  transition: color var(--zt-dur-micro) var(--zt-ease);
}
.q-row:hover h3 { color: var(--zt-lacquer); }
.q-row p {
  grid-column: 2; font-size: 15px; line-height: 1.6;
  color: var(--zt-slate); max-width: 560px; margin-top: 6px;
}
.q-row .anchor {
  grid-column: 3; grid-row: 1 / span 2; align-self: start;
  font-family: var(--zt-font-mono); font-size: 9.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--zt-stone); text-align: right; line-height: 1.7;
}
@media (max-width: 760px) {
  .q-row { grid-template-columns: 1fr; gap: 4px; }
  .q-row p { grid-column: 1; }
  .q-row .anchor { grid-column: 1; grid-row: auto; text-align: left; margin-top: 10px; }
}

/* ----------------------------------------------------------------- Stats -- */
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  border-top: 1px solid var(--zt-ink);
  padding-top: 28px; margin-top: 48px;
}
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr; } }
.stat .v {
  font-family: var(--zt-font-sans); font-weight: 900;
  font-size: clamp(44px, 5vw, 60px);
  letter-spacing: var(--zt-track-tight); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .v sup { font-size: 0.45em; font-weight: 700; }
.stat .l { margin-top: 10px; font-size: 13.5px; line-height: 1.5;
  color: var(--zt-slate); max-width: 300px; }
.stat .src { margin-top: 8px; font-family: var(--zt-font-mono); font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--zt-stone); }

/* --------------------------------------------------------------- Insight -- */
.insight {
  background: var(--zt-ink); color: var(--zt-paper);
  padding: 28px 32px; margin-top: 40px;
  font-family: var(--zt-font-sans); font-weight: 700;
  font-size: clamp(17px, 2.2vw, 21px);
  letter-spacing: var(--zt-track-snug); line-height: 1.4;
}
.insight .mark { color: #E88A83; }

/* ------------------------------------------------------------- Lifecycle -- */
.lifecycle-label {
  font-family: var(--zt-font-mono); font-size: 11px;
  letter-spacing: var(--zt-track-mono); text-transform: uppercase;
  color: var(--zt-stone); margin: 48px 0 16px;
}
.lifecycle { display: flex; align-items: stretch; }
.lifecycle .step {
  flex: 1; padding: 14px 14px 0 0;
  border-top: 3px solid var(--zt-bone);
  transition: border-color var(--zt-dur-micro) var(--zt-ease);
}
.lifecycle .step.hot { border-top-color: var(--zt-lacquer); }
.lifecycle .step:hover { border-top-color: var(--zt-ink); }
.lifecycle .step.hot:hover { border-top-color: var(--zt-lacquer-dark); }
.lifecycle .step .n {
  font-family: var(--zt-font-mono); font-size: 10px;
  letter-spacing: var(--zt-track-mono); color: var(--zt-stone);
  display: block; margin-bottom: 8px;
}
.lifecycle .step .t {
  font-family: var(--zt-font-sans); font-weight: 700;
  font-size: 14px; letter-spacing: var(--zt-track-snug); line-height: 1.25;
}
@media (max-width: 860px) {
  .lifecycle { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }
  .lifecycle .step { padding-right: 0; }
}

/* ------------------------------------------------------------------ Team -- */
.founder { border-top: 3px solid var(--zt-ink); padding-top: 22px; }
.founder .fn {
  font-family: var(--zt-font-sans); font-weight: 900;
  font-size: clamp(24px, 3vw, 30px); letter-spacing: var(--zt-track-tight);
}
.founder .fr {
  font-family: var(--zt-font-mono); font-size: 10.5px;
  letter-spacing: var(--zt-track-mono); text-transform: uppercase;
  color: var(--zt-lacquer); margin-top: 8px; margin-bottom: 12px;
}
.founder p { font-size: 14.5px; line-height: 1.58; color: var(--zt-slate); max-width: 420px; }

/* --------------------------------------------------------------- Kontakt -- */
.contact-mail {
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid rgba(250, 250, 247, 0.18);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.contact-mail a {
  font-family: var(--zt-font-mono); font-size: 14px;
  letter-spacing: 0.06em; color: var(--zt-paper);
  border-bottom: 1.5px solid var(--zt-lacquer);
  padding-bottom: 2px;
  transition: color var(--zt-dur-micro) var(--zt-ease);
}
.contact-mail a:hover { color: #E88A83; }

/* ---------------------------------------------------------------- Footer -- */
.site-footer { border-top: var(--zt-border); padding-block: 36px; }
.site-footer .row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
/* Versetzte (gestapelte) Wortmarke — Original-Asset zt-wordmark-stack */
.brand--stack img { display: block; height: 44px; width: auto; }
.site-footer .legal {
  display: flex; gap: 22px; align-items: center;
  font-size: 13px; color: var(--zt-slate);
}
.site-footer .legal a { border-bottom: 1px solid var(--zt-bone);
  transition: color var(--zt-dur-micro) var(--zt-ease),
              border-color var(--zt-dur-micro) var(--zt-ease); }
.site-footer .legal a:hover { color: var(--zt-lacquer); border-color: var(--zt-lacquer); }
.site-footer .copy { font-family: var(--zt-font-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--zt-stone); }

/* ---------------------------------------------------- Unterseiten (Recht) -- */
.legal-page { max-width: 720px; padding-block: clamp(56px, 8vw, 96px); }
.legal-page h1 {
  font-family: var(--zt-font-sans); font-weight: 800;
  font-size: clamp(30px, 4vw, 42px); letter-spacing: var(--zt-track-snug);
  margin-bottom: 40px;
}
.legal-page h2 {
  font-family: var(--zt-font-sans); font-weight: 700; font-size: 19px;
  letter-spacing: var(--zt-track-snug); margin: 36px 0 10px;
}
.legal-page p, .legal-page li {
  font-size: 15px; line-height: 1.65; color: var(--zt-slate);
  margin-bottom: 10px;
}
.legal-page ul { padding-left: 20px; margin-bottom: 10px; }
.legal-page strong { color: var(--zt-ink); }

/* ------------------------------------------------------------------- 404 -- */
.page-404 {
  min-height: calc(100vh - 64px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 18px; padding: 40px 20px;
}
.page-404 .code {
  font-family: var(--zt-font-mono); font-size: 12px;
  letter-spacing: var(--zt-track-mono); color: var(--zt-stone);
}
.page-404 h1 {
  font-family: var(--zt-font-sans); font-weight: 900;
  font-size: clamp(32px, 5vw, 52px); letter-spacing: var(--zt-track-tight);
}
