/* Lichtraum: beautiXverse Brand Kit über der CompanyOS-Vorlage.
   Verbindliche Spec: beautixverse/projekte/261028-ui-kit/DESIGN.md. Keine neuen Farben, Radien oder Schatten erfinden.
   Aufbau: 1. Schriften  2. Tokens (Lichtraum) und Abbildung der Vorlagen-Variablen  3. Bausteine, die die Vorlage überschreiben. */

/* ════════ 1. Schriften (lokal, damit die Marke auch ohne Google Fonts erkennbar bleibt) ════════ */
@font-face { font-family: 'Archivo'; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('/fonts/archivo-latin.woff2') format('woff2'); }
@font-face { font-family: 'Martian Mono'; font-weight: 300 500; font-display: swap; src: url('/fonts/martian-mono-latin.woff2') format('woff2'); }

/* ════════ 2. Tokens ════════ */
:root {
  /* Tag */
  --canvas: #F4F2F3; --canvas-2: #EAE7EA; --surface: #FCFBFC; --well: #ECE9EC;
  --ink: #100E1C; --ink-2: #47425A; --mute: #5E596F; --on-ink: #F6F4F7;
  --line: rgba(16,14,28,.09); --line-strong: rgba(16,14,28,.5);
  --signal: #E0207B; --focus: #11009E;
  --ok: #276541; --ok-bg: #DFEFE5; --warn: #A3460C; --warn-bg: #FDEDE2; --bad: #B4232F; --bad-bg: #FBE4E6;
  --glaze: linear-gradient(180deg, #2A2638, #100E1C);
  --grad-text: linear-gradient(90deg, #D61F76, #8E1C9C 50%, #3F2FE0);
  /* Marke */
  --mag: #FD3493; --vio: #8E1C9C; --ind: #11009E; --ind-lite: #4B3BFF;
  --grad: linear-gradient(90deg, #FD3493, #A02CC0 50%, #4B3BFF);
  --pearl: radial-gradient(circle at 32% 28%, #ffd3ea 0, #FD3493 22%, #8E1C9C 58%, #11009E 100%);
  --night: #0B0A17; --on-night: #F4F1FA; --night-mute: #A49DB8; --night-line: rgba(255,255,255,.14);
  /* Bereichsfarben */
  --c-umsatz: #FD3493; --c-umsatz-bg: #FDE8F2; --c-umsatz-ink: #C2186B;
  --c-ziel: #8E1C9C; --c-ziel-bg: #F3E6F7; --c-ziel-ink: #7A1786;
  --c-kunde: #4B3BFF; --c-kunde-bg: #E9E7FF; --c-kunde-ink: #3427D6;
  /* Form */
  --r-input: 16px; --r-kerbe: 34px; --r-img: 24px;
  --sh: 0 1px 2px rgba(30,20,50,.06), 0 12px 32px -12px rgba(40,25,70,.18);
  --sh-lift: 0 2px 4px rgba(30,20,50,.06), 0 24px 48px -16px rgba(40,25,70,.26);
  --inset: inset 2px 2px 6px rgba(60,40,80,.12), inset -2px -2px 6px rgba(255,255,255,.9);
  --ease: cubic-bezier(.16,1,.3,1); --spring: cubic-bezier(.34,1.56,.64,1);

  /* Vorlagen-Variablen auf Lichtraum abgebildet, damit alle bestehenden Ansichten mitziehen */
  --green: var(--ink); --green-mid: #2A2638; --green-dark: var(--ink);
  --white: var(--surface); --black: var(--ink);
  --cyan: var(--ind-lite); --cyan-bright: #FF5AA8; --cyan-deep: var(--c-kunde-ink);
  --text-56: var(--mute); --text-32: #6F6A80;
  --border-light: var(--line); --tint: var(--canvas-2); --tint-deep: var(--well);
  --grad-green-cyan-d: linear-gradient(160deg, #0B0A17 0%, #16142A 60%, #2A1F4A 100%);
  --r-card: 28px; --r-control: 16px; --r-chip: 999px; --r-pill: 999px;
  --card-shadow: var(--sh);
  --ease-smooth: var(--ease); --ease-spring: var(--spring);
  --meta: var(--c-kunde-ink); --meta-bg: var(--c-kunde-bg);
  --google: var(--c-ziel-ink); --google-bg: var(--c-ziel-bg);
  --organic: var(--ok); --organic-bg: var(--ok-bg);
  --nl: var(--c-umsatz-ink); --nl-bg: var(--c-umsatz-bg);
}

/* ════════ 3. Bausteine ════════ */
html { font-family: 'Archivo', system-ui, sans-serif; }
body { background: var(--canvas); color: var(--ink); }
.mono, .w .l .n, .w.tablew .head .n { font-family: 'Martian Mono', monospace; font-feature-settings: "tnum"; }

/* Akzentwort statt Serif-Kursive: ein Wort im Verlauf (DESIGN.md, „Fein und kräftig“) */
.serif {
  font-family: 'Archivo', sans-serif; font-style: normal; font-weight: inherit; font-size: 1em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Seitenkopf: Eyebrow, Titel als breite leichte Versalien */
.page-header { padding: 2rem 2rem 0.4rem; border-bottom: 0; background: transparent; }
.page-header h1 {
  font-stretch: 125%; font-weight: 300; text-transform: uppercase; letter-spacing: -0.028em;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.05;
}
.page-header h1 .serif { color: transparent; }
.page-header p { color: var(--mute); font-size: 0.86rem; margin-top: 0.35rem; }
.eyebrow { font-family: 'Martian Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 0.5rem; display: block; }

/* Seitenleiste hell (Referenz app-farbe/navigation.html) */
.sb { background: var(--surface); color: var(--ink-2); box-shadow: 1px 0 0 var(--line); padding-top: 1.4rem; }
.sb::before { display: none; }
.sb-brand { padding: 0 1.4rem; margin-bottom: 1.6rem; }
.sb-logo { height: 28px; width: auto; display: block; }
.sb-produkt { font-family: 'Martian Mono', monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-top: 0.4rem; }
.sb-grouphead { font-family: 'Martian Mono', monospace; font-size: 10px; letter-spacing: .12em; color: var(--mute); padding: 0 1.4rem; margin: 0.9rem 0 0.4rem; text-transform: uppercase; font-weight: 400; }
.sb-nav { padding: 0 0.75rem; gap: 0.2rem; }
.sb-nav a { color: var(--ink-2); border-radius: 999px; padding: 0.42rem 0.75rem 0.42rem 0.45rem; gap: 0.7rem; font-size: 0.92rem; }
.sb-nav a:hover { background: var(--canvas); color: var(--ink); }
.sb-nav a.active { background: var(--well); box-shadow: var(--inset); color: var(--ink); font-weight: 600; }
.sb-nav a.active::after { display: none; }
.sb-nav .nic { width: 32px; height: 32px; display: grid; place-items: center; flex-shrink: 0; }
.sb-nav .nic img { width: 20px; height: 20px; }
.sb-nav .nic img.an { display: none; width: 32px; height: 32px; }
.sb-nav a.active .nic img.aus { display: none; }
.sb-nav a.active .nic img.an { display: block; }
.sb-nav a .bald { margin-left: auto; font-family: 'Martian Mono', monospace; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.sb-nav a .zahl { background: var(--ink); color: var(--on-ink); font-family: 'Martian Mono', monospace; font-size: 11px; border-radius: 999px; }
.sb-user { border-top: 1px solid var(--line); color: var(--ink); }
.sb-user span { color: var(--mute); }
.sb-logout { color: var(--mute); }
.sb-logout:hover { color: var(--ink); }
.avatar { background: var(--ink); color: var(--on-ink); font-family: 'Martian Mono', monospace; }

/* Karten: erhaben, 28 px */
.w { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh); border: 0; }
.w:hover { box-shadow: var(--sh-lift); }
.w .l { font-family: 'Martian Mono', monospace; font-size: 10px; letter-spacing: .12em; font-weight: 400; color: var(--mute); }
.w .l .ic { color: var(--c-kunde-ink); }
.w .v { font-family: 'Archivo', sans-serif; font-stretch: 125%; font-weight: 220; letter-spacing: -0.03em; font-feature-settings: "tnum"; }
.w.hero { background: var(--night) url('/img/nebel-dunkel.jpg') center / cover; color: var(--on-night); }
.w.hero .v .euro, .w.hero .l .ic { color: #FF5AA8; }

/* Buttons: Pille, Primär mit Glasur und Perle */
.btn { height: 46px; border-radius: 999px; padding: 0 1.2rem; font-family: 'Archivo', sans-serif; font-stretch: 108%; font-weight: 500; font-size: 0.9rem; gap: 0.6rem; }
.btn-primary { background: var(--glaze); color: var(--on-ink); padding-left: 0.4rem; }
.btn-primary:hover { background: var(--glaze); transform: translateY(-2px); box-shadow: var(--sh-lift); }
.btn-primary .ic {
  width: 34px; height: 34px; border-radius: 50%; background: var(--pearl); color: #fff; font-size: 1rem;
  box-shadow: inset -3px -4px 8px rgba(0,0,0,.35), inset 3px 3px 6px rgba(255,255,255,.35);
}
.btn-secondary { background: var(--surface); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--sh); }
.btn-secondary:hover { border-color: var(--ind-lite); color: var(--ink); }
.btn-ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--ink); }
.btn:focus-visible, .seg button:focus-visible, .sb-nav a:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }

/* Segment-Reiter: weiße Leiste, aktiver Reiter eingeprägt mit Perle */
.seg { background: var(--surface); border-radius: 999px; padding: 5px; box-shadow: var(--sh); border: 1px solid var(--line); }
.seg button { border-radius: 999px; padding: 0.45rem 0.95rem; color: var(--ink-2); font-size: 0.84rem; }
.seg button.active { background: var(--well); box-shadow: var(--inset); color: var(--ink); font-weight: 600; }
.seg button.active::before { content: ''; display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--pearl); margin-right: 0.45rem; vertical-align: -1px; }

/* Felder: Mulde mit Kontur */
.search, .feld input, .feld select, .feld textarea, .sel {
  background: var(--well); border: 0; border-radius: var(--r-input);
  box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); color: var(--ink);
}
.search { border-radius: 999px; }
.search:focus-within, .feld input:focus, .feld select:focus, .feld textarea:focus {
  background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(75,59,255,.14); outline: none;
}

/* Tabellen neutral */
.w.tablew .head .hl { font-family: 'Martian Mono', monospace; font-size: 10px; letter-spacing: .12em; font-weight: 400; color: var(--mute); }
.w.tablew .head .hl .ic { color: var(--ink); }

/* Status-Pillen: Farbe nur mit Wort */
.pill { font-size: 0.72rem; }
.pill.st-aktiv { background: var(--ok-bg); color: var(--ok); }
.pill.st-onboarding { background: var(--c-kunde-bg); color: var(--c-kunde-ink); }
.pill.st-interessent { background: var(--c-ziel-bg); color: var(--c-ziel-ink); }
.pill.st-pausiert { background: var(--warn-bg); color: var(--warn); }
.pill.st-gekuendigt { background: var(--well); color: var(--mute); }
.pill.st-test { background: var(--c-kunde-bg); color: var(--c-kunde-ink); }

/* Chip mit X-Schnitt (Bereiche, Produkte) */
.bx-chip {
  --cut: 7px; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 12px;
  font: 400 10px 'Martian Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
  background: var(--canvas-2); clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); white-space: nowrap;
}
.bx-chip.b-ck-consulting { background: var(--c-umsatz-bg); color: var(--c-umsatz-ink); }
.bx-chip.b-beautixverse { background: var(--c-kunde-bg); color: var(--c-kunde-ink); }
.bx-chip.b-praxisboost { background: var(--c-ziel-bg); color: var(--c-ziel-ink); }
.chips { display: flex; gap: 4px; flex-wrap: wrap; }

/* Modal und Leadpanel */
.modal, .leadpanel { background: var(--surface); border-radius: var(--r-card); }
.leadpanel { border-radius: var(--r-card) 0 0 var(--r-card); }
.modal-kopf h2 { font-stretch: 125%; font-weight: 300; text-transform: uppercase; letter-spacing: -0.02em; }

/* Toast in Tinte */
.toast { background: var(--ink); color: var(--on-ink); border-radius: 999px; }

/* Hinweis „Neue Version verfügbar“ (public/version/version.js), oben mittig, damit er Toast und mobile Tab-Leiste nicht verdeckt */
.bx-version { position: fixed; top: 16px; left: 50%; transform: translate(-50%, -20px); z-index: 90; opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; max-width: calc(100vw - 24px);
  background: var(--ink); color: var(--on-ink); border-radius: 999px; box-shadow: var(--sh-lift);
  font: 500 14px 'Archivo', system-ui, sans-serif; transition: opacity .3s var(--ease), transform .4s var(--spring); }
.bx-version.zeigen { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.bx-version button { border: 0; cursor: pointer; font: inherit; border-radius: 999px; }
.bx-version-laden { background: var(--surface); color: var(--ink); padding: 7px 14px; }
.bx-version-laden:hover { background: var(--canvas-2); }
.bx-version-zu { background: transparent; color: var(--night-mute); width: 30px; height: 30px; font-size: 18px; line-height: 1; }
.bx-version-zu:hover { color: var(--on-ink); }
.bx-version button:focus-visible { outline: 2px solid var(--mag); outline-offset: 2px; }

/* Bühne: Nacht-Band für die Hauptkennzahlen (DESIGN.md „Farbe in der App“, Referenz index.html .bx-stage) */
.w.bx-stage { grid-column: span 12; position: relative; overflow: hidden; border-radius: var(--r-card); padding: 30px 150px 30px 32px;
  color: var(--on-night); background: var(--night) url('/img/nebel-dunkel.jpg') center / cover; box-shadow: var(--sh); }
.w.bx-stage:hover { box-shadow: var(--sh); }
.w.bx-stage::before { content: ""; position: absolute; inset: -40% 40% auto -10%; height: 140%; background: radial-gradient(closest-side, rgba(253,52,147,.35), transparent); pointer-events: none; }
.w.bx-stage::after { content: ""; position: absolute; inset: auto -10% -60% 50%; height: 140%; background: radial-gradient(closest-side, rgba(75,59,255,.35), transparent); pointer-events: none; }
.w.bx-stage > * { position: relative; z-index: 1; }
.w.bx-stage .ring { position: absolute; z-index: 0; right: -110px; top: -170px; width: 280px; height: 280px; border-radius: 50%; border: 1.5px solid transparent;
  background: conic-gradient(from 180deg, #4B3BFF 0deg, #A02CC0 45deg, #FD3493 90deg, #4B3BFF 360deg) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); }
.w.bx-stage .ring-pearl { position: absolute; z-index: 0; right: 60px; top: 98px; width: 14px; height: 14px; border-radius: 50%; background: var(--pearl); box-shadow: 0 0 12px rgba(253,52,147,.6); }
.w.bx-stage .eyebrow { color: var(--night-mute); margin: 0; }
.w.bx-stage .cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: 18px; }
.w.bx-stage .cols > div { border-left: 1px solid var(--night-line); padding-left: 20px; min-width: 0; }
.w.bx-stage .cols > div:first-child { border: 0; padding: 0; }
.w.bx-stage .n { font-family: 'Archivo', sans-serif; font-stretch: 125%; font-weight: 250; letter-spacing: -.02em; font-size: clamp(24px, 2.3vw, 38px);
  line-height: 1.1; white-space: nowrap; font-feature-settings: "tnum"; }
.w.bx-stage .s { color: #BEB7CF; font-size: 14px; margin-top: 4px; }
.w.bx-stage .cols .eyebrow { margin-top: 6px; }
.bx-gt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 1250px) {
  .w.bx-stage .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .w.bx-stage .cols > div:nth-child(3n+1) { border: 0; padding-left: 0; }
}
@media (max-width: 900px) {
  .w.bx-stage { padding-right: 32px; }
  .w.bx-stage .ring, .w.bx-stage .ring-pearl { display: none; }
  .w.bx-stage .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w.bx-stage .cols > div { border-left: 1px solid var(--night-line); padding-left: 20px; }
  .w.bx-stage .cols > div:nth-child(odd) { border: 0; padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}

/* ════════ Einheitliche Höhe in Werkzeugleisten (Wunsch Corinna 2026-11-01) ════════
   Segment-Reiter, Suchfeld und Auswahl stehen in einer Reihe gleich hoch (48 px) mit gleicher Schriftgröße. */
.filters { align-items: center; }
.seg { height: 48px; align-items: stretch; box-sizing: border-box; }
.seg button { display: inline-flex; align-items: center; font-size: 15px; }
.filters .search, .filters .sel, .filters select { height: 48px; box-sizing: border-box; font-size: 15px; }
.search { padding: 0 18px; gap: 10px; min-width: 300px; }
.search input { font-size: 15px; height: 100%; color: var(--ink); }
.search input::placeholder { color: var(--mute); }
.sel { min-width: 200px; padding: 0 44px 0 18px; border-radius: 999px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235E596F' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; }
.sel:focus { background-color: var(--surface); }

/* ════════ Aufgaben: Pipeline, Karten, Detail (Paket 1, 2026-11-01) ════════ */
.a-pipe { display: grid; grid-template-columns: repeat(5, minmax(205px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.a-spalte { background: var(--well); box-shadow: var(--inset); border-radius: var(--r-card); padding: 14px 10px 10px; min-height: 240px; transition: box-shadow .2s var(--ease); }
.a-spalte.ueber { box-shadow: var(--inset), inset 0 0 0 1.5px var(--ink); }
.a-spalte header { display: flex; align-items: center; gap: 8px; padding: 0 6px 12px; }
.a-spalte header .eyebrow { margin: 0; }
.a-spalte header .icon-btn { margin-left: auto; }
.a-zahl { background: var(--ink); color: var(--on-ink); font: 400 11px 'Martian Mono', monospace; border-radius: 999px; padding: 1px 8px; }
.a-karten { display: grid; gap: 10px; min-height: 60px; }
.a-leer { border: 1.5px dashed var(--line-strong); border-radius: var(--r-input); padding: 18px 10px; text-align: center; font-size: 13px; color: var(--mute); }
.a-karte { background: var(--surface); border-radius: var(--r-input); box-shadow: var(--sh); padding: 12px 14px; cursor: grab; display: grid; gap: 8px;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease); position: relative; overflow: hidden; }
.a-karte:hover { box-shadow: var(--sh-lift); transform: translateY(-1px); }
.a-karte:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.a-karte.zieht { opacity: .45; cursor: grabbing; }
.a-karte.prio-dringend::before, .a-karte.prio-hoch::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--bad); }
.a-karte.prio-hoch::before { background: var(--warn); }
.a-karte > * { min-width: 0; }
.a-titel { overflow-wrap: anywhere; font-weight: 600; font-size: 14px; line-height: 1.35; color: var(--ink); }
.a-zeile { display: flex; flex-wrap: wrap; gap: 4px; }
.a-zeile:empty { display: none; }
.a-zeile { min-width: 0; }
.a-zeile .bx-chip { max-width: 100%; min-width: 0; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; display: block; line-height: 24px; white-space: nowrap; }
.a-fuss { display: flex; align-items: center; gap: 8px; font-size: 12px; min-width: 0; }
.a-fuss > .mono { min-width: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.4; }
.a-fuss .rechts { flex-shrink: 0; }
.a-fuss .rechts { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.a-fuss .mono, .ap-zeile .mono { font-family: 'Martian Mono', monospace; font-size: 11px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 3px; }
.mono.leise { color: var(--mute); }
.mono.ueberfaellig { color: var(--bad); }
.mono.heute { color: var(--warn); }
.avatar.mini { width: 24px; height: 24px; border-radius: 50%; font-size: 9px; display: inline-grid; place-items: center; flex-shrink: 0; }
.avatar.mini.pruef { background: var(--c-ziel-bg); color: var(--c-ziel-ink); }
.a-prio { font: 400 10px 'Martian Mono', monospace; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.a-prio.dringend { background: var(--bad-bg); color: var(--bad); }
.a-prio.hoch { background: var(--warn-bg); color: var(--warn); }
.a-prio.niedrig { background: var(--canvas-2); color: var(--mute); }
.a-unter { display: inline-flex; align-items: center; gap: 6px; }
.a-unter .track { width: 64px; height: 6px; border-radius: 999px; background: var(--well); box-shadow: var(--inset); overflow: hidden; }
.a-unter .track i { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
.a-unter .mono { font-family: 'Martian Mono', monospace; font-size: 11px; color: var(--ink-2); }
.a-status { font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--canvas-2); color: var(--ink-2); white-space: nowrap; }
.a-status.st-in_arbeit { background: var(--c-kunde-bg); color: var(--c-kunde-ink); }
.a-status.st-wartet_kunde { background: var(--canvas-2); color: var(--ink-2); }
.a-status.st-pruefung { background: var(--c-ziel-bg); color: var(--c-ziel-ink); }
.a-status.st-erledigt { background: var(--ok-bg); color: var(--ok); }
tr[data-oeffnen] { cursor: pointer; }

.leadpanel.breit { width: min(620px, 96vw); }
.ap-head { align-items: flex-start; }
.ap-kette { font-size: 12px; color: var(--mute); display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.ap-kette a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.ap-titel { width: 100%; border: 0; background: transparent; font: 600 20px 'Archivo', sans-serif; color: var(--ink); padding: 4px 6px; margin-left: -6px; border-radius: var(--r-input); }
.ap-titel:hover { background: var(--canvas); }
.ap-titel:focus { outline: none; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(75,59,255,.14); }
.ap-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.ap-raster label { display: grid; gap: 4px; font: 400 10px 'Martian Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.ap-raster select, .ap-raster input, .ap-text, .ap-neu input, .ap-neu select, .ap-komneu textarea, .ap-beob select {
  font: 400 14px 'Archivo', sans-serif; color: var(--ink); background: var(--well); border: 0; border-radius: var(--r-input);
  box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); padding: 9px 12px; width: 100%; text-transform: none; letter-spacing: 0; }
.ap-raster select:focus, .ap-raster input:focus, .ap-text:focus, .ap-neu input:focus, .ap-komneu textarea:focus {
  outline: none; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(75,59,255,.14); }
.ap-raster input.ist-ueberfaellig { box-shadow: inset 0 0 0 1.5px var(--bad), 0 0 0 4px var(--bad-bg); }
.ap-bezug { font: 400 14px 'Archivo', sans-serif; text-transform: none; letter-spacing: 0; color: var(--ink); padding: 9px 0; }
.ap-hinweis { margin-top: 10px; font-size: 13px; color: var(--bad); }
.ap-portal { display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--ink); }
.ap-portal input { width: 18px; height: 18px; flex: none; margin: 0; accent-color: var(--ink); }
.ap-ziel { margin-top: 12px; align-items: end; }
.ap-ziel-hilfe { padding-bottom: 12px; }
.ap-hoch { justify-self: start; }
.ap-text { resize: vertical; min-height: 90px; line-height: 1.5; }
.ap-liste { display: grid; gap: 6px; }
.ap-zeile { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: var(--r-input); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ap-zeile .tx { flex: 1; min-width: 0; color: var(--ink); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-zeile.fertig .tx { text-decoration: line-through; color: var(--mute); }
.ap-neu { display: flex; gap: 6px; align-items: center; }
.ap-neu input[name="titel"] { flex: 2; }
.ap-neu select, .ap-neu input[name="url"] { flex: 1.4; }
.ap-beob { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ap-beob select { width: auto; flex: 1; min-width: 160px; }
.ap-person { display: inline-flex; align-items: center; gap: 4px; background: var(--c-kunde-bg); color: var(--c-kunde-ink); border-radius: 999px; padding: 3px 4px 3px 12px; font-size: 13px; }
.ap-person button { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; color: inherit; }
.ap-person button:hover { background: var(--surface); }
.ap-kommentare { display: grid; gap: 12px; }
.ap-kom { display: flex; gap: 10px; }
.ap-kom .m { font-size: 12px; color: var(--mute); }
.ap-kom .m a { color: var(--mute); text-decoration: underline; }
.ap-kom .t { font-size: 14px; white-space: pre-wrap; color: var(--ink); margin-top: 2px; }
.ap-komneu { display: grid; gap: 6px; justify-items: end; }
@media (max-width: 900px) { .ap-raster { grid-template-columns: 1fr; } .ap-neu { flex-wrap: wrap; } }

/* ════════ Kundenlogos (von der Website geholt, sonst Initialen) ════════ */
.k-logo { width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--r-input); background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  display: inline-grid; place-items: center; overflow: hidden; }
.k-logo img { max-width: 78%; max-height: 78%; object-fit: contain; display: block; }
.k-logo.ohne { background: var(--canvas-2); box-shadow: none; font: 400 11px 'Martian Mono', monospace; color: var(--ink-2); letter-spacing: .04em; }
.k-logo.gross { width: 64px; height: 64px; }
.k-logo.gross.ohne { font-size: 15px; }
.k-logo.mini { width: 22px; height: 22px; border-radius: 50%; }
.k-logo.mini.ohne { font-size: 8px; }
.k-name { display: flex; align-items: center; gap: 12px; }
.k-kopf { display: flex; align-items: center; gap: 20px; }
.k-logozeile { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.a-zeile { align-items: center; }
.a-kunde { display: flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; }

/* ════════ Marke je Kunde: Logos, Farben, Schriften ════════ */
.w .l .n { text-transform: none; letter-spacing: 0; }
.m-werkzeug { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 14px 0 18px; }
.m-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.m-logo { margin: 0; border-radius: var(--r-input); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: grid; }
.m-logo.haupt { box-shadow: inset 0 0 0 1.5px var(--ink); }
.m-vorschau { height: 140px; display: grid; place-items: center; background: #fff; padding: 20px; border-bottom: 1px solid var(--line); }
.m-logos.dunkel .m-vorschau { background: var(--night); }
.m-vorschau img { max-width: 100%; max-height: 100px; object-fit: contain; }
.m-logo figcaption { padding: 12px 14px 14px; display: grid; gap: 6px; }
.m-name { border: 0; background: transparent; font: 600 14px 'Archivo', sans-serif; color: var(--ink); padding: 4px 6px; margin-left: -6px; border-radius: 10px; width: 100%; }
.m-name:hover { background: var(--canvas); }
.m-name:focus { outline: none; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink); }
.m-aktionen { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.m-aktionen > :first-child { margin-right: auto; }
.m-haupt { display: inline-flex; align-items: center; gap: 8px; font: 400 10px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.m-perle { width: 14px; height: 14px; border-radius: 50%; background: var(--pearl); box-shadow: inset -2px -2px 4px rgba(0,0,0,.3), inset 2px 2px 3px rgba(255,255,255,.35); }
.m-ablage { min-height: 230px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-input); background: var(--well); box-shadow: var(--inset);
  display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 20px; cursor: pointer; transition: box-shadow .2s var(--ease); }
.m-ablage .ic { font-size: 22px; color: var(--ink-2); }
.m-ablage b { font-size: 14px; color: var(--ink); }
.m-ablage.ueber { box-shadow: var(--inset), inset 0 0 0 1.5px var(--ink); }
.m-streifen { display: flex; height: 44px; border-radius: var(--r-input); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); margin: 14px 0 16px; }
.m-streifen span { flex: 1; }
.m-streifen .leer-streifen { display: grid; place-items: center; font-size: 13px; color: var(--mute); background: var(--well); }
.m-farben { display: grid; gap: 8px; }
.m-farbe { display: grid; grid-template-columns: 44px 110px 1fr 150px 32px; gap: 8px; align-items: center; }
.m-farbe input[type="color"] { width: 44px; height: 40px; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 12px; }
.m-farbe input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.m-farbe input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.m-farbe input:not([type="color"]), .m-farbe select, .m-form input, .m-form textarea, .m-form select {
  font: 400 14px 'Archivo', sans-serif; color: var(--ink); background: var(--well); border: 0; border-radius: var(--r-input);
  box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); padding: 10px 12px; width: 100%; min-width: 0; box-sizing: border-box; }
.m-farbe input.mono { font-family: 'Martian Mono', monospace; font-size: 12px; }
.m-farbe input:focus, .m-farbe select:focus, .m-form input:focus, .m-form textarea:focus, .m-form select:focus { outline: none; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(75,59,255,.14); }
.m-form { display: grid; gap: 14px; margin-top: 14px; }
.m-form label { display: grid; gap: 6px; font: 400 10px 'Martian Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.m-fuss { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
@media (max-width: 1100px) { .m-farbe { grid-template-columns: 44px 1fr 32px; } .m-farbe input[data-feld="name"], .m-farbe select { grid-column: 2 / 3; } }

/* Eigene Icons statt Remix (DESIGN.md „Icons“): die Remix-Klassen bleiben im Code, das Motiv kommt per Maske aus public/icons/
   und nimmt die Textfarbe an. Klassen ohne Zeile hier zeigen weiter das Remix-Motiv (heute nur Markenzeichen: Meta, Google, TikTok, LinkedIn). */
i.ri-add-line::before { --bx-src: url('/icons/plus-inaktiv.svg'); }
i.ri-delete-bin-line::before { --bx-src: url('/icons/loeschen-inaktiv.svg'); }
i.ri-delete-bin-6-line::before { --bx-src: url('/icons/loeschen-inaktiv.svg'); }
i.ri-edit-line::before { --bx-src: url('/icons/bearbeiten-inaktiv.svg'); }
i.ri-check-line::before { --bx-src: url('/icons/haken-inaktiv.svg'); }
i.ri-checkbox-circle-line::before { --bx-src: url('/icons/haken-inaktiv.svg'); }
i.ri-save-line::before { --bx-src: url('/icons/haken-inaktiv.svg'); }
i.ri-task-line::before { --bx-src: url('/icons/haken-inaktiv.svg'); }
i.ri-user-add-line::before { --bx-src: url('/icons/benutzer-inaktiv.svg'); }
i.ri-user-follow-line::before { --bx-src: url('/icons/benutzer-inaktiv.svg'); }
i.ri-user-shared-line::before { --bx-src: url('/icons/benutzer-inaktiv.svg'); }
i.ri-user-heart-line::before { --bx-src: url('/icons/herz-inaktiv.svg'); }
i.ri-contacts-book-line::before { --bx-src: url('/icons/kundin-inaktiv.svg'); }
i.ri-filter-3-line::before { --bx-src: url('/icons/filter-inaktiv.svg'); }
i.ri-coins-line::before { --bx-src: url('/icons/finance-inaktiv.svg'); }
i.ri-price-tag-3-line::before { --bx-src: url('/icons/preis-inaktiv.svg'); }
i.ri-sticky-note-line::before { --bx-src: url('/icons/dokument-inaktiv.svg'); }
i.ri-file-copy-line::before { --bx-src: url('/icons/dokument-inaktiv.svg'); }
i.ri-survey-line::before { --bx-src: url('/icons/dokument-inaktiv.svg'); }
i.ri-folder-user-line::before { --bx-src: url('/icons/dokument-inaktiv.svg'); }
i.ri-folder-shared-line::before { --bx-src: url('/icons/dokument-inaktiv.svg'); }
i.ri-book-open-line::before { --bx-src: url('/icons/dokument-inaktiv.svg'); }
i.ri-archive-line::before { --bx-src: url('/icons/stapel-inaktiv.svg'); }
i.ri-links-line::before { --bx-src: url('/icons/teilen-inaktiv.svg'); }
i.ri-share-forward-line::before { --bx-src: url('/icons/teilen-inaktiv.svg'); }
i.ri-external-link-line::before { --bx-src: url('/icons/pfeil-rechts-inaktiv.svg'); }
i.ri-arrow-left-line::before { --bx-src: url('/icons/pfeil-rechts-inaktiv.svg'); transform: scaleX(-1); }
i.ri-file-text-line::before { --bx-src: url('/icons/dokument-inaktiv.svg'); }
i.ri-lock-line::before { --bx-src: url('/icons/schloss-inaktiv.svg'); }
i.ri-image-line::before { --bx-src: url('/icons/kamera-inaktiv.svg'); }
i.ri-arrow-left-right-line::before { --bx-src: url('/icons/pfeil-rechts-inaktiv.svg'); }
i.ri-flashlight-line::before { --bx-src: url('/icons/orbit-inaktiv.svg'); }
i.ri-refresh-line::before { --bx-src: url('/icons/orbit-inaktiv.svg'); }
i.ri-apps-line::before { --bx-src: url('/icons/studio-app-inaktiv.svg'); }
i.ri-apps-2-line::before { --bx-src: url('/icons/studio-app-inaktiv.svg'); }
i.ri-verified-badge-line::before { --bx-src: url('/icons/stern-inaktiv.svg'); }
i.ri-trophy-line::before { --bx-src: url('/icons/ranking-inaktiv.svg'); }
i.ri-upload-2-line::before { --bx-src: url('/icons/hochladen-inaktiv.svg'); }
i.ri-upload-cloud-2-line::before { --bx-src: url('/icons/hochladen-inaktiv.svg'); }
i.ri-download-2-line::before { --bx-src: url('/icons/herunterladen-inaktiv.svg'); }
i.ri-search-line::before { --bx-src: url('/icons/suche-inaktiv.svg'); }
i.ri-user-search-line::before { --bx-src: url('/icons/suche-inaktiv.svg'); }
i.ri-mail-line::before { --bx-src: url('/icons/nachricht-inaktiv.svg'); }
i.ri-mail-open-line::before { --bx-src: url('/icons/nachricht-inaktiv.svg'); }
i.ri-chat-smile-2-line::before { --bx-src: url('/icons/nachricht-inaktiv.svg'); }
i.ri-chat-3-line::before { --bx-src: url('/icons/chat-inaktiv.svg'); }
i.ri-eye-line::before { --bx-src: url('/icons/auge-inaktiv.svg'); }
i.ri-send-plane-line::before { --bx-src: url('/icons/pfeil-rechts-inaktiv.svg'); }
i.ri-mic-line::before { --bx-src: url('/icons/mikrofon-inaktiv.svg'); }
i.ri-arrow-go-back-line::before { --bx-src: url('/icons/pfeil-links-inaktiv.svg'); }
i.ri-history-line::before { --bx-src: url('/icons/uhr-inaktiv.svg'); }
i.ri-time-line::before { --bx-src: url('/icons/uhr-inaktiv.svg'); }
i.ri-error-warning-line::before { --bx-src: url('/icons/warnung-inaktiv.svg'); }
i.ri-arrow-right-line::before { --bx-src: url('/icons/pfeil-rechts-inaktiv.svg'); }
i.ri-road-map-line::before { --bx-src: url('/icons/wachstum-inaktiv.svg'); }
i.ri-quill-pen-line::before { --bx-src: url('/icons/bearbeiten-inaktiv.svg'); }
i.ri-printer-line::before { --bx-src: url('/icons/herunterladen-inaktiv.svg'); }
i.ri-question-answer-line::before { --bx-src: url('/icons/chat-inaktiv.svg'); }
i.ri-lightbulb-line::before { --bx-src: url('/icons/info-inaktiv.svg'); }
i.ri-notification-3-line::before { --bx-src: url('/icons/glocke-inaktiv.svg'); }
i.ri-close-line::before { --bx-src: url('/icons/schliessen-inaktiv.svg'); }
i.ri-calendar-check-line::before { --bx-src: url('/icons/kalender-inaktiv.svg'); }
i.ri-calendar-schedule-line::before { --bx-src: url('/icons/kalender-inaktiv.svg'); }
i.ri-account-box-line::before { --bx-src: url('/icons/benutzer-inaktiv.svg'); }
i.ri-add-box-line::before { --bx-src: url('/icons/plus-inaktiv.svg'); }
i.ri-arrow-left-s-line::before { --bx-src: url('/icons/pfeil-links-inaktiv.svg'); }
i.ri-arrow-right-s-line::before { --bx-src: url('/icons/pfeil-rechts-inaktiv.svg'); }
i.ri-crop-line::before { --bx-src: url('/icons/regler-inaktiv.svg'); }
i.ri-download-cloud-2-line::before { --bx-src: url('/icons/herunterladen-inaktiv.svg'); }
i.ri-film-line::before { --bx-src: url('/icons/aufnahme-inaktiv.svg'); }
i.ri-font-size::before { --bx-src: url('/icons/bearbeiten-inaktiv.svg'); }
i.ri-fullscreen-line::before { --bx-src: url('/icons/vollbild-inaktiv.svg'); }
i.ri-grid-line::before { --bx-src: url('/icons/stapel-inaktiv.svg'); }
i.ri-heart-3-line::before { --bx-src: url('/icons/herz-inaktiv.svg'); }
i.ri-image-add-line::before { --bx-src: url('/icons/hochladen-inaktiv.svg'); }
i.ri-magic-line::before { --bx-src: url('/icons/stern-inaktiv.svg'); }
i.ri-menu-line::before { --bx-src: url('/icons/menue-inaktiv.svg'); }
i.ri-movie-2-line::before { --bx-src: url('/icons/aufnahme-inaktiv.svg'); }
i.ri-search-eye-line::before { --bx-src: url('/icons/suche-inaktiv.svg'); }
i.ri-settings-3-line::before { --bx-src: url('/icons/einstellungen-inaktiv.svg'); }
i.ri-shuffle-line::before { --bx-src: url('/icons/regler-inaktiv.svg'); }
i.ri-sparkling-line::before { --bx-src: url('/icons/stern-inaktiv.svg'); }
i.ri-user-settings-line::before { --bx-src: url('/icons/benutzer-inaktiv.svg'); }
i.ri-video-add-line::before { --bx-src: url('/icons/aufnahme-inaktiv.svg'); }
i.ri-team-line::before { --bx-src: url('/icons/team-inaktiv.svg'); }
i.ri-group-line::before { --bx-src: url('/icons/team-inaktiv.svg'); }
i.ri-seedling-line::before { --bx-src: url('/icons/wachstum-inaktiv.svg'); }
i.ri-rocket-2-line::before { --bx-src: url('/icons/wachstum-inaktiv.svg'); }
i.ri-line-chart-line::before { --bx-src: url('/icons/wachstum-inaktiv.svg'); }
i.ri-bar-chart-2-line::before { --bx-src: url('/icons/analyse-inaktiv.svg'); }
i.ri-donut-chart-line::before { --bx-src: url('/icons/analyse-inaktiv.svg'); }
i.ri-presentation-line::before { --bx-src: url('/icons/analyse-inaktiv.svg'); }
i.ri-radar-line::before { --bx-src: url('/icons/ziel-inaktiv.svg'); }
i.ri-phone-line::before { --bx-src: url('/icons/telefon-inaktiv.svg'); }
i.ri-information-line::before { --bx-src: url('/icons/info-inaktiv.svg'); }
i.ri-lock-password-line::before { --bx-src: url('/icons/schloss-inaktiv.svg'); }
i.ri-building-line::before { --bx-src: url('/icons/branche-inaktiv.svg'); }
i.ri-more-line::before { --bx-src: url('/icons/menue-inaktiv.svg'); }
i.ri-arrow-down-line::before { --bx-src: url('/icons/pfeil-runter-inaktiv.svg'); }
i.ri-arrow-down-s-line::before { --bx-src: url('/icons/pfeil-runter-inaktiv.svg'); }
i.ri-graduation-cap-line::before { --bx-src: url('/icons/akademie-inaktiv.svg'); }
i.ri-megaphone-line::before { --bx-src: url('/icons/kampagne-inaktiv.svg'); }
i.ri-stack-line::before { --bx-src: url('/icons/stapel-inaktiv.svg'); }
i.ri-webhook-line::before { --bx-src: url('/icons/verbindung-inaktiv.svg'); }
i.ri-add-line::before,
i.ri-delete-bin-line::before,
i.ri-delete-bin-6-line::before,
i.ri-edit-line::before,
i.ri-check-line::before,
i.ri-checkbox-circle-line::before,
i.ri-save-line::before,
i.ri-task-line::before,
i.ri-user-add-line::before,
i.ri-user-follow-line::before,
i.ri-user-shared-line::before,
i.ri-user-heart-line::before,
i.ri-contacts-book-line::before,
i.ri-filter-3-line::before,
i.ri-coins-line::before,
i.ri-price-tag-3-line::before,
i.ri-sticky-note-line::before,
i.ri-file-copy-line::before,
i.ri-survey-line::before,
i.ri-folder-user-line::before,
i.ri-folder-shared-line::before,
i.ri-links-line::before,
i.ri-share-forward-line::before,
i.ri-external-link-line::before,
i.ri-arrow-left-line::before,
i.ri-file-text-line::before,
i.ri-play-line::before,
i.ri-arrow-up-line::before,
i.ri-graduation-cap-line::before,
i.ri-lock-line::before,
i.ri-image-line::before,
i.ri-arrow-left-right-line::before,
i.ri-flashlight-line::before,
i.ri-refresh-line::before,
i.ri-apps-line::before,
i.ri-apps-2-line::before,
i.ri-verified-badge-line::before,
i.ri-trophy-line::before,
i.ri-upload-2-line::before,
i.ri-upload-cloud-2-line::before,
i.ri-download-2-line::before,
i.ri-search-line::before,
i.ri-user-search-line::before,
i.ri-mail-line::before,
i.ri-mail-open-line::before,
i.ri-chat-smile-2-line::before,
i.ri-chat-3-line::before,
i.ri-eye-line::before,
i.ri-send-plane-line::before,
i.ri-mic-line::before,
i.ri-arrow-go-back-line::before,
i.ri-history-line::before,
i.ri-time-line::before,
i.ri-error-warning-line::before,
i.ri-arrow-right-line::before,
i.ri-road-map-line::before,
i.ri-quill-pen-line::before,
i.ri-printer-line::before,
i.ri-question-answer-line::before,
i.ri-lightbulb-line::before,
i.ri-notification-3-line::before,
i.ri-close-line::before,
i.ri-calendar-check-line::before,
i.ri-calendar-schedule-line::before,
i.ri-account-box-line::before,
i.ri-add-box-line::before,
i.ri-arrow-left-s-line::before,
i.ri-arrow-right-s-line::before,
i.ri-crop-line::before,
i.ri-download-cloud-2-line::before,
i.ri-film-line::before,
i.ri-font-size::before,
i.ri-fullscreen-line::before,
i.ri-grid-line::before,
i.ri-heart-3-line::before,
i.ri-image-add-line::before,
i.ri-magic-line::before,
i.ri-menu-line::before,
i.ri-movie-2-line::before,
i.ri-search-eye-line::before,
i.ri-settings-3-line::before,
i.ri-shuffle-line::before,
i.ri-sparkling-line::before,
i.ri-user-settings-line::before,
i.ri-video-add-line::before,
i.ri-team-line::before,
i.ri-group-line::before,
i.ri-seedling-line::before,
i.ri-rocket-2-line::before,
i.ri-line-chart-line::before,
i.ri-bar-chart-2-line::before,
i.ri-donut-chart-line::before,
i.ri-presentation-line::before,
i.ri-radar-line::before,
i.ri-phone-line::before,
i.ri-information-line::before,
i.ri-lock-password-line::before,
i.ri-building-line::before,
i.ri-more-line::before,
i.ri-arrow-down-line::before,
i.ri-arrow-down-s-line::before,
i.ri-graduation-cap-line::before,
i.ri-megaphone-line::before,
i.ri-stack-line::before,
i.ri-book-open-line::before,
i.ri-archive-line::before,
i.ri-webhook-line::before {
  content: ""; display: inline-block; width: 1em; height: 1em; vertical-align: -0.14em; background: currentColor;
  -webkit-mask: var(--bx-src) center / contain no-repeat; mask: var(--bx-src) center / contain no-repeat; }

.m-aktionen .btn { height: 34px; padding: 0 14px; font-size: 13px; }

/* Marke: Status Vorschlag oder bestätigt. Hinweis ist keine Warnung (DESIGN.md): weiße Card, Verlaufskante links, Icon im Ziel-Violett */
.w.m-status { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; position: relative; overflow: hidden; padding-left: 28px; }
.w.m-status::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.w.m-status.st-bestaetigt::before { background: var(--ok); }
.m-status-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--c-ziel-bg); color: var(--c-ziel-ink); font-size: 18px; flex-shrink: 0; }
.st-bestaetigt .m-status-ic { background: var(--ok-bg); color: var(--ok); }
.m-status-tx { display: grid; gap: 2px; flex: 1; min-width: 260px; }
.m-status-tx b { font-size: 15px; color: var(--ink); }
.m-status-knopf { display: flex; gap: 8px; flex-wrap: wrap; }
.m-farbe { position: relative; }
.m-quelle { grid-column: 2 / -1; font: 400 10px 'Martian Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ziel-ink); margin-top: -2px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* ════════ Tickets ════════ */
.t-status { font-size: 12px; padding: 2px 10px; border-radius: 999px; white-space: nowrap; background: var(--canvas-2); color: var(--ink-2); }
.t-status.st-neu { background: var(--c-umsatz-bg); color: var(--c-umsatz-ink); }
.t-status.st-in_arbeit { background: var(--c-kunde-bg); color: var(--c-kunde-ink); }
.t-status.st-erledigt { background: var(--ok-bg); color: var(--ok); }
.t-frist { font: 400 11px 'Martian Mono', monospace; color: var(--ink-2); white-space: nowrap; }
.t-frist.leise { color: var(--mute); }
.t-frist.bald { color: var(--warn); }
.t-frist.ueber { color: var(--bad); }
tr[data-ticket] { cursor: pointer; }
tr.ist-ueber td:first-child { box-shadow: inset 4px 0 0 var(--bad); }
.t-snippet { white-space: normal; font-family: 'Archivo', sans-serif !important; font-size: 13px !important; color: var(--mute) !important; }
.t-kunde { display: inline-flex; align-items: center; gap: 8px; }
.t-ohne { font-size: 13px; color: var(--c-umsatz-ink); }
.t-hinweise { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 4px; }
.t-hinweise:empty { display: none; }
.t-filterchip { border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: 6px 14px; font: 400 14px 'Archivo', sans-serif; color: var(--ink-2); cursor: pointer; }
.t-filterchip.an { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.t-betreff { font-size: 20px; font-weight: 600; line-height: 1.25; margin-top: 2px; }
.t-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.t-verlauf { display: grid; gap: 12px; }
.t-msg { border-radius: var(--r-input); padding: 12px 14px; background: var(--canvas); max-width: 92%; }
.t-msg.team { background: var(--c-kunde-bg); justify-self: end; }
.t-msg.notiz { background: var(--surface); box-shadow: inset 0 0 0 1.5px dashed; box-shadow: inset 0 0 0 1px var(--line-strong); justify-self: end; }
.t-kopf { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 4px; }
.t-kopf .klein { margin-left: auto; }
.t-text { white-space: pre-wrap; font-size: 14px; line-height: 1.55; color: var(--ink); }
.t-intern { font: 400 10px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); background: var(--well); border-radius: 999px; padding: 1px 8px; }
.t-versand { margin-top: 8px; font-size: 12px; color: var(--warn); }
.t-system { text-align: center; font-size: 12px; color: var(--mute); }
.t-antwort { margin-top: 20px; display: grid; gap: 10px; }
.t-antwort-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.t-erledigen { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.t-erledigen[hidden] { display: none; }
.t-wohin { margin: 0; color: var(--ink-2); }
.t-tipp { margin: 0; color: var(--mute); }
/* Antwortfeld: Chat-Baustein mit mehr Platz zum Schreiben */
.t-antwort .cw-feld { min-height: 150px; padding: 14px 16px 6px; background: transparent; border: 0; box-shadow: none; resize: none; }
.t-antwort .cw-senden, .t-antwort .t-senden { height: 40px; }
.t-antwort.ist-notiz .cw { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); }
.t-art { justify-self: start; }
.t-knoepfe { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
/* Ticket-Panel breiter als andere Seitenpanels, damit Verlauf und Antwort Luft haben */
.leadpanel.breit.ticket { width: min(900px, 96vw); }
.t-text { white-space: normal; }
.t-text .cw-text { font-size: 14px; }
.t-versand.ok { color: var(--ok); }

.t-anhang { padding: 10px; margin: 0; }
.t-anhang.kunde { justify-self: start; }
.t-anhang img, .t-anhang video { display: block; max-width: 100%; max-height: 320px; border-radius: 12px; margin: 6px 0; }
.t-datei { margin-right: auto; cursor: pointer; }

/* Hilfe-Button einbinden */
.h-code { background: var(--night); color: var(--on-night); border-radius: var(--r-input); padding: 16px 18px; font: 400 12px/1.6 'Martian Mono', monospace; white-space: pre-wrap; word-break: break-all; }
.h-code.h-text { word-break: normal; max-height: 420px; overflow: auto; }
.h-liste { list-style: none; display: grid; gap: 6px; margin-top: 10px; }
.h-liste li { background: var(--canvas); border-radius: 999px; padding: 6px 14px; font-size: 12px; }

/* Freischaltung der Apps in der Kundenakte */
.p-app { background: var(--canvas); border-radius: var(--r-input); padding: 14px 16px; }
.p-app-titel { font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.p-module { display: flex; gap: 8px 18px; flex-wrap: wrap; }
.p-modul { display: inline-flex !important; align-items: center; gap: 8px; font: 400 14px 'Archivo', sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--ink) !important; }
.p-modul input { width: auto !important; accent-color: var(--ink); }
.p-knoepfe { display: flex; gap: 6px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.p-knoepfe .btn { height: 30px; padding: 0 12px; font-size: 12px; }

/* Apps anbinden */
.an-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.an-app { display: grid; gap: 8px; justify-items: start; text-align: left; border: 0; cursor: pointer; padding: 16px; border-radius: var(--r-input); background: var(--canvas); font: inherit; color: var(--ink); }
.an-app b { font-size: 17px; }
.an-app.an { background: var(--well); box-shadow: var(--inset), inset 0 0 0 1.5px var(--ink); }
.an-text { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin-top: 8px; }
@media (max-width: 1100px) { .an-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Roadmap in der Kundenakte und Vorlagen */
.rm-start { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rm-start.gross { margin-top: 4px; justify-content: center; }
.rm-start .sel { min-width: 260px; height: 44px; flex: 0 0 auto; }
.rm-kopf { display: flex; align-items: center; gap: 18px; }
.rm-titel { flex: 1; min-width: 0; display: grid; gap: 4px; }
.rm-titel h3 { font-size: 20px; font-weight: 600; }
.rm-schalter { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
/* Schalter aus dem Design-Kit (.bx-toggle) */
.bx-toggle { width: 60px; height: 34px; flex: none; border-radius: 999px; position: relative; cursor: pointer; border: 0; background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); }
.bx-toggle::after { content: ""; position: absolute; left: 4px; top: 4px; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); box-shadow: var(--sh); transition: transform .5s var(--spring), background .3s; }
.bx-toggle[aria-checked="true"]::after { transform: translateX(26px); background: var(--pearl); }
.bx-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.rm-strecke { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin: 22px 0 8px; }
.rm-etappe { display: grid; gap: 8px; min-width: 0; }
.rm-etappe span { font: 400 10px 'Martian Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rm-etappe.aktiv span { color: var(--ink); }
.rm-etappe.fertig span { color: var(--ink-2); }
.rm-balken { height: 6px; border-radius: 999px; background: var(--well); box-shadow: var(--inset); overflow: hidden; }
.rm-balken i { display: block; height: 100%; background: var(--c-ziel); border-radius: 999px; }
.rm-etappe.fertig .rm-balken i { background: var(--ink); }
.rm-phasen { display: grid; gap: 10px; margin-top: 18px; }
.rm-phase { border-radius: var(--r-input); background: var(--canvas); }
.rm-phase.aktiv { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink); }
.rm-phase summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; }
.rm-phase summary::-webkit-details-marker { display: none; }
.rm-phase summary b { font-size: 16px; flex: 1; }
.rm-phase summary > i { transition: transform .2s; color: var(--mute); }
.rm-phase[open] summary > i { transform: rotate(180deg); }
.rm-nr { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: 400 11px 'Martian Mono', monospace; flex-shrink: 0; }
.rm-phase.fertig .rm-nr { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.rm-zahl { font: 400 11px 'Martian Mono', monospace; color: var(--mute); }
.rm-stand { font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--canvas-2); color: var(--ink-2); }
.rm-phase.aktiv .rm-stand { background: var(--c-ziel-bg); color: var(--c-ziel-ink); }
.rm-phase.fertig .rm-stand { background: var(--ok-bg); color: var(--ok); }
.rm-schritte { padding: 0 16px 12px 58px; display: grid; }
.rm-schritt { display: grid; grid-template-columns: auto 1fr 70px 190px 30px; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.rm-schritt .tx { min-width: 0; }
.rm-schritt.fertig .tx { color: var(--mute); text-decoration: line-through; }
.rm-wer { justify-self: start; font: 400 9px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--canvas-2); color: var(--ink-2); }
.rm-wer.kunde { background: var(--c-kunde-bg); color: var(--c-kunde-ink); }
.rm-meta { font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.rm-weg { opacity: 0; transition: opacity .15s; }
.rm-schritt:hover .rm-weg, .rm-weg:focus-visible { opacity: 1; }
.rm-plus { justify-self: start; display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--ink-2); font: 400 13px 'Archivo', sans-serif; padding: 10px 0 2px; cursor: pointer; }
.rm-plus:hover { color: var(--ink); }
.rm-schritt-neu { display: flex; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.rm-schritt-neu input, .rm-schritt-neu select { font: 400 13px 'Archivo', sans-serif; background: var(--surface); border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); padding: 7px 10px; }
.rm-schritt-neu input { flex: 1; min-width: 0; }
.rv-name { font-size: 20px; font-weight: 600; margin: 8px 0 4px; }
.rv-text { font-family: 'Martian Mono', monospace !important; font-size: 13px !important; line-height: 1.7 !important; }
.rv-vorschau { display: grid; gap: 12px; margin-top: 10px; }
.rv-ph b { font-size: 14px; }
.rv-sch { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; margin-top: 4px; }
@media (max-width: 1100px) { .rm-kopf { flex-wrap: wrap; } .rm-schritt { grid-template-columns: auto 1fr 64px 30px; } .rm-meta { display: none; } .rm-schritte { padding-left: 16px; } }

/* Auswahlfelder nach Kit (.bx-select): eigener Pfeil mit 16 px Abstand zum Rand, gilt für alle Selects ohne eigene Gestaltung */
select:not([multiple]):not(.sel) { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E596F' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px !important; }

/* ════════ Datei-Box im Team (js/dateibox.js) ════════ */
.db-drive { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.db-drive-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--canvas); display: grid; place-items: center; flex-shrink: 0; }
.db-drive-ic img { width: 22px; height: 22px; }
.db-drive-tx { flex: 1; min-width: 260px; display: grid; gap: 2px; }
.db-drive-tx b { font-size: 15px; }
.db-drive-form { display: flex; gap: 8px; flex: 1 1 100%; }
.db-drive-form input { flex: 1; height: 46px; border: 0; border-radius: var(--r-input); padding: 0 18px; font: 400 15px 'Archivo', sans-serif; color: var(--ink); background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); outline: none; }
.db-drive-form input:focus { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(75,59,255,.14); }
.db { position: relative; min-height: 320px; }
.db-kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.db-pfad { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--mute); }
.db-pfad button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; font: 400 15px 'Archivo', sans-serif; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.db-pfad button:hover, .db-pfad button.ueber { background: var(--canvas-2); color: var(--ink); }
.db-pfad button.an { color: var(--ink); font-weight: 600; }
.db-pfad img { width: 20px; height: 20px; }
.db-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; }
.db-hinweis { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--ink-2); background: var(--canvas); border-radius: 999px; padding: 8px 14px; width: fit-content; }
.db-ordner { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 18px; }
.db-ordner-k { position: relative; border-radius: var(--r-input); background: var(--canvas); transition: background .2s, box-shadow .2s, transform .2s var(--ease); }
.db-ordner-k:hover { background: var(--canvas-2); }
.db-ordner-k.ueber { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink); transform: scale(1.02); }
.db-ordner-auf { display: grid; gap: 2px; width: 100%; text-align: left; border: 0; background: transparent; padding: 16px; cursor: pointer; font: inherit; color: var(--ink); }
.db-ordner-auf img { width: 24px; height: 24px; margin-bottom: 10px; }
.db-ordner-k .db-chip { position: absolute; top: 14px; right: 44px; }
.db-mehr { position: absolute; top: 10px; right: 8px; opacity: 0; transition: opacity .15s; }
.db-ordner-k:hover .db-mehr, .db-mehr:focus-visible { opacity: 1; }
.db-chip { font: 400 9px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--night); color: var(--on-night); white-space: nowrap; }
.db-chip.neu { background: var(--c-ziel-bg); color: var(--c-ziel-ink); }
.db-chip.warn { background: var(--bad-bg); color: var(--bad); }
.db-dateien { display: grid; margin-top: 14px; }
.db-datei { display: flex; align-items: center; gap: 14px; padding: 10px 8px; border-top: 1px solid var(--line); border-radius: 12px; cursor: grab; }
.db-datei:hover { background: var(--canvas); }
.db-datei:active { cursor: grabbing; }
.db-datei .icon-btn { opacity: .55; }
.db-datei:hover .icon-btn { opacity: 1; }
.db-bild { width: 48px; height: 48px; border-radius: 12px; background: var(--canvas); display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.db-bild img { width: 100%; height: 100%; object-fit: cover; }
.db-bild img.ic { width: 22px; height: 22px; object-fit: contain; }
.db-tx { flex: 1; min-width: 0; display: grid; gap: 2px; }
.db-tx b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-leer { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 48px 16px; color: var(--ink-2); }
.db-leer img { width: 28px; height: 28px; margin-bottom: 6px; }
.db-drop { position: absolute; inset: 8px; border-radius: var(--r-card); border: 2px dashed var(--ink); background: rgba(255,255,255,.85); display: none; place-items: center; align-content: center; gap: 10px; font-size: 16px; color: var(--ink); pointer-events: none; }
.db-drop img { width: 28px; height: 28px; }
.db.zieht .db-drop { display: grid; }
.db-kunde { display: inline-flex; align-items: center; gap: 10px; }

.db-nr { font: 400 11px 'Martian Mono', monospace; color: var(--mute); margin-right: 8px; }

/* Ablagefeld (Mulde aus dem Design-Kit: eingeprägt, gestrichelte Kontur, Icon in flacher Mulde). In ORBIT und Team-Datei-Box.
   Groß, wenn der Ordner leer ist, sonst schmale Leiste. Beim Hineinziehen (Elternelement .zieht) hebt es sich zu Weiß. */
.bx-mulde { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 14px 20px 14px 14px; border: 0; border-radius: var(--r-input);
  background: var(--well); box-shadow: var(--inset); outline: 1.5px dashed var(--line-strong); outline-offset: -1.5px; color: var(--ink-2);
  font: 400 14px 'Archivo', sans-serif; cursor: pointer; transition: background .25s var(--ease), outline-color .25s, transform .25s var(--ease), box-shadow .25s; }
.bx-mulde:hover { background: var(--surface); outline-color: var(--ink-2); }
.bx-mulde:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.bx-mulde-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--surface); box-shadow: var(--sh); transition: transform .4s var(--spring); }
.bx-mulde-ic img { width: 22px; height: 22px; }
.bx-mulde-tx { flex: 1; min-width: 0; display: grid; gap: 2px; }
.bx-mulde-tx b { font-size: 15px; color: var(--ink); font-weight: 600; }
.bx-mulde-tx u { text-underline-offset: 3px; color: var(--ink); }
.bx-mulde-typen { font: 400 10px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.bx-mulde.gross { flex-direction: column; justify-content: center; text-align: center; gap: 12px; min-height: 260px; padding: 32px; }
.bx-mulde.gross .bx-mulde-ic { width: 64px; height: 64px; }
.bx-mulde.gross .bx-mulde-ic img { width: 26px; height: 26px; }
.bx-mulde.gross .bx-mulde-tx { flex: none; }
.bx-mulde.gross .bx-mulde-tx b { font-size: 18px; }
.zieht .bx-mulde { background: var(--surface); outline: 2px dashed var(--ink); outline-offset: -2px; box-shadow: var(--sh); transform: scale(1.01); }
.zieht .bx-mulde .bx-mulde-ic { transform: translateY(-4px) scale(1.06); }
@media (max-width: 700px) { .bx-mulde-typen { display: none; } }
.db-ordner + .bx-mulde { margin-top: 14px; }
.db-kopf + .bx-mulde, .db-hinweis + .bx-mulde { margin-top: 18px; }

/* Maske beim Ablegen (Team) */
.am { display: grid; gap: 14px; }
.am-zeile { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.am-zeile .db-bild { width: 64px; height: 64px; }
.am-felder { flex: 1; min-width: 0; display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.am-kampagne label, .am-felder label { min-width: 0; }
.am-kampagne { display: grid; grid-template-columns: 90px 110px 1fr; gap: 8px; }
.db-neu-k { position: absolute; top: 14px; right: 44px; }
.db-ordner-k .db-chip.neu + .db-ordner-auf + .db-chip { right: 110px; }
.db-beschr { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-zuletzt-kopf { display: flex; align-items: baseline; gap: 12px; margin-top: 22px; }
.db-zuletzt-kopf b { font-size: 15px; }

/* Datei-Box: Auswahl, Teilen, Freigaben */
.db-wahl { width: 18px; height: 18px; flex: none; accent-color: var(--ink); opacity: .35; transition: opacity .15s; }
.db-datei:hover .db-wahl, .db-wahl:checked { opacity: 1; }
.db-bild[data-ansehen] { cursor: zoom-in; }
.db-name { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.db-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.db-chip.geteilt { background: var(--c-kunde-bg); color: var(--c-kunde-ink); }
.db-ordner-k .db-chip.geteilt { position: absolute; top: 14px; right: 44px; }
.db-auswahl { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 22px;
  border-radius: 999px; background: var(--surface); box-shadow: var(--sh), inset 0 0 0 1px var(--line); font-size: 14px; }
.db-frei-liste { display: grid; margin-top: 8px; }
.db-frei-z { display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-top: 1px solid var(--line); }
.db-frei-z.aus { opacity: .55; }
.td-seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line); width: fit-content; }
.td-opt { position: relative; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; }
.td-opt input { position: absolute; opacity: 0; pointer-events: none; }
.td-opt span { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; font: 400 14px 'Archivo', sans-serif; color: var(--ink-2); }
.td-opt input:checked + span { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--sh); }
.td-link { display: flex; gap: 8px; align-items: center; }
.td-link input { flex: 1; font-family: 'Martian Mono', monospace !important; font-size: 12px !important; }

/* Akademie im Team */
.ak-frei { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-top: 10px; }
.ak-frei-k { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r-input); background: var(--canvas); cursor: pointer; }
.ak-frei-k.an { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink); }
.ak-frei-k input { width: 20px; height: 20px; accent-color: var(--ink); margin-top: 2px; }
.ak-frei-k > span { display: grid; gap: 2px; }
.akt-kurs { text-decoration: none; color: var(--ink); display: block; }
.akt-kurs-link { display: block; text-decoration: none; color: var(--ink); }
.akt-kurs-fuss { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.akt-kurs.aus .akt-kurs-link { opacity: .6; }
.akt-modul { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.akt-kopf { display: flex; align-items: center; gap: 12px; }
.akt-kopf b { flex: 1; }
.akt-lek { display: flex; align-items: center; gap: 12px; padding: 8px 0 8px 24px; font-size: 14px; }
.akt-lek .tx { flex: 1; min-width: 0; }
.akt-lek.aus .tx { color: var(--mute); }
.o-toggle-klein { width: 44px; height: 26px; }
.o-toggle-klein::after { width: 18px; height: 18px; }
.o-toggle-klein[aria-checked="true"]::after { transform: translateX(18px); }
i.ri-graduation-cap-line::before { --bx-src: url('/icons/akademie-inaktiv.svg'); }

/* Folien-Studio */
.fs { display: grid; grid-template-columns: 196px minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.fs-liste { display: grid; gap: 10px; max-height: calc(100vh - 200px); overflow: auto; padding: 2px; position: sticky; top: 16px; }
.fs-mini { position: relative; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 10px; text-align: left; }
.fs-mini .fs-bild { display: block; width: 172px; margin-left: 20px; border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line), var(--sh); }
.fs-mini.an .fs-bild { box-shadow: 0 0 0 2px var(--ink), var(--sh); }
.fs-nr { position: absolute; left: 0; top: 2px; font: 400 10px 'Martian Mono', monospace; color: var(--mute); }
.fs-ohne { position: absolute; right: 6px; bottom: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-umsatz); box-shadow: 0 0 0 2px var(--surface); }
.fs-plus { justify-self: start; margin-left: 20px; }
.fs-mitte { display: grid; gap: 12px; min-width: 0; }
.fs-gross { width: 100%; border-radius: 16px; overflow: hidden; box-shadow: var(--sh); background: var(--surface); }
.fs-gross .pr-rahmen, .fs-mini .pr-rahmen { overflow: hidden; }
.fs-mitte-leiste { display: flex; align-items: center; gap: 4px; }
.fs-platz { flex: 1; }
.fs-notiz { display: grid; gap: 6px; }
.fs-notiz textarea { width: 100%; font: 400 15px/1.6 'Archivo', sans-serif; color: var(--ink); background: var(--well); border: 0; border-radius: var(--r-input); box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); padding: 14px 16px; resize: vertical; }
.fs-form { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh); padding: 18px; display: grid; gap: 12px; position: sticky; top: 16px; max-height: calc(100vh - 140px); overflow: auto; }
.fs-leer { grid-column: 1 / -1; }
.fs-leer-k { display: flex; gap: 10px; justify-content: center; margin-top: 8px; }
.fs-skript textarea { min-height: 52vh; }
.akt-neu { margin: 10px 0 0 24px; }
.lnk-still { color: inherit; text-decoration: none; }
.lnk-still:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1250px) { .fs { grid-template-columns: 160px minmax(0, 1fr); } .fs-mini .fs-bild { width: 136px; } .fs-form { grid-column: 1 / -1; position: static; max-height: none; } }
i.ri-play-line::before { --bx-src: url('/icons/pfeil-rechts-inaktiv.svg'); }
i.ri-arrow-up-line::before { --bx-src: url('/icons/pfeil-runter-inaktiv.svg'); transform: rotate(180deg); }
i.ri-link::before { --bx-src: url('/icons/link-inaktiv.svg'); }
i.ri-bar-chart-line::before { --bx-src: url('/icons/analyse-inaktiv.svg'); }
i.ri-download-line::before { --bx-src: url('/icons/herunterladen-inaktiv.svg'); }

/* ---------- Chat mit Kunden (Seite „Chats“, Reiter „Chat“, Freischaltung im Reiter ORBIT) ---------- */
.c-layout { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.c-layout > .w { min-height: 0; }
.c-spalte { display: grid; grid-template-rows: auto 1fr; gap: 12px; padding: 16px; height: calc(100vh - 210px); min-height: 480px; }
.c-suche { width: 100%; min-width: 0; height: 48px; box-sizing: border-box; font-size: 15px; }
.c-suche input { flex: 1; min-width: 0; }
.c-liste { overflow-y: auto; display: grid; align-content: start; gap: 4px; margin: 0 -6px; padding: 0 6px; }
.c-eintrag { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r-input); color: var(--ink); text-decoration: none; }
.c-eintrag:hover { background: var(--canvas); }
.c-eintrag.an { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink); }
.c-eintrag-tx { display: grid; gap: 2px; min-width: 0; }
.c-eintrag-tx b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-eintrag-tx .klein { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-eintrag.neu .c-eintrag-tx b, .c-eintrag.neu .c-eintrag-tx .klein { color: var(--ink); font-weight: 600; }
.c-eintrag-rechts { display: grid; justify-items: end; gap: 4px; }
.c-zahl { min-width: 22px; height: 22px; padding: 0 7px; border-radius: var(--r-pill); background: var(--ink); color: var(--on-ink); font: 600 12px/22px 'Archivo', sans-serif; text-align: center; }
.c-rechts { padding: 0; height: calc(100vh - 210px); min-height: 480px; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
.c-rechts > [data-fenster] { grid-row: 2; min-height: 0; display: grid; }
.c-zurueck { display: none; margin: 0; padding: 14px 20px 0; }
.c-akte { padding: 0; height: calc(100vh - 290px); min-height: 480px; display: grid; overflow: hidden; }
.c-fenster { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 0; height: 100%; }
.c-kopf { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.c-kopf > div:first-child { display: grid; gap: 2px; }
.c-name { font-size: 16px; font-weight: 500; color: var(--ink); }
.c-team { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.c-person { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.c-verlauf { overflow-y: auto; padding: 20px; display: grid; align-content: start; gap: 10px; }
.c-verlauf > .leer { align-self: center; }
.c-tag { display: flex; align-items: center; gap: 12px; margin: 8px 0; font: 400 11px 'Martian Mono', monospace; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.c-tag::before, .c-tag::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.c-msg { position: relative; max-width: min(640px, 82%); }
.c-msg.kunde { justify-self: start; }
.c-bild { display: block; max-width: 100%; max-height: 300px; border-radius: 12px; margin: 6px 0; }
.c-haken { color: var(--mute); }
.c-haken.gelesen { color: var(--c-kunde-ink); }
.c-aktionen { display: none; gap: 4px; margin-top: 6px; }
.c-msg:hover .c-aktionen, .c-msg:focus-within .c-aktionen { display: flex; }
.c-eingabe { border-top: 1px solid var(--line); padding: 12px 20px 14px; }
.c-eingabe .btn-primary { height: 40px; }
.c-zeile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.c-zeile textarea { font: 400 14px/1.5 'Archivo', sans-serif; color: var(--ink); background: var(--well); border: 0; border-radius: var(--r-input); padding: 12px 14px; resize: none; min-height: 48px; max-height: 180px; }
.c-zeile textarea:focus { outline: none; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(75,59,255,.14); }
.c-datei { cursor: pointer; align-self: center; }
.c-anh { display: flex; flex-wrap: wrap; gap: 6px; }
.c-tipp { margin: 0; }
.c-zu { display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); }
.c-frei { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.c-frei .rm-schalter > span { display: grid; gap: 2px; white-space: normal; }
.c-bis { display: inline-flex; align-items: center; gap: 10px; }
.c-bis input { font: 400 14px 'Archivo', sans-serif; color: var(--ink); background: var(--well); border: 0; border-radius: var(--r-input); padding: 10px 12px; }
.c-bis input:disabled { opacity: .5; }
.c-frei-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
@media (max-width: 1100px) { .c-frei-raster { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .c-layout { grid-template-columns: 1fr; }
  .c-layout.hat-chat .c-spalte { display: none; }
  .c-layout:not(.hat-chat) .c-rechts { display: none; }
  .c-zurueck { display: block; }
  .c-msg { max-width: 92%; }
  .c-eingabe .btn .txt { display: none; }
  .c-kopf { flex-wrap: wrap; }
}

/* ---------- Freigaben im Team (kundenfreigaben.js) ---------- */
.fg-st { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font: 500 12px 'Archivo', sans-serif; white-space: nowrap; background: var(--canvas-2); color: var(--ink-2); }
.fg-st.st-pruefung { background: var(--c-ziel-bg); color: var(--c-ziel-ink); }
.fg-st.st-beim_kunden { background: var(--c-kunde-bg); color: var(--c-kunde-ink); }
.fg-st.st-aenderung { background: var(--warn-bg); color: var(--warn); }
.fg-st.st-freigegeben, .fg-st.st-erledigt { background: var(--ok-bg); color: var(--ok); }
.fg-kopfrechts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fg-nachricht { font-size: 0.95rem; line-height: 1.6; max-width: 80ch; margin: 0 0 16px; }
.fg-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 16px; }
.fg-teile { display: grid; gap: 6px; padding: 16px; position: sticky; top: 16px; }
.fg-teil { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px; border: 0; border-radius: var(--r-input); background: transparent; text-align: left; cursor: pointer; color: var(--ink); font: inherit; }
.fg-teil:hover { background: var(--canvas); }
.fg-teil.an { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink); }
.fg-mini { width: 52px; height: 52px; border-radius: 10px; overflow: hidden; background: var(--canvas-2); display: grid; place-items: center; font: 400 10px 'Martian Mono', monospace; text-transform: uppercase; color: var(--ink-2); }
.fg-mini img { width: 100%; height: 100%; object-fit: cover; }
.fg-teil-tx { display: grid; gap: 2px; min-width: 0; }
.fg-teil-tx b { font-weight: 500; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fg-teil-tx span { font-size: 12px; color: var(--mute); }
.fg-dazu { margin-top: 6px; }
.fg-haupt { padding: 20px; display: grid; gap: 14px; min-width: 0; }
.fg-teilkopf { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.fg-teilkopf h2 { font: 300 22px 'Archivo', sans-serif; margin: 0 0 6px; }
.fg-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fg-versionen { display: flex; gap: 4px; }
.fg-v { height: 32px; min-width: 40px; padding: 0 10px; border: 0; border-radius: 10px; background: var(--canvas); color: var(--ink-2); font: 500 13px 'Archivo', sans-serif; cursor: pointer; }
.fg-v.an { background: var(--ink); color: var(--on-ink); }
.fg-banner { padding: 12px 16px; border-radius: var(--r-input); font-size: 14px; line-height: 1.5; }
.fg-banner.warn { background: var(--warn-bg); color: var(--ink); }
.fg-banner.ok { background: var(--ok-bg); color: var(--ink); }
.fg-aktionen { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; border-top: 1px solid var(--line); }
.fg-mulde { display: grid; place-items: center; min-height: 96px; padding: 16px; text-align: center; cursor: pointer; }
.fg-mulde.zieht { background: var(--surface); box-shadow: inset 0 0 0 2px var(--ink); }
.fg-verlauf { margin-top: 0; }
.fg-orbit-k { margin-top: 12px; }
@media (max-width: 1000px) { .fg-layout { grid-template-columns: 1fr; } .fg-teile { position: static; } }

/* ---------- Formulare und Dialoge nach Kit (DESIGN.md „Feld“, `.bx-label`, `.bx-check`, `.bx-dialog`), für alle Masken im Team ---------- */
.felder { gap: 20px 16px; }
.feld label, .feld > .feld-titel { display: block; margin-bottom: 8px; font: 500 13px 'Archivo', sans-serif; font-stretch: 100%; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.feld input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="color"]), .feld select, .feld textarea {
  width: 100%; height: 50px; border: 0; border-radius: var(--r-input); padding: 0 18px; font: 400 16px 'Archivo', sans-serif; color: var(--ink);
  background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); outline: none; transition: box-shadow .25s var(--ease), background-color .25s; }
.feld textarea { height: auto; min-height: 110px; padding: 14px 18px; line-height: 1.55; resize: vertical; }
.feld select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E596F' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.feld input:focus, .feld select:focus, .feld textarea:focus { background-color: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(75,59,255,.14); }
.feld input::placeholder, .feld textarea::placeholder { color: var(--mute); }
.feld .hilfe, .feld-hilfe { font-size: 13px; color: var(--mute); margin-top: 6px; line-height: 1.45; }
/* Häkchen und Auswahlpunkte wie .bx-check */
.modal input[type="checkbox"], .modal input[type="radio"], .ak-frei-k input, .p-modul input {
  appearance: none; -webkit-appearance: none; width: 22px; height: 22px; flex: none; margin: 1px 0 0; border-radius: 7px; cursor: pointer;
  background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); display: inline-grid; place-items: center; transition: background .25s; }
.modal input[type="radio"] { border-radius: 50%; }
.modal input[type="checkbox"]:checked, .modal input[type="radio"]:checked, .ak-frei-k input:checked, .p-modul input:checked { background: var(--glaze); box-shadow: none; }
.modal input[type="checkbox"]:checked::after, .ak-frei-k input:checked::after, .p-modul input:checked::after {
  content: ""; width: 10px; height: 5px; border-left: 2px solid var(--on-ink); border-bottom: 2px solid var(--on-ink); transform: translateY(-1px) rotate(-45deg); }
.modal input[type="radio"]:checked::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pearl); }
.modal input:disabled, .ak-frei-k input:disabled { opacity: .55; cursor: default; }
.p-modul { display: inline-flex !important; align-items: flex-start; gap: 12px; font: 400 15px 'Archivo', sans-serif !important; color: var(--ink) !important; line-height: 1.45; cursor: pointer; }
/* Dialog */
.modal { border-radius: 30px; box-shadow: var(--sh-lift), inset 0 0 0 1px var(--line); }
.modal-kopf { padding: 28px 30px 8px; border-bottom: 0; }
.modal-kopf h2 { font: 300 22px 'Archivo', sans-serif; font-stretch: 125%; letter-spacing: -0.022em; text-transform: uppercase; color: var(--ink); }
.modal-kopf h2 .serif { font-weight: 700; font-stretch: 112%; letter-spacing: -0.035em; color: var(--ink); }
.modal-inhalt { padding: 16px 30px 8px; gap: 20px; }
.modal-fuss { padding: 16px 30px 26px; border-top: 0; justify-content: flex-end; gap: 10px; }
.modal-fuss .btn { height: 46px; }
.modal-fuss .links { margin-right: auto; }
/* Abschnitte in langen Masken: Eyebrow mit Haarlinie */
.feld-abschnitt { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin-top: 8px; font: 400 11px 'Martian Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.feld-abschnitt::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.feld-abschnitt:first-child { margin-top: 0; }
/* Auswahl als Pillen statt Dropdown, wenn es wenige Möglichkeiten sind (wie .bx-seg): eine (Radio) oder mehrere (Checkbox) */
.k-wahl { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line); width: fit-content; max-width: 100%; }
.k-wahl label { position: relative; margin: 0 !important; cursor: pointer; }
.k-wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.k-wahl span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; font: 400 14px 'Archivo', sans-serif; color: var(--ink-2); transition: background .3s, color .3s, box-shadow .3s; white-space: nowrap; }
.k-wahl label:hover span { color: var(--ink); }
.k-wahl input:checked + span { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--sh); }
.k-wahl input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.k-wahl.mehrfach input:checked + span::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--pearl); flex: none; }

/* ---------- Kundenakte: Kopf, Seiten-Reiter, Übersicht (DESIGN.md „App“, „Seiten-Reiter“, „Segment-Reiter“, „Eckdaten in Karten“) ---------- */
.k-kopfzeile { align-items: center; }
.k-kopf h1 { margin: 4px 0 10px; }
.k-kopf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.k-kopf-tx { font-size: 14px; color: var(--ink-2); }
.k-kopf p.k-kopf-tx { margin: 10px 0 0; }
.pill.k-neutral { background: var(--canvas-2); color: var(--ink-2); }
.pill.k-neutral .pdot { background: var(--mute); }
.k-reiter { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(80px, 1fr); gap: 2px; padding: 6px; margin-bottom: 20px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh); overflow-x: auto; scrollbar-width: none; }
.k-reiter::-webkit-scrollbar { display: none; }
.k-reiter button { display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 64px; padding: 8px 6px; border: 0; border-radius: 22px; background: transparent; color: var(--ink-2); font: 400 13px 'Archivo', sans-serif; cursor: pointer; transition: background .25s, color .25s; }
.k-reiter button:hover { color: var(--ink); background: var(--canvas); }
.k-reiter .k-r-ic img { width: 20px; height: 20px; display: block; opacity: .9; }
.k-reiter .k-r-perle { display: none; width: 16px; height: 16px; margin: 2px 0; border-radius: 50%; background: var(--pearl); box-shadow: inset -2px -3px 5px rgba(0,0,0,.3), inset 2px 2px 4px rgba(255,255,255,.35); }
.k-reiter button.active { background: var(--well); box-shadow: var(--inset); color: var(--ink); font-weight: 600; }
.k-reiter button.active .k-r-ic { display: none; }
.k-reiter button.active .k-r-perle { display: block; }
.k-reiter .k-r-tx { white-space: nowrap; }
.k-reiter.rollt-rechts { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.k-reiter.rollt-links { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px); mask-image: linear-gradient(90deg, transparent, #000 48px); }
.k-reiter.rollt-links.rollt-rechts { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.k-reiter button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* Eckdaten: eingeprägte Leiste, 3 × 2, Haarlinien zwischen den Feldern */
.k-fakten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; border-radius: 18px; background: var(--well); box-shadow: var(--inset); padding: 4px; }
.k-fakt { display: grid; gap: 6px; align-content: start; padding: 14px 16px; min-width: 0; }
.k-fakt:not(:nth-child(3n + 1)) { border-left: 1px solid var(--line); }
.k-fakt:nth-child(n + 4) { border-top: 1px solid var(--line); }
.k-fakt-l { font: 400 10px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.k-fakt-w { font-size: 15px; font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-fakt-w .lnk { color: var(--ink); }
.k-fehlt { font-size: 14px; font-weight: 400; color: var(--mute); }
.k-fehlt .lnk, .w .l .n .lnk { background: none; border: 0; padding: 0; margin-left: 6px; font: inherit; color: var(--c-kunde-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.w .l .n .lnk { margin: 0; font: 400 12px 'Archivo', sans-serif; letter-spacing: 0; text-transform: none; }
/* Marke: Logo auf ruhiger Bühne, Farbstreifen */
.k-marke { display: grid; gap: 14px; align-content: start; text-align: left; border: 0; cursor: pointer; font: inherit; color: var(--ink); }
.k-marke:hover { box-shadow: var(--sh-lift); }
.k-marke .l .n .pill { font-family: 'Archivo', sans-serif; letter-spacing: 0; text-transform: none; }
.k-marke-buehne { display: grid; place-items: center; height: 120px; border-radius: 18px; background: var(--canvas); box-shadow: var(--inset); padding: 16px; }
.k-marke-buehne img { max-width: 100%; max-height: 88px; object-fit: contain; }
.k-marke-leer { font-size: 14px; color: var(--mute); }
.k-farben { display: flex; gap: 6px; align-items: center; min-height: 28px; }
.k-farbe { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); }
/* Ruhige Kennzahl-Karten, antippbar (erhaben) */
.k-zahl { display: grid; gap: 4px; text-align: left; border: 0; cursor: pointer; font: inherit; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.k-zahl:hover { transform: translateY(-2px); box-shadow: var(--sh-lift); }
.k-zahl .l { display: flex; align-items: center; gap: 10px; }
.k-zahl-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--canvas); }
.k-zahl-ic img { width: 17px; height: 17px; }
.k-zahl .v { font-size: 44px; line-height: 1.05; margin-top: 10px; }
.k-zahl-sub { font-size: 13px; color: var(--mute); }
.k-zahl.betont .k-zahl-sub { color: var(--bad); }
/* Gebucht, Notiz, Ablage */
.k-zeilen { display: grid; gap: 8px; margin-top: 14px; }
.k-zeile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; height: 48px; padding: 0 8px 0 18px; border-radius: 999px; background: var(--canvas); }
.k-zeile b { font-weight: 600; font-size: 14px; }
.k-zeile .klein { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-leer-tx { margin: 14px 0 0; font-size: 14px; color: var(--mute); }
.k-karten-knopf { margin-top: 16px; }
.k-notiz { margin: 14px 0 0; white-space: pre-wrap; font-size: 15px; line-height: 1.6; color: var(--ink-2); max-height: 220px; overflow: auto; }
.k-ablage { display: grid; gap: 10px; justify-items: start; margin-top: 14px; }
@media (max-width: 1250px) {
  .k-uebersicht > .w[style*="span 8"], .k-uebersicht > .k-marke { grid-column: span 12 !important; }
  .k-uebersicht > .k-zahl { grid-column: span 6 !important; }
  .k-uebersicht > .w[style*="span 5"], .k-uebersicht > .w[style*="span 4"], .k-uebersicht > .w[style*="span 3"] { grid-column: span 12 !important; }
}
@media (max-width: 900px) {
  .k-reiter { grid-auto-columns: 84px; border-radius: 24px; }
  .k-kopfzeile .k-kopf { flex-direction: column; align-items: flex-start; gap: 14px; }
  .k-kopfzeile .k-logo.gross { width: 52px; height: 52px; }
  .k-fakten { grid-template-columns: 1fr 1fr; }
  .k-fakt:not(:nth-child(3n + 1)) { border-left: 0; }
  .k-fakt:nth-child(2n) { border-left: 1px solid var(--line); }
  .k-fakt:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .k-uebersicht > .k-zahl { grid-column: span 12 !important; }
  .k-wahl { border-radius: 24px; }
}
/* Reiter Marke: Felder nach Kit wie in den Masken (Label Archivo 13 px, Feld 50 px, Radius 16) */
.m-form { display: grid; gap: 16px; }
.m-form > label { display: grid; gap: 8px; font: 500 13px 'Archivo', sans-serif; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.m-form input, .m-form textarea { height: 50px; border-radius: var(--r-input); padding: 0 18px; font: 400 16px 'Archivo', sans-serif; color: var(--ink); background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); border: 0; }
.m-form textarea { height: auto; min-height: 110px; padding: 14px 18px; line-height: 1.55; }
.m-form .klein { font-size: 13px; color: var(--mute); }
.m-fuss { display: flex; justify-content: flex-end; }
.m-farbe input:not([type="color"]), .m-farbe select { height: 44px; border-radius: 14px; }

/* Vorschauzeilen in Listen: formatiert, Links nur zum Lesen (Klick öffnet die Zeile) */
.t-snippet a, .c-eintrag-tx .klein a { pointer-events: none; color: inherit; text-decoration: underline; }
.t-snippet strong, .c-eintrag-tx .klein strong { font-weight: 600; color: var(--ink); }

/* ════════ Werkbank · Kampagnen (Kampagnen-Werkstatt, public/js/ansichten/werkstatt.js) ════════ */
.ws-karte { display: grid; gap: 10px; text-decoration: none; color: inherit; cursor: pointer; }
.ws-karte-kopf { display: flex; align-items: center; gap: 10px; }
.ws-karte-kopf b { font-size: 16px; }
.ws-kuerzel { margin-left: auto; font: 400 11px 'Martian Mono', monospace; letter-spacing: .08em; background: var(--ink); color: var(--on-ink); border-radius: 999px; padding: 2px 9px; }
.ws-balken { display: flex; height: 6px; border-radius: 999px; background: var(--well); overflow: hidden; }
.ws-balken .g { background: var(--ok); }
.ws-balken .f { background: var(--c-kunde); opacity: .55; }
.ws-zahlen { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.ws-zahlen b { color: var(--ink); font-weight: 600; }
.ws-offen { font: 400 11px 'Martian Mono', monospace; color: var(--warn); background: var(--warn-bg); border-radius: 999px; padding: 1px 8px; }
.ws-reiter { margin-bottom: 16px; width: fit-content; }
.ws-hinweis { padding: 0 1.25rem 10px; margin: 0; color: var(--ink-2); }
.ws-felder td { vertical-align: top; cursor: pointer; }
.ws-felder tr:hover td { background: var(--canvas); }
.ws-f-titel { width: 30%; white-space: normal; }
.ws-f-wert { width: 40%; white-space: normal; }
.ws-f-quelle { width: 18%; white-space: normal; }
.ws-wert { white-space: pre-wrap; overflow-wrap: anywhere; }
.ws-fst { font: 400 11px 'Martian Mono', monospace; border-radius: 999px; padding: 2px 9px; background: var(--well); color: var(--ink-2); }
.ws-fst.gefuellt { background: var(--c-kunde-bg); color: var(--c-kunde-ink); }
.ws-fst.geprueft { background: var(--ok-bg); color: var(--ok); }
.ws-fst.fehlt { background: var(--warn-bg); color: var(--warn); }
.ws-check { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--ink); text-transform: none; letter-spacing: 0; font-weight: 400; cursor: pointer; }
.ws-check input { margin-top: 3px; }
.ws-offen-gruppe { margin-top: 14px; }
.ws-offen-gruppe ul { margin: 6px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.7; }
.ws-et { display: inline-block; font: 400 11px 'Martian Mono', monospace; background: var(--well); color: var(--ink-2); border-radius: 999px; padding: 1px 8px; margin: 0 4px 4px 0; }
.ws-spur { font: 400 11px 'Martian Mono', monospace; border-radius: 999px; padding: 2px 9px; }
.ws-spur.s1 { background: var(--c-kunde-bg); color: var(--c-kunde-ink); }
.ws-spur.s2 { background: var(--c-umsatz-bg); color: var(--c-umsatz-ink); }
.ws-kampagne h3 { margin: 8px 0 4px; font-size: 18px; }
.ws-k-kopf { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ws-k-aktionen { display: flex; gap: 8px; align-items: flex-start; }
.ws-runde { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.ws-r-kopf { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ws-platz { flex: 1; }
.ws-leer { color: var(--mute); margin: 8px 0 0; }
.ws-warn { font-size: 13px; color: var(--warn); background: var(--warn-bg); border-radius: var(--r-input); padding: 8px 12px; margin: 8px 0; }
.ws-creatives { margin-top: 8px; }
.ws-creatives tr { cursor: pointer; }
.ws-creatives tr:hover td { background: var(--canvas); }
.ws-name { white-space: normal; overflow-wrap: anywhere; font-size: 12px; }
.ws-st { font: 400 11px 'Martian Mono', monospace; border-radius: 999px; padding: 2px 9px; background: var(--well); color: var(--ink-2); white-space: nowrap; }
.ws-st-wahrheit, .ws-st-recht { background: var(--warn-bg); color: var(--warn); }
.ws-st-freigabe_corinna, .ws-st-freigabe_studio { background: var(--c-ziel-bg); color: var(--c-ziel-ink); }
.ws-st-live, .ws-st-auswertung { background: var(--ok-bg); color: var(--ok); }
.ws-st-gewinner { background: var(--ink); color: var(--on-ink); }
.ws-st-verloren { background: var(--bad-bg); color: var(--bad); }
.ws-name-vorschau { display: grid; gap: 2px; background: var(--well); border-radius: var(--r-input); padding: 10px 14px; margin: 8px 0 14px; }
.ws-name-vorschau b { font-size: 13px; overflow-wrap: anywhere; }
.ws-etiketten { margin-bottom: 14px; }
.ws-titel-name { font-size: 14px; text-transform: none; letter-spacing: 0; overflow-wrap: anywhere; }
.ws-lauf { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 14px; }
.ws-lauf span { font: 400 10px 'Martian Mono', monospace; border-radius: 999px; padding: 2px 8px; background: var(--well); color: var(--mute); }
.ws-lauf span.fertig { background: var(--ok-bg); color: var(--ok); }
.ws-lauf span.jetzt { background: var(--ink); color: var(--on-ink); }
.ws-kopie { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; background: var(--well); border-radius: var(--r-input); padding: 12px 14px; margin-bottom: 12px; }
.ws-kopie div { display: grid; gap: 2px; min-width: 0; }
.ws-kopie b { font-size: 12px; overflow-wrap: anywhere; }
.ws-texte { display: grid; gap: 10px; margin: 12px 0; }
.ws-texte p { margin: 2px 0 0; font-size: 14px; }
.ws-recht { display: grid; gap: 8px; border: 1px solid var(--line-strong); border-radius: var(--r-input); padding: 12px 14px; margin: 12px 0; }
.ws-recht .btn { justify-self: start; }
.ws-verlauf { display: grid; gap: 4px; margin-top: 12px; }
.ws-kuerzel-vorschau { margin: 0; background: var(--well); border-radius: var(--r-input); padding: 10px 14px; }

/* ════════ Positionierungsinterview: Reiter Strategie und Presenter (public/js/strategie.js, ansichten/interview.js) ════════ */
.iv-kopf { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 10px; }
.iv-kopf p { max-width: 720px; }
.iv-aktionen { display: flex; gap: 6px; justify-content: flex-end; }
.iv-st { font: 400 11px 'Martian Mono', monospace; border-radius: 999px; padding: 2px 9px; background: var(--well); color: var(--ink-2); }
.iv-st.laeuft { background: var(--ok-bg); color: var(--ok); }
.iv-st.beendet, .iv-st.transkript { background: var(--c-kunde-bg); color: var(--c-kunde-ink); }
.iv-st.entwurf { background: var(--c-ziel-bg); color: var(--c-ziel-ink); }
.iv-st.abgeschlossen { background: var(--ink); color: var(--on-ink); }
.iv { display: grid; grid-template-rows: auto 1fr; height: 100vh; }
.iv-leiste { display: flex; align-items: center; gap: 14px; padding: 14px 24px; border-bottom: 1px solid var(--line); background: var(--surface); flex-wrap: wrap; }
.iv-platz { flex: 1; }
.iv-uhr { font-size: 13px; color: var(--ok); }
.iv-raster { display: grid; grid-template-columns: 300px 1fr 260px; min-height: 0; }
.iv-liste, .iv-pflicht { overflow-y: auto; padding: 16px; border-right: 1px solid var(--line); }
.iv-pflicht { border-right: 0; border-left: 1px solid var(--line); display: grid; align-content: start; gap: 4px; }
.iv-kat { margin: 14px 0 6px; display: grid; gap: 2px; }
.iv-kat b { font-size: 13px; }
.iv-teil { font: 400 10px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.iv-f, .iv-p { display: flex; gap: 8px; width: 100%; text-align: left; border: 0; background: transparent; border-radius: 10px; padding: 6px 8px; font: 400 13px/1.35 'Archivo', sans-serif; color: var(--ink-2); cursor: pointer; }
.iv-f:hover, .iv-p:hover { background: var(--canvas-2); }
.iv-f.jetzt { background: var(--ink); color: var(--on-ink); }
.iv-f.fertig, .iv-p.fertig { color: var(--ok); }
.iv-f.jetzt.fertig { color: var(--on-ink); }
.iv-haken { flex: 0 0 14px; font-weight: 600; color: var(--warn); }
.iv-f.fertig .iv-haken, .iv-p.fertig .iv-haken { color: var(--ok); }
.iv-mitte { overflow-y: auto; padding: 40px 48px; display: grid; align-content: start; gap: 18px; }
.iv-eyebrow { font: 400 12px 'Martian Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin: 0; }
.iv-frage { font: 300 34px/1.2 'Archivo', sans-serif; font-stretch: 110%; margin: 0; }
.iv-unter { font-size: 18px; color: var(--ink-2); margin: 0; }
.iv-hilfen { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.iv-hilfen > div { background: var(--well); border-radius: var(--r-input); padding: 12px 14px; }
.iv-hilfen p { margin: 4px 0 0; font-size: 14px; }
.iv-notiz { display: grid; gap: 6px; }
.iv-notiz textarea { font: 400 15px/1.5 'Archivo', sans-serif; color: var(--ink); background: var(--surface); border: 0; border-radius: var(--r-input); box-shadow: inset 0 0 0 1px var(--line-strong); padding: 12px 14px; resize: vertical; }
.iv-notiz textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(75,59,255,.14); }
.iv-knoepfe { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.iv-erledigt { align-items: center; }
.iv-tasten { color: var(--mute); margin: 0; }
@media (max-width: 1100px) { .iv-raster { grid-template-columns: 240px 1fr; } .iv-pflicht { display: none; } }
.iv-ab { display: grid; gap: 6px; max-height: 50vh; overflow-y: auto; }
.iv-ab details, .iv-holen details { background: var(--well); border-radius: var(--r-input); padding: 10px 14px; }
.iv-ab summary { cursor: pointer; display: grid; gap: 2px; font-size: 14px; }
.iv-roh { max-height: 40vh; overflow-y: auto; font-size: 13px; }
.iv-holen { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
.iv-holen > div { display: grid; gap: 8px; align-content: start; }
.iv-holen textarea { font: 400 13px/1.45 'Archivo', sans-serif; border: 0; border-radius: var(--r-input); box-shadow: inset 0 0 0 1px var(--line-strong); padding: 10px 12px; resize: vertical; background: var(--surface); color: var(--ink); }
.iv-holen-knoepfe { display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; }
.iv-eingang { display: grid; gap: 6px; }
.iv-e { display: grid; gap: 2px; text-align: left; border: 0; border-radius: var(--r-input); background: var(--well); padding: 10px 12px; cursor: pointer; font: inherit; color: var(--ink); }
.iv-e:hover { background: var(--canvas-2); }
@media (max-width: 800px) { .iv-holen { grid-template-columns: 1fr; } }
/* Dokumente: Liste der Fassungen (strategie.js) und Bearbeiter (ansichten/dokument.js) */
.dk-fassungen { display: grid; gap: 6px; }
.dk-fassung { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; text-decoration: none; color: inherit; background: var(--well); border-radius: var(--r-input); padding: 10px 14px; }
.dk-fassung:hover { background: var(--canvas-2); }
.dkb { display: grid; grid-template-rows: auto 1fr auto; }
.dkb-raster { display: grid; grid-template-columns: 1fr 1fr; min-height: 0; }
.dkb-raster.nur-lesen { grid-template-columns: 1fr; }
.dkb-text { font: 400 12.5px/1.6 'Martian Mono', monospace; border: 0; border-right: 1px solid var(--line); padding: 24px 28px; resize: none; background: var(--surface); color: var(--ink); height: calc(100vh - 140px); min-height: 420px; overflow-y: auto; white-space: pre-wrap; tab-size: 2; }
.dkb-text:focus { outline: none; }
.dkb-vorschau { overflow-y: auto; padding: 24px; background: var(--canvas); height: calc(100vh - 140px); min-height: 420px; }
.dkb-raster.nur-lesen .dkb-vorschau { height: auto; }
.dkb-vorschau .dk { font-size: 15px; padding: 32px clamp(20px, 3vw, 44px) 44px; }
.dkb-vorschau .dk-h1 { font-size: clamp(26px, 3vw, 38px); }
.dkb-vorschau .dk-h2 { font-size: 24px; }
.dkb-stand { color: var(--mute); white-space: nowrap; }
.dkb-wuensche { padding: 16px 24px; border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 8px; }
.dkb-w { background: var(--well); border-radius: var(--r-input); padding: 10px 14px; }
.dkb-w.fertig { opacity: .6; }
.dkb-w p { margin: 4px 0 8px; }
@media (max-width: 1000px) { .dkb-raster { grid-template-columns: 1fr; } .dkb-text { min-height: 40vh; border-right: 0; } }
.ws-frist { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.ws-frist .klein { margin-top: 4px; }
/* Pipette: Website in der Schaltzentrale anzeigen und Farben aufnehmen (ansichten/kunden.js, pipetteOeffnen) */
.pp-bg { position: fixed; inset: 0; z-index: 95; background: rgba(16,14,28,.45); display: grid; padding: 20px; }
.pp { display: grid; grid-template-rows: auto 1fr auto; background: var(--surface); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-lift); }
.pp-leiste, .pp-fuss { display: flex; align-items: center; gap: 12px; padding: 12px 18px; flex-wrap: wrap; }
.pp-leiste { border-bottom: 1px solid var(--line); }
.pp-fuss { border-top: 1px solid var(--line); }
.pp-url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40vw; }
.pp-platz { flex: 1; }
.pp-seite { width: 100%; height: 100%; border: 0; background: #fff; }
.pp-hinweis { padding: 40px; max-width: 640px; }
.pp-farben { display: flex; gap: 8px; flex-wrap: wrap; }
.pp-f { display: inline-flex; align-items: center; gap: 6px; background: var(--well); border-radius: 999px; padding: 4px 4px 4px 6px; }
.pp-f > span { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); }
.pp-f b { font-size: 12px; }
/* Ablagefläche für Textdateien (strategie.js, ablage) */
.iv-ablage { border-radius: var(--r-input); transition: background-color .2s, box-shadow .2s; }
.iv-ablage.zieht { background: var(--c-kunde-bg); box-shadow: 0 0 0 2px var(--ind-lite); }

/* ════════ Fragebögen im Team (frageboegen.js, ansichten/fragebogen.js) ════════ */
.fb-st { font: 400 11px 'Martian Mono', monospace; border-radius: 999px; padding: 2px 9px; background: var(--well); color: var(--ink-2); vertical-align: middle; margin-left: 6px; white-space: nowrap; }
.fb-st.in_arbeit { background: var(--c-kunde-bg); color: var(--c-kunde-ink); }
.fb-st.rueckfrage { background: var(--c-ziel-bg); color: var(--c-ziel-ink); }
.fb-st.abgeschickt { background: var(--ink); color: var(--on-ink); }
.fb-st.uebergeben { background: var(--ok-bg); color: var(--ok); }
h1 .fb-st { font-size: 12px; position: relative; top: -6px; }
.fb-karte { display: grid; gap: 14px; }
.fb-karte.abgeschickt { position: relative; overflow: hidden; }
.fb-karte.abgeschickt::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.fb-karte-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.fb-karte-kopf h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.fb-balken { height: 6px; border-radius: 6px; background: var(--well); overflow: hidden; }
.fb-balken > span { display: block; height: 100%; background: var(--grad); border-radius: 6px; transition: width .6s var(--ease); }
.fb-strahl { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; padding: 0; }
.fb-strahl li { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; font-size: 13px; color: var(--mute); }
.fb-strahl li b { font-weight: 500; color: var(--ink-2); }
.fb-strahl li > span:last-child { grid-column: 2; font-size: 12px; }
.fb-punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--well); box-shadow: inset 0 0 0 1px var(--line-strong); grid-row: span 2; }
.fb-strahl li.ok .fb-punkt { background: var(--ok); box-shadow: none; }
.fb-strahl li.ok b { color: var(--ink); }
.fb-wahl { display: grid; gap: 10px; }
.fb-vorlage { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-input); background: var(--canvas); cursor: pointer; transition: box-shadow .25s var(--ease), background .25s; }
.fb-vorlage:has(input:checked) { background: var(--surface); box-shadow: var(--sh), inset 0 0 0 1.5px var(--ink); }
.fb-vorlage.aus { opacity: .55; cursor: not-allowed; }
.fb-vorlage input { margin-top: 4px; accent-color: var(--ink); }
.fb-vorlage-tx { display: grid; gap: 2px; }
.fb-vorlage-tx b { font-size: 15px; }
.fb-vorlage-tx span { font-size: 13px; color: var(--mute); }
.fb-an { margin-top: 14px; }
.fb-cockpit { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 10px; background: var(--surface); box-shadow: var(--sh); position: relative; overflow: hidden; padding-left: 22px; }
.fb-cockpit::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.fb-cockpit.warn { background: var(--warn-bg); }
.bx-perle { width: 18px; height: 18px; border-radius: 50%; background: var(--pearl); display: inline-block; }
@media (max-width: 800px) { .fb-strahl { grid-template-columns: repeat(2, 1fr); } }

/* Zurück-Weg über allen Unterseiten (app.js): ruhige Textpille, kein zweiter Primärknopf */
.zurueck { padding: 20px 2rem 0; }
.zurueck-knopf { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px 0 10px; border: 0; border-radius: 999px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--sh); font: 500 14px 'Archivo', sans-serif; color: var(--ink); cursor: pointer; transition: transform .2s var(--ease); }
.zurueck-knopf:hover { transform: translateX(-2px); }
.zurueck-knopf:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.zurueck + .view .page-header { padding-top: 18px; }
@media (max-width: 900px) { .zurueck { padding: 14px 18px 0; } }


/* ════════ Prüfseite Fragebogen (ansichten/fragebogen.js), DESIGN.md „App“ ════════ */
.fbp-unter { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.fbp-unter .fb-st { margin: 0; }
.fbp-aktionen .btn { height: 46px; font-size: 15px; }
.fbp-buehne .cols { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fbp-buehne .n { white-space: nowrap; }

/* Hinweisbox: Erklärung, keine Warnung */
.w.fbp-info { display: flex; gap: 14px; align-items: flex-start; background: var(--canvas-2); box-shadow: none; padding: 16px 20px; }
.w.fbp-info > .ic { width: 32px; height: 32px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; color: var(--c-ziel-ink); flex: none; }
.w.fbp-info div { display: grid; gap: 2px; font-size: 14px; color: var(--ink-2); }
.w.fbp-info b { color: var(--ink); font-size: 15px; }

/* Beim Prüfen: Aufgaben-Cards mit Verlaufskante links, Icon im Ziel-Violett */
.fbp-pruefen { display: grid; gap: 10px; align-content: start; }
.fbp-aufgabe { position: relative; overflow: hidden; display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px 14px 22px; border-radius: 20px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.fbp-aufgabe::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.fbp-aufgabe.ok::before { background: var(--ok); }
.fbp-aufgabe-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c-ziel-bg); color: var(--c-ziel-ink); flex: none; }
.fbp-aufgabe.ok .fbp-aufgabe-ic { background: var(--ok-bg); color: var(--ok); }
.fbp-aufgabe > div { display: grid; gap: 2px; font-size: 14px; color: var(--ink); flex: 1; min-width: 0; padding-top: 6px; }
.fbp-aufgabe b { font-size: 15px; }
.fbp-aufgabe > div span { color: var(--ink-2); white-space: pre-line; }
.fbp-etikett { font: 400 10px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; background: var(--bad-bg); color: var(--bad); border-radius: 999px; padding: 3px 9px; align-self: center; }
.fbp-ruhig { display: flex; gap: 10px; align-items: center; color: var(--ink-2); font-size: 14px; padding: 6px 2px; }
.fbp-ruhig .ic { color: var(--ok); }

/* Verlauf als Anleitung: dünne Linie, Mono-Nummern, letzter Schritt als Perle */
.fbp-verlauf ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; position: relative; }
.fbp-verlauf ol::before { content: ''; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); opacity: .35; }
.fbp-verlauf li { display: flex; gap: 14px; align-items: flex-start; position: relative; }
.fbp-nr { width: 27px; height: 27px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); display: grid; place-items: center; font-size: 10px; color: var(--ink-2); flex: none; }
.fbp-verlauf li.letzter .fbp-nr { background: var(--pearl); box-shadow: inset -2px -3px 6px rgba(0,0,0,.3), inset 2px 2px 4px rgba(255,255,255,.35); }
.fbp-verlauf li > div { display: grid; gap: 1px; font-size: 14px; padding-top: 3px; min-width: 0; }
.fbp-verlauf li p { margin: 4px 0 0; white-space: pre-line; }

/* Je Schritt eine Card */
.fbp-card { display: grid; gap: 16px; align-content: start; }
.fbp-card-kopf { display: flex; align-items: center; gap: 12px; }
.fbp-planet img { width: 32px; height: 32px; display: block; }
.fbp-card-kopf h3 { font-size: 17px; font-weight: 600; flex: 1; }
.fbp-summe { display: grid; justify-items: end; line-height: 1.2; }
.fbp-summe .mono { font-size: 15px; color: var(--ink); }

/* Eckdaten in eingeprägter Leiste, 2 Spalten */
.fbp-eckdaten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 18px; background: var(--well); box-shadow: var(--inset); padding: 4px; }
.fbp-fakt { display: grid; gap: 6px; align-content: start; padding: 14px 16px; min-width: 0; }
.fbp-fakt:nth-child(even) { border-left: 1px solid var(--line); }
.fbp-fakt:nth-child(n + 3) { border-top: 1px solid var(--line); }
.fbp-fakt:only-child, .fbp-fakt:last-child:nth-child(odd) { grid-column: 1 / -1; border-left: 0; }
.fbp-fakt-l { font-size: 12px; color: var(--mute); line-height: 1.35; }
.fbp-fakt-w { font-size: 15px; font-weight: 500; color: var(--ink); }
.fbp-leer { color: var(--mute); font-weight: 400; font-size: 14px; }
.fbp-fehlt { color: var(--c-umsatz-ink); font-weight: 500; font-size: 14px; }

/* Kosten als Kapsel-Zeilen */
.fbp-zeilen { display: grid; gap: 6px; }
.fbp-zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 12px 18px; border-radius: 20px; background: var(--canvas); }
.fbp-zeile.auffaellig, .fbp-fakt.auffaellig { box-shadow: inset 0 0 0 1px var(--c-ziel); }
.fbp-zeile-tx { display: grid; gap: 1px; min-width: 0; }
.fbp-zeile-tx b { font-size: 15px; font-weight: 500; }
.fbp-zeile-w { display: grid; justify-items: end; line-height: 1.2; }
.fbp-betrag { font-size: 15px; color: var(--ink); }
.fbp-zeile-p, .fbp-zeile .fbp-feldhinweis { grid-column: 1 / -1; }
.fbp-feldhinweis { display: flex; gap: 6px; align-items: flex-start; margin: 2px 0 0; font-size: 13px; color: var(--c-ziel-ink); }
.fbp-nichts { color: var(--mute); font-size: 14px; }
.fbp-leergelassen { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fbp-leergelassen > .klein { margin-right: 4px; }
.fbp-pille { font-size: 12px; color: var(--ink-2); background: var(--canvas); border-radius: 999px; padding: 4px 12px; }

/* Öffnungszeiten als Wochenbalken */
.fbp-woche { display: grid; gap: 8px; }
.fbp-tag { display: grid; grid-template-columns: 28px minmax(0, 1fr) 132px; gap: 12px; align-items: center; font-size: 14px; }
.fbp-tag:not(.an) b, .fbp-tag:not(.an) .klein { color: var(--mute); font-weight: 400; }
.fbp-schiene { position: relative; height: 10px; border-radius: 999px; background: var(--well); box-shadow: var(--inset); }
.fbp-zeit { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--c-ziel); }
.fbp-skala { display: flex; justify-content: space-between; margin: 0 144px 0 40px; font-size: 10px; color: var(--mute); }
.fbp-woche-summe { margin-top: 4px; }

/* Lange Antworten */
.fbp-text { display: grid; gap: 6px; }
.fbp-text blockquote { margin: 0; padding: 14px 18px; border-radius: 18px; background: var(--canvas); font-size: 15px; line-height: 1.6; color: var(--ink); white-space: pre-line; }

/* PROFIT-Stand nach dem Vergleich */
.fbp-chip { display: inline-flex; align-items: center; gap: 6px; font: 400 11px 'Martian Mono', monospace; border-radius: 999px; padding: 3px 10px; background: var(--surface); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); justify-self: start; }
.fbp-chip.ok { background: var(--ok-bg); color: var(--ok); box-shadow: none; }
.fbp-chip.warn { background: var(--warn-bg); color: var(--warn); box-shadow: none; }
.fbp-ueber { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); cursor: pointer; flex-wrap: wrap; }
.fbp-ueber .bx-toggle { width: 44px; height: 26px; }
.fbp-ueber .bx-toggle::after { width: 18px; height: 18px; }
.fbp-ueber .bx-toggle[aria-checked="true"]::after { transform: translateX(18px); }

@media (max-width: 1100px) {
  .fbp-card, .fbp-pruefen, .fbp-verlauf { grid-column: span 12 !important; }
  .fbp-buehne .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .fbp-eckdaten { grid-template-columns: 1fr; }
  .fbp-fakt:nth-child(even) { border-left: 0; }
  .fbp-fakt:nth-child(n + 2) { border-top: 1px solid var(--line); }
  .fbp-tag { grid-template-columns: 28px 1fr; }
  .fbp-tag-zeit { grid-column: 2; }
  .fbp-skala { display: none; }
}

.fbp-tag-zeit { display: grid; line-height: 1.25; white-space: nowrap; }
.fbp-tag-zeit .mono { font-size: 12px; }
.fbp-tag:not(.an) .fbp-tag-zeit { color: var(--mute); }
.fbp-fakt.auffaellig { border-radius: 14px; }
.fbp-fakt { text-align: left; }
.fbp-pille { display: inline-flex; align-items: center; gap: 6px; }
.fbp-pille img { width: 14px; height: 14px; }
.w.fbp-ohne { padding-top: 18px; padding-bottom: 18px; }
.dkb-w p { white-space: pre-line; }
.dkb .iv-leiste { flex-wrap: wrap; row-gap: 8px; }
.dkb .iv-leiste .btn { height: 38px; font-size: 13px; padding: 0 14px 0 10px; }
.dkb .iv-leiste .btn-primary { padding-left: 6px; }

/* Überarbeitung mit Claude (ansichten/dokument.js) */
.dkb-lauf { display: flex; align-items: center; gap: 14px; margin: 0 24px 12px; padding: 14px 18px 14px 22px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.dkb-lauf::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.dkb-lauf.ok::before { background: var(--ok); }
.dkb-lauf.fehler::before { background: var(--bad); }
.dkb-lauf > div { display: grid; gap: 2px; flex: 1; }
.bx-orbit-mini { width: 26px; height: 26px; border-radius: 50%; flex: none; background: conic-gradient(from 0deg, transparent 0 55%, #FD3493 75%, #4B3BFF 92%, transparent); -webkit-mask: radial-gradient(circle, transparent 9px, #000 10px); mask: radial-gradient(circle, transparent 9px, #000 10px); animation: dkb-dreh 2.2s linear infinite; }
@keyframes dkb-dreh { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bx-orbit-mini { animation: none; } }
.dkb-aenderungen { margin: 0 24px 12px; padding: 16px 20px; border-radius: 20px; background: var(--c-ziel-bg); }
.dkb-knoepfe { margin: 0 24px 12px; font-size: 13px; color: var(--ink-2); }
.dkb-knoepfe summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; padding: 4px 0; }
.dkb-knoepfe summary::-webkit-details-marker { display: none; }
.dkb-knoepfe[open] summary { color: var(--ink); }
.dkb-knoepfe dl { margin: 8px 0 0; padding: 14px 18px; border-radius: 16px; background: var(--canvas); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 22px; }
.dkb-knoepfe dt { font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.dkb-knoepfe dd { margin: 0; line-height: 1.5; }
.dkb-knoepfe .lnk { border: 0; background: none; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }
.dkb-aenderungen ul { margin: 8px 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }
.dkb-w-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dkb-wahl { display: grid; gap: 8px; }
.dkb-claude-tx { margin-bottom: 14px; }
.fb-vorschlag { position: relative; overflow: hidden; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 14px; padding: 14px 18px 14px 22px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.fb-vorschlag::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.fb-vorschlag > div { display: grid; gap: 2px; flex: 1; min-width: 240px; }
.p-inklusiv { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--c-ziel-ink); background: var(--c-ziel-bg); border-radius: 999px; padding: 2px 10px; }
.p-inklusiv.vorbei { color: var(--warn); background: var(--warn-bg); }
.p-raten { display: flex; align-items: center; gap: 8px; }
.p-raten input { min-width: 0; }
.p-zf .klein { margin: 0 0 10px; }

/* ════════ Team-Chat wie ein Messenger (chatfenster.js), gleich wie ORBIT ════════ */
.c-kopf { justify-content: flex-start; }
.c-kopf-tx { display: grid; gap: 2px; flex: 1; min-width: 0; }
.c-av { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--canvas-2); color: var(--ink-2); font: 400 10px 'Martian Mono', monospace; }
.c-av.gross { width: 44px; height: 44px; font-size: 12px; background: var(--ink); color: var(--on-ink); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px #FD3493; }
.c-av-platz { width: 30px; flex: none; }
.c-verlauf { display: flex; flex-direction: column; gap: 2px; background: var(--canvas); background-image: radial-gradient(rgba(16,14,28,.045) 1px, transparent 1px); background-size: 18px 18px; }
.c-tag { justify-content: center; margin: 14px 0 10px; }
.c-tag::before, .c-tag::after { display: none; }
.c-tag span { background: var(--surface); border-radius: 999px; padding: 5px 12px; color: var(--ink-2); box-shadow: 0 1px 2px rgba(30,20,50,.06); }
.c-reihe { position: relative; display: flex; align-items: flex-end; gap: 8px; max-width: min(660px, 84%); }
.c-reihe.erste { margin-top: 10px; }
.c-reihe.eigen { align-self: flex-end; flex-direction: row-reverse; }
.c-blase { position: relative; min-width: 76px; padding: 9px 14px 20px; border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(30,20,50,.08); }
.c-reihe.kunde.letzte .c-blase { border-bottom-left-radius: 6px; }
.c-reihe.eigen .c-blase { background: var(--glaze); color: var(--on-ink); box-shadow: none; }
.c-reihe.eigen.letzte .c-blase { border-bottom-right-radius: 6px; }
.c-reihe.eigen .cw-text, .c-reihe.eigen .cw-text strong { color: var(--on-ink); }
.c-reihe.eigen .cw-text a { color: #FFB3D8; }
.c-blase .cw-text { font-size: 15px; line-height: 1.5; }
.c-blase-name { display: block; font-size: 12px; font-weight: 600; color: var(--c-umsatz-ink); margin-bottom: 2px; }
.c-reihe.eigen .c-blase-name { color: #FF8CC6; }
.c-blase-zeit { position: absolute; right: 12px; bottom: 5px; display: inline-flex; align-items: center; gap: 4px; font: 400 10px 'Martian Mono', monospace; color: var(--mute); }
.c-reihe.eigen .c-blase-zeit { color: var(--night-mute); }
.c-blase-status { display: inline-flex; }
.c-blase-status i { width: 12px; height: 12px; font-size: 12px; }
.c-blase-status i + i { margin-left: -7px; }
.c-blase-status.gelesen { color: #FF8CC6; }
.c-reihe.eigen .c-blase .cw-datei { background: rgba(255,255,255,.08); color: var(--on-night); box-shadow: inset 0 0 0 1px var(--night-line); }
.c-aktionen { display: flex; gap: 4px; align-self: center; opacity: 0; transition: opacity .2s; margin: 0; }
.c-reihe:hover .c-aktionen, .c-reihe:focus-within .c-aktionen { opacity: 1; }
.c-akt { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px 0 8px; border: 0; border-radius: 999px; background: var(--surface); color: var(--ink-2); font: 400 12px 'Archivo', sans-serif; cursor: pointer; box-shadow: 0 1px 2px rgba(30,20,50,.08); }
.c-akt:hover { color: var(--ink); }
.c-leer { margin: auto; display: grid; justify-items: center; gap: 8px; text-align: center; max-width: 40ch; padding: 24px; }
.c-leer b { font-size: 17px; margin-top: 6px; }
.c-eingabe .cw { border-radius: 24px; padding: 4px 6px; }
.c-eingabe .cw-feld { min-height: 40px; padding: 10px 14px 2px; }
.c-senden { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 4px; border: 0; border-radius: 999px; background: var(--glaze); color: var(--on-ink); font: 500 14px 'Archivo', sans-serif; cursor: pointer; }
.c-senden .bx-perle { width: 32px; height: 32px; }
@media (max-width: 760px) { .c-reihe { max-width: 94%; } .c-senden-tx { display: none; } .c-senden { padding: 0 4px; } .c-aktionen { display: none; } }
.c-eingabe .cw-wort { display: none; }
@media (max-width: 1250px) { .o-chat-unten .cw-wort { display: none; } }

/* Designsystem in der Akte (public/js/designsystem.js) */
.ds-liste { display: grid; gap: 12px; margin-bottom: 14px; }
.ds-k { display: grid; gap: 8px; padding: 18px 20px; border-radius: 20px; background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line); }
.ds-k.st-freigegeben, .ds-k.st-gesendet { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--sh); }
.ds-k-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ds-k-titel { display: grid; gap: 2px; } .ds-k-titel b { font-size: 17px; }
.ds-k-ki { display: flex; align-items: center; gap: 6px; } .ds-k-ki i { width: 16px; }
.ds-k-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-pakete { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-paket { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.ds-paket:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--ink); }
.ds-paket > span { display: grid; line-height: 1.2; } .ds-paket b { font-size: 13px; font-weight: 600; }
.ds-schrift { display: flex; align-items: center; gap: 8px; }
.ds-hoch { display: grid; grid-template-columns: 1.4fr .6fr 1.4fr auto; gap: 10px; align-items: end; padding-top: 12px; border-top: 1px solid var(--line); }
.ds-hoch label { display: grid; gap: 4px; font-size: 13px; color: var(--ink-2); }
.ds-hoch input[type=text], .ds-hoch input:not([type]) { height: 42px; border: 0; border-radius: 14px; padding: 0 14px; background: var(--well); box-shadow: var(--inset); font: inherit; color: var(--ink); }
.ds-alt { margin-top: 12px; } .ds-alt .ds-k { margin-top: 8px; }
@media (max-width: 800px) { .ds-hoch { grid-template-columns: 1fr; } }
.ds-datei input[type=file] { font: inherit; font-size: 13px; color: var(--ink-2); }
.ds-datei input[type=file]::file-selector-button { height: 42px; margin-right: 10px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); font: 500 14px 'Archivo', sans-serif; color: var(--ink); cursor: pointer; }

/* Hilfe für das Team (public/js/ansichten/hilfe.js) */
.hilfe-fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--glaze); color: var(--on-ink); font: 600 20px 'Archivo', sans-serif; text-decoration: none; box-shadow: var(--sh-lift); transition: transform .45s var(--spring); }
.hilfe-fab::before { content: ""; position: absolute; top: 7px; right: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--pearl); }
.hilfe-fab:hover { transform: translateY(-3px) scale(1.05); }
.hilfe-fab[hidden] { display: none; }
.hl { display: grid; gap: 28px; }
.hl-suche { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 22px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh); max-width: 760px; }
.hl-suche i { width: 20px; color: var(--mute); }
.hl-suche input { flex: 1; border: 0; background: transparent; font: 400 16px 'Archivo', sans-serif; color: var(--ink); outline: none; }
.hl-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font: 400 11px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.hl-h img { width: 20px; height: 20px; } .hl-h .n { color: var(--mute); }
.hl-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.hl-karte { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border-radius: 20px; background: var(--surface); box-shadow: var(--sh);
  color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.hl-karte:hover { transform: translateY(-2px); box-shadow: var(--sh-lift); }
.hl-karte i { width: 18px; flex: none; color: var(--mute); transition: transform .25s var(--ease); } .hl-karte:hover i { transform: translateX(3px); color: var(--ink); }
.hl-karte-tx { display: grid; gap: 4px; } .hl-karte b { font-size: 15px; font-weight: 600; }
.hl-passend .hl-karte { background: var(--glaze); color: var(--on-ink); } .hl-passend .hl-karte .klein { color: var(--night-mute); } .hl-passend .hl-karte i { color: var(--on-ink); }
.hl-leer { color: var(--ink-2); }
.hl-artikel { max-width: 1180px; }
.hl-kopf { display: grid; gap: 10px; }
.hl-kat-chip { justify-self: start; font: 400 10px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--c-ziel-bg); color: var(--c-ziel-ink); }
.hl-kopf h1 { font-stretch: 125%; font-weight: 280; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.04; letter-spacing: -.028em; text-transform: uppercase; }
.hl-kurz { font-size: 17px; color: var(--ink-2); max-width: 70ch; }
.hl-raster { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
.hl-text { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--sh); font-size: 16px; line-height: 1.65; color: var(--ink); }
.hl-text h2 { font-size: 20px; font-weight: 600; margin: 28px 0 10px; scroll-margin-top: 20px; } .hl-text h2:first-child { margin-top: 0; }
.hl-text h3 { font-size: 16px; font-weight: 600; margin: 18px 0 6px; }
.hl-text p { margin: 0 0 12px; } .hl-text ul { margin: 0 0 14px; padding-left: 20px; } .hl-text li { margin: 4px 0; }
.hl-text code { font: 400 13px 'Martian Mono', monospace; padding: 2px 6px; border-radius: 6px; background: var(--well); }
.hl-text a { color: var(--c-kunde-ink); text-underline-offset: 3px; }
.hl-schritte { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; gap: 0; position: relative; }
.hl-schritte li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 6px 0 12px; }
.hl-schritte li::before { content: ""; position: absolute; left: 13px; top: 32px; bottom: -4px; width: 1px; background: var(--line); }
.hl-schritte li:last-child::before { display: none; }
.hl-schritte .nr { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 400 11px 'Martian Mono', monospace; background: var(--well); color: var(--ink-2); }
.hl-schritte li:last-child .nr { background: var(--pearl); color: transparent; }
.hl-hinweis { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 16px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(120deg, #F3E6F7, #E9E7FF); }
.hl-hinweis .ic { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--c-ziel); color: #fff; } .hl-hinweis .ic i { width: 16px; }
.hl-hinweis p { margin: 2px 0 0; }
.hl-tabelle { overflow-x: auto; margin: 4px 0 16px; } .hl-tabelle table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hl-tabelle th { text-align: left; font: 400 10px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.hl-tabelle td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hl-seite { position: sticky; top: 20px; display: grid; gap: 14px; }
.hl-box { display: grid; gap: 2px; padding: 18px; border-radius: 20px; background: var(--surface); box-shadow: var(--sh); }
.hl-box a { padding: 7px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 14px; } .hl-box a:hover { background: var(--canvas-2); }
@media (max-width: 1000px) { .hl-raster { grid-template-columns: 1fr; } .hl-seite { position: static; } }
[data-kategorien] { display: grid; gap: 30px; }
#ansicht { padding-bottom: 84px; }
/* Hilfe: Bühne, Kerben-Card, Kategorie-Kacheln (nach DESIGN.md) */
.w.bx-stage.hl-buehne { grid-column: auto; padding: 34px 150px 30px 34px; display: grid; gap: 12px; }
.hl-buehne h2 { font-stretch: 125%; font-weight: 260; font-size: clamp(30px, 3.6vw, 48px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; color: var(--on-night); margin: 0; }
.hl-buehne-tx { color: #D9D3E6; max-width: 60ch; margin: 0; }
.hl-buehne .hl-suche { max-width: 680px; margin-top: 8px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
.hl-schnell { display: flex; flex-wrap: wrap; gap: 8px; }
.hl-schnell button { height: 32px; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255,255,255,.08); color: var(--on-night);
  box-shadow: inset 0 0 0 1px var(--night-line); font: 400 13px 'Archivo', sans-serif; transition: background .2s var(--ease); }
.hl-schnell button:hover { background: rgba(255,255,255,.16); }
.hl-passend-raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.hl-kcard { --k: 34px; --kx: 40px; position: relative; display: grid; gap: 8px; align-content: start; padding: 26px 96px 26px 28px; border-radius: var(--r-kerbe); color: var(--ink); text-decoration: none;
  filter: drop-shadow(0 1px 1px rgba(30,20,50,.06)) drop-shadow(0 16px 26px rgba(40,25,70,.14)); transition: transform .3s var(--ease); }
.hl-kbody { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--surface);
  -webkit-mask: radial-gradient(circle var(--k) at calc(100% - var(--kx)) var(--kx), transparent calc(var(--k) - 1px), #000 var(--k));
  mask: radial-gradient(circle var(--k) at calc(100% - var(--kx)) var(--kx), transparent calc(var(--k) - 1px), #000 var(--k)); }
.hl-knob { position: absolute; right: 16px; top: 16px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--glaze); color: var(--on-ink); transition: transform .45s var(--spring); }
.hl-knob i { width: 18px; }
.hl-kcard:hover { transform: translateY(-2px); } .hl-kcard:hover .hl-knob { transform: rotate(-45deg); }
.hl-kcard b { font-size: 20px; font-weight: 600; line-height: 1.2; } .hl-kcard-tx { color: var(--ink-2); }
.hl-kcard .hl-kat-chip { justify-self: start; }
.hl-weitere { display: grid; gap: 10px; align-content: start; }
.hl-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.hl-kachel { display: grid; gap: 12px; align-content: start; padding: 22px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--sh); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.hl-kachel:hover { transform: translateY(-2px); box-shadow: var(--sh-lift); }
.hl-kachel-kopf { display: flex; align-items: center; gap: 12px; }
.hl-kachel-kopf img { width: 44px; height: 44px; } .hl-kachel-kopf > span { display: grid; } .hl-kachel-kopf b { font-size: 17px; }
.hl-kachel-liste { display: grid; }
.hl-kachel-liste a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; color: var(--ink); text-decoration: none; font-size: 15px; border-top: 1px solid var(--line); }
.hl-kachel-liste a:first-child { border-top: 0; }
.hl-kachel-liste a i { width: 16px; flex: none; color: var(--mute); opacity: 0; transform: translateX(-4px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.hl-kachel-liste a:hover { background: var(--canvas-2); } .hl-kachel-liste a:hover i { opacity: 1; transform: none; color: var(--ink); }
.hl-kopf-zeile { display: flex; align-items: center; gap: 10px; } .hl-kopf-zeile img { width: 36px; height: 36px; }
@media (max-width: 900px) { .hl-buehne { padding: 26px 22px; } .hl-passend-raster { grid-template-columns: 1fr; } }


/* ════════ Werkbank · Kampagnen-Maschine (public/js/werkbank/*, ansichten/werkstatt.js), DESIGN.md „App“ und „Farbe in der App“ ════════ */
.wb-breit { grid-column: span 12; }
.wb-spalte-gross { grid-column: span 8; display: grid; gap: 16px; align-content: start; }
.wb-spalte-klein { grid-column: span 4; display: grid; gap: 16px; align-content: start; }
.wb-h { font: 400 11px 'Martian Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.wb-h-zeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; }
.wb-h-abstand { margin-top: 18px; }
.wb-leer-tx { color: var(--mute); margin: 4px 0 0; }
.wb-kopf .actions { align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.wb-kopf .actions .btn { height: 46px; font-size: 15px; }
.wb-kopf-chips { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.wb-hauptreiter { height: 46px; }
.wb-studio-titel { display: flex; align-items: center; gap: 14px; }
.wb-reiter { margin-bottom: 20px; display: flex; width: 100%; box-sizing: border-box; }
.wb-reiter button { flex: 1; justify-content: center; }
.wb-zaehler { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font: 400 11px 'Martian Mono', monospace; }
.wb-planet { width: 32px; height: 32px; display: block; flex: none; } .wb-planet.klein { width: 26px; height: 26px; }
.w.tablew .head .hl .wb-planet { display: inline-block; vertical-align: middle; margin-right: 8px; }

/* Status und Empfehlung: immer mit Wort, Farbe nur bei echten Bewertungen */
.wb-st, .wb-emp { display: inline-flex; align-items: center; height: 24px; padding: 0 11px; border-radius: 999px; font: 400 10px 'Martian Mono', monospace; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; background: var(--canvas-2); color: var(--ink-2); }
.wb-st-arbeit { background: var(--c-ziel-bg); color: var(--c-ziel-ink); }
.wb-st-live { background: var(--ok-bg); color: var(--ok); }
.wb-st-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px; animation: wbPuls 2.2s var(--ease) infinite; }
.wb-st-gewinner, .wb-emp-gewinner { background: var(--grad); color: #fff; }
.wb-st-aus { color: var(--mute); }
.wb-emp-skalieren { background: var(--ok-bg); color: var(--ok); }
.wb-emp-stoppen, .wb-emp-verloren { background: var(--bad-bg); color: var(--bad); }
.wb-emp-beobachten { background: var(--c-kunde-bg); color: var(--c-kunde-ink); }
@keyframes wbPuls { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .wb-st-live::before { animation: none; } }
.wb-meta { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-2); }
.wb-meta .pdot { width: 8px; height: 8px; border-radius: 50%; background: var(--mute); }
.wb-meta-ok .pdot { background: var(--ok); } .wb-meta-fehler .pdot { background: var(--bad); } .wb-meta-aus .pdot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--mute); }
.wb-hinweis-chip { font-size: 12px; color: var(--c-ziel-ink); background: var(--c-ziel-bg); border-radius: 999px; padding: 3px 10px; }
.wb-chip-klein { height: 22px; font-size: 9px; justify-self: start; }
.wb-wert-umsatz { color: var(--c-umsatz-ink); }

/* Bühne: fünf Zahlen, eine im Verlauf */
.wb-buehne .cols { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.wb-buehne .n { white-space: nowrap; }

/* Was ansteht */
.wb-ansteht { display: grid; gap: 12px; }
.wb-ansteht-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
a.wb-aufgabe { color: inherit; text-decoration: none; transition: transform .2s var(--ease); } a.wb-aufgabe:hover { transform: translateY(-2px); }
.fbp-aufgabe-ic img { width: 18px; height: 18px; }

/* Studios als Karten */
.wb-studios { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 16px; margin-top: 12px; }
.wb-studio { display: grid; gap: 18px; padding: 24px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--sh); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.wb-studio:hover { transform: translateY(-3px); box-shadow: var(--sh-lift); }
.wb-studio-kopf { display: flex; align-items: center; gap: 12px; }
.wb-studio-kopf > span:nth-child(2) { display: grid; gap: 2px; flex: 1; min-width: 0; } .wb-studio-kopf b { font-size: 16px; }
.wb-kuerzel { font: 400 11px 'Martian Mono', monospace; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; background: var(--canvas-2); color: var(--ink-2); }
.wb-studio-zahlen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; padding: 4px; border-radius: 18px; background: var(--well); box-shadow: var(--inset); }
.wb-studio-zahlen > div { display: grid; gap: 4px; padding: 10px 14px; } .wb-studio-zahlen .eyebrow { font-size: 10px; }
.wb-studio-zahlen b { font-family: 'Archivo', sans-serif; font-stretch: 112%; font-weight: 300; font-size: 20px; letter-spacing: -.02em; font-feature-settings: "tnum"; white-space: nowrap; }
.wb-studio-fuss { display: flex; align-items: center; gap: 10px; }
.wb-pfeil { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--canvas-2); transition: transform .45s var(--spring), background .2s; }
.wb-studio:hover .wb-pfeil { transform: rotate(-45deg); background: var(--ink); color: var(--on-ink); }
.wb-leer { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 48px 24px; color: var(--ink-2); }
.wb-leer .wb-planet { width: 48px; height: 48px; } .wb-leer b { color: var(--ink); font-size: 17px; } .wb-leer span { max-width: 520px; }
.wb-leer.klein-leer { padding: 28px 24px; }

/* Kampagnen als Kerben-Cards (höchstens eine Kerbe pro Karte, sie sind der Weg in die Kampagne) */
.wb-kampagnen { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 18px; }
.wb-kk { --k: 34px; --kx: 40px; position: relative; isolation: isolate; display: grid; gap: 10px; align-content: start; padding: 26px 96px 24px 28px; border-radius: var(--r-kerbe); color: var(--ink); text-decoration: none;
  filter: drop-shadow(0 1px 1px rgba(30,20,50,.06)) drop-shadow(0 16px 26px rgba(40,25,70,.14)); transition: transform .3s var(--ease); }
.wb-kk .bx-kbody { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--surface);
  -webkit-mask: radial-gradient(circle var(--k) at calc(100% - var(--kx)) var(--kx), transparent calc(var(--k) - 1px), #000 var(--k));
  mask: radial-gradient(circle var(--k) at calc(100% - var(--kx)) var(--kx), transparent calc(var(--k) - 1px), #000 var(--k)); }
.wb-kk .bx-knob { position: absolute; right: 16px; top: 16px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--glaze); color: var(--on-ink); transition: transform .45s var(--spring); }
.wb-kk:hover { transform: translateY(-2px); } .wb-kk:hover .bx-knob { transform: rotate(-45deg); }
.wb-kk-chips { display: flex; align-items: center; gap: 10px; }
.wb-kk-titel { font-size: 21px; font-weight: 600; line-height: 1.2; }
.wb-kk-zahlen { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.wb-kk-zahlen b { font-family: 'Archivo', sans-serif; font-stretch: 112%; font-weight: 300; font-size: 22px; color: var(--ink); margin-right: 4px; }
/* Werkbank-Start: eine Kerben-Card je Maschine (Kampagnen, Content-Maschine) */
.wb-maschinen { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 22px; }
.wb-maschine { padding: 30px 104px 26px 30px; gap: 12px; min-height: 260px; }
.wb-maschine .wb-planet { width: 56px; height: 56px; }
.wb-maschine .wb-kk-titel { font-size: 26px; }
.wb-maschine .klein { max-width: 46ch; }
@media (max-width: 560px) { .wb-maschinen { grid-template-columns: 1fr; } .wb-maschine { padding-right: 84px; } }

/* Fließband: Stufenanzeige mit sechs Stationen, aktuelle Station mit Perle */
.w.wb-band { padding: 26px 28px 22px; }
.wb-stationen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.wb-stationen::before { content: ''; position: absolute; left: 8%; right: 8%; top: 17px; height: 2px; background: var(--line); }
.wb-stationen li { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 0 8px; }
.wb-station-punkt { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-strong); color: var(--mute); font-size: 11px; }
.wb-stationen li.fertig .wb-station-punkt { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.wb-stationen li.fertig::after { content: ''; position: absolute; top: 17px; left: 50%; width: 100%; height: 2px; background: var(--ink); z-index: -1; }
.wb-stationen li.jetzt .wb-station-punkt { background: var(--pearl); box-shadow: inset -3px -4px 8px rgba(0,0,0,.35), inset 3px 3px 6px rgba(255,255,255,.35), 0 0 0 6px rgba(160,44,192,.12); color: transparent; }
.wb-stationen li b { font-size: 15px; font-weight: 600; } .wb-stationen li:not(.fertig):not(.jetzt) b { color: var(--ink-2); font-weight: 500; }
.wb-stationen li .klein { max-width: 170px; line-height: 1.35; }
.wb-naechster { display: flex; gap: 12px; align-items: center; margin: 22px 0 0; padding: 14px 18px; border-radius: 18px; background: var(--well); box-shadow: var(--inset); font-size: 15px; color: var(--ink-2); }
.wb-naechster b { color: var(--ink); }
.bx-pearl.wb-perle-klein, .wb-perle-klein { width: 18px; height: 18px; border-radius: 50%; background: var(--pearl); flex: none; box-shadow: inset -2px -3px 6px rgba(0,0,0,.3), inset 2px 2px 4px rgba(255,255,255,.35); }

/* Testrunden mit Galerie */
.w.wb-runde { padding: 22px 24px 24px; display: grid; gap: 16px; }
.wb-runde-kopf { display: flex; align-items: center; gap: 14px; }
.wb-runde-kopf > div { display: grid; gap: 2px; flex: 1; min-width: 0; } .wb-runde-kopf b { font-size: 16px; }
.wb-runde-nr { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--well); box-shadow: var(--inset); font-size: 12px; color: var(--ink-2); flex: none; }
.wb-entscheidung { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 16px; border-radius: 16px; background: var(--ok-bg); color: var(--ok); font-size: 14px; }
.wb-galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.wb-cr { position: relative; display: grid; gap: 0; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-align: left; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease); font: inherit; color: var(--ink); }
.wb-cr:hover { transform: translateY(-3px); box-shadow: var(--sh-lift); }
.wb-cr:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.wb-cr .wb-bild { aspect-ratio: 4 / 5; width: 100%; }
.wb-cr-tx { display: grid; gap: 2px; padding: 10px 12px 12px; } .wb-cr-tx b { font-size: 14px; line-height: 1.25; } .wb-cr-tx .mono { font-size: 11px; color: var(--mute); }
.wb-cr-st { position: absolute; top: 10px; left: 10px; } .wb-cr-st .wb-st { background: rgba(252,251,252,.92); backdrop-filter: blur(6px); }
.wb-cr-st .wb-st-gewinner { background: var(--grad); }
.wb-cr-neu.bx-mulde.gross { min-height: 0; aspect-ratio: 4 / 6.2; padding: 16px; }
.wb-bild { display: block; object-fit: cover; background: var(--well); }
.wb-bild-leer { display: grid; place-items: center; color: var(--mute); box-shadow: var(--inset); }
.wb-bild.mini { width: 40px; height: 50px; border-radius: 8px; flex: none; }

/* Wege und Texte als ruhige Listen */
.w.wb-liste-karte { padding: 20px 20px 14px; display: grid; gap: 6px; align-content: start; }
.wb-zeile { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 10px 8px; border: 0; border-radius: 16px; background: transparent; text-align: left; cursor: pointer; font: inherit; color: var(--ink); transition: background .2s; }
.wb-zeile:hover { background: var(--canvas-2); }
.wb-zeile-tx { display: grid; gap: 3px; min-width: 0; flex: 1; } .wb-zeile-tx b { font-size: 15px; }
.wb-url { font-size: 11px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wb-zwei-zeilen { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wb-buchstabe { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: var(--c-kunde-bg); color: var(--c-kunde-ink); font: 500 13px 'Martian Mono', monospace; }
.wb-buchstabe.text { background: var(--c-ziel-bg); color: var(--c-ziel-ink); font-size: 11px; }
.wb-buchstabe.klein { width: 28px; height: 28px; font-size: 11px; }

/* Anzeigen und Zahlen als Tabellen */
.wb-tabelle-hinweis { margin: 0 22px 8px; max-width: 900px; }
.wb-kopf-knoepfe { display: flex; gap: 8px; }
.wb-tabelle { width: 100%; border-collapse: collapse; font-size: 14px; }
.wb-tabelle th { text-align: left; font: 400 10px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.wb-tabelle td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.wb-tabelle tr:last-child td { border-bottom: 0; }
.wb-tabelle .r { text-align: right; white-space: nowrap; }
.wb-td-cr { display: flex; align-items: center; gap: 10px; } .wb-td-cr > span { display: grid; gap: 1px; min-width: 0; } .wb-td-cr b { font-size: 14px; white-space: nowrap; }
.wb-td-aktion { white-space: nowrap; text-align: right; }
.wb-kopie { display: flex; align-items: flex-start; gap: 6px; max-width: 300px; line-height: 1.45; border: 0; background: transparent; padding: 4px 8px; border-radius: 10px; font-size: 12px; color: var(--ink); cursor: pointer; text-align: left; word-break: break-all; }
.wb-kopie, .wb-kopie > .mono { white-space: normal; } .wb-kopie > .mono { min-width: 0; overflow-wrap: anywhere; word-break: break-all; }
.wb-tabelle td:has(> .wb-kopie) { min-width: 250px; }
.wb-kopie:hover { background: var(--canvas-2); } .wb-kopie .ic { opacity: .4; flex: none; }
.wb-grund { max-width: 260px; margin-top: 4px; line-height: 1.35; }
.wb-zahlen-tabelle td.mono, .wb-zahlen-tabelle .r b { font-feature-settings: "tnum"; }

/* Formulare der Werkbank: Auswahl als Kacheln und Pillen */
.wb-wahl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.wb-wahl-k, .feld .wb-wahl-k { display: flex; flex-direction: row; margin: 0; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--well); box-shadow: var(--inset); cursor: pointer; }
.wb-wahl-k:has(input:checked) { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink); }
.wb-wahl-k > span { display: grid; gap: 2px; } .wb-wahl-k input { margin-top: 3px; accent-color: var(--ink); }
.wb-matrix { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 12px; }
.wb-matrix > div { display: grid; gap: 8px; align-content: start; }
.wb-wahl-cr, .wb-wahl-z, .feld .wb-wahl-cr { display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; cursor: pointer; }
.wb-wahl-cr:hover, .wb-wahl-z:hover { background: var(--canvas-2); }
.wb-wahl-cr > span:last-child { display: grid; } .wb-wahl-cr input, .wb-wahl-z input { accent-color: var(--ink); }
.wb-rechnung { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--well); box-shadow: var(--inset); font-size: 14px; }
.wb-param { display: grid; gap: 12px; }
.wb-param-z { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.wb-param-z .eyebrow { grid-column: 1 / -1; }
.wb-param-z code { font: 12px 'Martian Mono', monospace; padding: 10px 12px; border-radius: 12px; background: var(--well); box-shadow: var(--inset); word-break: break-all; }
.modal-fuss .wb-links { margin-right: auto; }
.wb-pillen-wahl { display: flex; flex-wrap: wrap; gap: 8px; }
.wb-pille-wahl input { position: absolute; opacity: 0; }
.wb-pille-wahl span { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--well); box-shadow: var(--inset); cursor: pointer; font-size: 14px; }
.wb-pille-wahl input:checked + span { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.wb-pille-wahl input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }

/* Creative-Fenster: Vorschau und Rezept */
.wb-cd { display: grid; grid-template-columns: 180px 1fr; gap: 20px; margin-bottom: 14px; }
.wb-cd-bild { display: grid; gap: 8px; } .wb-cd-bild .wb-bild { width: 180px; aspect-ratio: 4 / 5; border-radius: 18px; }
.wb-cd-hoch { cursor: pointer; justify-content: center; }
.wb-cd-rezept { display: grid; gap: 6px; align-content: start; padding: 16px 18px; border-radius: 18px; background: var(--well); box-shadow: var(--inset); }
.wb-cd-rezept b { font-size: 17px; } .wb-cd-rezept-tx { white-space: pre-line; margin: 0; }

/* Auswertung */
.wb-filter { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.wb-auswahl { display: flex; align-items: center; gap: 10px; } .wb-auswahl select { height: 44px; border-radius: 999px; padding: 0 16px; border: 0; background: var(--surface); box-shadow: var(--sh); font: inherit; }
.w.wb-verlauf-karte { grid-column: span 7; padding: 22px 24px; display: grid; gap: 10px; }
.w.wb-trichter-karte { grid-column: span 5; padding: 22px 24px; display: grid; gap: 14px; align-content: start; }
.wb-legende { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.wb-l-balken { width: 10px; height: 12px; border-radius: 3px; background: var(--c-kunde-bg); box-shadow: inset 0 0 0 1px var(--c-kunde); margin-left: 6px; }
.wb-l-linie { width: 18px; height: 3px; border-radius: 2px; background: var(--grad); margin-left: 10px; }
.wb-diagramm { width: 100%; height: auto; display: block; }
.wb-diagramm .balken { fill: var(--c-kunde-bg); } .wb-diagramm .balken:hover { fill: var(--c-kunde); }
.wb-diagramm .achse { stroke: var(--line); } .wb-diagramm .achse-t { font: 10px 'Martian Mono', monospace; fill: var(--mute); }
.wb-trichter { display: grid; gap: 10px; }
.wb-tr-z { display: grid; grid-template-columns: 90px 1fr 54px 44px; gap: 10px; align-items: center; font-size: 14px; }
.wb-tr-b { height: 10px; border-radius: 999px; background: var(--well); box-shadow: var(--inset); overflow: hidden; }
.wb-tr-b span { display: block; height: 100%; border-radius: inherit; background: var(--c-kunde); } .wb-tr-b span.ziel { background: var(--grad); }
.wb-tr-z .mono { text-align: right; } .wb-tr-q { text-align: right; }
.wb-meta-hinweis { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--canvas-2); line-height: 1.45; }
.wb-gewinner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; }
.w.wb-bs { padding: 22px 22px 18px; display: grid; gap: 14px; align-content: start; }
.wb-bs-kopf { display: flex; align-items: center; gap: 10px; } .wb-bs-kopf b { font-size: 16px; } .wb-bs-kopf .klein { margin-left: auto; }
.wb-rang { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wb-rang li { display: flex; gap: 10px; align-items: center; }
.wb-rang-tx { display: grid; gap: 5px; flex: 1; min-width: 0; }
.wb-rang-z { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .wb-rang-z b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wb-rang-z .wb-emp { height: 20px; font-size: 9px; padding: 0 8px; }
.wb-rang-balken { height: 8px; border-radius: 999px; background: var(--well); box-shadow: var(--inset); overflow: hidden; }
.wb-rang-balken span { display: block; height: 100%; border-radius: inherit; background: var(--c-umsatz-bg); box-shadow: inset 0 0 0 1px var(--c-umsatz); }
.wb-rang li.erster .wb-rang-balken span { background: var(--grad); box-shadow: none; }
.wb-mechaniken { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.wb-mech { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.wb-mech b { font-family: 'Martian Mono', monospace; font-weight: 400; font-size: 12px; }
.w.wb-zuordnen { padding: 22px 24px; display: grid; gap: 10px; }
.wb-zuordnen-z { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 16px; background: var(--well); box-shadow: var(--inset); }
.wb-zuordnen-z .klein { margin-left: auto; }

/* Werbekonto */
.w.wb-anleitung { grid-column: span 7; padding: 24px 26px; }
.w.wb-konto { grid-column: span 5; padding: 24px 26px; display: grid; gap: 14px; align-content: start; }
.wb-schritte { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 16px; position: relative; }
.wb-schritte::before { content: ''; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); opacity: .35; }
.wb-schritte li { display: flex; gap: 14px; align-items: flex-start; position: relative; }
.wb-schritte li > div { display: grid; gap: 2px; font-size: 14px; color: var(--ink-2); padding-top: 3px; } .wb-schritte li b { color: var(--ink); font-size: 15px; }
.wb-schritte li.letzter .fbp-nr { background: var(--pearl); box-shadow: inset -2px -3px 6px rgba(0,0,0,.3), inset 2px 2px 4px rgba(255,255,255,.35); }
.wb-konto-form { display: flex; gap: 10px; align-items: flex-end; } .wb-konto-form .feld { flex: 1; display: grid; gap: 6px; }
.wb-konto-stand { margin: 0; } .wb-konto-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; }
.wb-info-klein { display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--canvas-2); }
.wb-info-klein div { display: grid; gap: 2px; font-size: 14px; color: var(--ink-2); }

/* Bibliothek */
.w.wb-werkzeug { padding: 14px 16px; display: grid; gap: 12px; margin-bottom: 20px; }
.wb-werkzeug-oben { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.wb-werkzeug-unten { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.wb-fgruppe { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; } .wb-fgruppe .eyebrow { width: 84px; flex: none; }
.wb-suche { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 999px; background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line); }
.wb-suche:focus-within { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(75,59,255,.14); }
.wb-suche input { flex: 1; border: 0; background: transparent; font: 400 15px 'Archivo', sans-serif; color: var(--ink); outline: 0; min-width: 0; }
.wb-werkzeug-unten .eyebrow { margin-right: 4px; } .wb-abstand-l { margin-left: 14px; }
.wb-pille { height: 32px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); font: 400 14px 'Archivo', sans-serif; cursor: pointer; }
.wb-pille:hover { background: var(--canvas-2); } .wb-pille.an { background: var(--ink); color: var(--on-ink); }
.wb-bib { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; padding-bottom: 96px; }
.wb-bk { position: relative; display: grid; border-radius: var(--r-card); overflow: hidden; background: var(--surface); box-shadow: var(--sh); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.wb-bk:hover { transform: translateY(-3px); box-shadow: var(--sh-lift); }
.wb-bk.gewaehlt { box-shadow: 0 0 0 2px var(--ink), var(--sh-lift); }
.wb-bk-bild { position: relative; display: block; padding: 0; border: 0; background: none; cursor: zoom-in; }
.wb-bk-bild .wb-bild { width: 100%; aspect-ratio: 4 / 5; }
.wb-bk-emp { position: absolute; left: 12px; bottom: 12px; } .wb-bk-emp .wb-emp { box-shadow: 0 4px 12px rgba(16,14,28,.18); }
.wb-bk-emp .wb-emp-daten, .wb-bk-emp .wb-emp-beobachten { background: rgba(252,251,252,.94); }
.wb-bk-merken { position: absolute; top: 12px; right: 12px; }
.wb-bk-merken input { position: absolute; opacity: 0; }
.wb-bk-merken span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(252,251,252,.94); box-shadow: 0 4px 12px rgba(16,14,28,.18); cursor: pointer; }
.wb-bk-merken span::after { content: ''; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.wb-bk-merken input:checked + span::after { background: var(--pearl); box-shadow: none; width: 16px; height: 16px; }
.wb-bk-merken input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.wb-bk-tx { display: grid; gap: 6px; padding: 14px 16px 16px; } .wb-bk-tx > b { font-size: 16px; }
.wb-bk-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wb-bk-zahl { font-size: 14px; color: var(--ink-2); } .wb-bk-zahl b { color: var(--c-umsatz-ink); font-weight: 600; }
.wb-bk-studio { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wb-auswahlleiste { position: sticky; bottom: 20px; z-index: 20; display: flex; align-items: center; gap: 14px; max-width: 760px; margin: 0 auto; padding: 10px 10px 10px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh-lift), inset 0 0 0 1px var(--line); }
.wb-auswahlleiste[hidden] { display: none; }
.wb-al-bilder { display: flex; } .wb-al-bilder .wb-bild.mini { width: 34px; height: 42px; border: 2px solid var(--surface); } .wb-al-bilder .wb-bild + .wb-bild { margin-left: -10px; }
.wb-al-tx { display: grid; flex: 1; min-width: 0; } .wb-al-tx b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wb-auswahlleiste .btn { height: 46px; font-size: 15px; }
.wb-bd { display: grid; grid-template-columns: 300px 1fr; gap: 24px; }
.wb-bd-bild .wb-bild { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r-img); }
.wb-bd-tx { display: grid; gap: 12px; align-content: start; }
.wb-bd-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.wb-eckdaten { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; padding: 4px; border-radius: 18px; background: var(--well); box-shadow: var(--inset); }
.wb-eckdaten > div { display: grid; gap: 4px; padding: 12px 14px; } .wb-eckdaten b { font-family: 'Archivo', sans-serif; font-stretch: 112%; font-weight: 300; font-size: 24px; }
.wb-rezept p { margin: 6px 0 0; white-space: pre-line; color: var(--ink-2); line-height: 1.55; }

@media (max-width: 1100px) {
  .wb-spalte-gross, .wb-spalte-klein, .w.wb-verlauf-karte, .w.wb-trichter-karte, .w.wb-anleitung, .w.wb-konto { grid-column: span 12; }
  .wb-gewinner { grid-template-columns: 1fr; }
  .wb-buehne .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wb-stationen { grid-template-columns: repeat(3, 1fr); row-gap: 20px; } .wb-stationen::before, .wb-stationen li.fertig::after { display: none; }
  .wb-stationen li .klein { display: none; }
  .wb-matrix, .wb-bd, .wb-cd, .wb-wahl { grid-template-columns: 1fr; }
  .wb-reiter { overflow-x: auto; } .wb-reiter button { flex: none; }
  .wb-galerie, .wb-bib { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .wb-cr-tx b, .wb-bk-tx > b { font-size: 13px; } .wb-bk-tx { padding: 10px 12px 12px; }
  .wb-kampagnen, .wb-studios, .wb-ansteht-raster { grid-template-columns: 1fr; }
  .wb-kk { padding-right: 84px; }
  .wb-auswahlleiste { border-radius: 24px; flex-wrap: wrap; }
}

/* Lesbarkeit: kleine Texte in der Werkbank nicht unter 13 px */
.wb-studio .klein, .wb-kk .klein, .wb-runde .klein, .wb-liste-karte .klein, .wb-tabelle .klein, .wb-bs .klein, .wb-bk .klein, .wb-stationen .klein,
.wb-trichter-karte .klein, .wb-tabelle-hinweis, .wb-grund, .wb-cd .klein { font-size: 13px; }
.wb-kopf-chips .klein { font-size: 14px; }

/* Kampagnenseite, Fassung 2 (Rückmeldung Corinna 2026-11-07): Fortschritt als Schiene, ein nächster Schritt,
   Zahlen, Formel „Creative + Werbetext + Funnel = Anzeige“ als Reiter, Status unter dem Bild statt darauf */
.w.wb-weiter { padding: 22px 26px; display: grid; gap: 18px; }
.wb-schiene { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.wb-schiene li { display: grid; gap: 8px; font-size: 13px; color: var(--mute); }
.wb-schiene-p { height: 6px; border-radius: 999px; background: var(--well); box-shadow: var(--inset); }
.wb-schiene li.fertig { color: var(--ink-2); } .wb-schiene li.fertig .wb-schiene-p { background: var(--ink); box-shadow: none; }
.wb-schiene li.jetzt { color: var(--ink); font-weight: 600; } .wb-schiene li.jetzt .wb-schiene-p { background: var(--grad); box-shadow: none; }
.wb-weiter-z { display: flex; align-items: center; gap: 16px; padding: 16px 16px 16px 20px; border-radius: 22px; background: var(--well); box-shadow: var(--inset); }
.wb-weiter-z > div { flex: 1; display: grid; gap: 4px; } .wb-weiter-z p { margin: 0; font-size: 16px; color: var(--ink); line-height: 1.45; }
.wb-weiter-z .btn { height: 46px; font-size: 15px; flex: none; }
.wb-kzahlen { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 16px; }
.wb-kzahlen > .w { padding: 18px 20px; display: grid; gap: 6px; align-content: start; }
.wb-kzahlen b { font-family: 'Archivo', sans-serif; font-stretch: 125%; font-weight: 250; font-size: 30px; letter-spacing: -.03em; font-feature-settings: "tnum"; }
.wb-kzahlen-link { display: flex !important; flex-direction: column; justify-content: center; gap: 2px; min-width: 170px; color: var(--ink); text-decoration: none; position: relative; }
.wb-kzahlen-link > span:first-child { font-weight: 600; font-size: 16px; } .wb-kzahlen-link .ic { position: absolute; right: 18px; top: 18px; }
.w.wb-formel { display: flex; align-items: center; gap: 10px; padding: 12px; flex-wrap: wrap; }
.wb-formel-teil { flex: 1; min-width: 180px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 0; border-radius: 20px; background: transparent; text-align: left; cursor: pointer; font: inherit; color: var(--ink); transition: background .2s; }
.wb-formel-teil:hover { background: var(--canvas-2); }
.wb-formel-teil.an { background: var(--well); box-shadow: var(--inset); }
.wb-formel-teil img { width: 32px; height: 32px; flex: none; } .wb-formel-teil > span:nth-child(2) { display: grid; flex: 1; } .wb-formel-teil b { font-size: 16px; }
.wb-formel-n { font: 400 12px 'Martian Mono', monospace; min-width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); }
.wb-formel-teil.ergebnis .wb-formel-n { background: var(--grad); }
.wb-formel-op { font-family: 'Archivo', sans-serif; font-stretch: 125%; font-weight: 250; font-size: 28px; color: var(--mute); }
.wb-rk { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 8px 0 16px; }
.wb-rk h2 { font-size: 22px; font-weight: 600; margin: 0 0 4px; text-transform: none; letter-spacing: -.01em; font-stretch: 100%; }
.wb-rk p { margin: 0; max-width: 760px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.wb-rk-k { display: flex; gap: 10px; flex: none; } .wb-rk-k .btn { height: 46px; font-size: 15px; }
.w.wb-test { padding: 22px 24px 24px; display: grid; gap: 18px; margin-bottom: 16px; }
.wb-test-kopf { display: flex; align-items: center; gap: 16px; }
.wb-test-kopf > div { flex: 1; display: grid; gap: 3px; } .wb-test-kopf > div b { font-size: 17px; } .wb-test-kopf .klein { font-size: 14px; }
.wb-test-nr { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: var(--well); box-shadow: var(--inset); flex: none; }
.wb-test-nr .eyebrow { font-size: 8px; } .wb-test-nr b { font-family: 'Archivo', sans-serif; font-stretch: 125%; font-weight: 300; font-size: 20px; line-height: 1; }
.wb-cr-fuss { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 6px; } .wb-cr-fuss .mono { font-size: 11px; color: var(--mute); }
.wb-cr-fuss .wb-st { height: 22px; font-size: 9px; padding: 0 9px; }
.wb-cr-neu.bx-mulde.gross { aspect-ratio: auto; min-height: 260px; }
.wb-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.w.wb-textkarte { display: grid; gap: 10px; align-content: start; padding: 20px 22px; border: 0; text-align: left; cursor: pointer; font: inherit; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.w.wb-textkarte:hover { transform: translateY(-2px); }
.wb-tk-kopf { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .wb-tk-kopf b { font-size: 16px; }
.wb-tk-text { font-size: 14px; line-height: 1.55; color: var(--ink-2); white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1100px) { .wb-kzahlen { grid-template-columns: repeat(2, 1fr); } .wb-kzahlen-link { grid-column: span 2; } }
@media (max-width: 760px) {
  .wb-schiene li { font-size: 11px; } .wb-weiter-z { flex-wrap: wrap; } .wb-weiter-z .btn { width: 100%; justify-content: center; }
  .wb-formel-op { display: none; } .wb-formel-teil { min-width: calc(50% - 10px); }
  .wb-rk { flex-direction: column; align-items: stretch; } .wb-test-kopf { flex-wrap: wrap; }
}

/* Werkbank: Galerie-Filter, „Alle zeigen“, Ablegen vieler Dateien, Bereich für die Mediabuyerin */
.wb-filterzeile { display: flex; gap: 6px; flex-wrap: wrap; margin: -4px 0 14px; }
.wb-pille-n { font: 400 11px 'Martian Mono', monospace; opacity: .7; margin-left: 2px; }
.wb-hoch { cursor: pointer; }
.wb-mehr { justify-self: center; height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--canvas-2); font: 500 14px 'Archivo', sans-serif; color: var(--ink); cursor: pointer; }
.wb-mehr:hover { background: var(--well); }
.w.wb-test { position: relative; }
.wb-ablage { position: absolute; inset: 0; border-radius: inherit; display: none; place-items: center; background: rgba(252,251,252,.86); outline: 2px dashed var(--ink); outline-offset: -10px; z-index: 3; }
.wb-ablage span { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.w.wb-test.zieht .wb-ablage { display: grid; }
.wb-motive { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin: 12px 0 16px; max-height: 220px; overflow: auto; }
.wb-motiv { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--well); box-shadow: var(--inset); }
.wb-fortschritt { height: 8px; border-radius: 999px; background: var(--well); box-shadow: var(--inset); overflow: hidden; margin-top: 12px; }
.wb-fortschritt span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .3s var(--ease); }
.wb-mb { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; margin-bottom: 18px; }
.w.wb-mb-uebergabe { padding: 22px; display: grid; gap: 8px; align-content: start; } .wb-mb-uebergabe b { font-size: 18px; } .wb-mb-uebergabe .btn { justify-self: start; margin-top: 6px; }
.wb-mb-stand { display: grid; gap: 6px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.wb-mb-stand .wb-rang-balken span { background: var(--grad); box-shadow: none; }
.w.wb-mb-einst { padding: 22px 24px; display: grid; gap: 4px; align-content: start; }
.wb-mb-z { display: flex; align-items: center; gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.wb-mb-z:last-child { border-bottom: 0; } .wb-mb-z > span:first-child { width: 150px; flex: none; color: var(--ink-2); } .wb-mb-z b { font-weight: 500; }
.wb-mb-z .wb-buchstabe { width: 28px !important; }
.wb-mb-schritt { margin: 6px 0 10px; }
.wb-mb-fuss { margin-top: 10px; }
.wb-haken input { position: absolute; opacity: 0; }
.wb-haken span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); cursor: pointer; }
.wb-haken input:checked + span { background: var(--ink); box-shadow: none; }
.wb-haken input:checked + span::after { content: ''; width: 10px; height: 6px; border-left: 2px solid var(--on-ink); border-bottom: 2px solid var(--on-ink); transform: rotate(-45deg) translate(1px, -1px); }
.wb-haken input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
tr.wb-erledigt td { opacity: .55; } tr.wb-erledigt td:first-child { opacity: 1; }
.wb-ao { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.wb-ao-links { display: grid; gap: 10px; align-content: start; } .wb-ao-links > .wb-bild { width: 220px; aspect-ratio: 4 / 5; border-radius: 18px; }
.wb-datei { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--well); box-shadow: var(--inset); color: var(--ink); text-decoration: none; }
.wb-datei:hover { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); }
.wb-datei > span:last-child { display: grid; min-width: 0; } .wb-datei .klein { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wb-param-z code.lang { white-space: pre-line; max-height: 180px; overflow: auto; font-family: 'Archivo', sans-serif; font-size: 14px; line-height: 1.5; }
@media (max-width: 1100px) { .wb-mb { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .wb-ao { grid-template-columns: 1fr; } .wb-mb-z { flex-wrap: wrap; } .wb-mb-z > span:first-child { width: auto; } }

/* Kunde löschen: links im Formular, nur Leitung */
.modal-fuss .k-loeschen { margin-right: auto; color: var(--bad); }

/* Zahlungen und Rechnungen (public/js/ansichten/zahlungen.js): Bühne, Filter, ruhige Zeilen */
.zl-buehne .cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.zl-buehne .n.zl-lx { font-size: clamp(20px, 1.8vw, 28px); }
.zl-pruef { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.zl-pruef-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--on-night, #F6F4F7); color: var(--ink); font: 500 14px 'Archivo', sans-serif; transition: transform .2s cubic-bezier(.16,1,.3,1); }
.zl-pruef-btn:hover { transform: translateY(-1px); }
.zl-pruef-btn.laedt .ic { animation: zl-dreh 1s linear infinite; }
@keyframes zl-dreh { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .zl-pruef-btn.laedt .ic { animation: none; } }
.zl-pruef span { font-size: 14px; color: #BEB7CF; }
.zl-pruef span.ok { color: #9EE6B8; } .zl-pruef span.warn { color: #FFC7A8; }
.zl-filter { display: flex; min-width: 0; }
.zl-filter .seg { display: flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.zl-filter .seg::-webkit-scrollbar { display: none; }
.zl-filter .seg button { flex: none; }
.zl-zahl { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--ink); color: var(--on-night, #fff); font: 400 11px 'Martian Mono', monospace; }
.zl-karte { padding: 8px 0; }
.zl-kopf, .zl-zeile { display: grid; grid-template-columns: 120px minmax(0, 1fr) 190px minmax(240px, 300px); gap: 20px; padding: 0 26px; align-items: start; }
.zl-kopf { padding-top: 10px; padding-bottom: 12px; font: 400 10px 'Martian Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--line); }
.zl-kopf .r, .zl-betrag { text-align: right; }
.zl-zeile { padding-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.zl-zeile:last-child { border-bottom: 0; }
.zl-zeile.aus { opacity: .55; }
.zl-datum { display: grid; gap: 2px; font: 400 13px 'Martian Mono', monospace; font-feature-settings: "tnum"; }
.zl-datum b { font-weight: 400; color: var(--ink); } .zl-datum span { color: var(--mute); font-size: 12px; }
.zl-wer { display: grid; gap: 4px; justify-items: start; min-width: 0; }
.zl-wer .lnk, .zl-ohne { font-weight: 600; font-size: 15px; }
.zl-ohne { color: var(--mute); font-weight: 500; }
.zl-leistung { color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.zl-wer .bx-chip { margin-top: 4px; }
.zl-betrag { display: grid; gap: 4px; }
.zl-betrag b { font-family: 'Archivo', sans-serif; font-stretch: 125%; font-weight: 300; font-size: 22px; letter-spacing: -.01em; font-feature-settings: "tnum"; color: var(--ink); }
.zl-betrag span { color: var(--mute); font-size: 12px; font-feature-settings: "tnum"; }
.zl-status { display: grid; gap: 6px; justify-items: start; }
.zl-status-kopf { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.zl-status-kopf .mono { font-size: 13px; }
.zl-klein { font-size: 12px; color: var(--mute); line-height: 1.45; }
.zl-klein.warn { color: var(--warn); }
.zl-akt { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; }
.zl-btn { height: 36px; padding: 0 16px; font-size: 13px; }
.zl-link { background: none; border: 0; padding: 4px 0; color: var(--ink-2); font: 500 13px 'Archivo', sans-serif; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong, rgba(16,14,28,.3)); cursor: pointer; }
.zl-link:hover { color: var(--ink); }
.zl-link:focus-visible, .zl-pruef-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
@media (max-width: 1100px) { .zl-buehne .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; } .zl-buehne .cols > div:nth-child(3) { border: 0; padding-left: 0; } }
@media (max-width: 900px) {
  .zl-kopf { display: none; }
  .zl-zeile { grid-template-columns: 1fr auto; gap: 10px 16px; padding: 18px 20px; }
  .zl-datum { grid-column: 1 / -1; display: flex; gap: 8px; }
  .zl-wer { grid-column: 1; } .zl-betrag { grid-column: 2; }
  .zl-status { grid-column: 1 / -1; }
}

/* Werkbank: Aus Drive wählen (public/js/werkbank/kampagne.js, driveWahl) */
.wb-dw-hinweis { margin: 0 0 14px; color: var(--ink-2); }
.wb-dw-raster { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 18px; min-height: 420px; }
.wb-dw-ordner { display: flex; flex-direction: column; gap: 2px; max-height: 60vh; overflow: auto; padding-right: 6px; border-right: 1px solid var(--line); }
.wb-dw-ordner .eyebrow { margin: 14px 10px 6px; font: 400 10px 'Martian Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.wb-dw-ordner button { display: flex; align-items: center; gap: 8px; text-align: left; border: 0; background: transparent; border-radius: 999px; padding: 8px 10px; font: 400 14px 'Archivo', sans-serif; color: var(--ink-2); cursor: pointer; }
.wb-dw-ordner button .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wb-dw-ordner button .ic { flex: none; }
.wb-dw-ordner button .n { font: 400 11px 'Martian Mono', monospace; color: var(--mute); }
.wb-dw-ordner button:hover { background: var(--canvas-2); }
.wb-dw-ordner button.an { background: var(--well); box-shadow: var(--inset); color: var(--ink); font-weight: 600; }
.wb-dw-rechts { min-width: 0; display: grid; gap: 12px; align-content: start; }
.wb-dw-leiste { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.wb-dw-dateien { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; max-height: 56vh; overflow: auto; padding: 4px; }
.wb-dw-datei { position: relative; display: grid; gap: 4px; padding: 8px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .2s var(--ease); }
.wb-dw-datei:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.wb-dw-datei.an { box-shadow: inset 0 0 0 2px var(--ink); }
.wb-dw-datei.verwendet { opacity: .6; }
.wb-dw-datei input { position: absolute; top: 14px; left: 14px; z-index: 1; width: 18px; height: 18px; accent-color: var(--ink); }
.wb-dw-bild { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--well); }
.wb-dw-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wb-dw-typ { position: absolute; right: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: var(--night); color: var(--on-night); font: 400 10px 'Martian Mono', monospace; text-transform: uppercase; }
.wb-dw-typ i { width: 11px; }
.wb-dw-name { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-dw-datei .klein { font-size: 11px; }
.wb-dw-zahl { margin-right: auto; }
@media (max-width: 800px) { .wb-dw-raster { grid-template-columns: 1fr; } .wb-dw-ordner { flex-direction: row; flex-wrap: wrap; border: 0; max-height: none; } }

/* Werkbank: Content-Maschine (public/js/werkbank/content.js), nach DESIGN.md: Bühne, Hinweis-Cards mit Verlaufskante, eingeprägte Felder */
.ct-buehne .ct-von { font-size: .5em; color: var(--night-mute); -webkit-text-fill-color: var(--night-mute); }
.ct-buehne.ct-start { display: grid; gap: 12px; padding-bottom: 32px; }
.ct-h2 { font-stretch: 125%; font-weight: 260; font-size: clamp(26px, 3vw, 40px); line-height: 1.05; letter-spacing: -.03em; text-transform: uppercase; color: var(--on-night); margin: 6px 0 0; max-width: 22ch; }
.ct-start-tx { color: #D9D3E6; max-width: 62ch; margin: 0; }
.ct-buehne .ct-schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 10px; }
.ct-start-aktion { margin-top: 8px; }
.ct-offen-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-top: 10px; }
.ct-gruende { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-top: 10px; }
.ct-grund { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--surface); box-shadow: var(--sh); }
.ct-grund > div { flex: 1; display: grid; gap: 2px; min-width: 0; } .ct-grund b { font-size: 15px; } .ct-grund > div span { font-size: 13px; color: var(--ink-2); }
.ct-grund-chip { --cut: 7px; flex: none; font: 400 10px 'Martian Mono', monospace; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; background: var(--well); color: var(--mute); clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); }
.ct-grund.ok .ct-grund-chip { background: var(--ok-bg); color: var(--ok); }
.ct-teile { justify-self: start; }
.ct-sb-kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 2px 0 16px; }
.ct-sb-kopf .klein { max-width: 70ch; margin: 0; }
.ct-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; }
.ct-steckbrief, .ct-einst { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.w.ct-abschnitt { padding: 24px 26px; display: grid; gap: 18px; }
.ct-ab-kopf { display: flex; align-items: center; gap: 12px; }
.ct-ab-kopf > div { display: grid; gap: 2px; } .ct-ab-kopf b { font-size: 17px; }
.ct-felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.ct-feld { display: grid; gap: 6px; align-content: start; min-width: 0; }
.ct-feld.breit { grid-column: 1 / -1; }
.ct-label { font: 500 13px 'Archivo', sans-serif; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.ct-pflicht { font: 400 9px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--c-ziel-ink); background: var(--c-ziel-bg); border-radius: 999px; padding: 2px 8px; }
.ct-input { width: 100%; box-sizing: border-box; min-height: 46px; border: 0; border-radius: var(--r-input); padding: 12px 16px; font: 400 15px 'Archivo', sans-serif; color: var(--ink); background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); resize: vertical; transition: background .2s var(--ease), box-shadow .2s var(--ease); }
.ct-input:focus { outline: 0; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(75,59,255,.14); }
textarea.ct-input { line-height: 1.5; }
.ct-quelle { font: 400 11px 'Archivo', sans-serif; color: var(--mute); }
.ct-pillen { display: flex; gap: 6px; flex-wrap: wrap; }
.ct-pille input { position: absolute; opacity: 0; pointer-events: none; }
.ct-pille span { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 14px; color: var(--ink-2); cursor: pointer; }
.ct-pille input:checked + span { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.ct-pille input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.ct-leiste { grid-column: 1 / -1; position: sticky; bottom: 16px; z-index: 5; display: flex; align-items: center; gap: 10px; justify-content: flex-end; padding: 10px 10px 10px 22px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh-lift); }
.ct-leiste > span { margin-right: auto; font-size: 14px; color: var(--ink-2); }
.ct-leiste-fest { position: static; box-shadow: var(--sh); }
.ct-regeln.al { max-width: none; }
.ct-schalter { font-size: 15px; color: var(--ink); }
@media (max-width: 1100px) { .ct-steckbrief, .ct-einst { grid-template-columns: 1fr; } .ct-buehne .ct-schritte { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ct-felder { grid-template-columns: 1fr; } }
.ct-regeln .al-inhalt { margin-top: 0; }
.ct-regeln .al-inhalt > .al-h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
/* Content-Maschine: Accounts zum Folgen, Fundstücke, Plan */
.ct-block { display: grid; gap: 12px; margin-top: 28px; }
.ct-lauf { margin-top: 12px; }
.ct-accounts { display: grid; gap: 10px; }
.ct-acc { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 20px; background: var(--surface); box-shadow: var(--sh); }
.ct-acc-tx { flex: 1; display: grid; gap: 2px; min-width: 0; } .ct-acc-tx a { color: var(--ink); text-decoration: none; } .ct-acc-tx a:hover b { text-decoration: underline; }
.ct-acc-pf { flex: none; font: 400 10px 'Martian Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.ct-funde { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.ct-fund { display: grid; grid-template-rows: auto 1fr; border-radius: 24px; overflow: hidden; background: var(--surface); box-shadow: var(--sh); }
.ct-fund-bild { position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 4 / 5; background: var(--night, #100E1C); color: var(--mute); text-decoration: none; font: 400 11px 'Martian Mono', monospace; text-transform: uppercase; }
.ct-fund-bild img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ct-fund-bild img.hg { object-fit: cover; filter: blur(18px) brightness(.55); transform: scale(1.15); }
.ct-fund-bild img.vg { object-fit: contain; }
.ct-fund-tx { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.ct-fund-handle { font-size: 16px; overflow-wrap: anywhere; }
.ct-fund-zahlen { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 2px 0; }
.ct-fund-zahlen > div { display: grid; gap: 1px; padding: 8px 10px; border-radius: 14px; background: var(--well); }
.ct-fund-zahlen > div b { font-family: 'Archivo', sans-serif; font-stretch: 112%; font-weight: 400; font-size: 18px; color: var(--ink); }
.ct-fund-zahlen > div.gross b { font-weight: 600; }
.ct-fund-zahlen > div span { font-size: 12px; color: var(--ink-2); }
.ct-fund-fuss { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-fund-fuss .btn { flex: 1 1 auto; justify-content: center; }
.ct-fund-kopf { display: flex; justify-content: space-between; gap: 8px; }

.ct-fund-text { font-size: 13px; color: var(--ink-2); }
.ct-fund-text summary { cursor: pointer; list-style: none; } .ct-fund-text summary::-webkit-details-marker { display: none; }
.ct-fund-text summary::after { content: ' mehr'; color: var(--ink); font-weight: 600; } .ct-fund-text[open] summary { display: none; }
.ct-fund-text p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.ct-embed { display: grid; place-items: center; background: var(--well); border-radius: 20px; padding: 12px; }
.ct-embed iframe { width: min(400px, 100%); height: min(720px, 70vh); border: 0; border-radius: 14px; background: var(--surface); }
.ct-leiste-f { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.ct-fliste { display: grid; gap: 8px; }
.ct-fz { display: grid; grid-template-columns: 34px 64px minmax(0, 1fr) 90px 90px 80px 100px 90px 250px; gap: 14px; align-items: center; padding: 10px 14px; border-radius: 18px; background: var(--surface); box-shadow: var(--sh); font-size: 14px; }
.ct-fz.kopf { background: none; box-shadow: none; padding-top: 0; padding-bottom: 0; font: 400 10px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.ct-fz .r { text-align: right; white-space: nowrap; } .ct-fz .r b { font-weight: 600; }
.ct-fz-rang { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--glaze); color: var(--on-ink); font-size: 13px; }
.ct-fz-bild { width: 64px; height: 80px; border-radius: 12px; overflow: hidden; background: var(--night); } .ct-fz-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ct-fz-tx { display: grid; gap: 3px; min-width: 0; } .ct-fz-tx b { overflow-wrap: anywhere; }
.ct-fz-k { display: flex; gap: 6px; }
@media (max-width: 1300px) { .ct-fz { grid-template-columns: 34px 64px minmax(0, 1fr) auto; } .ct-fz.kopf { display: none; }
  .ct-fz .r { grid-column: 3; text-align: left; display: inline; } .ct-fz .r::before { content: attr(data-l) ': '; color: var(--mute); }
  .ct-fz-k { grid-column: 4; grid-row: 1 / span 6; } }
.ct-merken { position: absolute; right: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(252,251,252,.92); color: var(--ink); font: 500 13px 'Archivo', sans-serif; box-shadow: var(--sh); }
.ct-merken.an { background: var(--glaze); color: var(--on-ink); }
.ct-prof { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-mini { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; border: 0; cursor: pointer; background: var(--surface); color: var(--ink); font: 500 12px 'Archivo', sans-serif; box-shadow: inset 0 0 0 1px var(--line-strong); }
.ct-mini:hover { background: var(--well); }
.ct-weg { color: var(--ink-2); }
.ct-tag.ok { background: var(--ok-bg); color: var(--ok); display: inline-flex; align-items: center; gap: 4px; }
.ct-fz-merk.an { color: var(--ink); }
.ct-details { margin: 6px 0 14px; padding: 12px 16px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ct-details summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink); }
.ct-trichter { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin: 12px 0; }
.ct-trichter > div { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--well); }
.ct-trichter b { font-family: 'Archivo', sans-serif; font-stretch: 112%; font-weight: 400; font-size: 22px; } .ct-trichter span { font-size: 12px; color: var(--ink-2); }
.ct-protokoll { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 13px; }
.ct-protokoll li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); } .ct-protokoll .fehler { color: var(--bad); }
.wb-rechner { display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: var(--well); }
.wb-rechner-felder { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px; align-items: end; }
.wb-rechner-felder .feld > span { display: block; font-size: 13px; margin-bottom: 6px; color: var(--ink-2); }
.wb-rechner p { margin: 0; } .wb-rechner [data-rechner-ok] { justify-self: start; }
@media (max-width: 640px) { .wb-rechner-felder { grid-template-columns: 1fr; } }
.ct-hit-neu { margin-bottom: 8px; }
.ct-hit-kopf { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: start; }
.ct-hit-bild { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--night); color: var(--night-mute); text-decoration: none; }
.ct-hit-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ct-hit-tx { display: grid; gap: 10px; min-width: 0; } .ct-hit-titel { font-size: 18px; line-height: 1.35; }
.ct-hit-tx .ct-fund-zahlen { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.ct-hit-konzept .ct-wert { grid-template-columns: 120px minmax(0, 1fr); }
@media (max-width: 760px) { .ct-hit-kopf { grid-template-columns: 1fr; } .ct-hit-bild { max-width: 260px; } }
.ct-ausw { display: grid; gap: 6px; padding: 10px 12px; border-radius: 16px; background: var(--well); }
.ct-ausw-d summary { cursor: pointer; font-weight: 600; font-size: 13px; color: var(--ink); }
.ct-ausw-d p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.ct-recht { margin: 0; font-size: 12px; color: var(--warn); display: flex; gap: 6px; align-items: flex-start; }
.ct-prompt { width: 100%; font-family: 'Martian Mono', monospace; font-size: 12px; line-height: 1.55; }
.ct-bericht { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.ct-b-kurz { grid-column: span 7; } .ct-b-kanal { grid-column: span 5; } .ct-b-muster { grid-column: 1 / -1; }
.ct-b-luecken, .ct-b-bench { grid-column: 1 / -1; display: grid; gap: 12px; }
.ct-liste { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; line-height: 1.5; }
.ct-rang.statisch { position: static; align-self: start; }
.ct-bench td { font-size: 13px; line-height: 1.45; } .ct-bench a { color: var(--ink); text-decoration: none; }
@media (max-width: 1100px) { .ct-b-kurz, .ct-b-kanal { grid-column: 1 / -1; } }
.ct-acc-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.ct-acc-kachel { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 24px; background: var(--surface); box-shadow: var(--sh); }
.ct-acc-name, .ct-acc-grund { margin: 0; overflow-wrap: anywhere; }
.ct-acc-grund { color: var(--ink-2); line-height: 1.5; }
.ct-plan { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.ct-plan th { text-align: left; font: 400 10px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding: 6px 8px; }
.ct-plan td { padding: 10px 8px; border-top: 1px solid var(--line); vertical-align: top; } .ct-plan .r { text-align: right; white-space: nowrap; }
.ct-plan .summe td { border-top: 1.5px solid var(--ink); }
@media (max-width: 640px) { .ct-acc { flex-wrap: wrap; } }
/* Content-Maschine, Studio: Überblick, Steckbrief als Profil, Regeln als Nachschlagewerk */
.ct-karte { align-content: start; }
.ct-ab-kopf .ct-bearb { margin-left: auto; }
.ct-ab-kopf > div .eyebrow { display: block; margin-bottom: 2px; }
.ct-ring { --p: 0; flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-left: auto;
  background: conic-gradient(var(--ink) calc(var(--p) * 1%), var(--well) 0); }
.ct-ring span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); font: 400 10px 'Martian Mono', monospace; color: var(--ink-2); }
.ct-ring + .ct-bearb { margin-left: 4px; }
.ct-werte { display: grid; gap: 14px; }
.ct-wert { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 16px; align-items: start; }
.ct-wert > div { display: grid; gap: 4px; min-width: 0; }
.ct-wert-t { font: 400 10px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.ct-wert-tx { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.ct-zahlwert { font-family: 'Archivo', sans-serif; font-stretch: 112%; font-weight: 300; font-size: 22px; color: var(--ink); }
.ct-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: 13px; line-height: 1.3; }
.ct-tag.handle { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.ct-tag.ruhig { background: var(--well); color: var(--ink-2); }
.ct-leer { margin: 4px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.ct-leer b { color: var(--bad); font-weight: 600; }
.ct-edit-fuss { display: flex; justify-content: flex-end; gap: 8px; padding-top: 6px; }
.ct-edit { box-shadow: var(--sh-lift), inset 0 0 0 1.5px var(--ink); }
@media (max-width: 760px) { .ct-wert { grid-template-columns: 1fr; } }

.ct-regel-raster { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.ct-toc { position: sticky; top: 24px; display: grid; gap: 4px; padding: 12px; border-radius: 24px; background: var(--surface); box-shadow: var(--sh); }
.ct-toc a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; color: var(--ink-2); text-decoration: none; font-size: 14px; }
.ct-toc a:hover { background: var(--well); color: var(--ink); } .ct-toc a.eigen { color: var(--ink); font-weight: 600; }
.ct-regel-liste { display: grid; gap: 16px; }
.ct-regel { padding: 24px 26px; display: grid; gap: 10px; scroll-margin-top: 24px; }
.ct-regel.eigen { position: relative; overflow: hidden; box-shadow: var(--sh-lift); }
.ct-regel.eigen::before, .ct-regel.recht::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad); }
.ct-regel.recht { position: relative; overflow: hidden; background: var(--warn-bg); }
.ct-regel.recht::before { background: var(--warn); }
@media (max-width: 900px) { .ct-regel-raster { grid-template-columns: 1fr; } .ct-toc { position: static; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }

.ct-filter { justify-self: start; margin: 4px 0 14px; }
.ct-fuss { margin-top: 14px; }
.ct-fund { position: relative; }
.ct-rang { position: absolute; left: 12px; top: 12px; z-index: 2; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center;
  background: var(--glaze); color: var(--on-ink); font: 400 15px 'Archivo', sans-serif; font-stretch: 112%; box-shadow: var(--sh); }
.ct-gesperrt summary { cursor: pointer; list-style: none; } .ct-gesperrt summary::-webkit-details-marker { display: none; }
.ct-gesperrt[open] summary { margin-bottom: 12px; }

.ct-ueber { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.ct-u-studio, .ct-u-suche, .ct-u-ansteht { grid-column: span 4; } .ct-u-eigen { grid-column: 1 / -1; } .ct-u-eigen .ct-u-mehr { margin-left: auto; }
.ct-u-studio, .ct-u-suche, .ct-u-ansteht { display: flex; flex-direction: column; gap: 14px; } .ct-u-studio .ct-u-mehr { margin-top: auto; }
.ct-u-top { grid-column: 1 / -1; display: grid; gap: 12px; justify-items: start; margin-top: 12px; } .ct-u-top .ct-funde { width: 100%; }
.ct-u-nische { margin: 0; font-size: 17px; line-height: 1.45; color: var(--ink); }
.ct-u-studio .ct-wert, .ct-u-suche .ct-such { grid-template-columns: 1fr; }
.ct-such { display: grid; gap: 6px; }
.ct-u-mehr { justify-self: start; }
.ct-ansteht { display: grid; gap: 8px; }
.ct-ansteht .fbp-aufgabe { width: 100%; text-align: left; border: 0; cursor: pointer; font: inherit; color: inherit; }
.ct-ansteht .fbp-aufgabe:hover { box-shadow: inset 0 0 0 1px var(--line-strong), var(--sh); }
.ct-ansteht .fbp-aufgabe div { display: grid; gap: 2px; } .ct-ansteht .fbp-aufgabe span { font-size: 13px; color: var(--ink-2); }
.ct-funde.vier { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ct-funde.vier .ct-fund-bild { aspect-ratio: 1; }
@media (max-width: 1100px) { .ct-funde.vier { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ct-karte .al, .ct-regel .al { background: none; box-shadow: none; padding: 0; margin: 0; border-radius: 0; max-width: none; }
@media (max-width: 1200px) { .ct-u-studio, .ct-u-suche { grid-column: span 6; } .ct-u-ansteht { grid-column: 1 / -1; } }
@media (max-width: 760px) { .ct-u-studio, .ct-u-suche { grid-column: 1 / -1; } .ct-funde.vier { grid-template-columns: 1fr; } }


/* Werkbank → Designsystem: Checkliste je Studio */
.ds-liste { display: grid; gap: 12px; }
.ds-punkt { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.ds-punkt input { margin-top: 3px; accent-color: var(--ink); width: 16px; height: 16px; flex: none; }
.ds-punkt > span { display: grid; gap: 2px; } .ds-punkt b { color: var(--ink); font-weight: 500; }
.wb-anleitung code { font-family: 'Martian Mono', monospace; font-size: 12px; word-break: break-all; }
.wb-meta-arbeit .pdot { background: var(--pearl); }
.ds-stand { margin-top: 10px; }
.w.ds-prompt { display: grid; gap: 10px; }

/* Werkbank → Creatives: mehrere auswählen und weitergeben */
.wb-waehlt .wb-cr { position: relative; }
.wb-waehlt .wb-cr::after { content: ''; position: absolute; top: 10px; left: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface, #fff); box-shadow: inset 0 0 0 1.5px var(--mute); }
.wb-waehlt .wb-cr.gewaehlt::after { background: var(--pearl); box-shadow: none; }
.wb-waehlt .wb-cr.gewaehlt { box-shadow: 0 0 0 2px var(--ink); }
.wb-waehlt .wb-cr.gesperrt { opacity: .35; }
.wb-waehlt .wb-cr-neu { display: none; }
.wb-sammel { position: sticky; bottom: 18px; z-index: 5; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding: 12px 14px 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.18); font-size: 14px; }
.wb-sammel[hidden] { display: none; }
.wb-sammel [data-sammel-text] { margin-right: auto; }
.wb-sammel .btn-ghost { color: #fff; }
.wb-sammel-regeln { display: grid; gap: 10px; margin-top: 12px; }
.wb-sammel-fehler { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.wb-sammel-fehler li { display: grid; gap: 2px; }
.w.ds-material { display: grid; gap: 10px; }
.w.ds-material.zieht { box-shadow: 0 0 0 2px var(--ink); }
.ds-mulde { cursor: pointer; }
.ds-dateien { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.ds-dateien li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--well); }
.w.ds-material .bx-mulde.gross { aspect-ratio: auto; min-height: 96px; height: auto; padding: 18px; }
/* Werkbank → Creatives: Stand der Freigabe in ORBIT */
.wb-orbit { display: inline-flex; align-self: start; margin: 6px 0 2px; font-size: 11px; padding: 3px 9px; border-radius: 999px; background: var(--well); color: var(--ink-2); }
.wb-orbit-freigegeben { background: var(--c-ziel-bg, var(--well)); color: var(--ok); }
.wb-orbit-aenderung { color: var(--bad); }
.wb-wege { display: grid; gap: 12px; margin-bottom: 12px; }
.wb-wege .ws-check { align-items: flex-start; }
.wb-wege label:has(input:disabled) { opacity: .4; cursor: not-allowed; }

/* Datumswähler (public/js/datum.js) im Lichtraum: erhabene Card, Wochentage als Mono-Eyebrow, Tage als runde Pillen,
   gewählter Tag als Glasur mit Perle, heute mit Fokus-Ring. Das Feld selbst bleibt ein echtes Datumsfeld. */
input[type="date"] {
  cursor: pointer;
  /* !important: die Feld-Bausteine setzen background als Kurzform und würden das Icon sonst überdecken */
  background-image: url('/icons/kalender-inaktiv.svg') !important; background-repeat: no-repeat !important;
  background-position: right 14px center !important; background-size: 18px 18px !important; padding-right: 42px !important;
}
input[type="date"]::-webkit-calendar-picker-indicator { display: none; }
input[type="date"]::-webkit-inner-spin-button { display: none; }
.dw {
  position: fixed; z-index: 90; width: 300px; padding: 16px 16px 12px;
  background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-lift);
  border: 1px solid var(--line); color: var(--ink);
  opacity: 0; transform: translateY(-4px) scale(.98); transform-origin: top left;
  transition: opacity .16s var(--ease), transform .2s var(--ease);
}
.dw.offen { opacity: 1; transform: none; }
.dw-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.dw-titel { font-family: 'Archivo', sans-serif; font-stretch: 125%; font-weight: 300; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; }
.dw-titel span { font-family: 'Martian Mono', monospace; font-size: 12px; font-weight: 400; color: var(--mute); margin-left: 4px; font-variant-numeric: tabular-nums; }
.dw-nav {
  width: 34px; height: 34px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  background: var(--surface); box-shadow: var(--sh); color: var(--ink-2); display: grid; place-items: center;
}
.dw-nav:hover { color: var(--ink); }
.dw-nav .ic { width: 16px; height: 16px; }
.dw-woche, .dw-raster { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dw-woche span { font-family: 'Martian Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); text-align: center; padding: 4px 0 6px; }
.dw-tag {
  position: relative; height: 36px; border: 0; border-radius: var(--r-pill); background: transparent; cursor: pointer;
  font-family: 'Archivo', sans-serif; font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums;
}
.dw-tag:hover:not(:disabled) { background: var(--well); box-shadow: var(--inset); }
.dw-tag.dw-fremd { color: var(--mute); opacity: .55; }
.dw-tag.dw-heute { box-shadow: inset 0 0 0 1.5px var(--focus); }
.dw-tag.dw-gewaehlt { background: var(--glaze); color: var(--on-ink); box-shadow: var(--sh); }
.dw-tag.dw-gewaehlt::after {
  content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--pearl);
  left: 50%; bottom: 4px; transform: translateX(-50%);
}
.dw-tag:disabled { opacity: .3; cursor: not-allowed; }
.dw-tag:focus-visible, .dw-nav:focus-visible, .dw-knopf:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.dw-fuss { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.dw-knopf {
  height: 32px; padding: 0 14px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  background: var(--surface); box-shadow: var(--sh); font-family: 'Archivo', sans-serif; font-size: 13px; color: var(--ink);
}
.dw-knopf:disabled { opacity: .4; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .dw { transition: none; transform: none; } }

/* ---------- Werkbank → Feed-Studio (public/js/werkbank/feed.js) ---------- */
.fs-planer { display: grid; gap: 16px; max-width: 960px; }
.fs-profil { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--sh); }
.fs-profil b { display: block; }
.fs-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: var(--sh); }
.fs-raster > .wb-leer { grid-column: 1 / -1; }
.fs-kachel { position: relative; aspect-ratio: 3 / 4; overflow: hidden; display: block; background: var(--well); container-type: inline-size; }
.fs-kachel > .fs-buehne { position: absolute; top: 0; transform-origin: 0 0; }
.fs-kachel-info { position: absolute; left: 8px; bottom: 8px; z-index: 20; font: 11px/1 "Martian Mono", monospace; color: #fff; background: rgba(16, 14, 28, .55); padding: 5px 8px; border-radius: 999px; }
.fs-kachel-k { position: absolute; right: 10px; top: 10px; z-index: 20; width: 20px; height: 20px; border: 2px solid #fff; border-radius: 4px; box-shadow: 4px -4px 0 -2px rgba(255,255,255,.7); }
.fs-editor { display: grid; grid-template-columns: minmax(360px, 1fr) minmax(420px, 1.1fr); gap: 24px; align-items: start; }
.fs-links { display: grid; gap: 16px; }
.fs-rechts { position: sticky; top: 16px; }
.fs-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fs-folien-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.fs-folien-tabs button, .fs-pillen button { border: 0; border-radius: 999px; padding: 8px 14px; background: var(--well); color: var(--ink-2); cursor: pointer; font: 500 13px Archivo, sans-serif; }
.fs-folien-tabs button.an, .fs-pillen button.an { background: var(--ink); color: var(--on-ink); }
.fs-pillen { display: flex; flex-wrap: wrap; gap: 6px; }
.fs-kurz { resize: vertical; min-height: 44px; }
.fs-fotowahl { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; max-height: 220px; overflow: auto; }
.fs-fotowahl button { border: 0; padding: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 1; cursor: pointer; outline: 3px solid transparent; }
.fs-fotowahl button.an { outline-color: var(--signal); }
.fs-fotowahl img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-tipp code, .fs-tokens { font: 12px/1.5 "Martian Mono", monospace; }
.fs-vorschau-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.fs-vorschau-kopf .fs-warn { color: var(--bad); font-weight: 600; }
.fs-vorschau { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.fs-v-folie { flex: none; width: 360px; height: 450px; overflow: hidden; border-radius: 14px; box-shadow: var(--sh); cursor: pointer; outline: 3px solid transparent; outline-offset: 3px; }
.fs-v-folie.an { outline-color: var(--signal); }
.fs-v-folie > .fs-buehne { transform: scale(calc(360 / 1080)); transform-origin: 0 0; }
.fs-titel-input { font: inherit; letter-spacing: inherit; text-transform: inherit; border: 0; background: transparent; color: inherit; width: 100%; padding: 0; }
.fs-titel-input:focus { outline: none; box-shadow: inset 0 -2px 0 var(--signal); }
.fs-foto-weg { position: absolute; top: 8px; right: 8px; border: 0; border-radius: 999px; background: rgba(255,255,255,.9); cursor: pointer; padding: 6px; }
.fs-hochladen { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; margin-top: 8px; }
.fs-aktionen { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.fs-wahl { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.fs-wahl .bx-chip { cursor: pointer; border: 0; }
dialog.fs-neu { max-width: 720px; border: 0; border-radius: 28px; padding: 28px; }
dialog.fs-neu::backdrop { background: rgba(16, 14, 28, .35); }
@media (max-width: 1100px) { .fs-editor { grid-template-columns: 1fr; } .fs-rechts { position: static; } }
/* Feed-Studio: Formularfelder wie .feld (Mulde mit Kontur) */
.fs-editor .bx-field, .fs-neu .bx-field { display: grid; gap: 6px; margin-bottom: 14px; }
.fs-editor .bx-label, .fs-neu .bx-label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.fs-editor .bx-input, .fs-neu .bx-input, .fs-tokens { width: 100%; box-sizing: border-box; font: 15px/1.45 Archivo, sans-serif; padding: 10px 14px;
  background: var(--well); border: 0; border-radius: var(--r-input); box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); color: var(--ink); }
.fs-editor .bx-input:focus, .fs-neu .bx-input:focus, .fs-tokens:focus { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(75,59,255,.14); outline: none; }
.fs-tokens { font: 12px/1.5 "Martian Mono", monospace; min-height: 420px; }
.fs-editor .fs-reihe { align-items: end; }
.fs-editor-kopf { flex-wrap: wrap; gap: 16px; } .fs-editor-kopf > div:first-child { flex: 1 1 360px; min-width: 0; }
/* Feed-Studio: Neuer Beitrag in zwei Schritten */
dialog.fs-neu { width: min(1100px, 94vw); max-height: 90vh; overflow: auto; }
.fs-neu-kopf h2 { font-stretch: 125%; font-weight: 300; text-transform: uppercase; letter-spacing: -.02em; font-size: 30px; margin: 4px 0 6px; }
.fs-ziele { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 8px 0 18px; }
.fs-ziele button { text-align: left; border: 0; border-radius: 18px; padding: 16px 18px; background: var(--well); cursor: pointer; display: grid; gap: 2px; box-shadow: var(--inset), inset 0 0 0 1px var(--line); }
.fs-ziele button:hover { background: var(--surface); box-shadow: var(--sh); }
.fs-ziele b { font-size: 16px; color: var(--ink); } .fs-ziele span { font-size: 13px; color: var(--mute); }
.fs-vorschlaege { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 10px; }
.fs-vorschlaege.viele { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.fs-vorschlag { position: relative; border: 0; background: var(--surface); border-radius: 20px; padding: 10px 10px 14px; text-align: left; cursor: pointer; box-shadow: var(--sh); display: grid; gap: 4px; transition: transform .2s; container-type: inline-size; }
.fs-vorschlag:hover { transform: translateY(-3px); box-shadow: 0 0 0 3px var(--signal), var(--sh); }
.fs-vorschlag-bild { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; position: relative; }
.fs-vorschlag-bild > .fs-buehne { transform-origin: 0 0; }
.fs-vorschlag > b { font-size: 14px; margin-top: 6px; } .fs-vorschlag > span { font-size: 12px; color: var(--mute); line-height: 1.35; }
.fs-vorschlag > em { position: absolute; top: 18px; left: 18px; z-index: 30; font: normal 10px "Martian Mono", monospace; background: rgba(16,14,28,.6); color: #fff; padding: 4px 8px; border-radius: 999px; }
@media (max-width: 900px) { .fs-vorschlaege { grid-template-columns: repeat(2, 1fr); } }
dialog.fs-neu { position: fixed; inset: 0; margin: auto; height: fit-content; }
/* Feed-Planer im Handy (Instagram-Profil) */
.fs-planer2 { display: grid; grid-template-columns: 430px minmax(320px, 1fr); gap: 32px; align-items: start; }
.fs-handy-ig { width: 430px; border-radius: 64px; padding: 14px; background: linear-gradient(145deg, #3a3a3e, #121214 40%, #2b2b2f);
  box-shadow: 0 50px 100px -50px rgba(16,14,28,.6), inset 0 0 0 2px #4a4a50, inset 0 0 0 5px #0c0c0e; position: sticky; top: 16px; }
.fs-handy-ig-schirm { border-radius: 52px; overflow: hidden; background: #fff; color: #111; height: 860px; overflow-y: auto; scrollbar-width: none; font-family: -apple-system, "Helvetica Neue", Arial, sans-serif; }
.fs-handy-ig-schirm::-webkit-scrollbar { display: none; }
.ig-status { display: flex; justify-content: space-between; align-items: center; padding: 16px 30px 6px 36px; font-weight: 600; font-size: 15px; position: sticky; top: 0; background: #fff; z-index: 5; }
.ig-insel { width: 110px; height: 32px; border-radius: 20px; background: #000; }
.ig-sym { display: flex; gap: 4px; align-items: flex-end; } .ig-sym i { width: 5px; background: #111; border-radius: 1px; display: block; } .ig-sym i:nth-child(1) { height: 7px; } .ig-sym i:nth-child(2) { height: 10px; } .ig-sym i:nth-child(3) { width: 22px; height: 11px; border-radius: 3px; margin-left: 4px; }
.ig-leiste { display: flex; justify-content: space-between; align-items: center; padding: 8px 18px; font-size: 19px; } .ig-icons { display: flex; gap: 16px; font-size: 24px; }
.ig-kopf { display: flex; align-items: center; gap: 26px; padding: 8px 18px 10px; }
.ig-bild { width: 86px; height: 86px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; background: #f2f2f2; box-shadow: 0 0 0 1px #e6e6e6; }
.ig-bild img { width: 100%; height: 100%; object-fit: cover; } .ig-bild .kunde-logo, .ig-bild > * { max-width: 100%; }
.ig-zahlen { display: flex; justify-content: space-around; flex: 1; text-align: center; font-size: 13px; }
.ig-zahlen span { display: grid; } .ig-zahlen b { font-size: 17px; }
.ig-text { padding: 0 18px 10px; font-size: 14px; line-height: 1.38; } .ig-text b { display: block; } .ig-kat { color: #737373; display: block; }
.ig-text p { margin: 2px 0; white-space: pre-line; } .ig-text a { color: #00376b; font-weight: 600; }
.ig-knoepfe { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding: 4px 18px 12px; } .ig-knoepfe span { background: #efefef; border-radius: 8px; text-align: center; padding: 7px 0; font-weight: 600; font-size: 13px; }
.ig-knoepfe span:first-child { background: #0095f6; color: #fff; }
.ig-highlights { display: flex; gap: 14px; padding: 4px 18px 14px; overflow: hidden; font-size: 11px; }
.ig-highlights span { display: grid; justify-items: center; gap: 4px; } .ig-highlights i { width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--canvas-2), var(--well)); box-shadow: 0 0 0 1px #ddd, inset 0 0 0 3px #fff; display: block; }
.ig-tabs { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid #efefef; font-size: 22px; text-align: center; color: #8e8e8e; }
.ig-tabs i { padding: 10px 0; } .ig-tabs i.an { color: #111; box-shadow: inset 0 -1.5px 0 #111; }
.ig-raster { border-radius: 0; box-shadow: none; gap: 2px; background: #fff; }
.ig-leer { grid-column: 1 / -1; padding: 40px 18px; text-align: center; color: #8e8e8e; font-size: 14px; }
.ig-raster .fs-kachel-info { font-size: 9px; padding: 3px 6px; left: 5px; bottom: 5px; }
.ig-raster .fs-kachel-k { width: 14px; height: 14px; right: 6px; top: 6px; }
.fs-planer-seite { display: grid; gap: 16px; } .fs-planer-seite .bx-field { display: grid; gap: 6px; margin-bottom: 12px; }
.fs-planer-seite .bx-label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.fs-planer-seite .bx-input { width: 100%; box-sizing: border-box; font: 15px/1.45 Archivo, sans-serif; padding: 10px 14px; background: var(--well); border: 0; border-radius: var(--r-input); box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); color: var(--ink); }
@media (max-width: 1100px) { .fs-planer2 { grid-template-columns: 1fr; } .fs-handy-ig { position: static; margin: 0 auto; } }

/* Kopf im Editor: Knöpfe brechen um statt aus dem Bild zu laufen */
.fs-editor-kopf .actions { flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

/* Feed-Planer: Handy kleiner, daneben der Plan (Lichtraum: Card mit Eyebrow, Liste mit Status-Pillen) */
.fs-planer2 { grid-template-columns: 346px minmax(320px, 560px); gap: 28px; }
.fs-handy-ig { zoom: .8; }
.fs-plan-karte { display: grid; gap: 16px; }
.fs-plan-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.fs-plan-titel { display: block; font-size: 17px; font-weight: 600; margin-top: 4px; }
.fs-plan-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fs-plan-liste a { display: grid; grid-template-columns: 112px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 16px; background: var(--well); box-shadow: var(--inset); color: var(--ink); text-decoration: none; }
.fs-plan-liste a:hover { background: var(--surface); box-shadow: var(--sh); }
.fs-plan-datum { font: 12px "Martian Mono", monospace; color: var(--mute); white-space: nowrap; }
.fs-plan-name { display: grid; } .fs-plan-name b { font-weight: 600; }
.fs-plan-hinweis { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--surface); box-shadow: inset 3px 0 0 var(--signal), var(--sh); font-size: 14px; color: var(--ink-2); }
.fs-holen-zeile { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.fs-editor-kopf .actions .btn { white-space: nowrap; }
/* Handy: unten Platz für die runden Ecken und den Home-Balken, damit die letzte Reihe ganz sichtbar ist */
.fs-handy-ig-schirm { position: relative; padding-bottom: 46px; }
.fs-handy-ig-schirm::after { content: ""; position: sticky; display: block; bottom: 10px; margin: 10px auto 0; width: 140px; height: 5px; border-radius: 3px; background: #111; opacity: .85; }
.ig-raster .fs-kachel-info { left: 10px; bottom: 8px; }
/* Feed-Studio: Kit-Reiter */
.fs-kit { display: grid; gap: 16px; max-width: 1180px; }
.fs-kit-karte, .fs-kit-vorschlag { display: grid; gap: 14px; }
.fs-kit-vorschlag { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.fs-kit-proben { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fs-kit-probe { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; position: relative; box-shadow: var(--sh); }
.fs-kit-probe > .fs-buehne { transform-origin: 0 0; }
.fs-kit-json summary { cursor: pointer; font-weight: 600; }
.fs-kit-json .fs-tokens { margin-top: 12px; }
@media (max-width: 900px) { .fs-kit-proben { grid-template-columns: repeat(2, 1fr); } }
/* Live-Vorschau: Auswahlrahmen nicht mehr abgeschnitten (Platz im Scrollbereich, Rahmen als Schatten statt Outline) */
.fs-vorschau { padding: 8px; margin: -8px; }
.fs-v-folie { outline: 0; transition: box-shadow .2s; }
.fs-v-folie.an { box-shadow: 0 0 0 3px var(--canvas), 0 0 0 6px var(--signal), var(--sh); }
/* Handy wie echt: Home-Balken auf dem Rahmen statt über den Kacheln, Datumsschild nur beim Darüberfahren */
.fs-handy-ig { position: sticky; }
.fs-handy-ig-schirm::after { display: none; }
.fs-handy-ig::after { content: ""; position: absolute; left: 50%; bottom: 22px; width: 140px; height: 5px; margin-left: -70px; border-radius: 3px; background: #111; opacity: .8; z-index: 30; pointer-events: none; }
.fs-handy-ig-schirm { padding-bottom: 40px; }
.ig-raster .fs-kachel-info { opacity: 0; transition: opacity .2s; }
.ig-raster .fs-kachel:hover .fs-kachel-info { opacity: 1; }

/* Feed-Planer: Umschalter Liste und Kalender, Monatskalender */
.fs-plan-aktionen { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.fs-planer2.mit-kalender { grid-template-columns: 346px minmax(520px, 1fr); }
.fs-kal { display: grid; gap: 12px; margin-top: 8px; }
.fs-kal-kopf { display: flex; align-items: center; justify-content: center; gap: 16px; }
.fs-kal-kopf b { min-width: 180px; text-align: center; font-size: 16px; }
.fs-kal-pfeil { border: 0; background: var(--well); border-radius: 999px; width: 36px; height: 36px; cursor: pointer; box-shadow: var(--inset); color: var(--ink); }
.fs-kal-raster { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.fs-kal-wt { font: 11px "Martian Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); text-align: center; }
.fs-kal-tag { min-height: 110px; border-radius: 14px; background: var(--well); box-shadow: var(--inset); padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.fs-kal-tag.leer { background: transparent; box-shadow: none; }
.fs-kal-tag.heute .fs-kal-nr { background: var(--ink); color: var(--surface); }
.fs-kal-tag.drop { background: var(--surface); box-shadow: var(--inset), inset 0 0 0 2px var(--ink); }
.fs-kal-nr { font: 11px "Martian Mono", monospace; color: var(--ink-2); align-self: flex-start; padding: 2px 7px; border-radius: 999px; }
.fs-kal-posts { display: grid; gap: 6px; }
.fs-kal-post { display: grid; gap: 3px; text-decoration: none; color: var(--ink); cursor: pointer; min-width: 0; }
.fs-kal-post[draggable="true"] { cursor: grab; }
.fs-kal-post.zieht { opacity: .4; }
.fs-kal-bild { display: block; position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; }
.fs-kal-bild > .fs-buehne { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.fs-kal-bild .fs-kachel-k { width: 12px; height: 12px; right: 5px; top: 5px; }
.fs-kal-titel { font-size: 11px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-kal-ohne { display: grid; gap: 8px; }
.fs-kal-ohne .fs-kal-posts { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }

/* Feed-Studio: Bildausschnitt von Hand */
.fs-ausschnitt-zeile { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: -4px 0 14px; }
.fs-aus { display: grid; gap: 14px; justify-items: center; }
.fs-aus-buehne { position: relative; overflow: hidden; border-radius: 14px; cursor: grab; touch-action: none; user-select: none; box-shadow: var(--sh); }
.fs-aus-buehne.zieht { cursor: grabbing; }
.fs-aus-buehne img { pointer-events: none; -webkit-user-drag: none; }
.fs-aus-regler { display: flex; align-items: center; gap: 12px; width: 400px; }
.fs-aus-regler input { flex: 1; accent-color: var(--ink); }
.fs-aus-regler b { min-width: 52px; text-align: right; font: 12px "Martian Mono", monospace; }

/* Kalender: nur der ganze Beitrag ist greifbar (kein Ziehen einzelner Bilder darin) */
.fs-kal-bild * { pointer-events: none; -webkit-user-drag: none; user-select: none; }
.fs-kal-post[draggable="true"]:hover .fs-kal-bild { box-shadow: 0 0 0 2px var(--ink); }
/* Liste: schwebende Vorschau beim Überfahren */
.fs-plan-schwebe { position: fixed; z-index: 60; width: 240px; height: 300px; overflow: hidden; border-radius: 14px; box-shadow: var(--sh), 0 24px 48px -20px rgba(16,14,28,.45); pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s; }
.fs-plan-schwebe.an { opacity: 1; transform: none; }
.fs-plan-schwebe > .fs-buehne { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.fs-plan-schwebe-k { position: absolute; left: 10px; bottom: 10px; z-index: 30; font: 11px "Martian Mono", monospace; color: #fff; background: rgba(16,14,28,.6); padding: 3px 8px; border-radius: 999px; }

/* Editor: Komposition als Knopf, Dialog mit Vorschauen und Mini-Feed */
.fs-komp-knopf { display: flex; justify-content: space-between; align-items: center; gap: 10px; cursor: pointer; text-align: left; }
.fs-komp-aendern { font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 3px 10px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh); }
dialog.fs-neu.fs-komp-dlg { width: min(1280px, 96vw); max-width: none; }
.fs-komp-listen .fs-vorschlaege.viele { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.fs-komp-listen .fs-vorschlaege:not(.viele) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fs-komp-raum { display: grid; gap: 24px; }
.fs-komp-raum.mit-feed { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
.fs-komp-listen { display: grid; gap: 10px; }
.fs-komp-listen .fs-vorschlaege { margin-bottom: 14px; }
.fs-komp-feed { position: sticky; top: 0; display: grid; gap: 10px; }
.fs-mini-feed { border-radius: 12px; }
.fs-kachel-hier { outline: 3px solid var(--signal); outline-offset: -3px; }
.fs-kachel-hier::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--signal); z-index: 30; pointer-events: none; }
.fs-vorschlag.aktuell { box-shadow: 0 0 0 2px var(--ink); }
@media (max-width: 1000px) { .fs-komp-raum.mit-feed { grid-template-columns: 1fr; } .fs-komp-feed { position: static; } }

/* Dialog Komposition wählen: Schließen-Knopf bleibt beim Scrollen sichtbar */
.fs-dlg-zu { position: sticky; top: 0; z-index: 5; width: 44px; height: 44px; margin: -8px -8px -36px auto; border: 0; border-radius: 999px; background: var(--surface); box-shadow: var(--sh); color: var(--ink); cursor: pointer; display: grid; place-items: center; font-size: 20px; }
.fs-komp-dlg .fs-aktionen { position: sticky; bottom: -28px; background: var(--surface); padding: 14px 0 6px; margin-bottom: -6px; }

/* Feed-Studio Stufe 2: KI-Texte im Editor, Reiter Stimme */
.fs-ki-kopf { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.fs-ki-kopf > div { display: grid; gap: 2px; }
.fs-ki-kopf b { font-size: 16px; }
.fs-ki-info { display: grid; gap: 12px; margin-top: 14px; }
.fs-ki-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fs-ki-chips .pill b { font-weight: 600; margin-right: 4px; }
.fs-ki-regler { display: flex; flex-wrap: wrap; gap: 8px; }
.fs-ki-regler .btn { padding: .45rem .9rem; font-size: 13px; }
.fs-ki-fragen, .fs-ki-hinweise { background: var(--well); box-shadow: var(--inset); border-radius: 14px; padding: 12px 14px; display: grid; gap: 6px; font-size: 14px; }
.fs-ki-fragen ul, .fs-ki-hinweise ul { margin: 0; padding-left: 18px; }
.fs-ki-hinweise b { color: var(--signal); }
.fs-ki-laeuft { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.fs-ki-punkt { width: 12px; height: 12px; border-radius: 50%; background: var(--pearl); animation: fs-puls 1.1s ease-in-out infinite; }
@keyframes fs-puls { 0%, 100% { transform: scale(.7); opacity: .5; } 50% { transform: scale(1.15); opacity: 1; } }
.fs-stimme { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 720px); gap: 20px; align-items: start; }
.fs-quellen { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.fs-quellen li { padding-left: 22px; position: relative; color: var(--ink-2); }
.fs-quellen li::before { content: ""; position: absolute; left: 0; top: 5px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line-strong); }
.fs-quellen li.ok { color: var(--ink); }
.fs-quellen li.ok::before { background: var(--pearl); border-color: transparent; }
@media (max-width: 1000px) { .fs-stimme { grid-template-columns: 1fr; } }

/* Feed-Studio Stufe 2: Content-Plan */
.fs-ki-band { display: flex; align-items: center; gap: 12px; padding: 12px 18px; margin-bottom: 16px; border-radius: 16px; background: var(--surface); box-shadow: var(--sh); font-size: 14px; }
.fs-ki-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.fs-ki-badge .fs-ki-punkt { width: 9px; height: 9px; }
.fs-ki-badge.fehler { color: var(--signal); }
dialog.fs-neu.fs-plan-dlg { width: min(900px, 94vw); max-width: none; }
.fs-plan-vorschlag { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; gap: 8px; }
.fs-plan-vorschlag li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 16px; border-radius: 16px; background: var(--well); box-shadow: var(--inset); }
.fs-plan-vorschlag li.aus { opacity: .45; }
.fs-pv-datum { font: 12px "Martian Mono", monospace; color: var(--ink-2); padding-top: 3px; }
.fs-pv-text { display: grid; gap: 4px; font-size: 14px; }
.fs-pv-text b { font-size: 15px; }
.fs-pv-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.fs-pv-knopf { padding: .4rem .8rem; font-size: 13px; }

/* Feed-Studio: Reiter Stimme, übersichtlich (Quellen als Kacheln, Karten, wachsende Felder, feste Speicherleiste) */
.fs-stimme2 { display: grid; gap: 18px; max-width: 1180px; padding-bottom: 90px; }
.fs-karten-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.fs-karten-kopf > div { display: grid; gap: 4px; }
.fs-karten-kopf b { font-size: 17px; }
.fs-ki-status { font: 11px "Martian Mono", monospace; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; background: var(--well); box-shadow: var(--inset); color: var(--ink-2); }
.fs-ki-status.an { color: var(--ink); }
.fs-quellen-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.fs-qk { position: relative; display: grid; gap: 4px; align-content: start; padding: 16px 16px 14px 40px; border-radius: 16px; background: var(--well); box-shadow: var(--inset); font-size: 13px; color: var(--ink-2); min-height: 96px; }
.fs-qk b { color: var(--ink); font-size: 14px; }
.fs-qk a { color: var(--ink); font-weight: 600; font-size: 12px; margin-top: 4px; }
.fs-qk-punkt { position: absolute; left: 16px; top: 19px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-strong); }
.fs-qk.ok { background: var(--surface); box-shadow: var(--sh); }
.fs-qk.ok .fs-qk-punkt { background: var(--pearl); border-color: transparent; }
.fs-stimme-zwischen { margin: 4px 4px -4px; font-size: 14px; color: var(--ink-2); }
.fs-stimme-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.fs-stimme-karte { display: grid; gap: 4px; }
.fs-stimme-karte.breit { grid-column: 1 / -1; }
.fs-stimme-karte > .eyebrow { margin-bottom: 8px; }
.fs-stimme-karte .bx-field { display: grid; gap: 6px; margin-bottom: 14px; }
.fs-stimme-karte .bx-label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.fs-stimme-karte .bx-input { width: 100%; box-sizing: border-box; font: 15px/1.55 Archivo, sans-serif; padding: 12px 14px; background: var(--well); border: 0; border-radius: var(--r-input); box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); color: var(--ink); }
.fs-wachsend { resize: none; overflow: hidden; min-height: 3.2em; }
.fs-feld-hinweis { font-size: 12.5px; color: var(--ink-2); margin-top: -2px; }
.fs-tabu-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fs-speicherleiste { position: sticky; bottom: 16px; z-index: 5; display: flex; justify-content: flex-end; align-items: center; gap: 16px; padding: 10px 12px 10px 20px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh); justify-self: end; }
.fs-speicherleiste.offen [data-speicher-stand] { color: var(--signal); font-weight: 600; }
@media (max-width: 1100px) { .fs-quellen-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fs-stimme-raster { grid-template-columns: 1fr; } }

/* Content-Plan: Ideen für den Zeitraum, Vorschlag mit Design und Feed */
.fs-ideen { display: flex; flex-wrap: wrap; gap: 8px; }
.fs-idee { display: grid; gap: 1px; text-align: left; padding: 8px 14px; border-radius: 14px; border: 0; background: var(--well); box-shadow: var(--inset); cursor: pointer; color: var(--ink); font-size: 13px; }
.fs-idee span { font: 10.5px "Martian Mono", monospace; color: var(--ink-2); letter-spacing: .04em; }
.fs-idee.an { background: var(--ink); color: var(--surface); }
.fs-idee.an span { color: color-mix(in srgb, var(--surface) 75%, transparent); }
dialog.fs-neu.fs-plan-dlg.mit-feed { width: min(1280px, 96vw); }
.fs-pv-raum { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.fs-plan-vorschlag li { grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; }
.fs-pv-bild { position: relative; width: 88px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; background: var(--surface); box-shadow: var(--sh); }
.fs-pv-bild > .fs-buehne { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.fs-pv-knoepfe { display: grid; gap: 6px; justify-items: stretch; }
.fs-pv-text .fs-pv-datum { padding: 0; }
@media (max-width: 1000px) { .fs-pv-raum { grid-template-columns: 1fr; } }

/* Formulare in Fenstern (Texte schreiben, Profil, Ausschnitt): gleiche Felder wie im Feed-Studio */
.modal-inhalt .bx-field { display: grid; gap: 6px; margin-bottom: 16px; }
.modal-inhalt .bx-label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.modal-inhalt .bx-input { width: 100%; box-sizing: border-box; font: 15px/1.5 Archivo, sans-serif; padding: 11px 14px; background: var(--well); border: 0; border-radius: var(--r-input); box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); color: var(--ink); }
.modal-inhalt textarea.bx-input { resize: vertical; min-height: 4.5em; }
.modal-inhalt .fs-pillen { display: flex; flex-wrap: wrap; gap: 8px; }

/* Content-Plan Schritt 2: direkt bearbeiten, groß ansehen */
.fs-pv-bild { border: 0; padding: 0; cursor: zoom-in; }
.fs-pv-bild:hover { box-shadow: 0 0 0 2px var(--ink), var(--sh); }
.fs-pv-datum-ein, .fs-pv-thema, .fs-pv-gedanke { border: 0; background: transparent; color: var(--ink); padding: 2px 6px; margin-left: -6px; border-radius: 8px; font: inherit; width: 100%; box-sizing: border-box; }
.fs-pv-datum-ein { font: 12px "Martian Mono", monospace; color: var(--ink-2); width: auto; }
.fs-pv-thema { font-size: 15px; font-weight: 700; }
.fs-pv-gedanke { font-size: 14px; line-height: 1.45; resize: none; }
.fs-pv-datum-ein:hover, .fs-pv-thema:hover, .fs-pv-gedanke:hover, .fs-pv-datum-ein:focus, .fs-pv-thema:focus, .fs-pv-gedanke:focus { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); outline: none; }
.fs-pv-schwebe { position: absolute; z-index: 30; display: flex; gap: 10px; padding: 12px; border-radius: 18px; background: var(--surface); box-shadow: var(--sh), 0 30px 60px -24px rgba(16,14,28,.45); pointer-events: none; opacity: 0; transition: opacity .15s; }
.fs-pv-schwebe.an { opacity: 1; }
.fs-pv-schwebe-folie { position: relative; overflow: hidden; border-radius: 10px; flex: none; }
.fs-pv-schwebe-folie > .fs-buehne { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
dialog.fs-plan-dlg { overflow: visible; }

/* Agentin bei der Arbeit */
.fs-agentin { display: grid; gap: 16px; padding: 6px 4px; }
.fs-agentin-kopf { display: flex; gap: 18px; align-items: flex-start; }
.fs-agentin-kopf h2 { margin: 2px 0 6px; }
.fs-agentin-perle { position: relative; width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--pearl); box-shadow: 0 12px 30px -10px rgba(224,32,123,.55); animation: fs-schweben 2.4s ease-in-out infinite; }
.fs-agentin-perle span { position: absolute; inset: -8px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--signal) 45%, transparent); animation: fs-welle 1.8s ease-out infinite; }
@keyframes fs-schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes fs-welle { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.fs-agentin-balken { height: 10px; border-radius: 999px; background: var(--well); box-shadow: var(--inset); overflow: hidden; }
.fs-agentin-balken span { display: block; height: 100%; width: 3%; border-radius: 999px; background: var(--pearl); transition: width .8s ease; }
.fs-agentin-zeile { display: flex; justify-content: space-between; font-size: 14px; }
.fs-agentin-schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.fs-agentin-schritte li { display: flex; gap: 12px; align-items: center; }
.fs-as-punkt { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; }
.fs-agentin-schritte li.jetzt { color: var(--ink); font-weight: 600; }
.fs-agentin-schritte li.jetzt .fs-as-punkt { border-color: var(--signal); animation: fs-puls 1.1s ease-in-out infinite; }
.fs-agentin-schritte li.erledigt { color: var(--ink); }
.fs-agentin-schritte li.erledigt .fs-as-punkt { background: var(--pearl); border-color: transparent; }
.fs-agentin-fehler { color: var(--signal); font-size: 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Editor: Formatierknöpfe über Textfeldern, Emojis und Zähler bei der Caption */
.bx-label-zeile { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.fs-format { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.fs-format button { border: 0; background: var(--well); box-shadow: var(--inset); color: var(--ink); border-radius: 8px; padding: 3px 9px; font-size: 12.5px; line-height: 1.5; cursor: pointer; }
.fs-format button:hover { background: var(--surface); box-shadow: var(--sh); }
.fs-fmt-hand { font-family: "Caveat", "Segoe Script", cursive; font-size: 15px; }
.fs-fmt-verlauf { background: var(--pearl); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.fs-fmt-kreis { border: 1.5px solid currentColor; border-radius: 999px; padding: 0 5px; }
.fs-fmt-marker { background: linear-gradient(transparent 55%, color-mix(in srgb, var(--signal) 35%, transparent) 55%); }
.fs-emojis { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; padding: 8px; border-radius: 14px; background: var(--well); box-shadow: var(--inset); }
.fs-emojis[hidden] { display: none; }
.fs-emojis button { border: 0; background: transparent; font-size: 20px; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; }
.fs-emojis button:hover { background: var(--surface); }
.fs-emojis button.erlaubt { background: var(--surface); box-shadow: var(--sh); }
.fs-emojis .klein { width: 100%; }
.fs-caption { resize: vertical; }
.fs-caption-fuss { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.fs-caption-fuss [data-zeichen] { white-space: nowrap; font-family: "Martian Mono", monospace; }

/* Formatierknöpfe, die das Kit nicht erlaubt; Schalter verspielte Elemente im Reiter Kit */
.fs-format button.aus { opacity: .4; }
.fs-kit-schalter { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 16px; }
.fs-kit-schalter > div:first-child { display: grid; gap: 4px; max-width: 640px; }

/* Fotofundus: Ablagefläche zum Reinziehen, Knopf im Lichtraum-Design, Fortschritt */
.fs-fundus { display: grid; gap: 14px; }
.fs-ablage { display: grid; justify-items: center; gap: 8px; padding: 34px 20px 28px; border-radius: 22px; background: var(--well); box-shadow: var(--inset); border: 2px dashed var(--line-strong); text-align: center; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.fs-ablage:hover { border-color: var(--ink-2); }
.fs-ablage.drueber { border-color: var(--signal); background: var(--surface); transform: scale(1.005); }
.fs-ablage.laedt { cursor: progress; }
.fs-ablage b { font-size: 17px; }
.fs-ablage-symbol { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--sh); font-size: 24px; color: var(--ink); }
.fs-ablage-knopf { margin-top: 6px; pointer-events: none; }
.fs-ablage-balken { width: min(360px, 80%); height: 8px; border-radius: 999px; background: var(--surface); box-shadow: var(--inset); overflow: hidden; margin-top: 6px; }
.fs-ablage-balken[hidden] { display: none; }
.fs-ablage-balken span { display: block; height: 100%; width: 0; background: var(--pearl); border-radius: 999px; transition: width .3s; }

/* Feed-Studio: Auswertung */
.fs-aw { display: grid; gap: 18px; max-width: 1240px; }
.fs-aw-kopf .fs-karten-kopf { margin-bottom: 6px; }
.fs-aw-kopf .klein.fs-warn { color: var(--signal); }
.fs-aw-zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.fs-aw-zahl { display: grid; gap: 2px; padding: 18px 20px; border-radius: 20px; background: var(--surface); box-shadow: var(--sh); }
.fs-aw-zahl b { font: 300 34px/1.1 Archivo, sans-serif; font-stretch: 125%; color: var(--ink); }
.fs-aw-zahl span { font-size: 13px; color: var(--ink-2); }
.fs-aw-zahl small { font: 10.5px "Martian Mono", monospace; color: var(--ink-2); letter-spacing: .04em; }
.fs-aw-empf-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 10px 0 6px; }
.fs-aw-empf ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.fs-aw-empf li { display: grid; gap: 2px; padding: 10px 14px; border-radius: 14px; background: var(--well); box-shadow: var(--inset); font-size: 14px; }
.fs-aw-empf li span { font-size: 12.5px; color: var(--ink-2); }
.fs-aw-mehr::before, .fs-aw-weniger::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 0; }
.fs-aw-mehr::before { background: var(--pearl); }
.fs-aw-weniger::before { border: 2px solid var(--line-strong); box-sizing: border-box; }
.fs-aw-gruppen { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; }
.fs-aw-balken { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.fs-aw-balken li { display: grid; grid-template-columns: minmax(110px, 1.1fr) 2fr 44px; gap: 12px; align-items: center; font-size: 13.5px; }
.fs-aw-name { display: grid; line-height: 1.25; }
.fs-aw-name small { font-size: 11px; color: var(--ink-2); }
.fs-aw-spur { position: relative; height: 10px; border-radius: 999px; background: var(--well); box-shadow: var(--inset); }
.fs-aw-spur span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--line-strong); }
.fs-aw-balken li.gut .fs-aw-spur span { background: var(--pearl); }
.fs-aw-spur i { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); opacity: .35; }
.fs-aw-balken b { font: 12px "Martian Mono", monospace; text-align: right; }
.fs-aw-listen { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fs-aw-liste { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.fs-aw-beitrag { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.fs-aw-bild { position: relative; width: 64px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--well); box-shadow: var(--inset); display: grid; place-items: center; text-decoration: none; color: var(--ink-2); font-size: 10.5px; }
.fs-aw-bild > .fs-buehne { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.fs-aw-text { display: grid; gap: 2px; min-width: 0; }
.fs-aw-text b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-aw-werte { font-size: 12.5px; color: var(--ink-2); }
.fs-aw-werte a { color: var(--ink); }
.fs-aw-faktor { font: 13px "Martian Mono", monospace; padding: 4px 10px; border-radius: 999px; background: var(--well); box-shadow: var(--inset); }
.fs-aw-faktor.gut { background: var(--ink); color: var(--surface); box-shadow: none; }
.fs-aw-faktor.schwach { color: var(--ink-2); }
.fs-aw-alle summary { cursor: pointer; font-weight: 600; }
@media (max-width: 1000px) { .fs-aw-empf-raster, .fs-aw-listen { grid-template-columns: 1fr; } }
.fs-aw-viral { font: 10.5px "Martian Mono", monospace; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--pearl); color: #fff; margin-right: 6px; }
.fs-aw-beitrag { grid-template-columns: 64px minmax(0, 1fr) auto auto; }

/* Feed-Studio: alle Reiter in voller Breite, einheitlich (Wunsch Corinna 2026-11-15) */
.fs-planer, .fs-kit, .fs-stimme2, .fs-aw, .fs-planer-seite, .fs-fundus { max-width: none; width: 100%; box-sizing: border-box; }
.fs-planer2, .fs-planer2.mit-kalender { grid-template-columns: 346px minmax(0, 1fr); }
.fs-speicherleiste { justify-self: end; }
.fs-speicherleiste { margin-right: 72px; } /* Platz für den Hilfe-Knopf unten rechts */

/* Stimme: Kacheln gleich hoch, Handlungsaufrufe als Liste, Tabus als Kärtchen */
.fs-stimme-raster { align-items: stretch; }
.fs-stimme-karte { align-content: start; }
.fs-cta-liste { display: grid; gap: 8px; }
.fs-cta { display: grid; grid-template-columns: 26px minmax(0, 1fr) 210px 38px; gap: 8px; align-items: center; }
.fs-cta-nr { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 11px "Martian Mono", monospace; background: var(--surface); box-shadow: var(--sh); }
.fs-stimme-karte .fs-cta .bx-input { padding: 9px 12px; font-size: 14px; }
.fs-cta-weg { width: 38px; height: 38px; border: 0; border-radius: 12px; background: transparent; color: var(--ink-2); cursor: pointer; }
.fs-cta-weg:hover { background: var(--well); color: var(--signal); }
.fs-cta-neu { justify-self: start; margin-top: 4px; border: 0; background: var(--well); box-shadow: var(--inset); color: var(--ink); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.fs-cta-neu:hover { background: var(--surface); box-shadow: var(--sh); }
.fs-tabu-titel { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.fs-tabu-eingabe { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-bottom: 12px; }
.fs-tabu-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fs-tabu { display: inline-flex; align-items: center; gap: 4px; padding: 5px 6px 5px 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh); font-size: 13.5px; }
.fs-tabu button { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--well); color: var(--ink-2); cursor: pointer; display: grid; place-items: center; font-size: 13px; }
.fs-tabu button:hover { color: var(--signal); }

/* Auswertung: Raster der Instagram-Beiträge, Detail mit Analyse, Feed-Analyse, Hinweis zum Format */
.fs-aw-vorsicht { display: grid; gap: 4px; margin: 12px 0 4px; padding: 12px 16px; border-radius: 14px; background: var(--surface); box-shadow: var(--sh); font-size: 14px; border-left: 4px solid var(--signal); }
.fs-aw-vorsicht span { color: var(--ink-2); line-height: 1.5; }
.fs-aw-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px; margin-top: 10px; border-radius: 16px; overflow: hidden; }
.fs-aw-kachel { position: relative; aspect-ratio: 4 / 5; border: 0; padding: 0; cursor: pointer; background: var(--well); overflow: hidden; }
.fs-aw-kachel img, .fs-aw-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fs-aw-kachel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,14,28,.65), transparent 45%); opacity: .9; }
.fs-aw-kachel:hover img { transform: scale(1.03); transition: transform .3s; }
.fs-aw-ohne { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-2); font-size: 12px; }
.fs-aw-typ { position: absolute; right: 8px; top: 8px; z-index: 2; color: #fff; font-size: 16px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); font-style: normal; }
.fs-aw-kachel-zahl { position: absolute; left: 8px; top: 8px; z-index: 2; font: 11px "Martian Mono", monospace; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.88); color: var(--ink); }
.fs-aw-kachel-zahl.gut { background: var(--pearl); color: #fff; }
.fs-aw-kachel-werte { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2; color: #fff; font-size: 12px; text-align: left; display: flex; gap: 4px; align-items: center; white-space: nowrap; }
.fs-aw-bild { border: 0; padding: 0; cursor: pointer; }
.fs-aw-beitrag { cursor: pointer; border-radius: 14px; padding: 4px; margin: -4px; }
.fs-aw-beitrag:hover { background: var(--well); }
.fs-aw-analyse { display: grid; gap: 10px; font-size: 14px; line-height: 1.5; margin-top: 10px; }
.fs-aw-analyse ul, .fs-aw-analyse ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.fs-aw-kurz { font-size: 16px; font-weight: 600; margin: 0; }
.fs-aw-analyse-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fs-aw-chancen { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.fs-aw-chance { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--well); box-shadow: var(--inset); }
.fs-aw-chance span { color: var(--ink-2); }
.fs-aw-chance em { font-style: normal; color: var(--ink); border-top: 1px solid var(--line-strong); padding-top: 6px; margin-top: 2px; }
.fs-aw-hooks li { font-weight: 600; }
dialog.fs-neu.fs-aw-dlg { width: min(1100px, 96vw); max-width: none; }
.fs-aw-detail { display: grid; grid-template-columns: minmax(260px, 420px) minmax(0, 1fr); gap: 26px; align-items: start; }
.fs-aw-gross { position: sticky; top: 0; display: grid; gap: 10px; }
.fs-aw-gross img, .fs-aw-gross .fs-aw-ohne { position: static; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; box-shadow: var(--sh); background: var(--well); }
.fs-aw-detail-text { display: grid; gap: 12px; }
.fs-aw-detail-zahlen { display: flex; gap: 10px; flex-wrap: wrap; }
.fs-aw-detail-zahlen span { display: grid; padding: 10px 14px; border-radius: 14px; background: var(--well); box-shadow: var(--inset); font-size: 12px; color: var(--ink-2); min-width: 80px; }
.fs-aw-detail-zahlen b { font: 300 24px/1.1 Archivo, sans-serif; color: var(--ink); }
.fs-aw-detail-zahlen span.gut { background: var(--ink); } .fs-aw-detail-zahlen span.gut b, .fs-aw-detail-zahlen span.gut { color: var(--surface); }
.fs-aw-caption { white-space: pre-wrap; font-size: 14px; line-height: 1.55; max-height: 220px; overflow: auto; padding: 12px 14px; border-radius: 14px; background: var(--well); box-shadow: var(--inset); }
@media (max-width: 900px) { .fs-aw-detail, .fs-aw-analyse-raster { grid-template-columns: 1fr; } .fs-aw-gross { position: static; } }

/* Auswertung neu: Sterne, Zeugnis, Lehren, Plan mit Anlegen, Details aufklappbar */
.fs-sterne { display: inline-flex; gap: 1px; font-size: 15px; line-height: 1; white-space: nowrap; }
.fs-sterne i { font-style: normal; color: var(--line-strong); }
.fs-sterne i.an { background: var(--pearl); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fs-sterne.gross { font-size: 30px; gap: 3px; }
.fs-aw-zeugnis { display: flex; gap: 20px; align-items: center; padding: 18px 20px; border-radius: 18px; background: var(--well); box-shadow: var(--inset); }
.fs-aw-zeugnis b { font-size: 16px; }
.fs-aw-zeugnis p { margin: 4px 0 0; color: var(--ink-2); line-height: 1.5; }
.fs-aw-zeugnis.klein-zeugnis { padding: 12px 14px; gap: 14px; }
.fs-aw-lehren { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.fs-aw-lehren li { display: grid; gap: 2px; }
.fs-aw-lehren li span { color: var(--ink-2); }
.fs-aw-plan-kopf { display: grid; gap: 2px; margin-top: 8px; }
.fs-aw-plan-kopf b { font-size: 16px; }
.fs-aw-vorschlaege { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.fs-aw-vorschlaege.eins { grid-template-columns: 1fr; }
.fs-aw-vorschlag { display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: 18px; background: var(--surface); box-shadow: var(--sh); font-size: 14px; line-height: 1.45; }
.fs-aw-vorschlag > b { font-size: 15px; }
.fs-aw-ueberschrift { font-weight: 600; font-size: 15px; }
.fs-aw-vorschlag .btn { justify-self: start; margin-top: 4px; }
.fs-aw-reel-hinweis { font-style: italic; }
.fs-aw-kachel-sterne { position: absolute; left: 8px; bottom: 30px; z-index: 2; background: rgba(255,255,255,.9); padding: 2px 6px; border-radius: 999px; }
.fs-aw-kachel-sterne .fs-sterne { font-size: 11px; }
.fs-aw-details summary { cursor: pointer; display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; list-style: none; }
.fs-aw-details summary::-webkit-details-marker { display: none; }
.fs-aw-details summary::before { content: "▸"; color: var(--ink-2); }
.fs-aw-details[open] summary::before { content: "▾"; }
.fs-aw-details[open] summary { margin-bottom: 14px; }
.fs-aw-gruppe { padding: 14px 16px; border-radius: 16px; background: var(--well); box-shadow: var(--inset); }
.fs-aw-details .fs-aw-gruppen, .fs-aw-details .fs-aw-listen { margin-top: 16px; }
.fs-aw-beitrag { grid-template-columns: 64px minmax(0, 1fr) auto auto auto; }

/* Editor: Vorab-Prüfung unter der Live-Vorschau */
.fs-pruefung { margin-top: 18px; display: grid; gap: 6px; }
.fs-pruefung .fs-ki-kopf b { font-size: 16px; }
.fs-pruefung-status { justify-self: start; font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--well); box-shadow: var(--inset); color: var(--ink-2); }
.fs-pruefung-status.bereit { background: var(--ink); color: var(--surface); box-shadow: none; }
.fs-aw-chancen.eins { grid-template-columns: 1fr; }
.fs-pruefung-alternativen { list-style: none; padding: 0 !important; }
.fs-pruefung-alternativen li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 12px; background: var(--well); box-shadow: var(--inset); font-weight: 600; }
.fs-pruefung-alternativen .btn, .fs-pruefung-cap { padding: .35rem .8rem; font-size: 12.5px; flex: none; }
.fs-pruefung-cap { justify-self: start; }

/* „Das lernst du daraus“: nummerierte Lehren mit Kreis-Nummer (display:grid nimmt sonst die Aufzählungszeichen weg) */
.fs-aw-lehren { list-style: none; padding-left: 0 !important; counter-reset: lehre; gap: 14px !important; }
.fs-aw-lehren li { counter-increment: lehre; position: relative; padding-left: 40px; }
.fs-aw-lehren li::before { content: counter(lehre); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 12px "Martian Mono", monospace; color: #fff; background: var(--pearl); }
.fs-aw-analyse-raster > div > b { display: block; margin-bottom: 10px; font-size: 15px; }
.fs-aw-analyse-raster ul { padding-left: 20px; }

/* B-Roll-Reels: Clip-Sammlung und Reel-Editor */
.fs-reel-editor .fs-rechts { display: grid; gap: 10px; justify-items: center; align-content: start; }
.fs-reel-handy { position: relative; width: min(360px, 100%); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #111; box-shadow: var(--sh), 0 0 0 8px #16141c; }
.fs-reel-handy video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fs-reel-ebene { position: absolute; inset: 0; pointer-events: none; }
.fs-reel-ebene > .fs-buehne { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.fs-reel-hinweis { max-width: 360px; text-align: center; }
.fs-reel-abschnitte { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-top: 10px; }
.fs-reel-abschnitt { position: relative; display: grid; gap: 4px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font-size: 12px; color: var(--ink); }
.fs-reel-abschnitt img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; box-shadow: var(--sh); }
.fs-reel-abschnitt.an img { outline: 3px solid var(--signal); outline-offset: -3px; }
.fs-reel-nr { position: absolute; left: 6px; top: 6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--pearl); color: #fff; font: 600 12px "Martian Mono", monospace; }
.fs-reel-zeit { font: 10.5px "Martian Mono", monospace; color: var(--ink-2); }
.fs-reel-titel { line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fs-reel-editor .fs-ki .fs-ki-kopf { margin-bottom: 14px; }

/* Varianten je Feld */
.fs-feld-knoepfe { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
/* Reel: Text in der Vorschau ziehen */
.fs-reel-ebene .fs-reel-hook { pointer-events: auto; cursor: grab; }
.fs-reel-handy.zieht .fs-reel-hook { cursor: grabbing; outline: 3px dashed rgba(255,255,255,.8); outline-offset: 10px; }
.fs-reel-lage { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; max-width: 380px; }


/* ---------- Clips für Reels (nach Lichtraum: Card je Clip, Szenen als Bildstreifen, Orbit beim Abspielen) ---------- */
.fs-fundus.hat-inhalt .fs-ablage { grid-template-columns: auto minmax(0, 1fr) auto; justify-items: start; align-items: center; gap: 18px; padding: 18px 22px; text-align: left; border-width: 1.5px; border-radius: var(--r-control); }
.fs-fundus.hat-inhalt .fs-ablage-symbol { width: 48px; height: 48px; font-size: 20px; }
.fs-fundus.hat-inhalt .fs-ablage-text { display: grid; gap: 2px; }
.fs-fundus.hat-inhalt .fs-ablage b { font-size: 15px; }
.fs-fundus.hat-inhalt .fs-ablage-knopf { margin: 0; }
.fs-fundus.hat-inhalt .fs-ablage-balken { grid-column: 1 / -1; width: 100%; }
.fs-ablage-text { display: grid; gap: 6px; justify-items: inherit; }
.fs-clip-recht { display: flex; gap: 8px; align-items: center; margin: 0; color: var(--mute); }

.fs-clips { display: grid; gap: 16px; margin-top: 16px; }
.w.fs-clip { position: relative; display: grid; gap: 24px; padding: 28px; }
.fs-clip-kopf { display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(240px, 320px) 40px; gap: 20px; align-items: start; }
.fs-clip-bild { position: relative; width: 76px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: var(--well); box-shadow: var(--inset); display: grid; place-items: center; font-size: 11px; text-align: center; }
.fs-clip-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fs-clip-text { display: grid; gap: 8px; align-content: start; min-width: 0; }
.fs-clip-text .eyebrow { margin: 0; }
.fs-clip-titel { font: 600 17px/1.4 'Archivo', sans-serif; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fs-clip-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.fs-clip-chips .bx-chip { height: 26px; padding: 0 14px; font-size: 10px; }
.bx-chip.fs-heikel { background: var(--warn-bg); color: var(--warn); }
.fs-clip-beh { display: grid; gap: 8px; margin: 0; }
.fs-clip-beh .bx-label { font: 500 13px 'Archivo', sans-serif; color: var(--ink-2); }
.fs-clip-beh .fs-feld-hinweis { margin: 0; font-size: 12.5px; color: var(--mute); line-height: 1.4; }
.fs-clip-weg { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--canvas-2); color: var(--ink-2); cursor: pointer; transition: background .2s var(--ease), color .2s; }
.fs-clip-weg:hover { background: var(--bad-bg); color: var(--bad); }

/* Felder nach Kit: Mulde mit Kontur, Fokus hebt zu Weiß */
.fs-clip .bx-input { width: 100%; box-sizing: border-box; height: 46px; border: 0; border-radius: var(--r-control); padding: 0 40px 0 16px; font: 400 15px 'Archivo', sans-serif; color: var(--ink);
  background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); outline: none; transition: box-shadow .25s var(--ease), background-color .25s; }
.fs-clip .bx-input::placeholder { color: var(--mute); }
.fs-clip .bx-input:focus { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(75,59,255,.14); }
.fs-feld-stand { position: relative; display: block; }
.fs-gespeichert { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; pointer-events: none; }
.fs-gespeichert.ok { background: var(--ok-bg); color: var(--ok); }
.fs-gespeichert.offen { color: var(--warn); font-size: 20px; }
.fs-gespeichert.laeuft { color: var(--mute); }
.fs-gespeichert.fehler { background: var(--bad-bg); color: var(--bad); }
.fs-gespeichert.frisch { animation: fs-haken .55s var(--spring); }
@keyframes fs-haken { 0% { transform: translateY(-50%) scale(.3); opacity: 0; } 100% { transform: translateY(-50%) scale(1); opacity: 1; } }

/* Szenen */
.fs-szenen { display: grid; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.fs-szenen-kopf { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.fs-szenen-kopf .eyebrow { margin: 0; }
.fs-szenen-reihe { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px; }
.fs-szene { display: grid; gap: 10px; align-content: start; }
.fs-szene-bild { position: relative; isolation: isolate; display: block; padding: 0; border: 0; background: var(--well); cursor: pointer; border-radius: 24px; aspect-ratio: 9 / 16; box-shadow: var(--sh); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.fs-szene-bild:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(30,20,50,.06), 0 20px 40px -14px rgba(40,25,70,.28); }
.fs-szene-bild img, .fs-szene-bild video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.fs-szene-bild::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(16,14,28,.28) 0, transparent 26%, transparent 70%, rgba(16,14,28,.5) 100%); pointer-events: none; z-index: 1; }
.fs-szene-nr, .fs-szene-ruhig, .fs-szene-zeit { position: absolute; z-index: 2; font: 400 10.5px 'Martian Mono', monospace; letter-spacing: .06em; color: #fff; }
.fs-szene-nr { left: 14px; top: 13px; }
.fs-szene-ruhig { right: 12px; top: 10px; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.fs-szene-zeit { left: 14px; bottom: 13px; font-feature-settings: "tnum"; }
.fs-szene-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; display: grid; place-items: center; padding-left: 3px; box-sizing: border-box;
  background: rgba(252,251,252,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); box-shadow: var(--sh); transition: transform .45s var(--spring), opacity .3s var(--ease); }
.fs-szene-bild:hover .fs-szene-play { transform: scale(1.08); }
.fs-szene-bild.spielt .fs-szene-play { opacity: 0; transform: scale(.7); }
.fs-szene-bild.spielt:hover .fs-szene-play { opacity: .85; transform: none; }
/* Orbit läuft, solange die Szene spielt */
.fs-szene-bild::before { content: ""; position: absolute; inset: -3px; z-index: -1; border-radius: 27px; opacity: 0; transition: opacity .4s var(--ease);
  background: conic-gradient(from var(--a, 0deg), transparent 0 55%, #FD3493 75%, #4B3BFF 92%, transparent); animation: spin 2.2s linear infinite; }
.fs-szene-bild.spielt::before { opacity: 1; }
.fs-szene-text { font-size: 13px; line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.fs-szene .bx-input { height: 40px; font-size: 14px; padding-left: 14px; }
@media (max-width: 1100px) { .fs-clip-kopf { grid-template-columns: 64px minmax(0, 1fr) 40px; } .fs-clip-bild { width: 64px; } .fs-clip-beh { grid-column: 2 / -1; } }
@media (prefers-reduced-motion: reduce) { .fs-szene-bild::before { animation: none; } .fs-szene-bild, .fs-szene-play { transition: none; } }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }

/* ---------- Varianten je Feld (Lichtraum: Mulde mit Karten, Buchstabe als Marke, gewählte mit Verlaufskante) ---------- */
.fs-var-knopf { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); box-shadow: var(--sh);
  font: 500 13px 'Archivo', sans-serif; cursor: pointer; transition: transform .2s var(--ease), border-color .2s; }
.fs-var-knopf:hover { transform: translateY(-1px); border-color: var(--ind-lite); }
.fs-var-knopf .ic { display: inline-grid; place-items: center; font-size: 15px; }
.fs-varianten { display: grid; gap: 12px; margin-top: 12px; padding: 18px; border-radius: var(--r-card); background: var(--well); box-shadow: var(--inset); }
.fs-var-kopf { display: flex; align-items: center; gap: 12px; padding: 0 2px; }
.fs-var-kopf .eyebrow { margin: 0; }
.fs-var-kopf .klein { color: var(--mute); }
.fs-var-zu { margin-left: auto; width: 34px; height: 34px; flex: none; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink-2); box-shadow: var(--sh); cursor: pointer; transition: transform .45s var(--spring); }
.fs-var-zu:hover { transform: rotate(90deg); color: var(--ink); }
.fs-var { position: relative; overflow: hidden; display: grid; gap: 12px; padding: 18px 20px 18px 22px; border-radius: 20px; background: var(--surface); box-shadow: var(--sh); }
.fs-var.an::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.fs-var-oben { display: flex; align-items: center; gap: 12px; min-height: 36px; }
.fs-var-wahl { position: relative; flex: none; cursor: pointer; }
.fs-var-wahl input { position: absolute; opacity: 0; pointer-events: none; }
.fs-var-wahl span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 500 12px 'Martian Mono', monospace; color: var(--ink); background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line); transition: background .3s var(--ease), color .3s, transform .45s var(--spring); }
.fs-var-wahl:hover span { transform: scale(1.06); }
.fs-var-wahl input:checked + span { background: var(--glaze); color: var(--on-ink); box-shadow: 0 0 0 3px var(--surface), 0 0 0 4.5px var(--ind-lite); }
.fs-var-wahl input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 4px; }
.fs-var-anders { flex: 1; min-width: 0; font-size: 12.5px; line-height: 1.4; color: var(--mute); }
.fs-var-nehmen.btn { flex: none; height: 36px; padding: 0 16px 0 12px; font-size: 13.5px; }
.fs-var-steht { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--canvas-2); font: 500 13px 'Archivo', sans-serif; color: var(--ink); }
.fs-var-perle { width: 14px; height: 14px; border-radius: 50%; background: var(--pearl); box-shadow: inset -2px -2px 4px rgba(0,0,0,.3), inset 2px 2px 3px rgba(255,255,255,.35); }
.fs-var-text { font-size: 15px; line-height: 1.6; color: var(--ink); white-space: pre-wrap; padding-left: 44px; }
.fs-var-text.lang:not(.offen) { max-height: calc(1.6em * 6); overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.fs-var-mehr { justify-self: start; margin: -6px 0 0 44px; padding: 0; border: 0; background: none; font: 500 13px 'Archivo', sans-serif; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fs-var-fuss { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-top: 2px; }
.fs-var-fuss .btn { height: 40px; font-size: 13.5px; }
.fs-var-fuss .btn:disabled { opacity: .45; cursor: default; box-shadow: none; }
.fs-var-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
@media (max-width: 700px) { .fs-var-text, .fs-var-mehr { padding-left: 0; margin-left: 0; } .fs-var-oben { flex-wrap: wrap; } }

/* Neues Reel: Dialog und Kennzeichen */
.fs-kachel-r { position: absolute; right: 9px; top: 9px; z-index: 20; width: 22px; height: 22px; color: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.fs-kachel-r svg { width: 100%; height: 100%; display: block; }
.ig-raster .fs-kachel-r { width: 16px; height: 16px; right: 6px; top: 6px; }
.fs-kal-bild .fs-kachel-r { width: 13px; height: 13px; right: 4px; top: 4px; }
.fs-neu-reel { width: min(640px, 94vw); }
.fs-neu-reel .fs-neu-kopf p { margin: 6px 0 0; color: var(--ink-2); }
.fs-neu-reel .fs-reihe { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: end; }
.fs-reel-wahl { display: grid; gap: 8px; }
.fs-reel-wahl-reihe { display: flex; gap: 10px; }
.fs-reel-wahl-bild { position: relative; width: 74px; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; box-shadow: var(--sh); background: var(--well); }
.fs-reel-wahl-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-reel-wahl-bild i { position: absolute; left: 8px; top: 7px; font: normal 400 10px 'Martian Mono', monospace; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
@media (max-width: 640px) { .fs-neu-reel .fs-reihe { grid-template-columns: 1fr; } }

.fs-neu-reel .fs-neu-kopf { margin-bottom: 8px; }
.fs-neu-reel { display: grid; gap: 18px; }
/* Reel-Editor: Szenenwahl im selben Stil wie die Clips */
.fs-reel-abschnitte { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; }
.fs-reel-abschnitt { gap: 6px; }
.fs-reel-abschnitt img { border-radius: 20px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.fs-reel-abschnitt:hover img { transform: translateY(-3px); }
.fs-reel-abschnitt.an img { outline: 0; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--ind-lite), var(--sh); }
.fs-reel-nr { left: 9px; top: 9px; width: 26px; height: 26px; box-shadow: inset -2px -2px 4px rgba(0,0,0,.3), inset 2px 2px 3px rgba(255,255,255,.35); }
.fs-reel-titel { font-size: 12.5px; color: var(--ink-2); }

/* ---------- Fotofundus (Lichtraum: eigene Card, Bilder 4:5 mit Radius 24, Löschen erst beim Drüberfahren, groß ansehen) ---------- */
.w.fs-fotos-karte { padding: 28px; margin-top: 16px; }
.fs-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 20px 16px; }
.fs-fotos figure { position: relative; margin: 0; display: grid; gap: 8px; }
.fs-foto-bild { display: block; padding: 0; border: 0; background: var(--well); border-radius: 24px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 5; box-shadow: var(--sh); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.fs-foto-bild img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease); }
.fs-foto-bild:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(30,20,50,.06), 0 20px 40px -14px rgba(40,25,70,.28); }
.fs-foto-bild:hover img { transform: scale(1.03); }
.fs-fotos figcaption { font-size: 12.5px; color: var(--ink-2); padding: 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: none; }
.fs-fotos .fs-foto-weg { top: 10px; right: 10px; width: 34px; height: 34px; padding: 0; display: grid; place-items: center; border-radius: 50%; background: rgba(252,251,252,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink-2); box-shadow: var(--sh);
  opacity: 0; transform: scale(.85); transition: opacity .2s var(--ease), transform .3s var(--spring), background .2s, color .2s; }
.fs-fotos figure:hover .fs-foto-weg, .fs-fotos .fs-foto-weg:focus-visible { opacity: 1; transform: none; }
.fs-fotos .fs-foto-weg:hover { background: var(--bad-bg); color: var(--bad); }
@media (hover: none) { .fs-fotos .fs-foto-weg { opacity: 1; transform: none; } }
.fs-foto-gross { width: min(980px, 94vw); padding: 0; overflow: hidden; }
.fs-foto-gross img { display: block; width: 100%; max-height: 76vh; object-fit: contain; background: var(--night, #100E1C); }
.fs-foto-gross-leiste { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.fs-foto-gross-leiste .eyebrow { margin: 0; }
.fs-foto-gross-leiste b { font-weight: 600; }
.fs-foto-gross-knoepfe { margin-left: auto; display: flex; gap: 8px; }
.fs-foto-gross-knoepfe .fs-var-zu { margin: 0; }
dialog.fs-foto-gross { position: fixed; inset: 0; margin: auto; height: fit-content; max-height: 94vh; border: 0; border-radius: 28px; background: var(--surface); box-shadow: var(--sh); }
dialog.fs-foto-gross::backdrop { background: rgba(16, 14, 28, .55); }
dialog.fs-foto-gross img { background: var(--night); }
dialog.fs-neu.fs-neu-reel { width: min(640px, 94vw); }

/* Beiträge: Werkzeugleiste und Tabelle mit Vorschaubild */
.fs-liste-werkzeug { margin-bottom: 16px; }
.fs-btabelle td { vertical-align: middle; }
.fs-liste-beitrag { display: flex; align-items: center; gap: 14px; min-width: 0; }
.fs-liste-bild { position: relative; flex: none; width: 44px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--well); box-shadow: var(--sh); }
.fs-liste-bild .fs-buehne { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.fs-liste-bild .fs-kachel-r { width: 12px; height: 12px; right: 3px; top: 3px; }
.fs-liste-format { height: 24px; padding: 0 12px; font-size: 10px; }
.fs-liste-leer { color: var(--mute); }
.fs-liste-zeit { font: 400 12px 'Martian Mono', monospace; color: var(--ink-2); font-feature-settings: "tnum"; }
.fs-btabelle tr[hidden] { display: none; }
.fs-liste-nichts[hidden] { display: none; }

/* ---------- Mediathek und Second Brain ---------- */
.fs-mediathek-kopf { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.fs-mediathek-kopf .seg button { display: inline-flex; align-items: center; gap: 8px; }
.fs-mediathek-kopf .klein { color: var(--mute); }
.fs-brain { display: grid; gap: 16px; }
.w.fs-brain-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 340px); gap: 32px; align-items: center; padding: 28px 32px; }
.fs-brain-kopf > div:first-child { display: grid; gap: 6px; }
.fs-brain-kopf .eyebrow { margin: 0; }
.fs-brain-kopf b { font-size: 19px; font-weight: 600; }
.fs-brain-staerke { display: grid; gap: 8px; }
.fs-brain-zahl { font: 200 56px/1 'Archivo', sans-serif; font-stretch: 125%; letter-spacing: -.04em; font-feature-settings: "tnum"; }
.fs-brain-zahl small { font-size: 22px; margin-left: 4px; letter-spacing: 0; }
.fs-brain-balken { display: block; height: 8px; border-radius: 999px; background: var(--well); box-shadow: var(--inset); overflow: hidden; }
.fs-brain-balken i { display: block; height: 100%; border-radius: 999px; background: var(--ink); transition: width .9s var(--ease); }
.fs-brain-staerke .klein { color: var(--mute); }
.fs-brain-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.w.fs-brain-kachel { position: relative; display: grid; grid-template-rows: auto auto auto 1fr; gap: 8px; padding: 24px 24px 22px; min-height: 196px; color: var(--ink); text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
a.fs-brain-kachel:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(30,20,50,.06), 0 20px 40px -14px rgba(40,25,70,.28); }
.fs-brain-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--well); box-shadow: var(--inset); margin-bottom: 6px; }
.fs-brain-icon img { width: 22px; height: 22px; }
.fs-brain-stand { position: absolute; right: 20px; top: 22px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; font: 400 10px 'Martian Mono', monospace; letter-spacing: .06em; text-transform: uppercase; background: var(--canvas-2); color: var(--ink-2); }
.fs-brain-stand i { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); }
.fs-brain-stand.ok { background: var(--ok-bg); color: var(--ok); } .fs-brain-stand.ok i { background: var(--ok); }
.fs-brain-stand.vorschlag { background: var(--c-ziel-bg, var(--canvas-2)); color: var(--c-ziel-ink, var(--ink-2)); } .fs-brain-stand.vorschlag i { background: var(--vio); }
.fs-brain-stand.leer i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--mute); }
.fs-brain-stand.bald { opacity: .8; }
.fs-brain-kachel b { font: 600 17px 'Archivo', sans-serif; }
.fs-brain-text { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.fs-brain-pfeil { position: absolute; right: 20px; bottom: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--canvas-2); transition: transform .45s var(--spring), background .2s; }
a.fs-brain-kachel:hover .fs-brain-pfeil { transform: rotate(-45deg); background: var(--ink); color: var(--on-ink); }
.w.fs-brain-kachel.bald { box-shadow: none; background: transparent; border: 1.5px dashed var(--line-strong); }
.fs-brain-zurueck { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.fs-brain-zurueck a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh); color: var(--ink); text-decoration: none; font: 500 14px 'Archivo', sans-serif; }
.fs-brain-zurueck .eyebrow { margin: 0; }
@media (max-width: 900px) { .w.fs-brain-kopf { grid-template-columns: 1fr; } }
.w.fs-brain-kachel { text-align: left; justify-items: start; }
.fs-brain-kachel .fs-brain-text { padding-right: 36px; }
.fs-mediathek-kopf .seg button.active > i, .fs-mediathek-kopf .seg button.active > .ic { display: none; }

/* ---------- Einrichtung (Stufenleiste) und Schnellstart-Interview ---------- */
.w.fs-ein { padding: 26px 30px; display: grid; gap: 20px; }
.fs-ein-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.fs-ein-kopf > div { display: grid; gap: 4px; } .fs-ein-kopf .eyebrow { margin: 0; } .fs-ein-kopf b { font-size: 17px; font-weight: 600; }
.fs-ein-kopf .klein { color: var(--mute); max-width: 420px; }
.fs-ein-schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; position: relative; }
.fs-ein-schritte::before { content: ""; position: absolute; left: 18px; right: 18px; top: 17px; height: 1.5px; background: var(--line); }
.fs-ein-schritte li { position: relative; display: grid; gap: 6px; align-content: start; justify-items: start; font-size: 13px; }
.fs-ein-nr { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 400 11px 'Martian Mono', monospace; color: var(--ink-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); }
.fs-ein-schritte li.fertig .fs-ein-nr { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.fs-ein-schritte li.jetzt .fs-ein-nr { background: var(--pearl); color: #fff; box-shadow: 0 0 0 4px var(--surface), 0 0 0 5.5px var(--ind-lite); }
.fs-ein-schritte li.laeuft .fs-ein-nr { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.fs-ein-schritte b { font-size: 14px; font-weight: 600; margin-top: 4px; }
.fs-ein-text { color: var(--ink-2); line-height: 1.4; }
.fs-ein-knopf { margin-top: 4px; display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--canvas-2); color: var(--ink); font: 500 13px 'Archivo', sans-serif; text-decoration: none; cursor: pointer; }
.fs-ein-schritte li.jetzt .fs-ein-knopf { background: var(--ink); color: var(--on-ink); }
.fs-ein-knopf:disabled { opacity: .6; cursor: progress; }
.fs-ein-bald { font: 400 10px 'Martian Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-top: 8px; }
@media (max-width: 1100px) { .fs-ein-schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; } .fs-ein-schritte::before { display: none; } }

.w.fs-iv-start { padding: 36px 40px; display: grid; gap: 14px; max-width: 820px; }
.fs-iv-start .eyebrow { margin: 0; }
.fs-iv-start h2 { margin: 0; font: 300 32px/1.1 'Archivo', sans-serif; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.022em; }
.fs-iv-start p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 65ch; }
.fs-iv-tipps { margin: 0; padding-left: 20px; display: grid; gap: 4px; color: var(--ink-2); }
.fs-iv-vorab { display: flex; gap: 8px; align-items: center; }
.w.fs-iv { padding: 0; display: grid; grid-template-rows: auto 1fr auto; max-width: 920px; overflow: hidden; }
.fs-iv-kopf { display: grid; grid-template-columns: auto minmax(120px, 1fr) auto; gap: 20px; align-items: center; padding: 20px 28px; border-bottom: 1px solid var(--line); }
.fs-iv-kopf > div { display: grid; gap: 2px; } .fs-iv-kopf .eyebrow { margin: 0; } .fs-iv-kopf b { font-weight: 600; }
.fs-iv-verlauf { display: grid; gap: 14px; align-content: start; padding: 24px 28px; max-height: 58vh; min-height: 280px; overflow: auto; background: var(--canvas); }
.fs-iv-msg { display: flex; gap: 10px; align-items: flex-end; max-width: 80%; }
.fs-iv-msg.ich { justify-self: end; flex-direction: row-reverse; }
.fs-iv-av { flex: none; } .fs-iv-av img { width: 30px; height: 30px; }
.fs-iv-blase { padding: 12px 16px; border-radius: 20px 20px 20px 6px; background: var(--surface); box-shadow: var(--sh); font-size: 15px; line-height: 1.55; white-space: pre-wrap; color: var(--ink); }
.fs-iv-msg.ich .fs-iv-blase { border-radius: 20px 20px 6px 20px; background: var(--ink); color: var(--on-ink); box-shadow: none; }
.fs-iv-msg.nachfrage .fs-iv-blase { box-shadow: var(--sh), inset 3px 0 0 var(--vio); }
.fs-iv-marke { display: block; font: 400 10px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--vio); margin-bottom: 4px; }
.fs-iv-system { justify-self: center; font: 400 10px 'Martian Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.fs-iv-punkte { display: inline-flex; gap: 4px; } .fs-iv-punkte i { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); animation: fs-tippt 1.2s infinite var(--ease); }
.fs-iv-punkte i:nth-child(2) { animation-delay: .15s; } .fs-iv-punkte i:nth-child(3) { animation-delay: .3s; }
@keyframes fs-tippt { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.fs-iv-eingabe { display: grid; gap: 10px; padding: 18px 28px 22px; border-top: 1px solid var(--line); }
.fs-iv-eingabe textarea.bx-input { width: 100%; box-sizing: border-box; min-height: 84px; padding: 14px 16px; border: 0; border-radius: var(--r-control); font: 400 15px/1.55 'Archivo', sans-serif; background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); resize: vertical; color: var(--ink); }
.fs-iv-eingabe textarea.bx-input:focus { outline: 0; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(75,59,255,.14); }
.fs-iv-zweck { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--mute); }
.fs-iv-leiste { display: flex; gap: 10px; align-items: center; justify-content: flex-end; }
.fs-iv-leiste .btn { height: 44px; }
.fs-iv-mikro { margin-right: auto; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 0; background: var(--canvas-2); color: var(--ink); font: 500 14px 'Archivo', sans-serif; cursor: pointer; }
.fs-iv-mikro.an { background: var(--bad-bg); color: var(--bad); }
.fs-iv-mikro.an .ic { animation: fs-tippt 1.4s infinite; }
.fs-iv-ende { margin: 0; padding: 20px 28px; border-top: 1px solid var(--line); display: flex; gap: 8px; align-items: center; color: var(--ink-2); }
.w.fs-iv, .w.fs-iv-start { max-width: none; }
.fs-iv-start p { max-width: 80ch; }

.fs-iv-kopf-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
@media (prefers-reduced-motion: reduce) { .fs-live-orb::before, .fs-live-orb i { animation: none; } }

/* ---------- Live-Interview mit Elisa: Nacht-Bühne mit lebendiger Kugel (Wunsch Corinna 2026-11-16) ---------- */
dialog.fs-live { position: fixed; inset: 0; margin: auto; width: min(760px, 94vw); height: fit-content; max-height: 94vh; padding: 0; border: 0; border-radius: var(--r-card); background: transparent; overflow: hidden; }
dialog.fs-live::backdrop { background: rgba(11, 10, 23, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.fs-live-nacht { position: relative; isolation: isolate; overflow: hidden; padding: 56px 48px 40px; color: var(--on-night); background: var(--night) url('/img/nebel-dunkel.jpg') center / cover; box-shadow: inset 0 0 0 1px var(--night-line); border-radius: inherit; }
.fs-live-schein { position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; filter: blur(70px); opacity: .45; pointer-events: none; }
.fs-live-schein.eins { left: -140px; top: -160px; background: #FD3493; }
.fs-live-schein.zwei { right: -160px; bottom: -180px; background: #4B3BFF; }
.fs-live-x { position: absolute; right: 18px; top: 18px; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--on-night); cursor: pointer; transition: transform .45s var(--spring), background .2s; }
.fs-live-x:hover { transform: rotate(90deg); background: rgba(255,255,255,.16); }
.fs-live-mitte { display: grid; justify-items: center; gap: 14px; text-align: center; }
.fs-live-mitte h2 { margin: 6px 0 0; font: 300 32px/1.1 'Archivo', sans-serif; font-stretch: 125%; letter-spacing: -.022em; text-transform: uppercase; }
.fs-live-lead { margin: 0; max-width: 54ch; color: var(--night-mute); font-size: 16px; line-height: 1.6; }
.fs-live-wer { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; }
.fs-live-wer b { font: 600 18px 'Archivo', sans-serif; }
.fs-live-ki { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font: 400 10px 'Martian Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--on-night); background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px var(--night-line); }
.fs-live-zustand { color: var(--night-mute); }
.fs-live-info { display: flex; gap: 10px; align-items: flex-start; max-width: 560px; padding: 14px 18px; border-radius: 18px; text-align: left; font-size: 13.5px; line-height: 1.55; color: var(--night-mute); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--night-line); }
.fs-live-info .ic { flex: none; color: var(--on-night); margin-top: 2px; }
.fs-live-ok { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; color: var(--on-night); }
.fs-live-ok input { position: absolute; opacity: 0; pointer-events: none; }
.fs-live-haken { width: 24px; height: 24px; border-radius: 8px; flex: none; box-shadow: inset 0 0 0 1.5px var(--night-mute); display: grid; place-items: center; transition: background .25s var(--ease); }
.fs-live-ok input:checked + .fs-live-haken { background: var(--pearl); box-shadow: none; }
.fs-live-ok input:checked + .fs-live-haken::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.fs-live-ok input:focus-visible + .fs-live-haken { outline: 2px solid var(--on-night); outline-offset: 3px; }
.fs-live-start { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 28px 0 8px; margin-top: 6px; border: 0; border-radius: 999px; background: var(--on-night); color: var(--night); font: 500 16px 'Archivo', sans-serif; cursor: pointer; transition: transform .2s var(--ease), opacity .3s; }
.fs-live-start:hover:not(:disabled) { transform: translateY(-2px); }
.fs-live-start:disabled { opacity: .35; cursor: default; }
.fs-live-perle { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--pearl); color: #fff; box-shadow: inset -3px -4px 8px rgba(0,0,0,.35), inset 3px 3px 6px rgba(255,255,255,.35); }
.fs-live-mitte.gespraech { min-height: 520px; align-content: center; }
.fs-live-untertitel { margin: 8px 0 0; max-width: 30ch; min-height: 3.2em; font: 300 26px/1.3 'Archivo', sans-serif; color: var(--on-night); text-wrap: balance; }
.fs-live-du { margin: 0; max-width: 46ch; min-height: 1.5em; color: var(--night-mute); font-size: 15px; font-style: italic; }
.fs-live-leiste { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.fs-live-mikro { --du: 0; position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--night-mute); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--night-line); }
.fs-live-puls { position: absolute; inset: -4px; border-radius: 50%; box-shadow: 0 0 0 calc(var(--du) * 10px) rgba(253, 52, 147, .35); transition: box-shadow .08s linear; pointer-events: none; }
.fs-live-mikro .ic { position: relative; display: grid; place-items: center; font-size: 20px; line-height: 1; }
.fs-live-mikro.an { color: var(--on-night); }
.fs-live-ende { height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: rgba(255,255,255,.1); color: var(--on-night); font: 500 15px 'Archivo', sans-serif; cursor: pointer; box-shadow: inset 0 0 0 1px var(--night-line); transition: background .2s; }
.fs-live-ende:hover { background: rgba(255,255,255,.18); }

/* Die Kugel */
.fs-orb { --pegel: 0; position: relative; width: 220px; height: 220px; margin-bottom: 8px; }
.fs-orb > span { position: absolute; border-radius: 50%; }
.fs-orb-ring { inset: -14px; background: conic-gradient(from var(--a, 0deg), transparent 0 50%, #FD3493 72%, #A02CC0 84%, #4B3BFF 94%, transparent); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); animation: spin 6s linear infinite; opacity: .8; }
.fs-orb-glut { inset: 6%; background: conic-gradient(from var(--a, 0deg), #FD3493, #A02CC0, #4B3BFF, #6E8BFF, #FD3493); filter: blur(calc(22px + var(--pegel) * 18px)); opacity: calc(.55 + var(--pegel) * .45); transform: scale(calc(1 + var(--pegel) * .22)); animation: spin 9s linear infinite reverse; transition: transform .1s linear, opacity .1s linear; }
.fs-orb-kern { inset: 12%; background: radial-gradient(circle at 34% 28%, #ffd3ea 0, #FD3493 24%, #8E1C9C 58%, #11009E 100%); box-shadow: inset -14px -18px 36px rgba(0,0,0,.45), inset 10px 10px 26px rgba(255,255,255,.3), 0 0 calc(30px + var(--pegel) * 60px) rgba(253, 52, 147, calc(.25 + var(--pegel) * .4)); transform: scale(calc(.96 + var(--pegel) * .1)); transition: transform .1s linear, box-shadow .1s linear; }
.fs-orb-glanz { inset: 12%; background: conic-gradient(from var(--a, 0deg), transparent 0 60%, rgba(255,255,255,.35) 75%, transparent 90%); mix-blend-mode: soft-light; animation: spin 4s linear infinite; }
.fs-orb[data-zustand="ruhe"] .fs-orb-kern, .fs-orb[data-zustand="hoert"] .fs-orb-kern { animation: fs-orb-atmen 4s var(--ease) infinite; }
.fs-orb[data-zustand="verbindet"] .fs-orb-ring, .fs-orb[data-zustand="arbeitet"] .fs-orb-ring { animation-duration: 1.6s; opacity: 1; }
.fs-orb[data-zustand="spricht"] .fs-orb-ring { animation-duration: 2.6s; opacity: 1; }
@keyframes fs-orb-atmen { 50% { transform: scale(1.03); } }
@media (max-width: 640px) { .fs-live-nacht { padding: 48px 22px 28px; } .fs-orb { width: 170px; height: 170px; } .fs-live-untertitel { font-size: 21px; } }
@media (prefers-reduced-motion: reduce) { .fs-orb > span { animation: none !important; } }

/* ---------- Feed-Studio als App: Kopf mit Studio und Reitern (Wunsch Corinna 2026-11-16, Kit: Werkzeugleiste als eine Card, Segment-Reiter mit Perle) ---------- */
.w.fs-appkopf { padding: 28px 28px 10px; margin: 4px 0 24px; display: grid; gap: 24px; }
.fs-app-oben { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.fs-app-studio { display: flex; align-items: center; gap: 20px; min-width: 0; }
.fs-app-avatar { position: relative; flex: none; width: 76px; height: 76px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, #FD3493, #A02CC0, #4B3BFF, #FD3493); }
.fs-app-avatar > * { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--surface); background: var(--night); color: var(--on-night); font: 300 22px 'Archivo', sans-serif; font-stretch: 125%; letter-spacing: .02em; }
.fs-app-name { display: grid; gap: 6px; min-width: 0; }
.fs-app-name .eyebrow { margin: 0; }
.fs-app-name h1 { margin: 0; font: 300 clamp(26px, 3vw, 40px)/1.05 'Archivo', sans-serif; font-stretch: 125%; letter-spacing: -.028em; text-transform: uppercase; overflow-wrap: anywhere; }
.fs-app-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.fs-app-chip { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--canvas-2); font: 500 12.5px 'Archivo', sans-serif; color: var(--ink-2); }
.fs-app-chip > i { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); }
.fs-app-chip.ok > i { background: var(--ok); } .fs-app-chip.vorsicht > i { background: var(--warn); }
.fs-app-chip img { width: 15px; height: 15px; opacity: .8; }
.fs-app-ring { --wert: 0; width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(var(--ink) calc(var(--wert) * 1%), var(--line-strong) 0); -webkit-mask: radial-gradient(circle, transparent 4.5px, #000 5px); mask: radial-gradient(circle, transparent 4.5px, #000 5px); }
.fs-app-chip.ok .fs-app-ring { background: conic-gradient(var(--ok) calc(var(--wert) * 1%), var(--line-strong) 0); }
.fs-app-aktionen { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.fs-app-aktionen .btn { white-space: nowrap; }

.fs-tabs { position: relative; display: flex; gap: 4px; padding: 6px; margin: 0 -18px; border-radius: 999px; background: var(--canvas); box-shadow: var(--inset), inset 0 0 0 1px var(--line); overflow-x: auto; scrollbar-width: none; }
.fs-tabs::-webkit-scrollbar { display: none; }
.fs-tabs-licht { position: absolute; left: 0; top: 6px; bottom: 6px; width: 0; border-radius: 999px; background: var(--surface); box-shadow: var(--sh); transition: transform .45s var(--spring), width .45s var(--spring); pointer-events: none; }
.fs-tabs button { position: relative; z-index: 1; flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 500 15px 'Archivo', sans-serif; cursor: pointer; white-space: nowrap; transition: color .25s var(--ease); }
.fs-tabs button:hover { color: var(--ink); }
.fs-tab-ic img { width: 20px; height: 20px; display: block; opacity: .75; transition: opacity .2s; }
.fs-tabs button:hover .fs-tab-ic img { opacity: 1; }
.fs-tab-perle { display: none; width: 16px; height: 16px; border-radius: 50%; background: var(--pearl); box-shadow: inset -2px -2px 4px rgba(0,0,0,.3), inset 2px 2px 3px rgba(255,255,255,.35); }
.fs-tabs button.an { color: var(--ink); font-weight: 600; }
.fs-tabs button.an .fs-tab-ic { display: none; } .fs-tabs button.an .fs-tab-perle { display: block; }
.fs-tab-zahl { font: 400 11px 'Martian Mono', monospace; letter-spacing: .02em; font-feature-settings: "tnum"; color: var(--mute); padding: 3px 8px; border-radius: 999px; background: var(--canvas-2); }
.fs-tabs button.an .fs-tab-zahl { background: var(--ink); color: var(--on-ink); }
.fs-app-inhalt { padding-top: 0; }
@media (max-width: 900px) { .w.fs-appkopf { padding: 22px 18px 8px; } .fs-tabs { margin: 0 -8px; } .fs-tabs button { flex: none; padding: 0 14px; } .fs-app-avatar { width: 60px; height: 60px; } }
@media (prefers-reduced-motion: reduce) { .fs-tabs-licht { transition: none; } }
.fs-app-aktionen { margin-left: auto; }
.w.fs-appkopf { position: relative; z-index: 1; }
.content.fs-app-inhalt { display: flex; flex-direction: column; align-items: stretch; }
.content.fs-app-inhalt > * { width: 100%; box-sizing: border-box; min-width: 0; }
/* Interview-Seite: Nacht-Bühne mit Elisa über dem Chat */
.fs-iv-buehne { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; align-items: center; margin-bottom: 16px; padding: 30px 36px; border-radius: var(--r-card); color: var(--on-night); background: var(--night) url('/img/nebel-dunkel.jpg') center / cover; box-shadow: var(--sh), inset 0 0 0 1px var(--night-line); }
.fs-iv-buehne .fs-live-schein { width: 320px; height: 320px; }
.fs-iv-buehne .fs-live-schein.eins { left: -120px; top: -180px; } .fs-iv-buehne .fs-live-schein.zwei { right: -120px; bottom: -200px; }
.fs-orb.klein { width: 120px; height: 120px; margin: 0; }
.fs-orb.klein .fs-orb-ring { inset: -9px; }
.fs-iv-buehne-text { display: grid; gap: 8px; }
.fs-iv-buehne-text h2 { margin: 0; font: 300 28px/1.15 'Archivo', sans-serif; font-stretch: 125%; letter-spacing: -.022em; text-transform: uppercase; }
.fs-iv-buehne-text p { margin: 0; color: var(--night-mute); max-width: 60ch; line-height: 1.55; }
.fs-iv-buehne .fs-live-start { margin: 0; }
@media (max-width: 1000px) { .fs-iv-buehne { grid-template-columns: auto 1fr; } .fs-iv-buehne .fs-live-start { grid-column: 1 / -1; justify-self: start; } }
.fs-iv-tipp { margin-right: auto; color: var(--mute); }
/* Bühne: Erklärung „Warum reden?“ und „So läuft's“ */
.fs-iv-erklaer { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 6px; padding-top: 22px; border-top: 1px solid var(--night-line); }
.fs-iv-erklaer .eyebrow { display: block; color: var(--night-mute); margin: 0 0 18px; }
.fs-iv-erklaer ul, .fs-iv-erklaer ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.fs-iv-erklaer li { position: relative; padding-left: 34px; color: var(--night-mute); font-size: 14px; line-height: 1.5; }
.fs-iv-erklaer li b { color: var(--on-night); font-weight: 600; }
.fs-iv-erklaer ul li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--pearl); }
.fs-iv-erklaer ol { counter-reset: schritt; }
.fs-iv-erklaer ol li { counter-increment: schritt; }
.fs-iv-erklaer ol li::before { content: "0" counter(schritt); position: absolute; left: 0; top: 1px; font: 400 11px 'Martian Mono', monospace; color: var(--on-night); opacity: .7; }
.fs-iv-schreiben { justify-self: center; display: inline-flex; align-items: center; gap: 8px; margin: 4px auto 0; padding: 10px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 500 14px 'Archivo', sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.fs-iv-schreiben:hover { color: var(--ink); background: var(--canvas-2); }
.w.fs-iv[hidden] { display: none; }
@media (max-width: 1000px) { .fs-iv-erklaer { grid-template-columns: 1fr; } }
/* App-Kopf: Metazeile statt Pillen (Wunsch Corinna 2026-11-16) */
.fs-app-meta { display: flex; flex-wrap: wrap; align-items: center; margin-top: 6px; row-gap: 6px; }
.fs-app-m { display: inline-flex; align-items: center; gap: 8px; padding: 2px 16px; font: 500 13.5px 'Archivo', sans-serif; color: var(--ink-2); text-decoration: none; border-left: 1px solid rgba(16,14,28,.16); line-height: 1.2; transition: color .2s var(--ease); }
.fs-app-m:first-child { padding-left: 0; border-left: 0; }
.fs-app-m:hover { color: var(--ink); }
.fs-app-m:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.fs-app-m img { width: 16px; height: 16px; opacity: .75; }
.fs-app-punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--mute); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mute) 18%, transparent); }
.fs-app-punkt.ok { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); }
.fs-app-punkt.vorsicht { background: var(--warn); box-shadow: 0 0 0 3px var(--warn-bg); }
.fs-app-balken { width: 56px; height: 6px; border-radius: 999px; background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line); overflow: hidden; }
.fs-app-balken i { display: block; height: 100%; border-radius: 999px; background: var(--ink); }
.fs-app-balken.voll i { background: var(--grad); }
/* „So läuft's“: Nummern in Kreisen an einer Linie, letzter Schritt als Perle (Kit: Anleitungen) */
.fs-iv-erklaer ol { position: relative; gap: 14px; }
.fs-iv-erklaer ol::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 1px; background: var(--night-line); }
.fs-iv-erklaer ol li { padding-left: 44px; min-height: 28px; display: block; padding-top: 4px; }
.fs-iv-erklaer ol li::before { left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 400 10.5px 'Martian Mono', monospace; letter-spacing: .02em; color: var(--on-night); opacity: 1; background: var(--night); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.fs-iv-erklaer ol li:last-child::before { background: var(--pearl); box-shadow: inset -2px -3px 6px rgba(0,0,0,.35), inset 2px 2px 4px rgba(255,255,255,.35), 0 0 16px rgba(253,52,147,.45); }
.fs-iv-erklaer ol li > span { display: block; }
.fs-iv-erklaer ol li:last-child::before { text-shadow: 0 1px 2px rgba(0,0,0,.4); }

/* Live-Untertitel: kleiner, lange Sätze noch kleiner (Rückmeldung Corinna 2026-11-16) */
.fs-live-untertitel { font-size: 21px; line-height: 1.4; max-width: 34ch; }
.fs-live-untertitel.lang { font-size: 18px; max-width: 42ch; }

/* ---------- Einrichtung: Dein Studio (Formular für Kosmetikerinnen: groß, ruhig, klar) ---------- */
.fs-sd { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.w.fs-sd-form { padding: 36px 40px; display: grid; gap: 8px; }
.fs-sd-titel { display: grid; gap: 8px; margin-bottom: 18px; }
.fs-sd-titel .eyebrow { margin: 0; }
.fs-sd-titel h2 { margin: 0; font: 300 30px/1.1 'Archivo', sans-serif; font-stretch: 125%; letter-spacing: -.022em; text-transform: uppercase; }
.fs-sd-titel p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 62ch; }
.fs-sd-teil { display: grid; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.fs-sd-teil-kopf { display: flex; gap: 14px; align-items: center; }
.fs-sd-teil-kopf b { display: block; font: 600 18px 'Archivo', sans-serif; }
.fs-sd-teil-kopf span:not(.fs-sd-nr) { color: var(--mute); font-size: 14px; }
.fs-sd-nr { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 400 12px 'Martian Mono', monospace; background: var(--ink); color: var(--on-ink); }
.fs-sd-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 20px; padding-left: 48px; }
.fs-sd-feld { display: grid; gap: 8px; align-content: start; }
.fs-sd-label { font: 600 14.5px 'Archivo', sans-serif; color: var(--ink); }
.fs-sd-hinweis { font-size: 13px; color: var(--mute); line-height: 1.4; }
.fs-sd-eingabe { display: flex; align-items: center; height: 54px; border-radius: var(--r-control); background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); transition: box-shadow .25s var(--ease), background .25s; }
.fs-sd-eingabe:focus-within { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(75,59,255,.14); }
.fs-sd-eingabe input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 18px; font: 400 16.5px 'Archivo', sans-serif; color: var(--ink); outline: 0; }
.fs-sd-eingabe input::placeholder { color: var(--mute); }
.fs-sd-eingabe.mit-vorne input { padding-left: 4px; }
.fs-sd-vorne { padding-left: 18px; color: var(--mute); font: 500 16.5px 'Archivo', sans-serif; }
.fs-sd-fuss { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.fs-sd-fuss .klein { color: var(--mute); }
.fs-sd-weiter { background: var(--glaze); color: var(--on-ink); margin: 0; }
.fs-sd-seite { display: grid; gap: 16px; position: sticky; top: 16px; }
.w.fs-sd-liste, .w.fs-sd-lesen { padding: 26px; display: grid; gap: 14px; }
.fs-sd-ring { --wert: 0; width: 92px; height: 92px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, var(--surface) 78%, transparent 80% 100%), conic-gradient(var(--ink) calc(var(--wert) * 1%), var(--well) 0); }
.fs-sd-ring b { font: 200 34px/1 'Archivo', sans-serif; font-stretch: 125%; }
.fs-sd-ring span { font: 400 10px 'Martian Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.fs-sd-liste ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fs-sd-liste li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.fs-sd-liste li.ok { color: var(--ink); }
.fs-sd-haken { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-strong); font-size: 13px; }
.fs-sd-liste li.ok .fs-sd-haken { background: var(--ok); color: #fff; box-shadow: none; }
.fs-sd-liste p, .fs-sd-lesen p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.fs-sd-lesen-kopf { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.fs-sd-lesen-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; }
.fs-ein-knopf.an { background: var(--ink); color: var(--on-ink); }
@media (max-width: 1100px) { .fs-sd { grid-template-columns: 1fr; } .fs-sd-seite { position: static; } .fs-sd-raster { padding-left: 0; } .w.fs-sd-form { padding: 26px 22px; } }

/* ---------- Angebot und Preise ---------- */
.w.fs-ang-karte { padding: 36px 40px; display: grid; gap: 12px; }
.fs-ang-vorschlaege { display: grid; gap: 12px; padding: 18px 20px; border-radius: 20px; background: var(--well); box-shadow: var(--inset); margin-bottom: 8px; }
.fs-ang-v-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fs-ang-v-kopf b { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.fs-ang-v-liste { display: flex; flex-wrap: wrap; gap: 8px; }
.fs-ang-v { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 16px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: var(--sh); font: 500 14px 'Archivo', sans-serif; color: var(--ink); cursor: pointer; transition: transform .2s var(--ease); }
.fs-ang-v:hover { transform: translateY(-1px); }
.fs-ang-v em { font-style: normal; color: var(--mute); font-weight: 400; }
.fs-ang-kopfzeile, .fs-ang { display: grid; grid-template-columns: 40px minmax(0, 1fr) 140px 110px 120px 40px; gap: 12px; align-items: center; }
.fs-ang-kopfzeile { padding: 0 14px; font: 400 10px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.fs-ang-liste { display: grid; gap: 10px; }
.fs-ang { padding: 10px 14px; border-radius: 18px; background: var(--surface); box-shadow: var(--sh); }
.fs-ang.signature { box-shadow: var(--sh), inset 0 0 0 1.5px var(--ind-lite); }
.fs-ang.offen .fs-ang-preis input { color: var(--warn); }
.fs-ang input { width: 100%; box-sizing: border-box; height: 44px; border: 0; border-radius: 12px; padding: 0 12px; background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line); font: 400 15.5px 'Archivo', sans-serif; color: var(--ink); outline: 0; }
.fs-ang input:focus { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(75,59,255,.14); }
.fs-ang .fs-ang-name { font-weight: 600; }
.fs-ang-dauer { position: relative; } .fs-ang-dauer input { padding-right: 40px; } .fs-ang-dauer i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 13px; color: var(--mute); }
.fs-ang-stern { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--canvas-2); color: var(--mute); cursor: pointer; transition: transform .45s var(--spring), background .2s, color .2s; }
.fs-ang-stern:hover { transform: scale(1.08); color: var(--ink); }
.fs-ang.signature .fs-ang-stern { background: var(--pearl); color: #fff; box-shadow: inset -2px -3px 6px rgba(0,0,0,.3), inset 2px 2px 4px rgba(255,255,255,.35); }
.fs-ang.signature .fs-ang-stern svg path { fill: currentColor; }
.fs-ang-stern.blass { cursor: default; background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.fs-ang-ok { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.fs-ang-ok input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fs-ang-ok span { width: 24px; height: 24px; border-radius: 8px; flex: none; display: grid; place-items: center; background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); }
.fs-ang-ok input:checked + span { background: var(--ok); box-shadow: none; }
.fs-ang-ok input:checked + span::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.fs-ang-weg { width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: transparent; color: var(--mute); cursor: pointer; }
.fs-ang-weg:hover { background: var(--bad-bg); color: var(--bad); }
.fs-ang.neu { background: transparent; box-shadow: inset 0 0 0 1.5px dashed var(--line-strong); border: 1.5px dashed var(--line-strong); grid-template-columns: 40px minmax(0, 1fr) 140px 110px 172px; margin-top: 6px; }
.fs-ang-plus { height: 44px; justify-content: center; }
.fs-ang-leer { margin: 6px 0; color: var(--mute); padding: 0 14px; }
@media (max-width: 1000px) { .fs-ang-kopfzeile { display: none; } .fs-ang, .fs-ang.neu { grid-template-columns: 40px 1fr 1fr; } .fs-ang .fs-ang-name { grid-column: 2 / -1; } .w.fs-ang-karte { padding: 26px 20px; } }
/* Dein Studio: Elisa-Karte als kleine Nacht-Bühne, Ring im Logo-Verlauf (Wunsch Corinna 2026-11-16) */
.fs-sd-lesen { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 16px; padding: 26px; border-radius: var(--r-card); color: var(--on-night); background: var(--night) url('/img/nebel-dunkel.jpg') center / cover; box-shadow: var(--sh), inset 0 0 0 1px var(--night-line); }
.fs-sd-lesen .fs-live-schein { width: 240px; height: 240px; filter: blur(60px); }
.fs-sd-lesen .fs-live-schein.eins { left: -90px; top: -110px; } .fs-sd-lesen .fs-live-schein.zwei { right: -110px; bottom: -130px; }
.fs-sd-elisa { display: flex; align-items: center; gap: 16px; }
.fs-orb.mini { width: 64px; height: 64px; margin: 0; flex: none; }
.fs-orb.mini .fs-orb-ring { inset: -6px; }
.fs-orb.mini .fs-orb-glut { filter: blur(12px); }
.fs-sd-elisa-satz { margin: 0; font-size: 15px; line-height: 1.55; color: var(--night-mute); }
.fs-sd-elisa-satz b { color: var(--on-night); font-weight: 600; }
.fs-sd-elisa-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; }
.fs-sd-elisa-k { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; font: 500 14px 'Archivo', sans-serif; text-decoration: none; color: var(--on-night); background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px var(--night-line); transition: background .2s; }
.fs-sd-elisa-k:hover { background: rgba(255,255,255,.18); }
.fs-sd-elisa-k.hell { background: var(--on-night); color: var(--night); box-shadow: none; }
.fs-sd-ring { background: radial-gradient(closest-side, var(--surface) 78%, transparent 80% 100%), conic-gradient(#FD3493 0, #A02CC0 calc(var(--wert) * .5%), #4B3BFF calc(var(--wert) * 1%), var(--well) 0); }

.fs-sd-lesen p.fs-sd-elisa-satz { color: var(--night-mute); }
.fs-sd-lesen p.fs-sd-elisa-satz b { color: var(--on-night); }
/* Elisa liest: Countdown */
.fs-sd-countdown { display: grid; gap: 8px; }
.fs-sd-cd-balken { display: block; height: 6px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.fs-sd-cd-balken i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--grad); transition: width 1s linear; }
.fs-sd-cd-zeit { font: 400 11px 'Martian Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--night-mute); }
.fs-sd-lesen p.fs-sd-elisa-satz.klein { font-size: 13px; opacity: .85; }
button.fs-sd-elisa-k { border: 0; cursor: pointer; }
/* Einrichtung: kleine Rückfrage (gemeinsames Modul /content/einrichtung.js) */
dialog.fs-frage { position: fixed; inset: 0; margin: auto; height: fit-content; width: min(440px, 92vw); padding: 28px; border: 0; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--sh); display: grid; gap: 12px; }
dialog.fs-frage::backdrop { background: rgba(16, 14, 28, .4); }
dialog.fs-frage b { font: 600 18px 'Archivo', sans-serif; }
dialog.fs-frage p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.fs-frage-knoepfe { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }

/* ---------- Material: Fotos nach Motiv (Team und ORBIT) ---------- */
.w.fs-fo { padding: 36px 40px; display: grid; gap: 22px; }
.fs-fo-kopf { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.fs-fo-kopf .fs-sd-titel { margin: 0; }
.fs-fo-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.fs-fo-kat { display: grid; gap: 10px; align-content: start; padding: 20px; border-radius: 22px; background: var(--well); box-shadow: var(--inset); border: 1.5px dashed transparent; transition: border-color .2s, background .2s; }
.fs-fo-kat.drueber { border-color: var(--ind-lite); background: var(--surface); }
.fs-fo-kat.voll { background: color-mix(in srgb, var(--ok-bg) 45%, var(--well)); }
.fs-fo-kat-kopf { display: flex; align-items: center; gap: 10px; }
.fs-fo-kat-kopf b { font: 600 16px 'Archivo', sans-serif; flex: 1; }
.fs-fo-kat.voll .fs-sd-haken { background: var(--ok); color: #fff; box-shadow: none; }
.fs-fo-zahl { font: 400 11px 'Martian Mono', monospace; color: var(--ink-2); font-feature-settings: "tnum"; }
.fs-fo-kat p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.fs-fo-bilder { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.fs-fo-bild { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; box-shadow: var(--sh); }
.fs-fo-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-fo-bild button { position: absolute; right: 5px; top: 5px; width: 24px; height: 24px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(252,251,252,.85); color: var(--ink-2); cursor: pointer; opacity: 0; transition: opacity .2s; font-size: 12px; }
.fs-fo-bild:hover button, .fs-fo-bild button:focus-visible { opacity: 1; }
@media (hover: none) { .fs-fo-bild button { opacity: 1; } }
.fs-fo-plus { aspect-ratio: 4 / 5; border-radius: 14px; display: grid; place-content: center; justify-items: center; gap: 4px; cursor: pointer; color: var(--ink-2); font-size: 12.5px; box-shadow: inset 0 0 0 1.5px var(--line-strong); background: var(--surface); transition: transform .2s var(--ease), color .2s; }
.fs-fo-plus:hover { transform: translateY(-2px); color: var(--ink); }
.fs-fo-plus .ic { font-size: 20px; }
.fs-fo-laedt { font: 400 11px 'Martian Mono', monospace; color: var(--ink-2); }
.fs-fo-laedt[hidden] { display: none; }
.fs-fo-ohne { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.fs-fo-ohne-reihe { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.fs-fo-wahl { display: grid; gap: 6px; }
.fs-fo-wahl img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.fs-fo-wahl select { height: 38px; border: 0; border-radius: 12px; padding: 0 10px; background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); font: 400 14px 'Archivo', sans-serif; color: var(--ink); }
.fs-fo-recht { display: flex; gap: 8px; align-items: center; margin: 0; color: var(--mute); }
@media (max-width: 800px) { .w.fs-fo { padding: 24px 18px; } .fs-fo-kopf { flex-direction: column-reverse; } }


/* Strategie → Signature-System (public/js/ansichten/strategie.js), Neugestaltung 2026-11-16: Bühne, Segment-Reiter,
   Programm-Karten (empfohlenes mit Rahmen und Perle), Programmseite mit fester Preisspalte. Nur vorhandene Tokens. */
.st-buehne { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.st-signame { font-size: .62em; white-space: normal; display: inline-block; line-height: 1.2; }
.st-reiterleiste { display: flex; }
.st-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 1200px) { .st-karten { grid-template-columns: 1fr; } }
.st-karte { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 22px; text-decoration: none; color: var(--ink); min-height: 260px; }
.w.st-karte:hover { box-shadow: var(--sh-lift); }
.st-k-kopf { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.st-empfohlen { box-shadow: var(--sh-lift); outline: 1.5px solid var(--ink); outline-offset: -1.5px; }
.st-perle { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--pearl); margin-right: 8px; vertical-align: -1px; }
.st-k-name { font-family: 'Archivo', sans-serif; font-stretch: 125%; font-weight: 300; font-size: 26px; letter-spacing: -.01em; line-height: 1.1; text-transform: uppercase; }
.st-k-meta { color: var(--mute); }
.st-k-phasen { display: flex; gap: 6px; margin: 4px 0; }
.st-k-phase { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.st-k-balken { height: 6px; border-radius: 999px; background: var(--well); box-shadow: var(--inset); }
.st-k-balken.voll { background: var(--ink); box-shadow: none; }
.st-k-preis { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); padding-right: 44px; }
.st-k-betrag { font-family: 'Archivo', sans-serif; font-stretch: 125%; font-weight: 250; font-size: 32px; font-feature-settings: "tnum"; }
.st-k-pfeil { position: absolute; right: 18px; bottom: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--sh); }
.st-warn { color: var(--bad); }
.st-leer { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 260px; border-radius: var(--r-card);
  border: 1.5px dashed var(--line-strong); background: transparent; color: var(--ink-2); cursor: pointer; font: inherit; }
.st-leer:hover { background: var(--surface); }
.st-leer-plus { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--sh); }
.st-regel { color: var(--mute); margin-top: 14px; }
.st-werkzeug { display: flex; flex-direction: column; gap: 12px; }
.st-werkzeug-zeile { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.st-suche { background: var(--well); box-shadow: var(--inset); border: 0; border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 14px; min-width: 240px; color: var(--ink); }
.st-hinweis { margin: 0; padding: 10px 14px; border-radius: var(--r-input); background: var(--warn-bg); color: var(--warn); }
.st-pill-warn { background: var(--warn-bg); color: var(--warn); }
.st-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.st-tbl th { font-family: 'Martian Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--line); }
.st-tbl td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.st-tbl .rechts { text-align: right; }
.st-b-name { font-weight: 500; }
.st-grund { max-width: 760px; }
.st-fuss, .st-aktionen { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.st-verlauf { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.st-verlauf li { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: baseline; }
/* Programmseite */
.st-detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
@media (max-width: 1100px) { .st-detail { grid-template-columns: 1fr; } }
.st-haupt, .st-seite { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.st-seite { position: sticky; top: 16px; }
.st-fs { border: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.st-phase-kopf { display: flex; gap: 14px; align-items: center; }
.st-phase-kopf > div { display: flex; flex-direction: column; gap: 2px; }
.st-phase-kopf b { font-family: 'Archivo', sans-serif; font-stretch: 125%; font-weight: 300; font-size: 18px; text-transform: uppercase; letter-spacing: .01em; }
.st-phase-nr { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--pearl); color: #fff; font-size: 12px; font-weight: 500; flex-shrink: 0; }
/* Wochenplan: je Woche eine Zeile, Add-ons unter ihrer Hauptbehandlung, leere Wochen als Regenerationswoche */
.st-plan { display: flex; flex-direction: column; gap: 20px; }
.st-plan[inert] { opacity: .8; }
.st-wo, .st-begleit { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 12px; padding: 12px 0 4px; border-top: 1px solid var(--line); }
.st-w-label { font: 400 10px 'Martian Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding-top: 11px; }
.st-w-inhalt { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.st-gruppe { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 16px; background: var(--canvas); }
.st-zeile { display: grid; grid-template-columns: minmax(0, 1.6fr) 74px minmax(0, 1fr) 108px 36px; gap: 8px; align-items: center; }
.st-z-addon { grid-template-columns: 16px minmax(0, 1.6fr) 74px minmax(0, 1fr) 36px; padding-left: 12px; }
.st-z-addon.st-z-lose { grid-template-columns: 16px minmax(0, 1.6fr) 74px minmax(0, 1fr) 108px 36px; }
.st-plus { font: 500 15px 'Archivo', sans-serif; color: var(--mute); text-align: center; }
.st-zeile select, .st-zeile input { width: 100%; min-width: 0; background: var(--well); box-shadow: var(--inset); border: 0; border-radius: 12px; padding: 8px 10px; font: inherit; font-size: 14px; color: var(--ink); }
.st-z-addon select, .st-z-addon input { font-size: 13px; padding: 6px 10px; }
.st-z-behandlung select[data-f="behandlung_id"] { font-weight: 600; }
.st-zeile select:focus, .st-zeile input:focus, .st-suche:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
.st-zeile.ohne select[data-f="behandlung_id"] { color: var(--warn); }
.st-anzahl { display: flex; align-items: center; gap: 4px; }
.st-anzahl span { color: var(--mute); font-size: 13px; }
.st-mini { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--ink-2); font: 500 13px 'Archivo', sans-serif; padding: 4px 8px; border-radius: 999px; cursor: pointer; }
.st-mini:hover { background: var(--well); color: var(--ink); }
.st-gruppe .st-mini { margin-left: 28px; }
.st-regen { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 16px; border: 1.5px dashed var(--line-strong); }
.st-regen b { font-weight: 600; font-size: 14px; }
.st-perle-klein { width: 10px; height: 10px; border-radius: 50%; background: var(--pearl); flex-shrink: 0; }
.st-lose .st-w-label { color: var(--warn); }
.st-phase-fuss { border-top: 1px solid var(--line); padding-top: 10px; }
/* Wochenplan als ruhige Übersicht: Woche anklicken öffnet sie zum Bearbeiten */
.st-pruef-knoepfe { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.st-pruef-knoepfe .st-mini { background: var(--surface); }
.st-ohne-addon { padding: 2px 8px; font-size: 12px; border: 1px solid var(--line-strong); margin-left: 6px; vertical-align: 1px; }
.st-ohne-addon.an { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
/* Programm-Investition (Programmseite): dunkle Karte wie in der Studio-App, intern mit Profitabilität */
.st-invest { background: var(--night); color: var(--on-night); display: flex; flex-direction: column; gap: 12px; }
.st-inv-kopf { display: flex; align-items: center; gap: 10px; }
.st-inv-kopf b { font: 400 11px 'Martian Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.st-inv-zeilen { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 14px; color: var(--night-mute); }
.st-inv-zeilen b { color: var(--on-night); font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.st-inv-zeilen i { font-style: normal; font-size: 12px; opacity: .8; }
.st-inv-linie { padding-top: 8px; border-top: 1px solid var(--night-line); }
.st-streich { text-decoration: line-through; opacity: .75; }
.st-inv-preis { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.st-inv-preis span { font: 400 10px 'Martian Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); line-height: 1.5; }
.st-inv-preis b { font: 300 40px/1 'Archivo', sans-serif; font-stretch: 110%; color: #fff; }
.st-inv-vorteil { align-self: flex-start; font-size: 13px; color: #fff; background: rgba(253, 52, 147, .2); border-radius: 999px; padding: 4px 12px; }
.st-inv-vorteil.minus { background: rgba(180, 35, 47, .35); }
.st-inv-intern { border: 1px solid var(--night-line); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.st-inv-intern-kopf { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font: 400 10px 'Martian Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--night-mute); }
.st-inv-ampel { display: inline-flex; align-items: center; gap: 6px; font: 500 11px 'Archivo', sans-serif; letter-spacing: 0; text-transform: none; border: 1px solid var(--night-line); border-radius: 999px; padding: 2px 9px; color: var(--on-night); }
.st-inv-ampel .pdot { width: 7px; height: 7px; border-radius: 50%; background: var(--night-mute); }
.st-inv-gruen .pdot { background: #3DBE7A; } .st-inv-gelb .pdot { background: #F2B33D; } .st-inv-rot .pdot { background: #E5484D; }
.st-inv-kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.st-inv-kacheln div { display: grid; gap: 1px; }
.st-inv-kacheln span { font-size: 11px; color: var(--night-mute); }
.st-inv-kacheln b { font: 400 17px 'Archivo', sans-serif; color: var(--on-night); }
.st-inv-kacheln i { font-style: normal; font-size: 10px; color: var(--night-mute); }
.st-inv-klein { font-size: 11px; color: var(--night-mute); }
.st-inv-intern .feld label { color: var(--night-mute); }
.st-inv-erklaerung { margin: 0; font-size: 12px; line-height: 1.55; color: var(--night-mute); background: rgba(255, 255, 255, .05); border-radius: 12px; padding: 10px 12px; }
.st-regler { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.st-regler input[type=range] { flex: 1; min-width: 0; accent-color: var(--signal); background: none; box-shadow: none; padding: 0; height: 24px; }
.st-regler b { font: 500 14px 'Archivo', sans-serif; min-width: 44px; text-align: right; }

.st-z-begleit .st-anzahl input { text-align: right; }
@media (max-width: 1100px) { .st-z-begleit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px; } .st-z-begleit > * { grid-column: auto; } }
.st-prod-tbl { width: 100%; }
.st-prod-tbl th:first-child, .st-prod-tbl td:first-child { width: 44%; }
.st-prod-tbl td { padding: 4px 6px; vertical-align: middle; }
.st-prod-tbl input { width: 100%; min-width: 0; background: var(--well); box-shadow: var(--inset); border: 0; border-radius: 10px; padding: 7px 10px; font: inherit; font-size: 14px; color: var(--ink); }
.st-prod-tbl .st-prod-zahl { text-align: right; max-width: 110px; }
.st-prod-tbl td:nth-child(2) .st-prod-zahl { max-width: 64px; }
.st-prod-tbl tfoot td { font-weight: 600; border-top: 1px solid var(--line-strong); padding-top: 8px; }
.st-grund-h { margin-top: 24px; }
.st-checks { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 4px; }
.st-check-zeile { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) 110px 100px; gap: 10px; align-items: center; }
.st-check-zeile > div { display: grid; }
.st-check-zeile input { width: 100%; min-width: 0; background: var(--well); box-shadow: var(--inset); border: 0; border-radius: 12px; padding: 8px 10px; font: inherit; font-size: 14px; color: var(--ink); }
.st-check-zeile .st-anzahl input { text-align: right; }
.st-plan-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.st-z-begleit { grid-template-columns: 150px minmax(0, 1.6fr) 92px 84px 70px minmax(0, 1fr) 120px 36px; }
.st-prod-liste td:nth-child(2) input { max-width: 160px; }
/* Fahrplan (Wizard) */
.st-fp { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 18px; align-items: start; }
.st-fp-liste { position: sticky; top: 16px; }
.st-fp-kopf { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.st-fp-kopf > div { display: grid; gap: 2px; }
.st-fp-ring { --wert: 0; width: 52px; height: 52px; border-radius: 50%; flex: none; background: conic-gradient(var(--c-ziel) calc(var(--wert) * 1%), var(--well) 0); display: grid; place-items: center; }
.st-fp-ring span { width: 42px; height: 42px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font: 400 11px 'Martian Mono', monospace; }
.st-fp-liste ol { list-style: none; display: grid; gap: 2px; padding: 0; margin: 0; }
.st-fp-schritt { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; border: 0; background: none; padding: 9px 10px; border-radius: 14px; font: inherit; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.st-fp-schritt:hover { background: var(--canvas); }
.st-fp-schritt.an { background: var(--canvas); color: var(--ink); font-weight: 600; }
.st-fp-nr { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 500 11px 'Martian Mono', monospace; background: var(--well); color: var(--ink-2); }
.st-fp-schritt.an .st-fp-nr { background: var(--pearl); color: #fff; }
.st-fp-ok .st-fp-nr { background: var(--ink); color: var(--on-ink); }
.st-fp-teil .st-fp-nr { box-shadow: inset 0 0 0 2px var(--c-ziel); background: var(--surface); }
.st-fp-inhalt { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 36px); }
.st-fp-h { font: 300 34px/1.1 'Archivo', sans-serif; font-stretch: 112%; margin: 0; }
.st-fp-warum { font-size: 16px; line-height: 1.55; max-width: 64ch; margin: 0; }
.st-fp-info { background: var(--canvas); border-radius: 14px; padding: 12px 16px; font-size: 14px; color: var(--ink-2); }
.st-fp-info.ok { box-shadow: inset 3px 0 0 var(--ok); }
.st-fp-offen ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; }
.st-fp-offen a { color: var(--ink); font-weight: 600; }
.st-fp-bald { color: var(--mute); display: flex; gap: 6px; align-items: center; }
.st-fp-knoepfe { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.st-fp-nav { display: flex; gap: 8px; }
@media (max-width: 900px) { .st-fp { grid-template-columns: 1fr; } .st-fp-liste { position: static; } }
/* Strategie: Bausteine, Arbeitslisten, Schalter */
.st-b-perle { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--pearl); color: #fff; font: 500 14px 'Martian Mono', monospace; box-shadow: inset -2px -3px 6px rgba(0,0,0,.3), inset 2px 2px 4px rgba(255,255,255,.35); flex: none; }
.st-bausteine { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-b-bald { opacity: .55; }
.st-filter { margin-bottom: 14px; display: inline-flex; }
.st-liste { padding: 6px 0; }
.st-lz { display: grid; grid-template-columns: minmax(0, 1.4fr) 170px minmax(0, 2fr) auto; gap: 16px; align-items: center; padding: 14px 22px; border-top: 1px solid var(--line); }
.st-lz:first-child, .st-lz-kopf + .st-lz { border-top: 0; }
.st-lz-kopf { font: 400 10px 'Martian Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 6px; }
.st-lz-studio { display: flex; gap: 10px; align-items: center; min-width: 0; }
.st-lz-studio b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-lz-stand { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-2); }
.st-lz-bar { width: 80px; height: 6px; border-radius: 6px; background: var(--well); overflow: hidden; flex: none; }
.st-lz-bar i { display: block; height: 100%; background: var(--grad); }
.st-lz-pill { font-size: 12px; padding: 3px 10px; border-radius: 999px; margin-right: 6px; white-space: nowrap; }
.st-lz-uns { background: var(--c-ziel-bg); color: var(--c-ziel-ink); }
.st-lz-studio + span { min-width: 0; }
.st-lz-studio ~ span .st-lz-studio { background: var(--canvas); }
.st-lz-fertig { background: var(--ok-bg); color: var(--ok); }
.st-lz-studio, .st-lz > span { font-size: 14px; }
.st-lz > span:nth-child(3) .st-lz-studio { }
.st-lz .st-lz-studio .k-logo { flex: none; }
.st-lz-pill.st-lz-studio { background: var(--canvas); }
.st-schalter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 4px 0 18px; }
.st-sch { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: 20px; padding: 12px 16px; box-shadow: var(--sh); border: 2px solid transparent; text-decoration: none; color: var(--ink); }
.st-sch.an { border-color: var(--ink); }
.st-sch > span:last-child { display: grid; gap: 2px; }
.st-sch small { font-size: 12px; color: var(--ink-2); }
.st-sch .st-b-perle { width: 32px; height: 32px; font-size: 12px; }
.st-bausteine { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.st-schalter { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.st-b2 { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3vw, 34px); }
.st-b2-detail { margin-top: 18px; }
.st-b2-weg { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.st-b2-weg li { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--sh); color: var(--ink); }
.st-b2-ablauf-z .btn { width: 34px; height: 34px; padding: 0; justify-content: center; }
.st-b2-weg li > span:last-child { display: grid; gap: 2px; }
.st-b2-weg b { font-size: 14px; font-weight: 500; }
.st-b2-weg small { font-size: 12px; color: var(--mute); }
.st-b2-weg li.folgt { opacity: .55; }
.st-b2-nr { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 500 11px 'Martian Mono', monospace; background: var(--surface); color: var(--ink-2); box-shadow: var(--inset); }
.st-b2-weg li.offen .st-b2-nr { background: var(--pearl); color: #fff; box-shadow: none; }
.st-b2-weg li.ok .st-b2-nr { background: var(--ink); color: var(--on-ink); box-shadow: none; }
@media (max-width: 900px) { .st-b2-weg { grid-template-columns: 1fr 1fr; } }
.st-b2-ablauf { display: flex; flex-direction: column; gap: 8px; }
.st-b2-ablauf-z { display: grid; grid-template-columns: 26px 150px minmax(130px, 200px) minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.st-b2-ablauf-z select { background: var(--surface); box-shadow: var(--inset); border: 0; border-radius: 12px; padding: 9px 10px; font: inherit; font-size: 13px; min-width: 0; }
.st-b2-pruefung { display: flex; flex-direction: column; gap: 6px; }
.st-b2-regel { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; padding: 8px 12px; border-radius: 12px; background: var(--canvas); color: var(--ink-2); }
.st-b2-regel.pflicht, .st-b2-regel.warnung { background: var(--warn-bg); color: var(--warn); }
/* Baustein 4: Trainingsmappen */
.st-b4-buehne { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center;
  margin-top: 18px; padding: clamp(26px, 3.4vw, 40px); background: var(--night); color: var(--on-night); }
.st-b4-schein { position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(224, 32, 123, .28), transparent); pointer-events: none; }
.st-b4-b-text { position: relative; display: grid; gap: 10px; }
.st-b4-b-text .eyebrow { color: var(--night-mute); }
.st-b4-b-text h2 { margin: 0; font: 300 clamp(30px, 3.4vw, 42px)/1.05 'Archivo', sans-serif; font-stretch: 112%; color: var(--on-night); }
.st-b4-b-text p { margin: 0; max-width: 54ch; color: var(--night-mute); font-size: 14.5px; line-height: 1.55; }
.st-b4-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.st-b4-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-size: 12.5px; color: var(--on-night); }
.st-b4-chip.warn { border-color: rgba(224, 32, 123, .55); }
.st-b4-b-stand { position: relative; display: grid; gap: 16px; }
.st-b4-zahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; }
.st-b4-zahlen div { display: grid; gap: 2px; padding: 14px 16px; border-left: 1px solid rgba(255,255,255,.14); }
.st-b4-zahlen div:first-child { border-left: 0; }
.st-b4-zahlen b { font: 300 28px/1.1 'Archivo', sans-serif; font-stretch: 110%; color: var(--on-night); }
.st-b4-zahlen small { font-size: 13px; color: var(--night-mute); }
.st-b4-zahlen span { font: 400 10px 'Martian Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--night-mute); }
.st-b4-leiste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.st-b4-leiste li { display: grid; gap: 6px; font-size: 11.5px; color: var(--night-mute); min-width: 0; }
.st-b4-leiste li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-b4-leiste i { height: 5px; border-radius: 5px; background: rgba(255,255,255,.14); }
.st-b4-leiste li.arbeit i { background: rgba(255,255,255,.45); }
.st-b4-leiste li.studio i { background: var(--signal); }
.st-b4-leiste li.ok i { background: var(--grad); }
.st-b4-leiste li.ok span, .st-b4-leiste li.studio span { color: var(--on-night); }
.st-b4-pdf { justify-self: start; }
/* Baustein 2: Bogen fürs Ankommen */
.st-bogen { margin-top: 18px; }
.st-bg-titel { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding: 16px 18px; border-radius: 16px; background: var(--canvas); }
.st-bg-titel > div { display: grid; gap: 3px; }
.st-bg-titel b { font: 400 20px/1.2 'Archivo', sans-serif; font-stretch: 110%; }
.st-bg-ds { color: var(--mute); }
.st-bg-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; align-items: start; }
.st-bg-block { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.st-bg-block.bearbeiten { border-color: var(--line-strong); box-shadow: var(--sh); }
.st-bg-b-kopf { display: flex; gap: 10px; align-items: center; }
.st-bg-b-kopf b { flex: 1; font-weight: 500; }
.st-bg-b-kopf input { flex: 1; background: var(--surface); box-shadow: var(--inset); border: 0; border-radius: 10px; padding: 7px 10px; font: inherit; }
.st-bg-b-kopf .st-b2-nr { background: var(--pearl); color: #fff; box-shadow: none; }
.st-bg-stift { width: 32px; height: 32px; padding: 0; justify-content: center; }
.st-bg-fragen { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.st-bg-fragen li { display: grid; gap: 4px; font-size: 13.5px; }
.st-bg-antwort { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; color: var(--ink-2); font-size: 12.5px; }
.st-bg-opt { display: inline-flex; gap: 5px; align-items: center; }
.st-bg-opt i { width: 11px; height: 11px; border: 1.3px solid var(--ink-2); display: inline-block; }
.st-bg-opt i.kasten { border-radius: 3px; }
.st-bg-opt i.kreis { border-radius: 50%; }
.st-bg-skala { display: inline-flex; gap: 4px; align-items: center; }
.st-bg-skala i { width: 20px; height: 20px; border-radius: 50%; border: 1.3px solid var(--line-strong); display: grid; place-items: center; font: 400 9px 'Martian Mono', monospace; font-style: normal; }
.st-bg-skala small { color: var(--mute); font-size: 11px; }
.st-bg-linie { display: block; width: 100%; border-bottom: 1px solid var(--line-strong); height: 12px; }
.st-bg-linie.kurz { width: 120px; }
.st-bg-f-edit { display: grid; gap: 6px; }
.st-bg-f-edit textarea, .st-bg-f-edit input { background: var(--surface); box-shadow: var(--inset); border: 0; border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 13.5px; resize: vertical; }
@media (max-width: 1000px) { .st-b4-buehne { grid-template-columns: 1fr; } }
.st-b4-mappen { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 14px; }
.st-b4-mappe { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; }
.st-b4-mappe .st-aktionen { margin-top: auto; justify-content: flex-start; }
.st-b4-m-kopf { display: flex; gap: 12px; align-items: center; }
.st-b4-m-kopf .st-b-perle { width: 34px; height: 34px; font-size: 12px; }
.st-b4-m-kopf div { display: grid; gap: 2px; }
.st-b4-m-kopf b { font-size: 16px; font-weight: 500; }
.st-b4-m-stand { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.st-b4-lauf { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 13px; color: var(--ink-2); }
.wb-meta-studio .pdot { background: var(--warn); }
@media (max-width: 900px) { .st-b2-ablauf-z { grid-template-columns: 26px 1fr auto; } .st-b2-ablauf-z input { grid-column: 2 / -1; } }
.st-b2-ablauf-z input { background: var(--surface); box-shadow: var(--inset); border: 0; border-radius: 12px; padding: 9px 12px; font: inherit; font-size: 14px; min-width: 0; }
.st-b2-ablauf-z .st-b2-nr { background: var(--pearl); color: #fff; box-shadow: none; }
.st-b2-vorschau { background: var(--night); color: var(--on-night); display: flex; flex-direction: column; gap: 12px; padding: 26px; }
.st-b2-vorschau .eyebrow { color: var(--night-mute); }
.st-b2-vorschau .klein { color: var(--night-mute); }
.st-b2-v-name { font: 400 26px/1.15 'Archivo', sans-serif; font-stretch: 125%; }
.st-b2-v-satz { margin: 0; color: var(--night-mute); font-size: 14px; }
.st-b2-v-fakten { display: flex; gap: 8px; flex-wrap: wrap; }
.st-b2-v-fakten span { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 3px 10px; font-size: 13px; }
.st-b2-v-ablauf { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: b2; display: flex; flex-direction: column; gap: 10px; }
.st-b2-v-ablauf li { counter-increment: b2; display: grid; grid-template-columns: 24px 1fr; gap: 2px 10px; font-size: 14px; }
.st-b2-v-ablauf li::before { content: counter(b2); grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; background: var(--pearl); color: #fff; display: grid; place-items: center; font: 500 10px 'Martian Mono', monospace; }
.st-b2-v-ablauf li span { color: var(--night-mute); font-size: 13px; }
.st-b2-texte { margin-top: 18px; }
.st-pill-ok { background: var(--ok-bg); color: var(--ok); }
.st-tk-leiste { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.st-tk-titel { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.st-tk-titel .wb-h { margin: 0; }
.st-tk-seg { align-self: flex-start; }
.st-tk-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.st-tk { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-radius: 18px; background: var(--canvas); min-width: 0; }
.st-tk.breit { grid-column: 1 / -1; }
.st-tk-kopf { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 30px; }
.st-tk-knoepfe { display: flex; gap: 4px; }
.st-tk-text p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.6; }
.st-tk-text p:last-child { margin-bottom: 0; }
.st-tk-post .st-tk-text { max-width: 420px; }
.st-tk-kasten { background: var(--surface); box-shadow: var(--inset); }
.st-tk-dunkel { background: var(--night); color: var(--on-night); }
.st-tk-dunkel .eyebrow { color: var(--night-mute); }
.st-tk-dunkel .btn-ghost { color: var(--on-night); }
.st-tk-ablauf { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.st-tk-ablauf li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.st-tk-ablauf b { display: block; margin: 3px 0 2px; }
.st-tk-ablauf p { color: var(--ink-2); }
.st-tk-nr { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--pearl); color: #fff; font: 500 11px 'Martian Mono', monospace; }
.st-tk-faq { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.st-tk-faq div { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.st-tk-faq div:last-child { border-bottom: 0; padding-bottom: 0; }
.st-tk-faq dt { font-weight: 500; margin-bottom: 2px; }
.st-tk-faq dd { margin: 0; }
.st-tk-faq dd p { color: var(--ink-2); }
.st-tk-team td { font-size: 14px; vertical-align: top; }
.st-tk-form { display: flex; flex-direction: column; gap: 8px; }
.st-tk-feld { width: 100%; box-sizing: border-box; background: var(--surface); box-shadow: var(--inset); border: 0; border-radius: 12px; padding: 9px 12px; font: inherit; font-size: 14px; line-height: 1.5; resize: none; overflow: hidden; color: var(--ink); }
.st-tk-dunkel .st-tk-feld { color: var(--ink); }
.st-tk-label { font-size: 13px; font-weight: 500; color: var(--ink-2); margin-top: 4px; }
.st-tk-teamzeile { display: grid; grid-template-columns: minmax(120px, 200px) 96px minmax(0, 1fr); gap: 10px; align-items: start; }
.st-tk.bearbeiten { outline: 2px solid var(--focus); outline-offset: -2px; }
@media (max-width: 1000px) { .st-tk-raster { grid-template-columns: 1fr; } .st-tk-teamzeile { grid-template-columns: 1fr; } }
.st-umzug { display: grid; gap: 10px; justify-items: start; }
@media (max-width: 900px) { .st-bausteine, .st-schalter { grid-template-columns: 1fr; } .st-lz { grid-template-columns: 1fr; } }
.st-label-zeile { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.st-label-zeile label { margin: 0; }
.st-ki { gap: 8px; }
.st-ki .bx-perle { width: 18px; height: 18px; }
.st-ki-wunsch { margin-top: 8px; width: 100%; background: var(--well); box-shadow: var(--inset); border: 0; border-radius: 12px; padding: 8px 12px; font: inherit; font-size: 13px; color: var(--ink); }
.st-plan-hinweis { margin: 4px 4px -8px; color: var(--mute); }
.st-wo-lesen { display: grid; grid-template-columns: 108px minmax(0, 1fr) 28px; gap: 12px; align-items: start; padding: 12px 10px; margin: 0 -10px; border-top: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: background .2s var(--ease); }
.st-wo-lesen:hover, .st-wo-lesen:focus-visible { background: var(--canvas); outline: none; }
.st-wo-lesen .st-w-label { padding-top: 3px; }
.st-stift { opacity: 0; color: var(--ink-2); transition: opacity .2s var(--ease); padding-top: 2px; }
.st-wo-lesen:hover .st-stift, .st-wo-lesen:focus-visible .st-stift { opacity: 1; }
.st-l { display: grid; grid-template-columns: minmax(0, 1fr) 44px 96px; gap: 10px; align-items: baseline; padding: 2px 0; font-size: 15px; }
.st-l-name { font-weight: 600; min-width: 0; }
.st-l-name small { display: block; font-weight: 400; font-size: 12px; color: var(--mute); }
.st-l-addon { font-size: 13px; color: var(--ink-2); }
.st-l-addon .st-l-name { font-weight: 400; padding-left: 14px; }
.st-l-begleit .st-l-name { font-weight: 500; }
.st-l-anz, .st-l-preis { text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.st-inkl, .st-tag { font: 400 10px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.st-tag { border: 1px solid var(--line-strong); border-radius: 999px; padding: 1px 7px; margin-left: 6px; vertical-align: 1px; white-space: nowrap; }
.st-regen-lesen { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; padding-top: 1px; }
.st-wo-frei .st-w-label { color: var(--mute); }
.st-wo-offen { display: flex; flex-direction: column; gap: 8px; padding: 12px; margin: 8px -4px; border-radius: 18px; background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line-strong); }
.st-wo-offen-kopf { display: flex; justify-content: space-between; align-items: center; }
.st-wo-offen .st-gruppe { background: var(--surface); }
.st-wo-plus { display: flex; gap: 8px; flex-wrap: wrap; }
.st-lose { box-shadow: inset 0 0 0 1.5px var(--warn); }
.st-lose .st-w-label { color: var(--warn); }
@media (max-width: 800px) { .st-wo-lesen { grid-template-columns: 1fr 24px; } .st-wo-lesen .st-w-label { grid-column: 1 / -1; } .st-l { grid-template-columns: minmax(0, 1fr) 36px 80px; } }
@media (max-width: 800px) {
  .st-wo, .st-begleit { grid-template-columns: 1fr; gap: 4px; }
  .st-zeile, .st-z-addon { grid-template-columns: minmax(0, 1fr) 74px 36px; }
  .st-zeile [data-f="notiz"], .st-zeile .st-woche, .st-zeile > span:empty { grid-column: 1 / -1; }
  .st-plus { display: none; }
}
.st-produkte { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.st-preis-gross { font-family: 'Archivo', sans-serif; font-stretch: 125%; font-weight: 250; font-size: 40px; letter-spacing: -.02em; font-feature-settings: "tnum"; line-height: 1; }
.st-preis-zeilen { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; background: var(--well); box-shadow: var(--inset); border-radius: var(--r-input); padding: 12px 14px; font-size: 14px; }
.st-preis-zeilen b { font-weight: 500; font-variant-numeric: tabular-nums; }
.st-raten { display: flex; gap: 8px; flex-wrap: wrap; }
.st-rate { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh); font-size: 13px; cursor: pointer; }
.st-rate input { accent-color: var(--ink); width: 15px; height: 15px; margin: 0; }
.feld .st-rate { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 400; }
.st-preiskarte .feld > input[name] { margin-top: 8px; }
.st-ampelkarte { display: flex; flex-direction: column; gap: 8px; }
.st-ampel-zahl { font-family: 'Archivo', sans-serif; font-stretch: 125%; font-weight: 250; font-size: 34px; font-feature-settings: "tnum"; }
.st-ampel-rot .st-ampel-zahl { color: var(--bad); }
.st-pruef { margin: 0; padding: 12px 14px 12px 30px; border-radius: var(--r-input); background: var(--warn-bg); color: var(--warn); font-size: 13px; display: flex; flex-direction: column; gap: 4px; }
.st-pruef li.fehler { color: var(--bad); }
/* Fotos: Upload im Kit-Stil (Orbit beim Ziehen und Laden, Perle, Kamera-Planet) */
.fs-fo-kat { position: relative; isolation: isolate; }
.fs-fo-kat::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 24px; opacity: 0; transition: opacity .3s var(--ease);
  background: conic-gradient(from var(--a, 0deg), transparent 0 50%, #FD3493 72%, #A02CC0 84%, #4B3BFF 94%, transparent); animation: spin 2.2s linear infinite; }
.fs-fo-kat.drueber::before { opacity: 1; }
.fs-fo-kat.drueber { border-color: transparent; background: var(--surface); transform: scale(1.01); }
.fs-fo-kat { transition: transform .45s var(--spring), background .2s, border-color .2s; }
.fs-fo-leer { display: grid; justify-items: center; gap: 6px; padding: 24px 16px; border-radius: 18px; text-align: center; cursor: pointer; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: transform .3s var(--ease), box-shadow .3s; }
.fs-fo-leer[hidden] { display: none; }
.fs-fo-leer:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--ind-lite), var(--sh); }
.fs-fo-leer img { width: 44px; height: 44px; margin-bottom: 4px; transition: transform .45s var(--spring); }
.fs-fo-leer:hover img { transform: scale(1.08) rotate(-6deg); }
.fs-fo-leer b { font: 600 14.5px 'Archivo', sans-serif; }
.fs-fo-leer span { font-size: 12.5px; color: var(--mute); }
.fs-fo-bilder[hidden] { display: none; }
.fs-fo-plus { box-shadow: none; background: var(--surface); border: 1.5px dashed var(--line-strong); gap: 8px; font-weight: 500; }
.fs-fo-plus:hover { border-color: var(--ind-lite); }
.fs-fo-perle { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--pearl); color: #fff; box-shadow: inset -2px -3px 6px rgba(0,0,0,.3), inset 2px 2px 4px rgba(255,255,255,.35); transition: transform .45s var(--spring); }
.fs-fo-plus:hover .fs-fo-perle { transform: rotate(90deg) scale(1.08); }
.fs-fo-bild { isolation: isolate; }
.fs-fo-bild.laedt img { opacity: .55; filter: saturate(.6); }
.fs-fo-bild.laedt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--a, 0deg), transparent 0 50%, #FD3493 72%, #A02CC0 84%, #4B3BFF 94%, transparent); animation: spin 1.4s linear infinite;
  -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 exclude, linear-gradient(#000 0 0); }
.fs-fo-bild.fertig img { animation: fs-fo-da .6s var(--spring); }
@keyframes fs-fo-da { from { transform: scale(.92); opacity: .6; } to { transform: none; opacity: 1; } }
.fs-fo-bild.fehler { box-shadow: 0 0 0 2px var(--bad); }
.fs-fo-bild.fehler img { opacity: .4; }
@media (prefers-reduced-motion: reduce) { .fs-fo-kat::before, .fs-fo-bild.laedt::after { animation: none; } }
.fs-fo-kat::before { inset: -2px; padding: 2px; -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 exclude, linear-gradient(#000 0 0); }
/* Angebot und Preise im Kit-Stil (Wunsch Corinna 2026-11-16) */
.fs-ang-elisa { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 16px; padding: 22px 24px; border-radius: 24px; color: var(--on-night); background: var(--night) url('/img/nebel-dunkel.jpg') center / cover; box-shadow: var(--sh), inset 0 0 0 1px var(--night-line); }
.fs-ang-elisa .fs-live-schein { width: 260px; height: 260px; filter: blur(60px); }
.fs-ang-elisa .fs-live-schein.eins { left: -100px; top: -140px; } .fs-ang-elisa .fs-live-schein.zwei { right: -120px; bottom: -160px; }
.fs-ang-elisa-kopf { display: flex; align-items: center; gap: 16px; }
.fs-ang-elisa-kopf > div:nth-child(2) { flex: 1; display: grid; gap: 4px; }
.fs-ang-elisa-kopf p { margin: 0; color: var(--night-mute); font-size: 14.5px; line-height: 1.5; } .fs-ang-elisa-kopf p b { color: var(--on-night); }
.fs-ang-elisa .fs-ang-v { background: rgba(255,255,255,.08); color: var(--on-night); box-shadow: inset 0 0 0 1px var(--night-line); padding-left: 5px; height: 40px; }
.fs-ang-elisa .fs-ang-v:hover { background: rgba(255,255,255,.16); }
.fs-ang-elisa .fs-ang-v em { color: var(--night-mute); }
.fs-ang-elisa .fs-fo-perle { width: 30px; height: 30px; font-size: 14px; }
.fs-ang-sig { position: relative; overflow: hidden; display: grid; gap: 6px; padding: 22px 26px 22px 30px; border-radius: 22px; background: var(--surface); box-shadow: var(--sh); }
.fs-ang-sig::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.fs-ang-sig .eyebrow { margin: 0; }
.fs-ang-sig-zeile { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fs-ang-sig-zeile b { font: 300 26px/1.15 'Archivo', sans-serif; font-stretch: 125%; letter-spacing: -.02em; text-transform: uppercase; }
.fs-ang-sig-preis { font: 200 40px/1 'Archivo', sans-serif; font-stretch: 125%; letter-spacing: -.03em; font-feature-settings: "tnum"; }
.fs-ang-tipp { display: flex; gap: 8px; align-items: center; margin: 0; color: var(--ink-2); font-size: 14px; }
.fs-ang-leer { display: grid; justify-items: center; gap: 6px; padding: 30px 16px; text-align: center; border-radius: 20px; background: var(--well); box-shadow: var(--inset); }
.fs-ang-leer img { width: 46px; height: 46px; margin-bottom: 4px; }
.fs-ang-leer b { font: 600 15px 'Archivo', sans-serif; } .fs-ang-leer span { font-size: 13.5px; color: var(--mute); }
.fs-ang-ok em { font-style: normal; font-size: 13.5px; min-width: 42px; }
.fs-ang-ok .fs-ang-schalter { position: relative; width: 42px; height: 24px; border-radius: 999px; background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); transition: background .3s var(--ease); }
.fs-ang-ok .fs-ang-schalter::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); box-shadow: var(--sh); transition: transform .45s var(--spring); border: 0; transform: none; }
.fs-ang-ok input:checked + .fs-ang-schalter { background: var(--glaze); box-shadow: none; }
.fs-ang-ok input:checked + .fs-ang-schalter::after { transform: translateX(18px); background: var(--pearl); width: 18px; height: 18px; border: 0; }
.fs-ang-ok input:not(:checked) ~ em { color: var(--warn); font-weight: 600; }
.fs-ang.offen { box-shadow: var(--sh), inset 3px 0 0 var(--warn); }
.fs-ang.offen .fs-ang-preis input { color: var(--warn); }
/* ---------- Stimme kalibrieren (Team und ORBIT) ---------- */
.fs-st-reihe { display: flex; gap: 14px; flex-wrap: wrap; padding-left: 48px; }
.fs-st-gruppe { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line); }
.fs-st-pille { height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font: 500 15px 'Archivo', sans-serif; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .25s var(--ease), color .2s; }
.fs-st-pille.an { background: var(--surface); color: var(--ink); box-shadow: var(--sh); }
.fs-st-pille.an::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--pearl); }
.fs-st-wuerze { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-left: 48px; }
.fs-st-w { display: grid; gap: 6px; justify-items: center; padding: 16px 10px; border: 0; border-radius: 18px; background: var(--well); box-shadow: var(--inset); cursor: pointer; color: var(--ink-2); transition: transform .3s var(--spring), background .2s; }
.fs-st-w b { font: 600 14.5px 'Archivo', sans-serif; }
.fs-st-chili { font-size: 10px; letter-spacing: 3px; color: var(--mute); }
.fs-st-w.an { background: var(--surface); box-shadow: var(--sh), inset 0 0 0 1.5px var(--ind-lite); color: var(--ink); transform: translateY(-2px); }
.fs-st-w.an .fs-st-chili { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fs-st-beispiel { margin: 0 0 0 48px; padding: 14px 18px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: 400 16px/1.5 'Archivo', sans-serif; color: var(--ink); }
.fs-st-paare { display: grid; gap: 18px; padding-left: 48px; }
.fs-st-paar { display: grid; gap: 10px; }
.fs-st-frage { display: flex; gap: 10px; align-items: center; font: 600 14.5px 'Archivo', sans-serif; }
.fs-st-frage i { font: normal 400 11px 'Martian Mono', monospace; color: var(--mute); }
.fs-st-wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fs-st-satz { position: relative; display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 16px 18px; border: 0; border-radius: 18px; background: var(--well); box-shadow: var(--inset); font: 400 15px/1.5 'Archivo', sans-serif; color: var(--ink-2); cursor: pointer; transition: background .25s var(--ease), transform .3s var(--spring); }
.fs-st-satz:hover { transform: translateY(-1px); }
.fs-st-ab { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 400 11px 'Martian Mono', monospace; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); }
.fs-st-satz.an { background: var(--surface); color: var(--ink); box-shadow: var(--sh), inset 0 0 0 1.5px var(--ind-lite); }
.fs-st-satz.an .fs-st-ab { background: var(--pearl); color: #fff; box-shadow: none; }
.fs-st-emojis { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 48px; }
.fs-st-emo { width: 48px; height: 48px; border: 0; border-radius: 50%; font-size: 22px; background: var(--well); box-shadow: var(--inset); cursor: pointer; filter: grayscale(.7); opacity: .7; transition: transform .35s var(--spring), filter .2s, opacity .2s; }
.fs-st-emo.an { background: var(--surface); box-shadow: var(--sh), inset 0 0 0 1.5px var(--ind-lite); filter: none; opacity: 1; transform: scale(1.06); }
.fs-st-proben { display: grid; gap: 10px; padding-left: 48px; }
.fs-st-probe { width: 100%; box-sizing: border-box; padding: 14px 16px; border: 0; border-radius: var(--r-control); background: var(--well); box-shadow: var(--inset), inset 0 0 0 1px var(--line-strong); font: 400 15px/1.55 'Archivo', sans-serif; color: var(--ink); resize: vertical; outline: 0; }
.fs-st-probe:focus { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(75,59,255,.14); }
.fs-st-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fs-st-tags span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; color: var(--on-night); background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px var(--night-line); }
.fs-st-tags span.leer { color: var(--night-mute); }
@media (max-width: 1100px) { .fs-st-reihe, .fs-st-wuerze, .fs-st-paare, .fs-st-emojis, .fs-st-proben, .fs-st-beispiel { padding-left: 0; margin-left: 0; } .fs-st-wahl { grid-template-columns: 1fr; } .fs-st-wuerze { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Look: Vorschau links (bleibt stehen), Schritte rechts (public/content/einrichtung.js lookSeite) ---------- */
.w.fs-lk { padding: 36px 40px; display: grid; gap: 22px; }
.fs-lk-hinweis { display: flex; gap: 14px; align-items: center; padding: 16px 20px; border-radius: 20px; background: var(--well); box-shadow: var(--inset); }
.fs-lk-hinweis div { display: grid; gap: 2px; }
.fs-lk-hinweis b { font: 600 15px 'Archivo', sans-serif; }
.fs-lk-hinweis span { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.fs-lk-werk { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; }
.fs-lk-links { position: sticky; top: 20px; display: grid; gap: 16px; }
.fs-lk-handy { justify-self: center; display: flex; flex-direction: column; width: 100%; max-width: 330px; aspect-ratio: 9 / 19.5; margin: 12px 0; border-radius: 48px; background: #fff; box-shadow: 0 0 0 11px #16141c, 0 0 0 12.5px #34303d, 0 34px 70px -24px rgba(40,25,70,.5); overflow: hidden; }
.fs-lk-ig-status { position: relative; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 26px 0 30px; font: 600 14px -apple-system, 'Helvetica Neue', Arial, sans-serif; color: #111; }
.fs-lk-ig-insel { position: absolute; left: 50%; top: 11px; width: 92px; height: 26px; margin-left: -46px; border-radius: 999px; background: #000; }
.fs-lk-ig-sym { display: flex; gap: 5px; }
.fs-lk-ig-sym svg { width: 17px; height: 13px; }
.fs-lk-ig-bar { display: grid; grid-template-columns: 30px 1fr 30px; align-items: center; height: 38px; padding: 0 10px; font: 600 15px -apple-system, 'Helvetica Neue', Arial, sans-serif; color: #111; text-align: center; }
.fs-lk-ig-bar span:first-child { font-size: 28px; line-height: 1; font-weight: 300; text-align: left; }
.fs-lk-ig-nav { display: flex; justify-content: space-around; align-items: center; margin-top: auto; height: 62px; padding-bottom: 12px; border-top: 1px solid #eee; }
.fs-lk-ig-nav svg { width: 25px; height: 25px; fill: none; stroke: #111; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.fs-lk-ig-ich { width: 25px; height: 25px; border-radius: 50%; }
.fs-lk-ig-kopf { display: flex; align-items: center; gap: 9px; padding: 4px 12px 8px; }
.fs-lk-ig-av { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: 600 14px 'Archivo', sans-serif; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #d62976; }
.fs-lk-ig-name { display: grid; line-height: 1.2; min-width: 0; }
.fs-lk-ig-name b { font: 600 13.5px -apple-system, 'Helvetica Neue', Arial, sans-serif; color: #111; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-lk-ig-name small { font: 400 11.5px -apple-system, 'Helvetica Neue', Arial, sans-serif; color: #555; }
.fs-lk-ig-mehr { margin-left: auto; color: #111; font-weight: 700; letter-spacing: 1px; }
.fs-lk-ig-zahl { position: absolute; top: 12px; right: 12px; z-index: 3; padding: 4px 9px; border-radius: 999px; background: rgba(18,18,18,.7); color: #fff; font: 500 12px -apple-system, 'Helvetica Neue', Arial, sans-serif; }
.fs-lk-ig-leiste { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 9px 12px 2px; }
.fs-lk-ig-icons { display: flex; gap: 14px; }
.fs-lk-ig-icons.rechts { justify-content: flex-end; }
.fs-lk-ig-icons svg { width: 22px; height: 22px; fill: none; stroke: #111; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.fs-lk-ig-text { margin: 6px 12px 0; font: 400 12.5px/1.4 -apple-system, 'Helvetica Neue', Arial, sans-serif; color: #111; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fs-lk-ig-text b { font-weight: 600; }
.fs-lk-karussell { position: relative; width: 100%; }
.fs-lk-handy .fs-zaehler, .fs-lk-handy .fs-wischen { display: none; }
.fs-lk-ig-av { overflow: hidden; }
.fs-lk-ig-av img { width: 78%; height: 78%; object-fit: contain; }
.fs-lk-stil { position: relative; }
.fs-lk-empf { position: absolute; top: 18px; left: 18px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font: 600 11.5px 'Archivo', sans-serif; box-shadow: var(--sh); }
.fs-lk-aa.stern { background: var(--surface); box-shadow: var(--sh); }
.fs-lk-aa.stern img { width: 30px; height: 30px; }
.fs-lk-gross { display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.fs-lk-gross::-webkit-scrollbar { display: none; }
.fs-lk-gross .fs-lk-folie { flex: 0 0 94%; scroll-snap-align: start; border-radius: 0; box-shadow: none; }
.fs-lk-gross .fs-lk-folie:last-child { margin-right: 6%; }
.fs-lk-pfeil { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -16px; border: 0; border-radius: 50%; background: rgba(252,251,252,.92); color: var(--ink); box-shadow: var(--sh); cursor: pointer; }
.fs-lk-pfeil.links { left: 8px; } .fs-lk-pfeil.rechts { right: 8px; }
.fs-lk-pfeil[hidden] { display: none; }
.fs-lk-punkte { display: flex; justify-content: center; gap: 5px; }
.fs-lk-punkte button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: var(--line-strong); opacity: .35; cursor: pointer; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.fs-lk-punkte button.an { opacity: 1; background: #0095f6; transform: none; }
.fs-lk-folie { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--sh); }
.fs-lk-folie .fs-buehne { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.fs-lk-aktion { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 22px; background: var(--well); box-shadow: var(--inset); }
.fs-lk-zurueck { display: flex; flex-wrap: wrap; gap: 6px; }
.fs-lk-texte { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.fs-lk-texte > .ic { flex: none; }
.fs-lk-texte span:not(.ic) { flex: 1 1 220px; }
.fs-lk .fs-sd-weiter { height: 50px; font-size: 15px; }
.fs-lk-link { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: var(--sh); color: var(--ink); font: 500 13.5px 'Archivo', sans-serif; cursor: pointer; }
.fs-lk-link.laedt { opacity: .6; cursor: progress; }
.fs-lk-ok { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font: 600 14px 'Archivo', sans-serif; }
.fs-lk-rechts { display: grid; gap: 18px; align-content: start; }
.fs-lk-schritte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 6px; border-radius: 22px; background: var(--well); box-shadow: var(--inset); }
.fs-lk-schritte button { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border: 0; border-radius: 16px; background: transparent; color: var(--ink-2); font: inherit; text-align: left; cursor: pointer; transition: background .35s var(--ease), box-shadow .35s var(--ease); }
.fs-lk-schritte button.an { background: var(--surface); box-shadow: var(--sh); color: var(--ink); }
.fs-lk-schritte b { display: block; font: 600 14px 'Archivo', sans-serif; }
.fs-lk-schritte small { display: block; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-lk-schritte span:last-child { min-width: 0; }
.fs-lk-nr { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); font: 500 13px 'Archivo', sans-serif; }
.fs-lk-schritte button.an .fs-lk-nr { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.fs-lk-panel { display: grid; gap: 16px; min-height: 360px; align-content: start; }
.fs-lk-erkl { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.fs-lk-erkl b { color: var(--ink); }
.fs-lk-panel-fuss { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.fs-lk-weiter { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: var(--on-ink); font: 600 14.5px 'Archivo', sans-serif; cursor: pointer; }
.fs-lk-stile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fs-lk-stil, .fs-lk-paar, .fs-lk-logo, .fs-lk-farbe { border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease); }
.fs-lk-stil { display: grid; gap: 10px; padding: 10px; border-radius: 22px; background: var(--well); box-shadow: var(--inset); }
.fs-lk-stil:hover, .fs-lk-paar:hover, .fs-lk-logo:hover { transform: translateY(-2px); }
.fs-lk-stil.an, .fs-lk-paar.an, .fs-lk-logo.an { background: var(--surface); box-shadow: var(--sh), inset 0 0 0 2px var(--ind-lite); }
.fs-lk-stil-text, .fs-lk-paar-text { display: grid; gap: 2px; padding: 0 4px 4px; }
.fs-lk-stil-text b, .fs-lk-paar-text b { font: 600 14.5px 'Archivo', sans-serif; }
.fs-lk-stil-text span, .fs-lk-paar-text span { font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.fs-lk-paar-text em { justify-self: start; font-style: normal; padding: 2px 9px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font: 600 11.5px 'Archivo', sans-serif; }
.fs-lk-jetzt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; background: var(--well); box-shadow: var(--inset); }
.fs-lk-jetzt > i { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.fs-lk-jetzt div { display: grid; gap: 2px; }
.fs-lk-jetzt b { font: 600 15px 'Archivo', sans-serif; }
.fs-lk-jetzt div span { font-size: 13px; color: var(--ink-2); }
.fs-lk-mix { display: flex; margin-left: auto; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.fs-lk-mix i { width: 34px; height: 34px; }
.fs-lk-gruppe { display: grid; gap: 8px; }
.fs-lk-teilkopf { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.fs-lk-teilkopf b { font: 600 15px 'Archivo', sans-serif; }
.fs-lk-teilkopf span:not(.fs-lk-nr) { font-size: 13px; color: var(--ink-2); }
.fs-lk-nr.klein { width: 24px; height: 24px; font-size: 12px; }
.fs-lk-begleit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fs-lk-kombi { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border: 0; border-radius: 18px; background: var(--surface); box-shadow: var(--sh); font: inherit; color: inherit; text-align: left; cursor: pointer; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.fs-lk-kombi:hover { transform: translateY(-2px); }
.fs-lk-kombi.an { box-shadow: var(--sh), inset 0 0 0 2px var(--ind-lite); }
.fs-lk-kombi-farben { flex: none; display: flex; }
.fs-lk-kombi-farben i { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface), inset 0 0 0 1px rgba(0,0,0,.08); }
.fs-lk-kombi-farben i + i { margin-left: -10px; }
.fs-lk-kombi b { display: block; font: 600 14px 'Archivo', sans-serif; }
.fs-lk-kombi small { display: block; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.fs-lk-aa { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; font-size: 30px; line-height: 1; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.fs-lk-suche { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 999px; background: var(--surface); box-shadow: var(--inset); color: var(--ink-2); }
.fs-lk-suche input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 15px 'Archivo', sans-serif; color: var(--ink); }
.fs-lk-schriftliste { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.fs-lk-schriftliste[data-liste]:not(:empty) { max-height: 420px; overflow-y: auto; padding: 4px 6px 8px 2px; }
.fs-lk-voll { grid-column: 1 / -1; margin-top: 6px; }
.fs-lk-schrift { display: grid; gap: 4px; padding: 12px 14px; border: 0; border-radius: 16px; background: var(--surface); box-shadow: var(--sh); font: inherit; color: var(--ink); text-align: left; cursor: pointer; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.fs-lk-schrift:hover { transform: translateY(-2px); }
.fs-lk-schrift.an { box-shadow: var(--sh), inset 0 0 0 2px var(--ind-lite); }
.fs-lk-schrift span { font-size: 22px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-lk-schrift:not(.hand)[data-lauf] span { font-size: 15px; white-space: normal; }
.fs-lk-schrift.hand span { font-size: 26px; }
.fs-lk-schrift small { font-size: 12px; color: var(--ink-2); }
.fs-lk-schrift[hidden] { display: none; }
.fs-lk-mehr { align-self: center; justify-self: start; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 500 13.5px 'Archivo', sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fs-lk-rueck { justify-self: center; }
.fs-lk-abweichung { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 10px 10px 10px 16px; border-radius: 16px; background: var(--warn-bg); color: var(--warn); font-size: 14px; }
.fs-lk-jetzt .fs-lk-kombi-farben { flex: none; }
.fs-lk-label { font: 500 13px 'Archivo', sans-serif; color: var(--ink-2); }
.fs-lk-farben { display: flex; flex-wrap: wrap; gap: 8px; }
.fs-lk-farbe { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 7px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh); font-size: 14px; }
.fs-lk-farbe i { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.fs-lk-farbe.an { box-shadow: var(--sh), inset 0 0 0 2px var(--ind-lite); }
.fs-lk-eigen { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px 0 7px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh); font-size: 14px; cursor: pointer; justify-self: start; }
.fs-lk-eigen input { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.fs-lk-eigen input::-webkit-color-swatch-wrapper { padding: 0; } .fs-lk-eigen input::-webkit-color-swatch { border: 0; border-radius: 50%; }
.fs-lk-paare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fs-lk-paar { display: grid; gap: 8px; align-content: start; padding: 8px; border-radius: 20px; background: var(--well); box-shadow: var(--inset); }
.fs-lk-probe { display: grid; gap: 4px; padding: 16px 16px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.fs-lk-probe-d { font-size: 27px; line-height: 1.05; letter-spacing: -.01em; }
.fs-lk-probe-a { font-size: 30px; line-height: 1.05; -webkit-text-stroke: .3px currentColor; }
.fs-lk-probe-t { font-size: 13px; line-height: 1.4; opacity: .8; }
.fs-lk-logos { display: flex; flex-wrap: wrap; gap: 10px; }
.fs-lk-logo { display: grid; place-items: center; gap: 4px; width: 150px; height: 92px; padding: 14px; border-radius: 20px; background: var(--well); box-shadow: var(--inset); font-size: 13.5px; color: var(--ink-2); }
.fs-lk-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fs-lk-logo.neu { cursor: pointer; background: var(--surface); box-shadow: var(--sh); color: var(--ink); }
@media (max-width: 1250px) { .fs-lk-schritte small { display: none; } }
@media (max-width: 1050px) { .fs-lk-werk { grid-template-columns: 1fr; } .fs-lk-links { position: static; } .w.fs-lk { padding: 24px 18px; } }
@media (max-width: 640px) { .fs-lk-stile, .fs-lk-paare, .fs-lk-schritte { grid-template-columns: 1fr 1fr; } }

/* Feed-Studio: Kennzeichnung DFY (Team macht den Content) oder Selbst (Studio nutzt CONTENT) */
.fs-dfy { display: inline-flex; width: fit-content; justify-self: start; align-items: center; height: 20px; padding: 0 8px; margin-left: 6px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font: 600 11px 'Archivo', sans-serif; letter-spacing: .04em; vertical-align: 2px; }
.fs-dfy.selbst { background: var(--ok-bg); color: var(--ok); }

/* Feed-Studio: Zur Freigabe (Dialog) und Handy in der Freigabe */
.fs-fg-liste { display: grid; gap: 4px; max-height: 320px; overflow-y: auto; margin-top: 10px; }
.fs-fg-zeile { display: grid; grid-template-columns: 70px 1fr auto; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--well); font-size: 14px; opacity: .6; }
.fs-fg-zeile.neu { opacity: 1; background: var(--surface); box-shadow: var(--sh); }
.fs-fg-datum { color: var(--ink-2); font-size: 13px; }
.fs-fg-stand { color: var(--ink-2); font-size: 12.5px; }
.fb-beitrag { display: grid; justify-items: center; padding: 10px 0 24px; }
.fb-beitrag .fs-lk-handy { width: 340px; max-width: 100%; }

.fs-fg-wunsch { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 12px; padding: 12px 12px 12px 18px; border-radius: 18px; background: var(--warn-bg); color: var(--warn); font-size: 14.5px; line-height: 1.45; }
.fs-fg-hinweis { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; }

.wb-meta-warn .pdot { background: var(--warn); }
.wb-meta-warn { color: var(--warn); }

/* ---------- Freigabe-Mappe für Feed-Beiträge (public/feed/mappe.js): Feed, Handy, Einzeln ---------- */
.fs-lk-handy .fs-gesperrt::before, .fm-kunde .fs-gesperrt::before { display: none; }
.fm { display: grid; gap: 22px; }
.fm-kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.fm-kopf h1 { margin: 6px 0 6px; font: 300 clamp(32px, 4vw, 52px)/1 'Archivo', sans-serif; font-stretch: 125%; letter-spacing: -.03em; text-transform: uppercase; }
.fm-kopf p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.fm-kopf-rechts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.fm-schalter { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--well); box-shadow: var(--inset); }
.fm-schalter button { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 500 14px 'Archivo', sans-serif; cursor: pointer; transition: background .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease); }
.fm-schalter button.an { background: var(--surface); color: var(--ink); box-shadow: var(--sh); }
.fm svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fm-primaer { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 5px; border: 0; border-radius: 999px; background: var(--ink); color: var(--on-ink); font: 600 15px 'Archivo', sans-serif; cursor: pointer; text-decoration: none; }
.fm-primaer:disabled { opacity: .55; cursor: progress; }
.fm-perle { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pearl); color: #fff; box-shadow: inset -3px -4px 8px rgba(0,0,0,.35), inset 3px 3px 6px rgba(255,255,255,.35); }
.fm-sekundaer { display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--surface); color: var(--ink); box-shadow: var(--sh); font: 500 15px 'Archivo', sans-serif; cursor: pointer; text-decoration: none; }
.fm-rund { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: var(--sh); cursor: pointer; flex: none; }
.fm-rund:disabled { opacity: .35; cursor: default; }
.fm-rund.dunkel { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.fm-hinweis { margin: 0; padding: 10px 16px; border-radius: 14px; background: var(--well); color: var(--ink-2); font-size: 14px; }
.fm-stand { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: 600 12px 'Archivo', sans-serif; color: var(--ink-2); white-space: nowrap; }
.fm-stand i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.fm-stand.wartet i { background: var(--pearl); } .fm-stand.wartet { color: var(--ink); }
.fm-stand.ok { background: var(--ok-bg); color: var(--ok); box-shadow: none; } .fm-stand.ok i { background: var(--ok); }
.fm-stand.warn { background: var(--warn-bg); color: var(--warn); box-shadow: none; } .fm-stand.warn i { background: var(--warn); }
/* Feed */
.fm-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; max-width: 760px; margin: 0 auto; width: 100%; }
.fm-kachel { position: relative; display: grid; gap: 8px; padding: 0 0 10px; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.fm-kachel-bild { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--well); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.fm-kachel:hover .fm-kachel-bild { transform: translateY(-3px); box-shadow: var(--sh); }
.fm-kachel-info { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 2px; }
.fm-kachel-info b { font: 600 13.5px 'Archivo', sans-serif; }
.fm-mehrere { position: absolute; top: 10px; right: 10px; color: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.fm-schnell { position: absolute; left: 10px; top: 10px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--pearl); color: #fff; box-shadow: 0 6px 18px -6px rgba(17,0,158,.6); opacity: 0; transform: scale(.85); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.fm-kachel:hover .fm-schnell, .fm-kachel:focus-visible .fm-schnell { opacity: 1; transform: none; }
@media (hover: none) { .fm-schnell { opacity: 1; transform: none; } }
.fm-tipp { margin: 0; text-align: center; color: var(--ink-2); font-size: 14px; }
.fm-folie { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; }
.fm-folie .fs-buehne { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
/* Handy und Einzeln */
.fm-zwei { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.fm-handy { display: grid; justify-items: center; padding: 12px 0; }
.fm-handy .fs-lk-handy { width: 340px; max-width: 100%; }
.fm-folien { display: flex; gap: 12px; overflow-x: auto; padding: 6px 4px 14px; scroll-snap-type: x mandatory; }
.fm-folien .fm-folie { flex: 0 0 min(340px, 80%); border-radius: 14px; box-shadow: var(--sh); scroll-snap-align: start; }
/* Entscheidungs-Karte */
.fm-karte { position: sticky; top: 16px; display: grid; gap: 14px; padding: 22px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--sh); }
.fm-k-nav { display: flex; align-items: center; justify-content: space-between; color: var(--ink-2); font-size: 13.5px; }
.fm-k-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fm-k-kopf .eyebrow { margin: 0; }
.fm-karte h3 { margin: 0; font: 400 24px/1.15 'Archivo', sans-serif; font-stretch: 112%; letter-spacing: -.015em; }
.fm-format { margin: -8px 0 0; color: var(--ink-2); font-size: 14px; }
.fm-label { display: block; margin-bottom: 6px; font: 500 12px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.fm-caption { padding: 14px 16px; border-radius: 18px; background: var(--well); box-shadow: var(--inset); }
.fm-caption p { margin: 0; white-space: pre-wrap; font-size: 14.5px; line-height: 1.55; max-height: 220px; overflow-y: auto; }
.fm-wunsch { padding: 12px 16px; border-radius: 16px; background: var(--warn-bg); color: var(--warn); font-size: 14.5px; }
.fm-wunsch p { margin: 4px 0 0; color: var(--ink); }
.fm-erledigt { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ok); font-size: 14px; }
.fm-entscheid { display: flex; flex-wrap: wrap; gap: 10px; }
.fm-wunschform { display: grid; gap: 10px; }
.fm-wunschform textarea, .fm-eingabe textarea { width: 100%; border: 0; outline: 0; resize: none; font: 400 15px/1.5 'Archivo', sans-serif; color: var(--ink); background: transparent; }
.fm-wunschform textarea { padding: 14px 16px; border-radius: 18px; background: var(--well); box-shadow: var(--inset); }
.fm-wunschform > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.fm-kommentare { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.fm-blase { max-width: 88%; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: var(--well); }
.fm-blase.kunde { justify-self: end; border-radius: 18px 18px 6px 18px; background: rgba(75,59,255,.08); }
.fm-blase b { font: 600 13px 'Archivo', sans-serif; } .fm-blase span { margin-left: 8px; color: var(--ink-2); font-size: 12px; }
.fm-blase p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; }
.fm-leer { margin: 0; color: var(--ink-2); font-size: 14px; }
.fm-eingabe { display: flex; align-items: flex-end; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 26px; background: var(--well); box-shadow: var(--inset); }
.fm-eingabe textarea { padding: 9px 0; min-height: 22px; }
@media (max-width: 1100px) { .fm-zwei { grid-template-columns: 1fr; } .fm-karte { position: static; } }
@media (max-width: 600px) { .fm-schalter span { display: none; } .fm-raster { gap: 3px; } }
/* Interview mit Elisa zur Signature-Behandlung (public/strategie/signature-interview.js), Team und ORBIT */
.st-b2-weg li.laeuft .st-b2-nr { background: var(--pearl); color: #fff; box-shadow: none; }
.st-b2-interview { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.st-b2-interview:empty { display: none; }
.si-orbit { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 10px 16px; border-radius: 16px; background: var(--surface); box-shadow: var(--sh); }
.si-orbit-schalter { display: flex; gap: 8px; align-items: center; font-weight: 500; font-size: 14px; cursor: pointer; }
.si-vorschlag { display: flex; flex-direction: column; gap: 14px; }
.si-vorschlag p { margin: 0; line-height: 1.55; }
.si-v-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.si-v-raster > div { display: grid; gap: 6px; align-content: start; padding: 14px 16px; border-radius: 16px; background: var(--canvas); }
.si-v-liste { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-weight: 500; }
.si-v-ablauf { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: si; }
.si-v-ablauf li { counter-increment: si; display: grid; grid-template-columns: 26px 110px 1fr; gap: 4px 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.si-v-ablauf li::before { content: counter(si); width: 22px; height: 22px; border-radius: 50%; background: var(--pearl); color: #fff; display: grid; place-items: center; font: 500 10px 'Martian Mono', monospace; }
.si-v-ablauf li > span:last-child { grid-column: 3; color: var(--ink-2); font-size: 13px; }
.si-v-baustein { font: 400 10px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.si-v-hinweise { padding: 12px 16px; border-radius: 14px; background: var(--canvas); font-size: 14px; }
.si-v-hinweise.offen { background: var(--warn-bg); color: var(--warn); }
.si-v-hinweise ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.si-v-uebernehmen { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.si-v-namen { display: flex; flex-wrap: wrap; gap: 8px; }
.si-v-namen label { display: flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--canvas); cursor: pointer; font-size: 14px; }
@media (max-width: 900px) { .si-v-raster { grid-template-columns: 1fr; } .si-v-ablauf li { grid-template-columns: 26px 1fr; } .si-v-ablauf li > span:last-child, .si-v-ablauf li > b { grid-column: 2; } }

/* ---------- Feed-Planer: Standleiste, Wochenband, Liste nach Wochen (public/js/werkbank/feed.js planerReiter) ---------- */
.fp-stand { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 4px 0 16px; }
.fp-stand-k { display: grid; gap: 2px; justify-items: start; padding: 10px 12px; border: 0; border-radius: 16px; background: var(--well); box-shadow: var(--inset); color: var(--ink-2); font: inherit; text-align: left; cursor: pointer; transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.fp-stand-k:disabled { opacity: .5; cursor: default; }
.fp-stand-k b { font: 300 24px/1 'Archivo', sans-serif; font-stretch: 125%; color: var(--ink); }
.fp-stand-k span { font-size: 12.5px; }
.fp-stand-k i { width: 8px; height: 8px; border-radius: 50%; }
.fp-stand-k.an { background: var(--surface); box-shadow: var(--sh), inset 0 0 0 2px var(--ind-lite); }
.fp-stand-k.entwurf i, .fp-punkt.entwurf, .fp-kachel-stand.entwurf { background: var(--line-strong); }
.fp-stand-k.studio i, .fp-punkt.studio, .fp-kachel-stand.studio { background: var(--pearl); }
.fp-stand-k.aenderung i, .fp-punkt.aenderung, .fp-kachel-stand.aenderung { background: var(--warn); }
.fp-stand-k.frei i, .fp-punkt.frei, .fp-kachel-stand.frei { background: var(--ok); }
.fp-stand-k.live i, .fp-punkt.live, .fp-kachel-stand.live { background: var(--ink); }
.fp-band { display: grid; gap: 8px; margin-bottom: 18px; }
.fp-woche { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border-radius: 18px; background: var(--surface); box-shadow: var(--sh); }
.fp-woche.ohne { background: var(--well); box-shadow: var(--inset); }
.fp-woche-kopf { display: grid; gap: 2px; }
.fp-woche-kopf b { font: 600 14px 'Archivo', sans-serif; }
.fp-woche-kopf span { font-size: 12.5px; color: var(--ink-2); }
.fp-woche.ohne .fp-woche-kopf span { color: var(--warn); }
.fp-tage { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.fp-tag { display: grid; justify-items: center; align-content: start; gap: 4px; min-height: 48px; padding: 6px 0; border-radius: 12px; }
.fp-tag > span { display: grid; justify-items: center; font: 500 11px 'Archivo', sans-serif; color: var(--ink-2); line-height: 1.1; }
.fp-tag > span small { font-size: 12px; color: var(--ink); }
.fp-tag.heute { background: var(--ink); } .fp-tag.heute > span, .fp-tag.heute > span small { color: var(--on-ink); }
.fp-tag.vorbei { opacity: .45; }
.fp-punkt { display: block; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface); transition: transform .2s var(--ease); }
.fp-punkt:hover { transform: scale(1.35); }
.fp-gruppe { margin: 14px 0 6px; font: 500 12px 'Martian Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.fp-gruppe:first-child { margin-top: 0; }
.fp-leer { margin: 6px 0; color: var(--ink-2); font-size: 14px; }
.fp-kachel-stand { position: absolute; left: 6px; top: 6px; z-index: 3; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
@media (max-width: 1250px) { .fp-stand { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fp-woche { grid-template-columns: 1fr; } }

/* Feed-Planer: Instagram-Leiste unten im Handy (bleibt stehen), kurze Erklärung der Farben */
.ig-nav { position: sticky; bottom: 0; z-index: 30; display: flex; justify-content: space-around; align-items: center; height: 74px; padding: 0 18px 20px; background: #fff; border-top: 1px solid #eee; }
.ig-nav svg { width: 25px; height: 25px; fill: none; stroke: #111; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.ig-nav-ich { width: 25px; height: 25px; border-radius: 50%; background: #111; }
.fp-erkl { margin: 0 0 10px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.ig-raster .fs-kachel { isolation: isolate; overflow: hidden; }
.fs-handy-ig-schirm { display: flex; flex-direction: column; }
.fs-handy-ig-schirm > * { flex-shrink: 0; }
.ig-nav { margin-top: auto; }

/* Feed-Studio in ORBIT (DIY): Karten mit Innenabstand wie im Team, Standleiste mit drei Ständen */
.o-studio .fs-editor .w, .o-studio .fs-plan-karte { padding: 22px 24px; }
.fp-stand.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ig-nav { box-shadow: 0 40px 0 #fff; }

/* Feed-Studio in ORBIT, Lese-Modus (DFY): Beitrag ansehen, Hinweis auf wartende Freigaben */
.fs-lesen { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 16px; }
.fs-lesen .fs-lk-handy { width: 340px; max-width: 100%; }
.fs-lesen-karte { display: grid; gap: 12px; padding: 24px; }
.fs-lesen-karte h2 { margin: 0; font: 400 26px/1.15 'Archivo', sans-serif; font-stretch: 112%; }
.fs-lesen-caption { padding: 14px 16px; border-radius: 18px; background: var(--well); box-shadow: var(--inset); }
.fs-lesen-caption p { margin: 6px 0 0; white-space: pre-wrap; font-size: 14.5px; line-height: 1.55; }
.fs-lesen-wartet { margin-bottom: 18px; }
@media (max-width: 1000px) { .fs-lesen { grid-template-columns: 1fr; justify-items: center; } }
.o-studio .fs-aw-kopf, .o-studio .fs-aw-ki, .o-studio .fs-aw-raster-karte, .o-studio .fs-aw-details { padding: 22px 24px; }

/* Einstellungen: HighLevel-Zuordnung der Studios */
.hl-zuordnung { display: grid; gap: 0; margin-top: 12px; }
.hl-zeile { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 8px 12px; align-items: center; font-size: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.hl-zeile > .hl-name { grid-column: 1 / -1; font-weight: 600; overflow-wrap: anywhere; }
.hl-zeile select { width: 100%; min-width: 0; }
.hl-zeile .btn { width: 100%; justify-content: center; }
.hl-ig { display: block; font-weight: 400; margin-top: 2px; }
@media (max-width: 480px) { .hl-zeile { grid-template-columns: 1fr; } }
i.ri-instagram-line::before { --bx-src: url('/icons/instagram-inaktiv.svg'); }
.hl-zeile select { height: 40px; border: 0; border-radius: 12px; padding: 0 12px; background: var(--well); box-shadow: var(--inset); font: inherit; }
.fs-fg-hinweis.fs-warn { color: var(--warn); }

/* Call-Nachbericht in der Schaltzentrale (public/js/ansichten/nachbericht.js) */
.nb-hinweis { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.nb-ab .l { margin-bottom: 8px; }
.nb-ab p { margin: 0; line-height: 1.6; max-width: 80ch; }
.nb-liste { margin: 0; padding-left: 20px; display: grid; gap: 6px; line-height: 1.5; }
.nb-haken { list-style: none; padding-left: 0; }
.nb-haken li { position: relative; padding-left: 26px; }
.nb-haken li::before { content: ''; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border: 1.4px solid var(--ink); border-radius: 5px; }
.nb-zeile { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.nb-zeile input { flex: 1 1 0; min-width: 0; background: var(--surface); box-shadow: var(--inset); border: 0; border-radius: 12px; padding: 9px 12px; font: inherit; font-size: 14px; color: var(--ink); }
.nb-zeile input:focus { outline: 2px solid var(--pearl); outline-offset: 1px; }
.nb-zeile input[type="date"] { flex: 0 0 160px; }
.nb-zeile .nb-f-wer { flex: 0 0 140px; }
@media (max-width: 700px) { .nb-zeile { flex-wrap: wrap; } .nb-zeile input, .nb-zeile input[type="date"], .nb-zeile .nb-f-wer { flex: 1 1 100%; } .nb-zeile [data-weg] { margin-left: auto; } .nb-zeile { padding-bottom: 6px; border-bottom: 1px solid var(--line, rgba(0,0,0,.06)); } }
.nb-transkript summary { cursor: pointer; display: flex; align-items: center; gap: 6px; }
.nb-transkript textarea { width: 100%; margin-top: 12px; font: 13px/1.5 'Archivo', sans-serif; }
.nb-tx-fuss { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.nb-pre { white-space: pre-wrap; font: 13px/1.5 'Archivo', sans-serif; max-height: 420px; overflow: auto; margin: 12px 0 0; }
/* Call-Nachbericht: Sprachnachricht */
.nb-sprache { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.nb-sp-tx { display: flex; flex-direction: column; gap: 4px; flex: 1 1 360px; min-width: 0; }
.nb-sp-tx b { display: flex; align-items: center; gap: 8px; }
.nb-sp-akt { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.nb-sp-haken { display: flex; gap: 6px; align-items: center; }
.nb-sprache.laeuft { opacity: .75; }
.nb-sp-rec .txt { font-variant-numeric: tabular-nums; }
/* Call-Nachbericht: Kopf und Knöpfe nie gequetscht, Knöpfe brechen unter den Titel um */
.nb-ph { flex-wrap: wrap; align-items: flex-end; row-gap: 16px; }
.nb-ph > div:first-child { flex: 1 1 380px; min-width: 0; }
.nb-ph .actions { flex-wrap: wrap; gap: 10px; flex: 0 1 auto; max-width: 100%; min-width: 0; }
.nb-ph .actions .btn { white-space: nowrap; }
.nb-calls .head { flex-wrap: wrap; row-gap: 10px; }
.nb-calls .head .hl { flex: 1 1 300px; min-width: 0; flex-wrap: wrap; }
.nb-calls .head .btn { white-space: nowrap; height: 46px; padding: 0 1.2rem; font-size: 0.9rem; }
.nb-calls .head .m-aktionen { gap: 10px; margin-top: 0; }
.nb-sprache.nb-sp-betont { outline: 2px solid var(--pearl); outline-offset: 2px; }
/* Geschlossenes Seitenpanel: Schatten nicht ins Bild ragen lassen (lag als heller Schleier über dem rechten Rand jeder Seite) */
body:not(.lead-open) .leadpanel { box-shadow: none; visibility: hidden; transition: transform 0.42s var(--ease-smooth), visibility 0s linear 0.42s, box-shadow 0s linear 0.42s; }
body.lead-open .leadpanel { visibility: visible; }
/* Interview-Start: Elisa spricht selbst, Tipps als kleine Karten (CONTENT Einrichtung, 2026-11-22) */
.fs-iv-start .fs-iv-lead { font-size: 17px; color: var(--ink); max-width: 60ch; }
.fs-iv-karten { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 6px 0 0; padding: 0; }
.fs-iv-karten li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--well); box-shadow: var(--inset); font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.fs-iv-karten img { width: 20px; height: 20px; flex: none; margin-top: 1px; }
/* Abstand Überschrift zu Liste in „Warum reden?“ und „So läuft's“ (2026-11-22) */
.fs-iv-erklaer > div > ul, .fs-iv-erklaer > div > ol { margin-top: 18px; }
/* Einwilligung wie in einem Formular: Kern im Haken, Hinweis zum Ausklappen (2026-11-22) */
.fs-live-ok { max-width: 520px; text-align: left; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.fs-live-mehr { max-width: 520px; margin-top: -6px; font-size: 12.5px; line-height: 1.55; color: var(--night-mute); text-align: left; }
.fs-live-mehr summary { cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: 3px; text-align: center; }
.fs-live-mehr summary::-webkit-details-marker { display: none; }
.fs-live-mehr p { margin: 8px 0 0; }
/* Interview: Eingabe wie im Chat, Pfeil im Feld, Feld wächst mit (2026-11-22) */
.fs-iv-feld { display: flex; align-items: flex-end; gap: 8px; padding: 8px 8px 8px 18px; border-radius: 26px; background: var(--well); box-shadow: var(--inset); }
.fs-iv-feld:focus-within { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(75,59,255,.14); }
.fs-iv-feld textarea { flex: 1; min-width: 0; min-height: 30px; max-height: 260px; margin: 7px 0; padding: 0; border: 0; outline: 0; resize: none; background: none; font: 400 15.5px/1.55 'Archivo', sans-serif; color: var(--ink); }
.fs-iv-senden { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: var(--pearl); box-shadow: 0 6px 18px rgba(253,52,147,.28); }
.fs-iv-senden:disabled { opacity: .5; cursor: wait; }
.fs-iv-senden .ic, .fs-iv-senden i { color: #fff; }
.fs-iv-eingabe .fs-iv-leiste { justify-content: space-between; }
.fs-iv-senden { font-size: 20px; } .fs-iv-senden .ic, .fs-iv-senden i { width: 20px; height: 20px; }
.w.fs-iv { min-width: 0; grid-template-columns: minmax(0, 1fr); }
@media (max-width: 640px) {
  .fs-iv-kopf { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 18px; gap: 12px; }
  .fs-iv-kopf > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .fs-iv-eingabe { padding: 14px 16px 18px; }
  .fs-iv-eingabe .fs-iv-leiste { flex-wrap: wrap; }
}
/* Beitrag-Editor: Überschrift bekommt eine eigene Zeile und bricht um, Knöpfe darunter (2026-11-22) */
.fs-editor-kopf { flex-wrap: wrap; row-gap: 14px; }
.fs-editor-kopf > div:first-child { flex: 1 1 100%; min-width: 0; }
.fs-editor-kopf h1 { margin: 0; }
.fs-titel-input { font-size: clamp(24px, 2.6vw, 38px); text-overflow: ellipsis; }
@supports (field-sizing: content) { .fs-titel-input { field-sizing: content; max-width: 100%; } }
.fs-editor-kopf { margin-bottom: 22px; }
.fs-editor-kopf .actions { flex-wrap: wrap; }
/* Editor schmal: Spalten dürfen schrumpfen (vorher drückte die Vorschau-Leiste alles auf 1.800 Punkte) */
@media (max-width: 1100px) { .fs-editor { grid-template-columns: minmax(0, 1fr); } .fs-links, .fs-rechts, .fs-editor > * { min-width: 0; } }
@media (max-width: 640px) { .fs-editor .fs-reihe { grid-template-columns: minmax(0, 1fr); } .fs-editor-kopf .actions .btn { flex: 1 1 auto; justify-content: center; } }
@media (max-width: 640px) { .fs-titel-input { font-size: 18px; } .fs-editor-kopf .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; } .fs-editor-kopf .actions [data-speichern] { grid-column: 1 / -1; } }
.fs-titel-input { display: block; resize: none; overflow: hidden; line-height: 1.08; min-height: 0; }
@media (max-width: 640px) { .fs-titel-input { font-size: 22px; } }
.fs-sd-ring { flex: none; aspect-ratio: 1; } /* Ring nie in der Breite zusammendrücken (Corinna 2026-11-22: nicht rund) */
.fs-v-folie:has(> .fs-buehne[data-format="story"]) { height: 640px; } /* Story 9:16 in der Vorschau (2026-11-22) */
.fs-v-folie:has(> .fs-buehne[data-format="reel"]) { height: 640px; }
/* KI-Kosten CONTENT im Feed-Studio (2026-11-25) */
.fs-kk { display: grid; gap: 14px; }
.fs-kk-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.fs-kk-kopf .klein { max-width: 60ch; }
.fs-kk-summe { display: block; font: 200 40px/1 'Archivo', sans-serif; font-stretch: 125%; }
.fs-kk-tab td.r, .fs-kk-tab th.r, .fs-kk-arten td.r, .fs-kk-arten th.r { text-align: right; font-variant-numeric: tabular-nums; }
.fs-kk-arten summary { cursor: pointer; font: 500 13px 'Archivo', sans-serif; color: var(--ink-2); }
/* Story: Mitmachen per Nachricht und Schreibschrift-Feld in der einfachen Ansicht (2026-11-25) */
.ea-mit { display: grid; gap: 12px; }
.ea-mit-kopf { display: flex; gap: 12px; align-items: flex-start; }
.ea-mit-kopf b { display: block; font: 600 15px 'Archivo', sans-serif; margin-bottom: 2px; }
.ea-mit-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; }
.ea-mit-zeile { display: flex; gap: 10px; flex-wrap: wrap; }
.ea-mit-zeile .bx-input { flex: 1 1 200px; text-transform: uppercase; }
.ea-mit-ok, .ea-mit-offen { margin: 0; font: 400 14px/1.45 'Archivo', sans-serif; color: var(--ink-2); }
.ea-mit-los { justify-self: start; }
/* Mit Claude überarbeiten: offene Punkte beantworten */
.dkb-offen summary { cursor: pointer; display: flex; gap: 8px; align-items: baseline; }
.dkb-offen-liste { list-style: none; margin: 12px 0 0; padding: 4px 8px 4px 0; display: grid; gap: 12px; max-height: 420px; overflow: auto; }
.dkb-offen-z { display: grid; gap: 8px; padding: 14px 16px; border-radius: 16px; background: var(--surface-2, rgba(0,0,0,.025)); border: 1px solid rgba(0,0,0,.06); }
.dkb-offen-kopf { display: flex; align-items: center; gap: 10px; }
.dkb-offen-nr { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 600; background: var(--ink, #14111a); color: #fff; }
.dkb-offen-ab { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3, #8a8594); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modal .dkb-offen-tx { display: block; font-size: 13.5px; line-height: 1.55; color: var(--ink, #14111a); margin: 0; font-weight: 400; letter-spacing: 0; text-transform: none; }
.dkb-offen-z:has(textarea:not(:placeholder-shown)) { border-color: rgba(46, 160, 90, .45); background: rgba(46, 160, 90, .06); }
.dkb-offen-z:has(textarea:not(:placeholder-shown)) .dkb-offen-nr { background: #2ea05a; }
.modal .dkb-offen-z textarea { width: 100%; box-sizing: border-box; min-height: 40px; resize: vertical; background: var(--surface, #fff); box-shadow: var(--inset); border: 0; border-radius: 12px; padding: 9px 14px; font: inherit; font-size: 13.5px; line-height: 1.45; margin-top: 2px; field-sizing: content; max-height: 160px; }

/* Werkbank-Auswertung: ganzes Werbekonto (2026-11-30) */
.w.wb-gesamtkonto { padding: 20px 22px; grid-column: span 12; min-width: 0; }
.wb-gesamtkonto > summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.wb-gesamtkonto > summary::-webkit-details-marker { display: none; }
.wb-gk-zahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 18px 0 14px; }
.wb-gk-zahlen > div { display: grid; gap: 4px; }
.wb-gk-zahlen b { font-size: 22px; font-weight: 300; }
@media (max-width: 800px) { .wb-gk-zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Werkbank: Fassungen und Maskenansicht Feed, Story, Reel (2026-12-01). Handys 9:19,5 mit Insel */
.wb-fassungen { display: flex; gap: 4px; margin-top: 4px; }
.wb-fassungen span { font-size: 10.5px; padding: 1px 6px; border-radius: 999px; border: 1px solid rgba(0,0,0,.12); color: var(--ink-3, #8a8594); }
.wb-fassungen span.da { color: var(--ink, #14111a); border-color: rgba(46,160,90,.5); background: rgba(46,160,90,.08); }
.wb-maske { margin: 14px 0; display: grid; gap: 12px; }
.wb-maske-reihe { display: grid; grid-template-columns: repeat(3, minmax(0, 210px)); gap: 22px; justify-content: start; }
.wb-handy { margin: 0; display: grid; gap: 8px; justify-items: center; }
.wb-hd-schirm { position: relative; width: 100%; aspect-ratio: 9 / 19.5; border-radius: 30px; border: 7px solid #111; background: #000; overflow: hidden; color: #fff; font-size: 9px; }
.wb-hd-insel { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 30%; height: 11px; border-radius: 99px; background: #000; z-index: 5; }
.wb-handy-feed .wb-hd-schirm { background: #fff; color: #111; }
.wb-hd-ig { padding: 24px 10px 4px; font-weight: 600; font-size: 11px; }
.wb-hd-profil { display: flex; align-items: center; gap: 5px; padding: 4px 8px; position: relative; z-index: 3; }
.wb-hd-profil .klein { font-size: 8px; opacity: .75; }
.wb-hd-avatar { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, #d6249f, #285aeb); flex: none; }
.wb-hd-feedbild { aspect-ratio: 4 / 5; background: #eee; display: grid; place-items: center; overflow: hidden; }
.wb-hd-feedbild img, .wb-hd-feedbild video, .wb-hd-voll img, .wb-hd-voll video { width: 100%; height: 100%; object-fit: cover; display: block; }
.wb-hd-cta { margin: 0; padding: 5px 8px; background: #f2f2f2; color: #111; font-weight: 600; font-size: 9px; }
.wb-hd-text { margin: 0; padding: 4px 8px; font-size: 8.5px; line-height: 1.35; }
.wb-hd-voll { position: absolute; inset: 0; display: grid; place-items: center; background: #222; }
.wb-hd-leer { color: #999; font-size: 11px; }
.wb-handy-story .wb-hd-profil { position: absolute; top: 26px; left: 4px; }
.wb-hd-balken { position: absolute; top: 20px; left: 8px; right: 8px; height: 2px; background: rgba(255,255,255,.6); border-radius: 2px; z-index: 3; }
.wb-hd-knopf { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); background: #fff; color: #111; border-radius: 99px; padding: 5px 14px; font-weight: 600; z-index: 3; }
.wb-hd-reelkopf { position: absolute; top: 24px; left: 10px; font-weight: 600; font-size: 11px; z-index: 3; }
.wb-hd-symbole { position: absolute; right: 7px; bottom: 26%; display: grid; gap: 10px; z-index: 3; }
.wb-hd-symbole i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid #fff; }
.wb-hd-reelfuss { position: absolute; left: 0; right: 28px; bottom: 8px; z-index: 3; }
.wb-hd-reelfuss .wb-hd-cta { margin: 4px 8px 0; border-radius: 4px; background: rgba(255,255,255,.25); color: #fff; }
.wb-zone { position: absolute; display: none; background: rgba(214, 36, 159, .28); border: 1px dashed rgba(214, 36, 159, .9); z-index: 4; pointer-events: none; }
.wb-maske.zonen .wb-zone { display: block; }
.wb-zone-oben { top: 0; left: 0; right: 0; height: 14%; }
.wb-zone-unten-story { bottom: 0; left: 0; right: 0; height: 20%; }
.wb-zone-oben-reel { top: 0; left: 0; right: 0; height: 15.6%; }
.wb-zone-unten-reel { bottom: 0; left: 0; right: 0; height: 35%; }
.wb-zone-rechts { top: 50%; right: 0; width: 11%; bottom: 35%; }
.wb-maske-dateien { display: grid; gap: 6px; }
.wb-maske-datei { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.wb-maske-datei select { max-width: 160px; }
.wb-maske-zonen { display: flex; gap: 6px; align-items: center; }
@media (max-width: 760px) { .wb-maske-reihe { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
