/* Auftragio — Konzeptprojekt (Phase R11)
   Eigenes Design-System, bewusst nicht die Tokens der Hauptseite.
   Bento ist das einzige Raster; Verlauf nur im Produkt-Mockup, Glow nur am Bento.
   Keine Icons außerhalb der Produktansichten, kein SVG im Body, keine Fotos. */

@font-face {
  font-family: 'Familjen Grotesk';
  src: url('assets/fonts/FamiljenGrotesk-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('assets/fonts/JetBrainsMono-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg:      #08090a;
  --panel:   #101114;
  --panel-2: #15171b;
  --raise:   #1a1d22;
  --text:    #e6e8ec;
  --text-hi: #ffffff;
  --muted:   #8b8f98;   /* 6,2:1 auf --bg · 5,8:1 auf --panel */
  --dim:     #7c828d;   /* schwaechster lesbarer Ton: 5,2:1 auf --bg · 4,9:1 auf --panel */
  --line:    #23252b;   /* nur Linien und Rahmen, nie Text */
  --line-2:  #2e3138;   /* nur Linien und Rahmen, nie Text */

  --violet:  #7c6cff;
  --cyan:    #3ed0ff;
  --grad:    linear-gradient(120deg, #7c6cff, #3ed0ff);
  --vio-soft: rgba(124, 108, 255, .15);
  --vio-line: rgba(124, 108, 255, .34);
  --vio-text: #b7adff;
  --cy-soft:  rgba(62, 208, 255, .12);
  --cy-line:  rgba(62, 208, 255, .30);
  --cy-text:  #93dfff;
  --on-grad:  #0a0a10;  /* Schrift auf dem Verlauf, 5,1:1 am violetten Ende */
  --bad-text: #ff9c9c;
  --bad-line: #ff8080;

  --font: 'Familjen Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --t-h1:   clamp(2.6rem, 6.4vw, 4.6rem);
  --t-h2:   clamp(1.75rem, 3.4vw, 2.5rem);
  --t-h3:   1.375rem;
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-mono: 0.8125rem;
  --t-micro: 0.75rem;   /* 12 px — Untergrenze fuer Hinweistext auf der Seite */
  --t-ui:    0.6875rem; /* 11 px — nur INNERHALB der Produktansichten (UI im Massstab) */

  --maxw: 1180px;
  --pad: clamp(20px, 4.5vw, 56px);
  --sec: clamp(64px, 8.5vw, 116px);
  --measure: 62ch;

  --r-lg: 12px;
  --r:    10px;
  --r-ctl: 8px;
  --r-sm: 4px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --fast: 160ms;
  --mid:  240ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.1; letter-spacing: -.03em; }
p, dd { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 60;
  background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 0 0 var(--r-ctl) 0;
}
.skip:focus { left: 0; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.mono { font-family: var(--mono); font-size: var(--t-mono); color: var(--muted); line-height: 1.55; }

.h2 { font-size: var(--t-h2); max-width: 20ch; }
.h2--sec { margin-bottom: 10px; }

/* ------------------------------------------------------------------ Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--r-ctl);
  font-size: var(--t-small); font-weight: 500; letter-spacing: -.01em;
  cursor: pointer; text-align: center;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.btn--primary { background: var(--text); color: var(--bg); }
.btn--primary:hover { background: var(--text-hi); }
.btn--lg { min-height: 50px; padding: 0 22px; font-size: 1rem; }
.lnk {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: underline; text-underline-offset: 5px;
  text-decoration-color: var(--line-2); font-size: var(--t-small);
  transition: text-decoration-color var(--fast) var(--ease);
}
.lnk:hover { text-decoration-color: var(--text); }

/* ------------------------------------------------------------------- Header */
.head { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid transparent; }
.head.is-stuck { border-bottom-color: var(--line); }
.head__in {
  max-width: var(--maxw); margin-inline: auto; padding: 12px var(--pad);
  display: flex; align-items: center; gap: 14px;
}
.head__mark { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.035em; margin-right: auto; }
.head__nav { display: flex; gap: 22px; margin-right: 8px; }
.head__nav a { font-size: var(--t-small); color: var(--muted); padding: 10px 0; transition: color var(--fast) var(--ease); }
.head__nav a:hover { color: var(--text); }
.head__toggle {
  background: none; border: 1px solid var(--line-2); color: var(--text);
  border-radius: var(--r-ctl); min-height: 44px; padding: 0 14px; font-size: var(--t-small); cursor: pointer;
}
@media (max-width: 859px) {
  .head__nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 6px var(--pad) 18px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .head.is-open .head__nav { display: flex; }
  .head__nav a { padding: 12px 0; font-size: 1.0625rem; color: var(--text); border-bottom: 1px solid var(--line); }
}
@media (min-width: 860px) { .head__toggle { display: none; } }
@media (max-width: 399px) { .head__cta { display: none; } }

/* --------------------------------------------------------------------- Hero */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero__text { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.hero__title { font-size: var(--t-h1); line-height: 1.01; letter-spacing: -.042em; max-width: 15ch; }
.hero__lead { margin-top: 22px; color: var(--muted); max-width: 54ch; font-size: 1.125rem; }
.hero__act { margin-top: 30px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__note { margin-top: 16px; font-family: var(--mono); font-size: var(--t-micro); color: var(--muted); }
.hero__app { margin-top: clamp(40px, 5vw, 64px); }
.hero__app > .app { max-width: var(--maxw); margin-inline: auto; border-radius: 0; border-left: 0; border-right: 0; }

/* Ab 1100 px steht das Fenster rechts und laeuft bis an die Fensterkante:
   kein rechter Rahmen, Radius nur links. Es wird NICHT beschnitten – die
   Breite ist die der Rasterspalte, damit alle fuenf Wochentage sichtbar sind. */
@media (min-width: 1100px) {
  .hero {
    display: grid; grid-template-columns: minmax(330px, 32vw) 1fr;
    align-items: center; column-gap: clamp(28px, 3.2vw, 52px);
    padding-left: max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad)));
    padding-right: 0;
  }
  .hero__text { padding-inline: 0; max-width: none; }
  /* „Zettelwirtschaft." ist unteilbar und breiter als die Spalte, sobald die
     Schrift ueber ~69 px geht — dann laeuft das Wort ins Mockup. Deshalb haengt
     die H1 hier an der Spaltenbreite, nicht an der vollen Fensterbreite. */
  .hero__title { font-size: clamp(2.5rem, 4.7vw, 4.3rem); }
  .hero__app { margin-top: 0; }
  .hero__app > .app { width: 100%; max-width: none; margin: 0; border-radius: var(--r-lg) 0 0 var(--r-lg); }
}

/* -------------------------------------------------------- Produkt-Mockup */
.app {
  position: relative;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
}
.app__bar {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--panel-2);
}
.app__ws { font-size: var(--t-mono); font-weight: 500; letter-spacing: -.01em; }
.app__seg { display: flex; gap: 2px; padding: 2px; background: var(--bg); border-radius: 6px; }
.app__seg i {
  font-style: normal; font-family: var(--mono); font-size: var(--t-ui);
  color: var(--muted); padding: 4px 9px; border-radius: 4px;
}
.app__seg i.is-on { background: var(--raise); color: var(--text); }
.app__kw { font-family: var(--mono); font-size: var(--t-ui); color: var(--muted); margin-right: 4px; }

.app__body { display: flex; }
.app__rail { display: none; width: 140px; flex: none; padding: 16px 12px; border-right: 1px solid var(--line); }
.rail__h { font-family: var(--mono); font-size: var(--t-ui); color: var(--muted); margin: 12px 0 6px; }
.rail__h:first-child { margin-top: 0; }
.rail__i { font-size: var(--t-mono); color: var(--muted); padding: 5px 8px; border-radius: 6px; }
.rail__i.is-on { background: var(--raise); color: var(--text); }

.app__main { flex: 1; min-width: 0; padding: 16px 14px 14px; }
.plan__head { display: flex; justify-content: space-between; gap: 12px; font-size: var(--t-mono); font-weight: 500; margin-bottom: 14px; }
.plan__head span { color: var(--muted); font-family: var(--mono); font-size: var(--t-ui); font-weight: 400; }

.plan { display: grid; grid-template-columns: 26px 1fr; gap: 8px; }
.plan__times { padding-top: 22px; display: grid; grid-template-rows: repeat(5, 34px); gap: 4px; }
.plan__times i { font-style: normal; font-family: var(--mono); font-size: var(--t-ui); color: var(--muted); line-height: 1; }
.plan__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.col__d { font-family: var(--mono); font-size: var(--t-ui); color: var(--muted); height: 15px; line-height: 15px; margin-bottom: 8px; }
.col__d span { color: var(--dim); }
.col__grid { display: grid; grid-template-rows: repeat(5, 34px); gap: 4px; }

.job {
  grid-row: var(--r) / span var(--s); grid-column: 1;
  display: flex; flex-direction: column; justify-content: center; gap: 1px;
  padding: 5px 7px; border: 1px solid transparent; border-radius: var(--r-sm);
  font-size: 0.6875rem; line-height: 1.2; letter-spacing: -.01em;
  overflow: hidden;
}
.job i { font-style: normal; font-family: var(--mono); font-size: 0.5625rem; opacity: .9; }
.job--pl { background: var(--vio-soft); border-color: var(--vio-line); color: var(--vio-text); }
.job--go { background: var(--cy-soft); border-color: var(--cy-line); color: var(--cy-text); }
.job--dn { background: var(--panel-2); border-color: var(--line); color: var(--muted); }
.job--new { background: var(--grad); color: var(--on-grad); position: relative; z-index: 3; }
.job__chip { position: relative; display: block; height: 11px; margin-top: 2px; font-family: var(--mono); font-size: 0.5625rem; font-weight: 600; }
.job__chip em { position: absolute; left: 0; top: 0; font-style: normal; }
.job__chip [data-chip-a] { opacity: 0; }
.job__chip [data-chip-b] { opacity: 1; }
/* Zielplatz der gezogenen Karte — muss dieselben Zeilen belegen wie die Karte (--r:2, --s:2) */
.col--target .col__grid::before {
  content: ''; grid-row: 2 / span 2; grid-column: 1;
  border: 1px dashed var(--line-2); border-radius: var(--r-sm); opacity: 0;
}

.tray { display: flex; align-items: stretch; gap: 12px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); }
.tray__l { font-family: var(--mono); font-size: var(--t-ui); color: var(--muted); flex: none; padding-top: 5px; }
.tray__box { position: relative; display: block; flex: 1; height: 72px; min-width: 0; }
.tray__ghost, .tray__none {
  position: absolute; left: 0; top: 0; display: flex; align-items: center;
  font-style: normal; font-family: var(--mono); font-size: var(--t-ui); color: var(--muted);
}
.tray__ghost { max-width: 190px; width: 100%; height: 100%; padding: 0 8px; border: 1px dashed var(--line-2); border-radius: var(--r-sm); opacity: 0; }
.tray__none { height: 100%; opacity: 1; }

/* Ab 760 px hat die Ansicht mehr Luft. Steht bewusst NACH den Grundregeln:
   in einem frueheren Block waeren diese Zeilen von ihnen ueberschrieben worden. */
@media (min-width: 760px) {
  .app__rail { display: block; }
  .plan__times, .col__grid { grid-template-rows: repeat(5, 40px); }
  .app__main { padding: 18px 16px 16px; }
  .tray__box { height: 84px; }
}

.app__toast {
  position: absolute; left: 14px; right: auto; bottom: 14px; opacity: 0; max-width: 240px;
  padding: 8px 12px; border-radius: var(--r-ctl);
  background: var(--raise); border: 1px solid var(--line-2);
  font-family: var(--mono); font-size: var(--t-micro); color: var(--text);
}

@media (max-width: 639px) {
  .col--late { display: none; }
  .plan__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .app__main { padding: 14px 12px 12px; }
}

/* Sequenz: nur mit JS, nur im Sichtfeld, nie bei prefers-reduced-motion.
   Der Ruhezustand ist der Endzustand (Auftrag liegt auf Dienstag 09:00). */
.app.is-playing .job--new      { animation: jobPlace 9s var(--ease) infinite; }
.app.is-playing .col--target .col__grid::before { animation: slotHole 9s linear infinite; }
.app.is-playing [data-ghost]   { animation: ghostShow 9s linear infinite; }
.app.is-playing [data-tray-none] { animation: trayNone 9s linear infinite; }
.app.is-playing [data-chip-a]  { animation: chipA 9s linear infinite; }
.app.is-playing [data-chip-b]  { animation: chipB 9s linear infinite; }
.app.is-playing [data-toast]   { animation: toast 9s linear infinite; }

@keyframes jobPlace {
  0%   { transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(-1.2deg); opacity: 0; box-shadow: none; }
  5%   { transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(-1.2deg); opacity: 1; box-shadow: 0 10px 26px rgba(0,0,0,.55); }
  30%  { transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(-1.2deg); opacity: 1; box-shadow: 0 10px 26px rgba(0,0,0,.55); }
  52%  { transform: translate(0, 0) rotate(0deg); opacity: 1; box-shadow: 0 10px 26px rgba(0,0,0,.55); }
  60%  { transform: translate(0, 0) rotate(0deg); opacity: 1; box-shadow: none; }
  100% { transform: translate(0, 0) rotate(0deg); opacity: 1; box-shadow: none; }
}
@keyframes slotHole { 0%, 4% { opacity: 0; } 8%, 46% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes ghostShow { 0%, 4% { opacity: 0; } 8%, 46% { opacity: 1; } 56%, 100% { opacity: 0; } }
/* „Alles verplant" steht am Ende UND am Anfang des Durchlaufs: Beim Umbruch der
   Schleife bleibt das Fach dadurch beschriftet, statt kurz voellig leer zu sein. */
@keyframes trayNone { 0% { opacity: 1; } 6%, 50% { opacity: 0; } 60%, 100% { opacity: 1; } }
@keyframes chipA { 0%, 4% { opacity: 0; } 8%, 48% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes chipB { 0%, 52% { opacity: 0; } 60%, 100% { opacity: 1; } }
@keyframes toast { 0%, 58% { opacity: 0; } 64%, 80% { opacity: 1; } 88%, 100% { opacity: 0; } }

/* -------------------------------------------------------------- Sektionen */
.band { border-top: 1px solid var(--line); padding: var(--sec) 0; }

/* Feature-Bänder */
.feat { display: grid; gap: 32px; align-items: center; }
.feat + .feat { margin-top: clamp(56px, 7vw, 96px); }
.feat__t p { color: var(--muted); margin-top: 18px; max-width: var(--measure); }
.feat__t p.mono { margin-top: 16px; }
@media (min-width: 900px) {
  .feat { grid-template-columns: 1fr 1fr; column-gap: 72px; }
  .feat--rev .feat__t { order: 2; }
}

.mini { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.mini__h { font-family: var(--mono); font-size: var(--t-micro); color: var(--muted); margin-bottom: 12px; }
.mini__f { font-family: var(--mono); font-size: var(--t-micro); color: var(--muted); margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.mjob {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; margin-bottom: 6px;
  border: 1px solid transparent; border-radius: var(--r-sm); font-size: var(--t-small); letter-spacing: -.01em;
}
.mjob b { font-family: var(--mono); font-size: var(--t-mono); font-weight: 500; flex: none; }
.mjob i { font-style: normal; font-family: var(--mono); font-size: var(--t-micro); margin-left: auto; opacity: .75; flex: none; }
.mjob--pl { background: var(--vio-soft); border-color: var(--vio-line); color: var(--vio-text); }
.mjob--go { background: var(--cy-soft); border-color: var(--cy-line); color: var(--cy-text); }

.mini--phone { max-width: 320px; border-radius: 20px; padding: 20px 16px 16px; }
.mini__ph { font-size: var(--t-h3); letter-spacing: -.02em; }
.mini__pa { font-family: var(--mono); font-size: var(--t-micro); color: var(--muted); margin: 4px 0 16px; }
.st {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px; margin-bottom: 8px;
  border: 1px solid var(--line-2); border-radius: var(--r-ctl); font-size: var(--t-small); color: var(--muted);
}
.st--on { background: var(--vio-soft); border-color: var(--vio-line); color: var(--vio-text); }

.inv { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--t-small); }
.inv b { font-weight: 400; }
.inv i { font-style: normal; font-family: var(--mono); font-size: var(--t-mono); margin-left: auto; }
.inv--sum { border-bottom: 0; font-weight: 600; }
.inv--sum i { font-weight: 600; }

/* ------------------------------------------------------------------- Bento */
.bento { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .cell--wide { grid-column: span 2; }
  .cell--full { grid-column: 1 / -1; }
}
.cell {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 22px 20px; isolation: isolate;
}
.cell h3 { font-size: var(--t-h3); }
.cell p { color: var(--muted); font-size: var(--t-small); margin-top: 10px; max-width: 46ch; }
.cell p.cell__d { font-family: var(--mono); font-size: var(--t-mono); color: var(--muted); margin-top: 14px; line-height: 1.7; }
.cell::before, .cell::after { content: ''; position: absolute; border-radius: inherit; pointer-events: none; transition: opacity 200ms linear; }
.cell::before {
  inset: -1px; padding: 1px; background: var(--grad); opacity: var(--g, 0); z-index: 1;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.cell::after {
  inset: 0; z-index: -1; opacity: var(--g, 0);
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 108, 255, .13), transparent 62%);
}
.bars { display: flex; align-items: flex-end; gap: 7px; height: 58px; margin: 18px 0 6px; max-width: 280px; border-bottom: 1px solid var(--line-2); }
.bars i { flex: 1; height: var(--h); background: var(--vio-soft); border: 1px solid var(--vio-line); border-bottom: 0; border-radius: 3px 3px 0 0; }

/* ------------------------------------------------------------------ Preise */
.price__head { max-width: 62ch; }
.price__lead { color: var(--muted); margin-top: 6px; }
.seg { display: inline-flex; gap: 3px; padding: 3px; margin-top: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-ctl); }
.seg__b {
  background: none; border: 0; color: var(--muted); cursor: pointer;
  min-height: 44px; padding: 0 18px; border-radius: 6px; font-size: var(--t-small);
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.seg__b.is-on { background: var(--raise); color: var(--text); }
.price__hint { font-family: var(--mono); font-size: var(--t-micro); color: var(--muted); margin-top: 12px; min-height: 1.4em; }

.matrix__wrap { margin-top: 40px; }
.matrix { width: 100%; border-collapse: collapse; table-layout: fixed; }
.matrix th, .matrix td { text-align: left; padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.matrix thead th { border-bottom: 1px solid var(--line-2); padding-bottom: 18px; vertical-align: bottom; }
.matrix thead th:first-child { width: 40%; }
.pl { display: block; font-size: 1.125rem; font-weight: 600; letter-spacing: -.025em; }
.pp { display: block; font-family: var(--mono); font-size: 1.75rem; font-weight: 500; letter-spacing: -.04em; margin-top: 8px; }
.pu { display: block; font-family: var(--mono); font-size: var(--t-micro); color: var(--muted); margin-top: 4px; }
.matrix tbody th { font-weight: 400; font-size: var(--t-small); letter-spacing: -.01em; }
.matrix tbody td { font-family: var(--mono); font-size: var(--t-mono); color: var(--muted); }
.matrix .is-pick { background: var(--panel); }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.price__foot { margin-top: 22px; font-size: var(--t-small); color: var(--muted); max-width: var(--measure); }
@media (max-width: 699px) {
  .pu { display: none; }
  .matrix th, .matrix td { padding: 11px 6px; }
  .matrix thead th:first-child { width: 40%; }
  .pl { font-size: 0.9375rem; }
  .pp { font-size: 1.125rem; margin-top: 6px; }
  .matrix tbody th { font-size: 0.875rem; }
  .matrix tbody td { font-size: 0.75rem; }
}

/* ------------------------------------------------------------------ Stimmen */
.voice__note { font-family: var(--mono); font-size: var(--t-micro); color: var(--muted); margin-bottom: 28px; }
.voice { display: grid; gap: 34px; }
.voice blockquote { margin: 0; }
.voice blockquote p { font-size: 1.25rem; line-height: 1.45; letter-spacing: -.015em; max-width: 40ch; }
.voice blockquote p.voice__m { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0; color: var(--muted); margin-top: 16px; max-width: none; }
@media (min-width: 820px) {
  .voice { grid-template-columns: 1fr 1fr; gap: 56px; }
  .voice blockquote + blockquote { border-left: 1px solid var(--line); padding-left: 56px; }
}

/* ---------------------------------------------------------------- Changelog */
.log__lead { color: var(--muted); margin-bottom: 30px; }
.log li { display: grid; gap: 8px; padding: 24px 0; border-top: 1px solid var(--line); }
.log li:last-child { border-bottom: 1px solid var(--line); }
.log__d { display: flex; gap: 14px; font-family: var(--mono); font-size: var(--t-mono); color: var(--muted); }
.log__d span { color: var(--vio-text); }
.log h3 { font-size: var(--t-h3); }
.log div p { color: var(--muted); margin-top: 8px; max-width: var(--measure); font-size: var(--t-small); }
@media (min-width: 820px) { .log li { grid-template-columns: 190px 1fr; gap: 40px; } }

/* --------------------------------------------------------------------- FAQ */
.faq { margin-top: 34px; }
.faq > div { display: grid; gap: 10px; padding: 26px 0; border-top: 1px solid var(--line); }
.faq > div:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font-size: var(--t-h3); letter-spacing: -.025em; line-height: 1.25; }
.faq dd { color: var(--muted); max-width: var(--measure); font-size: var(--t-small); }
@media (min-width: 820px) { .faq > div { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; } }

/* ---------------------------------------------------------------- Testphase */
.try { display: grid; gap: 40px; align-items: start; }
.try__t p { color: var(--muted); margin-top: 18px; max-width: var(--measure); }
.try__t p.mono { margin-top: 16px; }
@media (min-width: 900px) { .try { grid-template-columns: 1fr 1fr; column-gap: 72px; } }
.form { display: grid; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.field label { display: block; font-family: var(--mono); font-size: var(--t-micro); color: var(--muted); margin-bottom: 7px; }
.field input, .field select {
  width: 100%; min-height: 46px; padding: 0 12px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line-2); border-radius: var(--r-ctl);
  font-family: var(--font); font-size: 1rem;
  transition: border-color var(--fast) var(--ease);
}
.field input::placeholder { color: var(--dim); }
.field input:focus, .field select:focus { border-color: var(--violet); }
.field.is-bad input { border-color: var(--bad-line); }
.err { font-family: var(--mono); font-size: var(--t-micro); color: var(--bad-text); margin-top: 7px; }
.err[hidden] { display: none; }
.form__go { width: 100%; }
.form__done { font-family: var(--mono); font-size: var(--t-mono); color: var(--cy-text); line-height: 1.5; }
.form__done[hidden] { display: none; }

/* ------------------------------------------------------------------ Footer */
.foot { border-top: 1px solid var(--line); padding: var(--sec) 0 40px; }
.foot__grid { display: grid; gap: 34px; }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; } }
.foot__mark { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.035em; margin-bottom: 10px; }
.foot__h { font-family: var(--mono); font-size: var(--t-micro); color: var(--muted); margin-bottom: 12px; }
.foot__s { color: var(--muted); font-size: var(--t-small); }
.foot__s.mono { font-size: var(--t-mono); }
.foot__s + .foot__s { margin-top: 12px; }
.foot__s a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); padding-block: 13px; }
.foot ul li a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-small); color: var(--muted); transition: color var(--fast) var(--ease); }
.foot ul li a:hover { color: var(--text); }

.note { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 22px; }
.note summary { font-size: var(--t-small); color: var(--muted); cursor: pointer; list-style: none; min-height: 44px; display: flex; align-items: center; }
.note summary::-webkit-details-marker { display: none; }
.note summary:hover { color: var(--text); }
.note p { margin-top: 12px; color: var(--muted); font-size: var(--t-small); max-width: 76ch; }
.foot__bar { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; margin-top: 30px; font-size: var(--t-micro); color: var(--muted); font-family: var(--mono); }
.foot__bar a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); padding-block: 15px; }

/* ------------------------------------------------------------------ Reveal */
html.js [data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity 420ms var(--ease), transform 420ms var(--ease); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .app.is-playing .job--new, .app.is-playing .col--target .col__grid::before,
  .app.is-playing [data-ghost], .app.is-playing [data-tray-none],
  .app.is-playing [data-chip-a], .app.is-playing [data-chip-b],
  .app.is-playing [data-toast] { animation: none; }
  * { transition-duration: 1ms !important; }
}
