/* ==========================================================================
   BETTERAI.STUDIO  v2.1
   Ink-dominant: Papier-Text auf Tinte, helle Interludien (.lite) als Rhythmus.
   Ein Ultramarin-Akzent. Clash Display + Instrument Serif + Space Mono + Satoshi.
   Semantische Farb-Variablen: --bg / --fg / --fg-55 / --fg-15 / --acc.
   ========================================================================== */

/* ---- Fonts (self-hosted) ---- */
@font-face {
  font-family: 'Clash Display';
  src: url('../fonts/clash-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Clash Display';
  src: url('../fonts/clash-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/satoshi-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/satoshi-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('../fonts/spacemono-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  --paper: #EDEAE3;
  --ink: #141411;
  --blue: #1B29FF;
  --blue-soft: #7C88FF;

  /* semantic (default = ink theme: paper on ink) */
  --bg: var(--ink);
  --fg: var(--paper);
  --fg-55: rgba(237, 234, 227, 0.62);
  --fg-15: rgba(237, 234, 227, 0.18);
  --acc: var(--blue-soft);

  --display: 'Clash Display', 'Arial Narrow', Impact, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'Space Mono', 'Courier New', monospace;
  --body: 'Satoshi', -apple-system, system-ui, sans-serif;
  --gutter: clamp(20px, 3.4vw, 56px);
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

.lite {
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-55: rgba(20, 20, 17, 0.6);
  --fg-15: rgba(20, 20, 17, 0.18);
  --acc: var(--blue);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-padding-top: 90px; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

body {
  background: var(--ink);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

section.lite, .lite { background: var(--bg); color: var(--fg); }

::selection { background: var(--blue); color: #FFFFFF; }

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

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
}

/* grain */
body::before {
  content: '';
  position: fixed;
  inset: -50%;
  z-index: 80;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.07;
  mix-blend-mode: overlay;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 300;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  padding: 10px 16px;
  text-decoration: none;
}
.skip-link:focus { left: 10px; }

/* ---- Type utilities ---- */
.mono {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.55;
}
.mono-sm { font-size: 11.5px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; }
em, i { font-weight: 400; }

/* ---- Grid scaffold ---- */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(12px, 1.6vw, 24px);
}

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--fg);
  margin-bottom: clamp(36px, 6vh, 72px);
}
.sec-head .num { color: var(--acc); }
.sec-head .label { flex: 1; }
.sec-head .hint { color: var(--fg-55); }

section { padding: clamp(80px, 13vh, 160px) 0 clamp(70px, 11vh, 140px); }

/* ---- Preloader ---- */
.preloader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--ink);
  color: var(--paper);
  align-items: flex-end;
  justify-content: space-between;
  padding: var(--gutter);
}
html.js.loading .preloader { display: flex; }
.preloader .pct {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(60px, 12vw, 160px);
  line-height: 0.9;
}
.preloader .pl-brand { padding-bottom: 10px; }
html.js .preloader.done { transition: transform 0.7s var(--ease-out); transform: translateY(-101%); }

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  mix-blend-mode: difference;
  color: #FFFFFF;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px var(--gutter);
}
.site-header a { color: #FFFFFF; text-decoration: none; }
.wordmark { font-family: var(--mono); font-size: 13.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.wordmark sup { font-size: 8px; vertical-align: super; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.site-nav a {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.lang-switch b { font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }

/* ---- Hero (ink) ---- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: 108px;
  padding-bottom: 30px;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--fg-55);
  margin-bottom: auto;
}
.hero-h1 {
  font-size: clamp(60px, 12.5vw, 220px);
  line-height: 0.94;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--fg);
  margin-top: clamp(28px, 4vh, 56px);
}
.hero-h1 > span { display: block; }
.hero-h1 .l2 { margin-left: clamp(40px, 12vw, 240px); }
.hero-h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  font-size: 0.94em;
  letter-spacing: 0;
  color: var(--acc);
}
.hero-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  align-items: end;
  margin-top: clamp(30px, 6vh, 70px);
}
.hero-lead {
  grid-column: 1 / 7;
  font-size: 18px;
  line-height: 1.6;
  max-width: 46ch;
}
.hero-lead strong { font-weight: 500; }
.hero-links {
  grid-column: 8 / 13;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.link-line {
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
  border-bottom: 1px solid var(--fg);
  padding-bottom: 4px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.link-line:hover { color: var(--acc); border-color: var(--acc); }
.link-line.big { font-size: 15px; }

/* ---- Marquee (accent strip) ---- */
.marquee {
  background: var(--blue);
  color: #FFFFFF;
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 3.2em;
}
.marquee .ast { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Statements ---- */
.statement {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 5.6vw, 84px);
  line-height: 1.08;
  max-width: 18ch;
  color: var(--fg);
}

/* ---- 01 Shift (ink) ---- */
.shift-body { margin-top: clamp(36px, 6vh, 72px); }
.shift-body .col-a { grid-column: 6 / 10; }
.shift-body .col-b { grid-column: 10 / 13; color: var(--fg-55); }
.shift-body p { font-size: 17px; max-width: 42ch; }
.shift-body p + p { margin-top: 14px; }
.shift-body strong { font-weight: 500; color: var(--fg); }

.q-list { list-style: none; margin-top: clamp(44px, 7vh, 84px); border-top: 1px solid var(--fg-15); }
.q-list li {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--fg-15);
}
.q-list .num-q { color: var(--acc); }
.q-list .q { font-family: var(--display); font-weight: 500; font-size: clamp(19px, 2.2vw, 27px); }
.q-list .src { color: var(--fg-55); text-align: right; }

/* ---- 02 Difference (lite): chat panels ---- */
.answers {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 1.6vw, 24px);
}
.answer-card { grid-column: 1 / 7; border: 1px solid var(--fg); background: #FFFFFF; display: flex; flex-direction: column; }
.answer-card.cited { grid-column: 7 / 13; transform: translateY(clamp(20px, 5vh, 60px)); border-color: var(--blue); box-shadow: 6px 6px 0 rgba(27, 41, 255, 0.14); }
.answer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  border-bottom: 1px solid var(--fg-15);
  color: var(--fg-55);
}
.answer-card.cited .answer-head { color: var(--blue); border-bottom-color: rgba(27, 41, 255, 0.3); }
.answer-head .dot { width: 8px; height: 8px; background: var(--fg-15); border-radius: 50%; }
.answer-card.cited .answer-head .dot { background: var(--blue); }
.answer-body { padding: 24px 18px; display: flex; flex-direction: column; gap: 18px; flex: 1; }

.msg { display: flex; gap: 12px; align-items: flex-start; }
.msg.user { flex-direction: row-reverse; }
.avatar {
  flex: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 0.04em;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
}
.avatar.ai { border-radius: 0; background: #FFFFFF; color: var(--ink); border: 1px solid var(--ink); }
.answer-card.cited .avatar.ai { border-color: var(--blue); color: var(--blue); }
.bubble {
  font-size: 15px;
  line-height: 1.6;
  padding: 12px 15px;
  max-width: 88%;
}
.msg.user .bubble { background: var(--ink); color: var(--paper); }
.msg.ai .bubble { border: 1px solid var(--fg-15); color: var(--ink); }
.bubble strong { font-weight: 500; }
.bubble .cite {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  background: var(--blue);
  color: #FFFFFF;
  padding: 2px 8px;
  white-space: nowrap;
  transform: translateY(-1px);
}
.sources {
  display: flex;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
  color: var(--fg-55);
  border-top: 1px dashed var(--fg-15);
  padding-top: 14px;
  margin-top: auto;
}
.sources i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11.5px;
  border: 1px solid var(--fg-15);
  padding: 3px 9px;
  color: var(--fg-55);
}
.sources i.hit { border-color: var(--blue); color: var(--blue); }
.answer-verdict {
  border-top: 1px solid var(--fg-15);
  padding: 15px 18px;
  font-size: 15px;
  color: var(--fg-55);
}
.answer-card.cited .answer-verdict { color: var(--ink); }
.demo-note { margin-top: clamp(28px, 6vh, 72px); color: var(--fg-55); font-size: 15px; max-width: 60ch; }

/* ---- 03 Index (ink) ---- */
.index-list { list-style: none; border-top: 1px solid var(--fg); }
.index-row { border-bottom: 1px solid var(--fg); position: relative; }
.index-row-inner {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: clamp(14px, 2vw, 28px);
  align-items: baseline;
  padding: clamp(22px, 4vh, 44px) 8px;
  transition: background-color 0.3s ease, color 0.3s ease, padding-left 0.35s var(--ease-out);
}
.index-row .num { color: var(--acc); }
.index-row h3 {
  font-size: clamp(38px, 6.5vw, 96px);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.index-row .meta { text-align: right; color: var(--fg-55); }
.index-row .desc {
  grid-column: 2 / 4;
  max-width: 56ch;
  font-size: 16px;
  color: var(--fg-55);
  padding-top: 10px;
}
@media (hover: hover) and (pointer: fine) {
  .index-row:hover .index-row-inner { background: var(--paper); color: var(--ink); padding-left: 22px; }
  .index-row:hover .meta, .index-row:hover .desc { color: rgba(20, 20, 17, 0.6); }
  .index-row:hover .num { color: var(--blue); }
}
.index-note { margin-top: 26px; color: var(--fg-55); font-size: 15px; }

/* floating preview (decorative, desktop only) */
.index-preview {
  display: none;
  position: fixed;
  z-index: 90;
  width: 300px;
  height: 210px;
  pointer-events: none;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: var(--paper);
  border: 1px solid var(--ink);
  overflow: hidden;
  color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  html.js .index-preview { display: block; }
}
.index-preview.on { opacity: 1; }
.index-preview .pv { display: none; width: 100%; height: 100%; padding: 18px; }
.index-preview .pv.on { display: block; }
.pv-report .ln { height: 8px; background: rgba(20, 20, 17, 0.18); margin-bottom: 10px; }
.pv-report .ln.w60 { width: 60%; }
.pv-report .ln.w80 { width: 80%; }
.pv-report .ln.w40 { width: 40%; background: var(--blue); }
.pv-report .badge { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; display: block; }
.pv-site { background: var(--ink); color: var(--paper); }
.pv-site .t { font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 0.98; text-transform: uppercase; }
.pv-site .m { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; margin-top: 12px; color: var(--blue-soft); text-transform: uppercase; }
.pv-pulse { display: flex; flex-direction: column; justify-content: space-between; }
.pv-pulse .bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; }
.pv-pulse .bars i { flex: 1; background: rgba(20, 20, 17, 0.18); }
.pv-pulse .bars i:nth-child(1) { height: 25%; }
.pv-pulse .bars i:nth-child(2) { height: 45%; }
.pv-pulse .bars i:nth-child(3) { height: 65%; }
.pv-pulse .bars i:nth-child(4) { height: 100%; background: var(--blue); }
.pv-pulse .m { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---- 04 Proof (lite, mit dunklem Report-Objekt) ---- */
.proof-intro { color: var(--fg-55); font-size: 16.5px; max-width: 54ch; margin-top: 18px; }
.proof-intro a { color: var(--fg); }

.compare-wrap { margin: clamp(40px, 7vh, 80px) 0; }
.compare {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--fg);
  aspect-ratio: 16 / 9.5;
  --pos: 50%;
  touch-action: pan-y;
}
.compare:focus-within { outline: 2px solid var(--acc); outline-offset: 4px; }
.pane { position: absolute; inset: 0; overflow: hidden; }
.pane-after { clip-path: inset(0 0 0 var(--pos)); }
.pane-label {
  position: absolute;
  bottom: 14px;
  z-index: 5;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  pointer-events: none;
}
.pane-before .pane-label { left: 14px; background: #111111; color: #FFFFFF; }
.pane-after .pane-label { right: 14px; background: var(--blue); color: #FFFFFF; }
.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: var(--blue);
  z-index: 6;
  pointer-events: none;
}
.compare-divider::after {
  content: '↔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  background: var(--blue);
  color: #FFFFFF;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare input[type='range'] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 7;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}
.compare-caption { margin-top: 16px; color: var(--fg-55); font-size: 15px; max-width: 62ch; }

/* mock shared */
.mock { width: 100%; height: 100%; display: flex; flex-direction: column; font-family: Arial, Helvetica, sans-serif; }

/* mock: before (überladener Baukasten) */
.mock-before { background: #F4F4F4; color: #333333; }
.mock-before .m-bar {
  background: #FFFFFF;
  color: #444444;
  display: flex;
  align-items: center;
  gap: 3.2%;
  padding: 1.6% 3%;
  font-size: clamp(7px, 0.95vw, 11px);
  border-bottom: 1px solid #DDDDDD;
  white-space: nowrap;
  overflow: hidden;
}
.mock-before .m-bar b { margin-right: auto; color: #C2185B; font-family: Georgia, serif; font-style: italic; font-size: clamp(8px, 1.2vw, 14px); }
.mock-before .m-hero {
  background: linear-gradient(120deg, #5C6BC0, #26A69A 55%, #FFB300);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5%;
  text-align: center;
  padding: 3.5% 4%;
  min-height: 34%;
}
.mock-before .m-hero .m-h1 {
  font-size: clamp(11px, 1.9vw, 24px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.mock-before .m-hero .m-sub { font-size: clamp(7px, 1vw, 12px); opacity: 0.9; }
.mock-before .m-btns { display: flex; gap: 8px; }
.mock-before .m-btns i {
  font-style: normal;
  background: #FF7A00;
  color: #FFFFFF;
  font-weight: 700;
  font-size: clamp(6.5px, 0.9vw, 10px);
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}
.mock-before .m-btns i.ghost { background: transparent; border: 1px solid #FFFFFF; }
.mock-before .m-gal { flex: 1; padding: 2.4% 3%; display: flex; flex-direction: column; gap: 2%; min-height: 0; }
.mock-before .m-gal b { font-size: clamp(8px, 1.2vw, 14px); color: #333333; }
.mock-before .m-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2%; min-height: 0; }
.mock-before .m-grid i {
  border: 2px solid #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.mock-before .m-grid i:nth-child(1) { background: linear-gradient(135deg, #EF5350, #B71C1C); }
.mock-before .m-grid i:nth-child(2) { background: linear-gradient(135deg, #66BB6A, #1B5E20); }
.mock-before .m-grid i:nth-child(3) { background: linear-gradient(135deg, #FFCA28, #E65100); }
.mock-before .m-grid i:nth-child(4) { background: linear-gradient(135deg, #42A5F5, #0D47A1); }
.mock-before .m-grid i:nth-child(5) { background: linear-gradient(135deg, #AB47BC, #4A148C); }
.mock-before .m-grid i:nth-child(6) { background: linear-gradient(135deg, #8D6E63, #3E2723); }
.mock-before .m-foot {
  background: #37474F;
  color: #B0BEC5;
  font-size: clamp(6.5px, 0.85vw, 10px);
  padding: 1.4% 3%;
  text-align: center;
}
.mock-before .m-cookie {
  background: #1B1B1B;
  color: #CCCCCC;
  font-size: clamp(6.5px, 0.9vw, 10px);
  display: flex;
  align-items: center;
  gap: 4%;
  justify-content: space-between;
  padding: 1.8% 3%;
}
.mock-before .m-cookie i {
  background: #4CAF50;
  color: #FFFFFF;
  font-style: normal;
  font-weight: 700;
  padding: 1% 2.6%;
  border-radius: 3px;
  white-space: nowrap;
}

/* mock: after (dicht, redaktionell) */
.mock-after { background: #141411; color: #EDEAE3; padding: 2.6% 3.2%; gap: 2%; }
.mock-after .m-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: clamp(6.5px, 0.85vw, 10px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(237, 234, 227, 0.6);
  border-bottom: 1px solid rgba(237, 234, 227, 0.2);
  padding-bottom: 1.6%;
}
.mock-after .m-main { flex: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 4%; align-items: center; min-height: 0; }
.mock-after .m-h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(18px, 3.4vw, 54px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.mock-after .m-h1 i { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; color: #7C88FF; }
.mock-after .m-p { margin-top: 4%; font-size: clamp(7px, 1vw, 12px); line-height: 1.55; color: rgba(237, 234, 227, 0.7); max-width: 36ch; }
.mock-after .m-cta {
  display: inline-block;
  margin-top: 5%;
  font-family: var(--mono);
  font-size: clamp(6.5px, 0.85vw, 10px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid #EDEAE3;
  padding-bottom: 2px;
}
.mock-after .m-img {
  height: 88%;
  background:
    radial-gradient(120% 100% at 30% 20%, rgba(124, 136, 255, 0.55), transparent 55%),
    linear-gradient(160deg, #3A3A33, #1C1C18);
  border: 1px solid rgba(237, 234, 227, 0.25);
  position: relative;
}
.mock-after .m-img span {
  position: absolute;
  bottom: 6px;
  left: 8px;
  font-family: var(--mono);
  font-size: clamp(6px, 0.75vw, 9px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237, 234, 227, 0.75);
}
.mock-after .m-index { border-top: 1px solid rgba(237, 234, 227, 0.2); }
.mock-after .m-index div {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: clamp(6.5px, 0.85vw, 10px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.5% 0;
  border-bottom: 1px solid rgba(237, 234, 227, 0.14);
}
.mock-after .m-index div span:last-child { color: rgba(237, 234, 227, 0.55); }

/* report: dunkles Objekt auf hellem Grund */
.report { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); margin-top: clamp(30px, 5vh, 56px); }
.report-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(237, 234, 227, 0.3);
}
.report-head .ok { color: var(--blue-soft); }
.report-list { list-style: none; }
.report-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(237, 234, 227, 0.14);
  align-items: baseline;
}
.report-list li:last-child { border-bottom: none; }
.report-list .tick { font-family: var(--mono); color: var(--blue-soft); font-size: 14px; }
.report-list b { display: block; font-weight: 500; font-size: 16.5px; }
.report-list span.d { color: rgba(237, 234, 227, 0.62); font-size: 15px; }
.report-foot { padding: 15px 20px; border-top: 1px solid rgba(237, 234, 227, 0.3); color: rgba(237, 234, 227, 0.62); }
.report-foot a { color: var(--paper); }

/* ---- 05 Studio (ink) ---- */
.studio-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.studio-photo { grid-column: 1 / 6; position: relative; }
.studio-photo img { width: 100%; border: 1px solid var(--fg-15); }
.studio-photo .cap { margin-top: 10px; color: var(--fg-55); }
.studio-text { grid-column: 7 / 13; }
.studio-text .headline {
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  max-width: 15ch;
}
.studio-text .headline em { font-family: var(--serif); font-style: italic; text-transform: none; font-weight: 400; color: var(--acc); }
.studio-text p { font-size: 17px; max-width: 50ch; margin-top: 22px; }
.studio-text p.dim { color: var(--fg-55); }
.cred-list { list-style: none; margin-top: 28px; border-top: 1px solid var(--fg-15); }
.cred-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--fg-15);
  font-size: 16px;
  align-items: baseline;
}
.cred-list .n { color: var(--acc); }
.studio-text .out { margin-top: 26px; }

/* ---- 06 FAQ (lite) ---- */
.faq-list { border-top: 1px solid var(--fg); max-width: 920px; }
.faq-item { border-bottom: 1px solid var(--fg); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 80px 1fr 30px;
  gap: 16px;
  align-items: baseline;
  padding: 22px 4px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .fq {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(19px, 2.2vw, 27px);
  line-height: 1.15;
}
.faq-item summary .fx {
  font-family: var(--mono);
  color: var(--acc);
  font-size: 17px;
  text-align: right;
  transition: transform 0.25s ease;
}
.faq-item[open] summary .fx { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 4px 26px; margin-left: 96px; font-size: 16px; color: var(--fg-55); max-width: 58ch; }
.faq-item .faq-a p + p { margin-top: 10px; }

/* ---- Footer stage (ink) ---- */
.stage {
  background: var(--ink);
  color: var(--paper);
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 26px;
  padding-bottom: 26px;
}
.stage-top { display: flex; justify-content: space-between; gap: 14px; color: var(--fg-55); }
.stage-mid .pre { color: var(--fg-55); margin-bottom: 18px; }
.stage-cta {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(58px, 13.5vw, 240px);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  color: var(--paper);
  text-decoration: none;
  transition: color 0.3s ease;
}
.stage-cta em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; }
.stage-cta:hover { color: var(--blue-soft); }
.stage-cta .arr { display: inline-block; transition: transform 0.35s var(--ease-out); }
.stage-cta:hover .arr { transform: translate(0.06em, -0.06em); }
.stage-mid .sub { margin-top: 22px; color: var(--fg-55); font-size: 16px; }
.stage-mid .sub a { color: var(--paper); }
.stage-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--fg-55);
}
.stage-bottom .cols { display: flex; gap: clamp(18px, 3vw, 44px); flex-wrap: wrap; }
.stage-bottom a { color: var(--fg-55); text-decoration: none; }
.stage-bottom a:hover { color: var(--paper); }
.to-top { cursor: pointer; background: none; border: none; font-family: var(--mono); font-size: 13px; color: var(--paper); }

/* ---- Reveals (JS only) ---- */
html.js .lm { display: block; overflow: hidden; padding-top: 0.14em; margin-bottom: -0.14em; }
html.js .lm > span {
  display: block;
  transform: translateY(112%);
  transition: transform 0.9s var(--ease-out);
}
html.js .lm.in > span { transform: translateY(0); }
html.js .lm.in.free { overflow: visible; }
html.js .fade { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
html.js .fade.in { opacity: 1; transform: none; }
html.js .d1 { transition-delay: 0.08s; }
html.js .d2 { transition-delay: 0.16s; }
html.js .d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html.js .lm > span, html.js .fade { transform: none; opacity: 1; transition: none; }
  .marquee-track { animation: none; }
  html.js.loading .preloader { display: none; }
  .stage-cta .arr, .site-nav a::after { transition: none; }
}

/* ---- Legal pages (lite body) ---- */
body.lite-page { background: var(--paper); color: var(--ink); }
.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(120px, 18vh, 180px) var(--gutter) clamp(70px, 10vh, 120px);
}
.legal-main h1 {
  font-size: clamp(38px, 6vw, 72px);
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 44px;
}
.legal-main h2 {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(20, 20, 17, 0.6);
  margin: 34px 0 10px;
}
.legal-main p, .legal-main ul { font-size: 16px; margin-bottom: 12px; }
.legal-main ul { padding-left: 20px; }
.legal-eyebrow { color: rgba(20, 20, 17, 0.6); margin-bottom: 14px; }
.legal-footer {
  border-top: 1px solid var(--ink);
  padding: 20px var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(20, 20, 17, 0.6);
}
.legal-footer a { color: rgba(20, 20, 17, 0.6); text-decoration: none; }
.legal-footer a:hover { color: var(--ink); }
.legal-footer nav { display: flex; gap: 22px; }

/* ---- 404 (ink) ---- */
.nf {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--gutter);
}
.nf .code { font-family: var(--display); font-weight: 600; font-size: clamp(120px, 28vw, 480px); line-height: 0.85; }
.nf .code em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--blue-soft); }
.nf p { color: var(--fg-55); margin: 18px 0 26px; max-width: 50ch; }
.nf .row { display: flex; gap: 26px; flex-wrap: wrap; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 104px; }
  .hero-meta { margin-bottom: 0; }
  .hero-h1 { font-size: clamp(54px, 15.5vw, 130px); margin-top: 30px; }
  .hero-h1 .l2 { margin-left: 8vw; }
  .hero-row { grid-template-columns: 1fr; gap: 26px; margin-top: 40px; }
  .hero-lead, .hero-links { grid-column: auto; }
  .shift-body .col-a { grid-column: 1 / 13; }
  .shift-body .col-b { grid-column: 1 / 13; margin-top: 14px; }
  .answers { grid-template-columns: 1fr; }
  .answer-card, .answer-card.cited { grid-column: 1 / -1; transform: none; }
  .index-row-inner { grid-template-columns: 56px 1fr; }
  .index-row .meta { grid-column: 2; text-align: left; margin-top: 6px; }
  .index-row .desc { grid-column: 2; }
  .studio-grid { grid-template-columns: 1fr; }
  .studio-photo { grid-column: 1 / -1; max-width: 440px; }
  .studio-text { grid-column: 1 / -1; }
  .q-list li { grid-template-columns: 56px 1fr; }
  .q-list .src { grid-column: 2; text-align: left; }
  .faq-item summary { grid-template-columns: 52px 1fr 24px; }
  .faq-item .faq-a { margin-left: 68px; }
  .compare { aspect-ratio: 4 / 3.6; }
  .stage { min-height: 80svh; }
  .mock-before .m-bar span:nth-child(n+5) { display: none; }
}
@media (max-width: 560px) {
  .site-nav .nav-anchor { display: none; }
  .hero-meta { flex-direction: column; gap: 4px; }
  .compare { aspect-ratio: 1 / 1.15; }
  .mock-after .m-main { grid-template-columns: 1fr; gap: 3%; }
  .mock-after .m-img { display: none; }
  .mock-before .m-grid { grid-template-columns: repeat(3, 1fr); }
  .stage-top { flex-wrap: wrap; }
}
