/* TerminReif — Website. Ruhig drinnen: kein Signalrot auf dieser Domain. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/archivo.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/ibm-plex-sans.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono.woff2") format("woff2");
}

:root {
  --kontorblau: #0B2B45;
  --kreide: #F6F8F7;
  --reifgruen: #21C063;
  --tiefgruen: #0C5132;
  --graphit: #3A4754;
  --graphit-60: #78828B;
  --line: #DFE5E3;
  --signalrot: #E3000F;
  --display: "Archivo", sans-serif;
  --body: "IBM Plex Sans", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--kreide);
  color: var(--graphit);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

a { color: var(--tiefgruen); }

/* ---------- header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 36px; height: 36px; }
.brand .wm { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--kontorblau); }
.site-header nav { display: flex; align-items: center; gap: 26px; }
.site-header nav a { font-size: 15px; font-weight: 500; color: var(--graphit); text-decoration: none; }
.site-header nav a:hover { color: var(--kontorblau); }

.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--body); font-weight: 600; font-size: 16px;
  padding: 13px 26px; border-radius: 10px; border: 0;
}
.btn-primary { background: var(--reifgruen); color: #fff; }
.btn-primary:hover { background: #1CAB58; }
.btn-ghost { background: transparent; color: var(--kontorblau); border: 1.5px solid var(--kontorblau); }
.btn-ghost:hover { background: rgba(11, 43, 69, 0.06); }
.site-header .btn { padding: 10px 20px; font-size: 15px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  inset: -120px calc(50% - 50vw) 0;
  background:
    linear-gradient(90deg, rgba(246,248,247,0.97) 0%, rgba(246,248,247,0.9) 45%, rgba(246,248,247,0.62) 100%),
    url("img/hero-house.webp") center / cover no-repeat;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 72px); align-items: center;
}
.kicker {
  font-family: var(--mono); font-weight: 500; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--tiefgruen);
  margin-bottom: 18px;
}
h1 {
  font-family: var(--display); font-weight: 700; color: var(--kontorblau);
  font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -0.01em;
  margin-bottom: 22px;
}
h1 .hl { color: var(--reifgruen); }
.hero p.lead { font-size: 19px; max-width: 46ch; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* chat mockup */
.chat {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 22px; box-shadow: 0 12px 40px rgba(11, 43, 69, 0.08);
}
.chat .msg {
  max-width: 88%; padding: 10px 14px; border-radius: 12px;
  font-size: 14.5px; line-height: 1.45; margin-bottom: 10px;
}
.chat .in  { background: #EEF2F0; color: var(--graphit); border-top-left-radius: 4px; }
.chat .out { background: #DFF6E9; color: var(--kontorblau); margin-left: auto; border-top-right-radius: 4px; }
.status {
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 8px; margin-top: 8px;
}
.status.pending { background: #EEF2F0; color: var(--graphit-60); }
.status.ready   { background: rgba(33, 192, 99, 0.12); color: var(--tiefgruen); }
.status .ticks { letter-spacing: -0.05em; }
.status.ready .ticks { color: var(--reifgruen); }

/* ---------- sections ---------- */
section { padding: clamp(40px, 6vw, 72px) 0; }
.section-label {
  font-family: var(--mono); font-weight: 500; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--graphit);
  border-top: 2px solid var(--kontorblau); padding-top: 12px; margin-bottom: 34px;
}
h2 {
  font-family: var(--display); font-weight: 700; color: var(--kontorblau);
  font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; margin-bottom: 18px;
}

.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px;
}
.card .step {
  font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--tiefgruen);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px;
}
.card h3 {
  font-family: var(--display); font-weight: 600; font-size: 20px;
  color: var(--kontorblau); margin-bottom: 10px;
}
.card p { font-size: 15.5px; }

/* visual step cards */
.step-card { text-align: left; }
.step-card .icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--kreide); display: grid; place-items: center; margin-bottom: 16px;
}
.step-card .icon svg { width: 36px; height: 36px; }
.step-card p:last-child { color: var(--graphit-60); }

/* big figure 27 -> 4 */
.big-figure { text-align: left; }
.figure-row { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 28px); }
.figure-row .n-in, .figure-row .n-out {
  font-family: var(--display); font-weight: 700; line-height: 1;
  font-size: clamp(84px, 12vw, 150px); letter-spacing: -0.03em;
}
.figure-row .n-in { color: var(--graphit-60); }
.figure-row .n-out { color: var(--reifgruen); }
.figure-row .arrow { width: clamp(48px, 6vw, 76px); flex: none; }
.figure-caption {
  margin-top: 18px; font-size: 18px; color: var(--graphit);
  font-family: var(--display); font-weight: 600; line-height: 1.4;
}

.cta-band h2 { margin-bottom: 26px; }

/* exposé strip (hero chat) */
.expose {
  display: flex; align-items: center; gap: 12px;
  background: var(--kreide); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 12px; margin-bottom: 16px;
}
.expose .thumb {
  width: 44px; height: 44px; flex: none; border-radius: 8px;
  background: #DFF6E9; display: grid; place-items: center;
}
.expose .thumb svg { width: 34px; height: 34px; }
.expose .ex-info { display: flex; flex-direction: column; min-width: 0; }
.expose .ex-info strong {
  font-family: var(--display); font-weight: 600; font-size: 14.5px;
  color: var(--kontorblau); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.expose .ex-info span { font-size: 12.5px; color: var(--graphit-60); }
.expose .ex-badge {
  margin-left: auto; flex: none;
  font-family: var(--mono); font-weight: 500; font-size: 11.5px;
  background: var(--kontorblau); color: #fff;
  padding: 5px 10px; border-radius: 999px;
}

/* posteingang widget */
.inbox-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 56px); align-items: center;
}
.lead-copy { font-size: 17.5px; max-width: 44ch; }
.inbox {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 18px 18px 14px; box-shadow: 0 12px 40px rgba(11, 43, 69, 0.08);
}
.inbox-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font-family: var(--mono); font-weight: 500; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--graphit-60);
  border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 6px;
}
.inbox-head .time { text-transform: none; letter-spacing: 0; }
.lead-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 4px; border-bottom: 1px solid var(--line);
}
.lead-row:last-of-type { border-bottom: 0; }
.lead-row .avatar {
  width: 36px; height: 36px; flex: none; border-radius: 50%;
  background: var(--kontorblau); color: #fff;
  font-family: var(--display); font-weight: 600; font-size: 13px;
  display: grid; place-items: center;
}
.lead-row.dim .avatar { background: #C6CDD0; }
.lead-row .lead-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.lead-row .lead-info strong { font-size: 15px; color: var(--kontorblau); }
.lead-row .lead-info em {
  font-style: normal; font-size: 13px; color: var(--graphit-60);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lead-row .status { margin-top: 0; flex: none; }
.lead-row.dim .lead-info strong { color: var(--graphit-60); }
.inbox-more {
  font-family: var(--mono); font-weight: 500; font-size: 11.5px;
  color: var(--graphit-60); text-align: center; padding: 12px 0 4px;
}

/* pain accents — Rot markiert das Problem, die Lösung antwortet in Grün */
.mini-chat.pain .in {
  border-left: 3px solid var(--signalrot);
  border-top-left-radius: 4px;
}
.mini-chat.pain .mini-foot { color: var(--signalrot); }

/* mit-terminreif comparison */
.vs-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 56px); align-items: center;
  margin-top: clamp(32px, 5vw, 56px);
}
.mini-chat.solution { border: 1.5px solid var(--reifgruen); box-shadow: 0 12px 40px rgba(33, 192, 99, 0.12); }
.mini-chat.solution .mini-head .with { color: var(--tiefgruen); }
.mini-foot.solved { color: var(--tiefgruen); }
.vs-copy h2 { margin-bottom: 24px; }
.vs-copy .hl { color: var(--reifgruen); }
.vs-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.vs-list li { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.vs-list .status { margin-top: 0; flex: none; }

/* quotes as mini chat windows */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mini-chat {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 8px 28px rgba(11, 43, 69, 0.06);
}
.mini-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font-family: var(--mono); font-weight: 500; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--graphit-60);
  border-bottom: 1px solid var(--line); padding-bottom: 10px;
}
.mini-head .time { text-transform: none; letter-spacing: 0; }
.mini-chat .msg {
  max-width: 90%; padding: 9px 13px; border-radius: 12px;
  font-size: 14.5px; line-height: 1.45;
}
.mini-chat .out {
  background: #DFF6E9; color: var(--kontorblau);
  align-self: flex-end; border-top-right-radius: 4px;
}
.mini-chat .in {
  background: #EEF2F0; align-self: flex-start; border-top-left-radius: 4px;
  font-family: var(--display); font-weight: 600; font-size: 16.5px;
  color: var(--kontorblau);
}
.mini-foot {
  font-family: var(--mono); font-weight: 500; font-size: 11.5px;
  color: var(--graphit-60); margin-top: 4px;
}
.mini-foot .ticks { letter-spacing: -0.05em; }

.cta-band .fineprint a { color: rgba(246, 248, 247, 0.8); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(rgba(11,43,69,0.9), rgba(11,43,69,0.94)),
    url("img/cta-house.webp") center / cover no-repeat;
  border-radius: 20px;
  padding: clamp(36px, 5vw, 60px); text-align: center; color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(246, 248, 247, 0.82); max-width: 52ch; margin: 0 auto 28px; }
.cta-band .status.ready { background: rgba(33, 192, 99, 0.16); color: #A7EBC6; }
.cta-band .fineprint { font-size: 13.5px; color: rgba(246, 248, 247, 0.6); margin-top: 18px; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 72px);
  padding: 28px 0 40px; font-size: 14px; color: var(--graphit-60);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { color: var(--graphit); text-decoration: none; }
.site-footer a:hover { color: var(--kontorblau); text-decoration: underline; }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; padding: clamp(32px, 5vw, 56px) 0 40px; }
.legal h1 { font-size: clamp(28px, 3.6vw, 40px); }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal h3 { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--kontorblau); margin: 26px 0 8px; }
.legal p, .legal li { font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal .updated { font-family: var(--mono); font-size: 12.5px; color: var(--graphit-60); margin-bottom: 32px; }
.placeholder { background: #FFF3CD; padding: 1px 5px; border-radius: 4px; }

.legal .tablewrap { overflow-x: auto; margin: 0 0 18px; }
.legal table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14.5px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); }
.legal th { font-family: var(--mono); font-weight: 500; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--graphit-60); }
.legal td p, .legal td li { font-size: 14.5px; margin-bottom: 0; }

.legal .callout {
  border-left: 3px solid var(--tiefgruen); background: #F4F8F5;
  padding: 16px 18px; margin: 20px 0; border-radius: 0 6px 6px 0;
}
.legal .callout p:last-child { margin-bottom: 0; }
.legal .toc { font-size: 15px; }
.legal .toc li { margin-bottom: 6px; }

@media (max-width: 820px) {
  .hero-grid, .cols-3, .quotes, .inbox-grid, .vs-grid { grid-template-columns: 1fr; }
  .site-header nav a.navlink { display: none; }
}
