/* ============================================================
   Funditio · Design-Tokens
   funditio.ai — von Grund auf
   ------------------------------------------------------------
   Verwandt mit ideatio in Struktur und Typografie.
   Eigenständig in der Temperatur: warmes Dunkel statt Marineblau.

   Die Farbregel, die alles trägt:
     ORANGE führt.  (Weg, Aktion, Wegmarke, Station)
     GELB funkt.    (KI-Antwort, Einsicht, Impuls)
   Nie umgekehrt. Nie beides für dasselbe.
   ============================================================ */

:root {
  /* --- Grund -------------------------------------------------
     Warmes Dunkelbraun. Der Hero, die Schrift, die Tiefe.     */
  --ink:        #2B1E16;
  --ink2:       #1E1510;
  --ink-soft:   #3D2C21;

  /* --- Papier ------------------------------------------------ */
  --paper:      #FEFBF5;
  --paper2:     #F8F1E6;
  --cream:      #F3E7D5;
  --line:       #E6DBCA;

  /* --- Signal · Orange führt --------------------------------
     Buttons, aktive Station, die Reiselinie, Wegmarken.       */
  --signal:     #F0862F;
  --signal-d:   #C96A1E;
  --signal-l:   #F8A961;
  --signal-bg:  #FBE6C9;

  /* --- Funke · Gelb funkt -----------------------------------
     Ausschliesslich fuer die KI-Antwort und ihre Spuren.
     Der Funke ist gelb. Sonst nichts.                         */
  --spark:      #FFC94D;
  --spark-d:    #E0A82E;
  --spark-bg:   #FFF3D6;

  /* --- Schrift ---------------------------------------------- */
  --slate:      #7A6A5C;
  --slate-l:    #A8917A;
  --on-ink:     #F3E7D5;
  --on-signal:  #FFFFFF;
  --on-spark:   #5A3D08;

  /* --- Typografie ------------------------------------------- */
  --font-display: 'Fraunces', Georgia, serif;
  --font-ui:      'Inter', -apple-system, system-ui, sans-serif;

  --kicker-size:    11px;
  --kicker-spacing: 0.18em;

  /* --- Raster ----------------------------------------------- */
  --radius:     8px;
  --radius-card: 12px;
  --rail:       2px;
  --rail-w:     330px;
  --wrap:       1360px;
}

/* ============================================================
   Grundlagen
   ============================================================ */

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: 44px; }
h2 { font-size: 30px; }
h3 { font-size: 21px; font-weight: 400; }

/* Der Kicker: Uppercase, weit gesperrt, klein. */
.kicker {
  font-size: var(--kicker-size);
  letter-spacing: var(--kicker-spacing);
  text-transform: uppercase;
  color: var(--slate-l);
  font-weight: 500;
}

/* Zitate und Leitsaetze: Fraunces kursiv, leicht. */
.voice {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ============================================================
   Die Wortmarke
   Der Punkt ist orange. Er ist die einzige Stelle, an der
   Signal und Name sich beruehren.
   ============================================================ */

.wordmark {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.01em;
}
.wordmark::after {
  content: '';
  display: inline-block;
  width: 0.24em;
  height: 0.24em;
  border-radius: 50%;
  background: var(--signal);
  margin-left: 0.1em;
  vertical-align: middle;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  background: var(--ink);
  color: var(--on-ink);
  padding: 5rem 2rem;
}
.hero .kicker { color: var(--slate-l); }

/* ============================================================
   Der Trichter · fünf Stationen
   Orange fuehrt: die Rail, die aktive Nummer, die Linie.
   ============================================================ */

.rail {
  border-left: var(--rail) solid var(--line);
  padding-left: 1.75rem;
}

.station-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  background: var(--paper2);
  color: var(--slate);
  border: 1px solid var(--line);
}
.station-num[data-state="active"] {
  background: var(--signal);
  color: var(--on-signal);
  border-color: var(--signal);
}
.station-num[data-state="done"] {
  background: var(--signal-bg);
  color: var(--signal-d);
  border-color: var(--signal-l);
}

.station-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
}

/* ============================================================
   Ein Schritt
   Die Felder stehen untereinander, über die volle Breite.
   Wer denkt, braucht Platz. Nicht drei enge Spalten, sondern
   drei ruhige Zeilen.
   ============================================================ */

.step-head { margin-bottom: clamp(32px, 4vw, 48px); }

/* Der Untertitel: orange, direkt unter der Überschrift.
   Er sagt in drei Worten, worum es auf dieser Seite geht. */
.step-sub {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  color: var(--signal-d);
  margin: -0.35rem 0 0.9rem;
}

.step-head .lead {
  color: var(--slate);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

/* ------------------------------------------------------------
   VERBINDLICH: Die Fragekarte
   Übernommen aus ideatio. Jedes Eingabefeld auf jeder Seite in
   jeder Station sieht so aus. Untereinander, volle Breite.

   Nummer im dunklen Quadrat · Frage · kursiver Hinweis mit
   Beispielen · Textfeld. Beim Hineinklicken wird der Rand orange.
   Keine Spalten. Keine Ausnahmen.
   ------------------------------------------------------------ */

.fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.q-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.q-card:focus-within {
  border-color: var(--signal);
  box-shadow: 0 6px 24px rgba(43,30,22,0.07);
}

.q-head {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
}
.q-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--ink);
  width: 27px;
  height: 27px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.q-text { flex: 1; }
.q-question {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.q-hint {
  font-size: 12.5px;
  color: var(--slate-l);
  margin-top: 4px;
  font-style: italic;
}

.q-card textarea {
  font-size: 16px;
  line-height: 1.7;
  padding: 14px 16px;
  min-height: 96px;
  resize: vertical;
  border-color: var(--line);
}
.q-card textarea:focus {
  box-shadow: none;
  border-color: var(--signal-l);
}

/* ------------------------------------------------------------
   Das Mikrofon
   Wer denkt, spricht oft schneller, als er tippt. Es sitzt im
   Feld, rechts, und färbt sich rot, während es zuhört.
   ------------------------------------------------------------ */

.q-input { position: relative; }

.btn-mic {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--slate);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 160ms ease;
}
.btn-mic:hover { border-color: var(--signal); color: var(--signal-d); }
.btn-mic svg { width: 15px; height: 15px; fill: currentColor; }

.btn-mic.listening {
  background: var(--signal);
  border-color: var(--signal);
  color: #fff;
  animation: mic-pulse 1.4s ease-in-out infinite;
}
@keyframes mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,134,47,0.45); }
  50%      { box-shadow: 0 0 0 7px rgba(240,134,47,0); }
}
.btn-mic[disabled] { opacity: 0.35; cursor: default; }

.q-card textarea { padding-right: 58px; }

/* ------------------------------------------------------------
   Der Funke
   Ein Knopf, zwei Zeilen: was er ist, und was er bringt.
   Er sitzt unter der Frage, die er meint.
   ------------------------------------------------------------ */

.q-foot { margin-top: 12px; }

.btn-spark {
  font-family: var(--font-ui);
  width: 100%;
  background: var(--spark-bg);
  border: 1.5px solid var(--spark-d);
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease;
}
.btn-spark:hover { background: #FFEFCC; border-color: var(--spark); }
.btn-spark:disabled { cursor: default; opacity: 0.8; }

.spark-mark {
  color: var(--spark);
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}
.spark-mark.spinning { animation: spark-pulse 900ms ease-in-out infinite; }

.spark-text { display: flex; flex-direction: column; gap: 1px; }
.spark-text b {
  font-size: 15px;
  font-weight: 500;
  color: var(--spark-d);
  line-height: 1.3;
}
.spark-text i {
  font-style: normal;
  font-size: 13.5px;
  color: var(--spark-d);
  opacity: 0.8;
  line-height: 1.3;
}

@keyframes spark-pulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}

/* Die Frage über den Impulsen. */
.sug-prompt {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--spark-d);
  margin: 1.5rem 0 0.75rem;
}

/* Der Funke erscheint in seiner Karte, direkt unter der Frage. */
.q-card .funke-zone {
  margin-top: 0;
}
.q-card .funke-zone:not(:empty) {
  margin-top: 14px;
}
.q-card .funke {
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ============================================================
   Der Funke
   Die KI-Antwort. Gelb, und nur hier.
   ============================================================ */

.funke {
  background: var(--spark-bg);
  border-left: 3px solid var(--spark);
  border-radius: 0;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.funke .kicker { color: var(--spark-d); }

/* ============================================================
   Bedienung
   ============================================================ */

.btn {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 140ms ease;
}
.btn-primary {
  background: var(--signal);
  color: var(--on-signal);
}
.btn-primary:hover { background: var(--signal-d); }

.btn-quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-quiet:hover { background: var(--paper2); }

input[type="text"], textarea {
  font-family: var(--font-ui);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: 100%;
  box-sizing: border-box;
}
input[type="text"]:focus, textarea:focus {
  outline: none;
  border-color: var(--signal);
  box-shadow: 0 0 0 3px var(--signal-bg);
}

/* ============================================================
   Die Rail
   Feste Leiste links auf dunklem Grund. Sie zeigt die Reise:
   in einer Station die Schritte, in der Übersicht die Stationen.

   Erledigt ist orange. Hier bist du ist weiß.
   Die Linie, die mitwächst, ist orange — sie führt.
   ============================================================ */

.rail {
  width: var(--rail-w);
  background: var(--ink);
  color: #fff;
  padding: 30px 30px;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 10;
  box-sizing: border-box;
}

.rail-brand { display: flex; align-items: center; gap: 13px; }
.rail-mark {
  width: 40px; height: 40px;
  border: 1.5px solid var(--signal);
  border-radius: 50%;
  color: var(--signal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 19px; font-weight: 400;
  flex-shrink: 0;
}
.rail-name {
  font-family: var(--font-display);
  font-size: 23px; font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #fff;
}
.rail-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  padding-left: 53px;
  margin-top: 3px;
}

/* ============================================================
   Der Fortschritt
   Punkte. In der Übersicht die fünf Stationen, in einer Station
   ihre Schritte. Erledigt ist orange, hier bist du ist weiß.
   ============================================================ */

.rail-progress {
  padding-left: 53px;
  margin-top: 18px;
}
.pips {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 9px;
}
.pip {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  transition: background 240ms ease, transform 240ms ease;
  flex-shrink: 0;
}
.pip.done   { background: var(--signal); }
.pip.active { background: #fff; transform: scale(1.45); }

.pips-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.rail-center { flex: 1; display: flex; flex-direction: column; justify-content: center; }

/* Die Reise. Die Linie dahinter wächst mit. */
.journey { position: relative; }
.journey::before {
  content: '';
  position: absolute;
  left: 13px; top: 24px; bottom: 24px;
  width: 1.5px;
  background: rgba(255,255,255,0.14);
}
.journey-fill {
  position: absolute;
  left: 13px; top: 24px;
  width: 1.5px;
  height: 0;
  background: var(--signal);
  transition: height 420ms ease;
}

.j-step {
  position: relative; z-index: 2;
  display: flex; align-items: flex-start; gap: 16px;
  padding: 15px 0;
  cursor: pointer;
  background: none; border: 0; width: 100%; text-align: left;
  font-family: var(--font-ui);
}
.j-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500;
  flex-shrink: 0;
  transition: all 240ms ease;
}
.j-step.done .j-dot   { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.j-step.active .j-dot { background: #fff; border-color: #fff; color: var(--ink); transform: scale(1.1); }

.j-body { padding-top: 1px; }
.j-horizon {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal-l);
  font-weight: 500;
  margin-bottom: 2px;
  display: block;
}
.j-step.active .j-horizon { color: var(--signal); }

.j-name {
  font-size: 15px; font-weight: 400;
  color: rgba(255,255,255,0.78);
  transition: color 240ms ease;
  display: block;
  line-height: 1.35;
}
.j-step.active .j-name { color: #fff; font-weight: 500; }
.j-step.done .j-name   { color: rgba(255,255,255,0.88); }
.j-step:hover .j-name  { color: #fff; }

.j-step[disabled] { cursor: default; }
.j-step[disabled] .j-name    { color: rgba(255,255,255,0.42); }
.j-step[disabled] .j-horizon { color: rgba(255,255,255,0.3); }
.j-step[disabled]:hover .j-name { color: rgba(255,255,255,0.42); }

.rail-foot {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  line-height: 1.6;
}
.rail-foot a { color: var(--signal); text-decoration: none; }
.rail-foot a:hover { text-decoration: underline; }

/* Pflichtangaben. Leise, aber da. */
.rail-legal {
  display: block;
  margin-top: 12px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.35);
}
.rail-legal a { color: rgba(255,255,255,0.55); }
.rail-legal a:hover { color: #fff; }

/* Der Leitsatz. Er steht auf jeder Seite, in der Stimme des
   Produkts. Nicht laut, aber nie weg. */
.rail-principle {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255,255,255,0.78);
  margin-bottom: 18px;
}

.rail-tools { display: flex; gap: 6px; align-items: center; margin-bottom: 16px; }
.rail-tools button {
  font-family: var(--font-ui); font-size: 12.5px; font-weight: 500;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  border: 0; border-radius: 5px;
  padding: 7px 11px; cursor: pointer;
}
.rail-tools button:hover { background: rgba(255,255,255,0.22); color: #fff; }
.rail-tools button[aria-current="true"] { background: var(--signal); color: #fff; }

/* ============================================================
   Der Inhalt liegt rechts daneben und nutzt die Breite.
   Wie bei ideatio: ein Wrap, kein schmaler Textkanal.
   ============================================================ */

.canvas {
  margin-left: var(--rail-w);
  min-height: 100vh;
  background: var(--paper);
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) clamp(32px, 5vw, 72px) 10rem;
  box-sizing: border-box;
}

/* ============================================================
   Die Kopfleiste
   Links das Vorhaben und das Datum, rechts die Werkzeuge.
   Sie klebt oben und ist beim Drucken weg.
   ============================================================ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  gap: clamp(20px, 3vw, 40px);
  padding: 14px clamp(24px, 3vw, 40px);
  background: rgba(254,251,245,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.tb-meta { display: flex; gap: clamp(20px, 3vw, 40px); flex: 1; }
.tb-field { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tb-field label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-l);
  font-weight: 500;
}
.tb-field input {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--ink);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 3px 0;
  width: clamp(140px, 18vw, 240px);
  box-sizing: border-box;
}
.tb-field input:focus {
  outline: none;
  border-bottom-color: var(--signal);
  box-shadow: none;
}
.tb-field input::placeholder { color: var(--slate-l); }

.tb-tools { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.tb-btn {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 150ms ease, background 150ms ease;
}
.tb-btn:hover { border-color: var(--signal); background: var(--paper2); }

/* Das Reise-Menü */
.tb-menu { position: relative; }
.tb-drop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(43,30,22,0.14);
  padding: 6px;
  display: none;
}
.tb-menu.open .tb-drop { display: block; }
.tb-drop a, .tb-drop button {
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: 100%;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
}
.tb-drop a:hover, .tb-drop button:hover { background: var(--paper2); }
.tb-drop .n {
  font-size: 11px;
  color: var(--slate-l);
  font-variant-numeric: tabular-nums;
  min-width: 18px;
}
.tb-drop a[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }
.tb-drop hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }

/* ============================================================
   Die Fußleiste
   Wo du stehst, und wohin es weitergeht. Immer sichtbar.
   ============================================================ */

.footbar {
  position: fixed;
  left: var(--rail-w);
  right: 0;
  bottom: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(24px, 3vw, 40px);
  background: rgba(254,251,245,0.94);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.fb-where {
  font-size: 13px;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}
.fb-where b { color: var(--ink); font-weight: 500; }
.footbar .btn-primary { padding: 11px 22px; }

@media (max-width: 900px) {
  .footbar { left: 0; }
  .topbar { flex-wrap: wrap; }
  .tb-meta { width: 100%; }
}

/* Der Text atmet, aber er läuft nicht über die ganze Breite. */
.measure { max-width: 68ch; }

/* ============================================================
   Die fünf Stationen als Karten
   Großzügig. Viel Luft. Eine Karte, eine Aussage.
   Der Satz führt, die Erklärung folgt, das Ergebnis steht rechts.
   ============================================================ */

.st-list {
  margin-top: clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.st {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: start;
  gap: clamp(28px, 3vw, 44px);
  padding: clamp(32px, 3.2vw, 44px) clamp(32px, 3.4vw, 48px);
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.st:hover {
  background: #fff;
  border-color: var(--signal-l);
  transform: translateY(-1px);
}
.st:hover .st-name { color: var(--signal-d); }

.st-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500;
  font-variant-numeric: tabular-nums;
  background: var(--paper2);
  color: var(--slate);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.st-num[data-state="active"] {
  background: var(--signal);
  color: #fff;
  border-color: var(--signal);
}
.st-num[data-state="done"] {
  background: var(--signal-bg);
  color: var(--signal-d);
  border-color: var(--signal-l);
}

.st-name {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.15;
  display: block;
  transition: color 180ms ease;
  margin-bottom: 14px;
}

/* Der Satz. Immer gleich gebaut: Du tust etwas. */
.st-claim {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  display: block;
  margin-bottom: 14px;
}

.st-desc {
  font-size: 15.5px;
  color: var(--slate);
  line-height: 1.7;
  max-width: none;
  display: block;
}
.st-here {
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--signal); font-weight: 500; margin-top: 20px; display: block;
}

.st-result {
  text-align: right;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
  padding-top: 6px;
}
.st-result small {
  display: block;
  font-family: var(--font-ui);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--slate-l); font-weight: 500; margin-bottom: 8px;
}

/* Noch nicht gebaut, aber lesbar. Gedämpft, nicht ausgegraut. */
.st[data-locked="true"] { cursor: default; background: transparent; }
.st[data-locked="true"] .st-name   { color: var(--ink-soft); }
.st[data-locked="true"] .st-claim  { color: var(--ink-soft); }
.st[data-locked="true"] .st-result { color: var(--ink-soft); }
.st[data-locked="true"]:hover {
  background: transparent; border-color: var(--line); transform: none;
}
.st[data-locked="true"]:hover .st-name { color: var(--ink-soft); }

@media (max-width: 900px) {
  .st {
    grid-template-columns: 52px 1fr;
    gap: 20px;
    padding: 28px 24px;
  }
  .st-result { grid-column: 2; text-align: left; padding-top: 20px; }
  .st-result small { margin-bottom: 4px; }
}

/* Schmal: Die Rail legt sich oben quer. */
@media (max-width: 900px) {
  .rail {
    position: relative;
    width: 100%; bottom: auto;
    flex-direction: row; align-items: center; gap: 14px;
    padding: 12px 16px;
    overflow-x: auto;
  }
  .rail-sub, .rail-foot { display: none; }
  .rail-center { flex: none; display: contents; }
  .journey { display: flex; gap: 4px; }
  .journey::before, .journey-fill { display: none; }
  .j-step { flex-direction: column; align-items: center; gap: 5px; padding: 4px 6px; width: auto; }
  .j-body { display: none; }
  .canvas { margin-left: 0; }
}

/* ============================================================
   Der Funke im Detail
   ============================================================ */

.funke-zone { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-direction: column; gap: 1rem; }
.coach { margin: 0; }

.sugs {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.sug {
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.65;
  background: rgba(255,255,255,0.6);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}
.sug b { font-weight: 500; display: block; margin-bottom: 4px; color: var(--ink); }
.sug > span { color: var(--ink-soft); }

.sug-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(224,168,46,0.25);
}
.btn-take, .btn-into {
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 500;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--spark-d);
}
.btn-take:hover, .btn-into:hover { text-decoration: underline; }
.btn-take.done { color: var(--slate); cursor: default; }
.btn-take.done:hover { text-decoration: none; }
.btn-into { color: var(--slate); }

.err { color: var(--signal-d); font-size: 14px; }

/* ============================================================
   Die Schublade der mitgenommenen Funken
   Sie sitzt unten rechts und wächst mit. Was du mitnimmst,
   reist mit dir — über Schritte, über Stationen.
   ============================================================ */

#funkenDrawer {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 350px;
  max-width: calc(100vw - 48px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(43,30,22,0.18);
  z-index: 40;
  overflow: hidden;
  font-family: var(--font-ui);
}

#fdHead {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  cursor: pointer;
  background: var(--ink);
  color: #fff;
  user-select: none;
}
#fdHead:hover { background: var(--ink-soft); }
.fd-spark { color: var(--spark); font-size: 15px; }
.fd-title { font-size: 13.5px; font-weight: 500; flex: 1; }
.fd-count {
  background: var(--signal);
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
  border-radius: 10px;
  padding: 2px 9px;
  min-width: 22px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.fd-chev { font-size: 10px; opacity: 0.7; transition: transform 250ms ease; }
#funkenDrawer.collapsed .fd-chev { transform: rotate(180deg); }

#fdBody {
  max-height: 46vh;
  overflow-y: auto;
  padding: 12px;
  transition: max-height 300ms ease, padding 300ms ease;
}
#funkenDrawer.collapsed #fdBody {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.fd-empty, .fd-hint {
  font-size: 12.5px;
  color: var(--slate);
  line-height: 1.6;
  padding: 8px 4px;
}
.fd-hint { padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }

.fd-item {
  background: var(--spark-bg);
  border-left: 3px solid var(--spark);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.fd-item-t { font-size: 13px; font-weight: 500; color: var(--ink); }
.fd-item-x { font-size: 12.5px; color: var(--slate); line-height: 1.55; margin-top: 3px; }
.fd-item-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.fd-insert, .fd-del {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--spark-d);
}
.fd-insert:hover { text-decoration: underline; }
.fd-del { margin-left: auto; color: var(--slate-l); }
.fd-del:hover { color: var(--signal-d); }

@media (max-width: 900px) {
  #funkenDrawer { right: 12px; bottom: 12px; left: 12px; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ============================================================
   Drucken und PDF
   Auf Papier zählt nur, was erarbeitet wurde. Bedienung,
   Navigation und Schubladen haben da nichts verloren.
   ============================================================ */

@media print {
  .rail, .topbar .tb-tools, .footbar, #funkenDrawer,
  .btn-mic, .q-foot, .actions, .reminder, .export-ritual { display: none !important; }

  body { background: #fff; }
  .canvas { margin-left: 0; }
  .wrap { max-width: none; padding: 0; }
  .topbar {
    position: static;
    background: none;
    backdrop-filter: none;
    border-bottom: 1px solid #ddd;
    padding: 0 0 12px;
    margin-bottom: 24px;
  }
  .tb-field input { border: 0; }

  .q-card {
    border: 1px solid #ddd;
    box-shadow: none;
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 14px;
  }
  .q-card textarea {
    border: 0;
    padding: 0;
    min-height: 0;
    height: auto;
    resize: none;
    overflow: visible;
    background: none;
  }

  /* Die Funken kommen mit aufs Papier. Sie sind Teil der Arbeit. */
  .funke {
    background: #FBF6EA;
    border-left: 3px solid #E0A82E;
    break-inside: avoid;
  }
  .sug-actions { display: none; }

  a[href]:after { content: ""; }
  @page { margin: 18mm 16mm; }
}
