/* allsmartllm.com landing — extracted from the design template.
 *
 * Palette + font choices are the brand's identity; the components
 * (cards, pills, sheet, table) are consumed by both index.html and
 * later by the zentrale/dashboard. Do not fork styles per page — add
 * to this file and keep the class names shared. */

:root {
  --bg: #0A0B10;
  --surface: #111320;
  --surface-2: #151827;
  --border: rgba(129, 140, 248, .14);
  --border-strong: rgba(129, 140, 248, .28);
  --indigo: #6366F1;
  --indigo-light: #818CF8;
  --indigo-glow: rgba(99, 102, 241, .16);
  --text: #F0F2FA;
  --muted: #C5CAD8;
  --ok: #34D399;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- eyebrow tags: the "<" of the logo opens each section ---------- */
.tag-eyebrow { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--indigo-light); letter-spacing: .02em; }
.tag-eyebrow::before { content: '<'; opacity: .55; margin-right: 1px; }
.tag-eyebrow::after { content: '>'; opacity: .55; margin-left: 1px; }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 11, 16, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14.5px;
  border-radius: 10px; padding: 10px 18px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer; border: none; font-family: var(--body);
}
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 0 0 0 var(--indigo-glow); }
.btn-primary:hover { background: var(--indigo-light); transform: translateY(-1px); box-shadow: 0 6px 24px var(--indigo-glow); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--indigo-light); }

/* logo mark */
.mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, #6A6DF4, #5A5CE6);
  display: grid; place-items: center; flex: none;
}
.mark svg { display: block; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -220px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 520px;
  background: radial-gradient(closest-side, var(--indigo-glow), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
/* Zeilenhöhe 1.16: bei 1.08 stießen Umlaut-Punkte (Ö) in die Unterlängen der Zeile darüber (g, y). */
h1 { font-family: var(--display); font-size: 52px; line-height: 1.16; font-weight: 700; letter-spacing: -.02em; }
h1 .accent { color: var(--indigo-light); }
.hero-sub { margin-top: 20px; font-size: 17.5px; color: var(--muted); max-width: 52ch; }
.hero-sub strong { color: var(--text); font-weight: 500; }
.hero-ctas { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* datasheet terminal — signature element */
.sheet {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.sheet-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
}
.dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 8px rgba(52, 211, 153, .7); flex: none;
}
.sheet-head .path { margin-left: auto; opacity: .7; }
.sheet-body { padding: 18px 16px 20px; font-family: var(--mono); font-size: 13px; line-height: 1.85; min-height: 238px; }
.sheet-body > div { opacity: 1; }
.sheet-body .c { color: #9AA0B4; }
.sheet-body .k { color: var(--indigo-light); }
.sheet-body .v { color: var(--text); }
.sheet-body .g { color: var(--ok); }
.caret {
  display: inline-block; width: 7px; height: 15px;
  background: var(--indigo-light); vertical-align: -2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* counters */
.counters {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; margin-top: 64px;
}
.counter { background: var(--surface); padding: 22px 24px; }
.counter .num { font-family: var(--mono); font-size: 27px; font-weight: 600; letter-spacing: -.01em; }
.counter .lbl { font-size: 13px; color: var(--muted); margin-top: 4px; }
.counters-note { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 12px; opacity: .85; }
.counters-note .g { color: var(--ok); }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.sec-head { max-width: 640px; margin-bottom: 44px; }
h2 { font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -.015em; line-height: 1.15; margin-top: 10px; }
.sec-head p { color: var(--muted); margin-top: 12px; font-size: 16.5px; }

/* Icon vor der Kartenueberschrift. Die acht Karten lasen sich als
   lose Folge von Absaetzen; ein wiederkehrendes Zeichen an derselben
   Stelle macht daraus sichtbar eine Aufzaehlung. Indigo wie die
   uebrigen Akzente, und optisch leichter als die Ueberschrift, damit
   es fuehrt statt zu dominieren. */
.card h3 { display: flex; align-items: center; gap: 9px; }
.card-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; flex: none;
  color: var(--indigo-light);
  background: rgba(99, 102, 241, .10);
  border: 1px solid rgba(99, 102, 241, .30);
  border-radius: 9px;
}

/* feature cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Compare-Section: zwei Karten nebeneinander, jede mit einer Liste
   ,,Kriterium -> Wert" fuer OpenRouter direkt bzw. via ALLSmartLLM. */
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.compare-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px 26px 22px;
  position: relative;
}
.compare-card-ours {
  border-color: var(--indigo);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, .18);
  background: linear-gradient(180deg, rgba(99, 102, 241, .06), transparent 60%);
}
.compare-cap {
  font-family: var(--mono); font-size: 12px;
  color: var(--muted); text-transform: uppercase; letter-spacing: .04em;
  margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.compare-card-ours .compare-cap { color: var(--indigo-light); }
/* ---------- fuer wen ---------- */
.aud-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; }
.aud-side { display: flex; flex-direction: column; gap: 16px; }
.aud-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px 26px 22px;
}
.aud-card p { color: var(--muted); font-size: 15.5px; line-height: 1.65; margin: 0; }
.aud-main {
  border-color: var(--indigo);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, .18);
  background: linear-gradient(180deg, rgba(99, 102, 241, .06), transparent 60%);
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.aud-main p { color: var(--text); font-size: 16.5px; }
.aud-link { color: var(--indigo-light); font-weight: 600; font-size: 14.5px; align-self: flex-start; }
.aud-link:hover { text-decoration: underline; }
.aud-not { border-color: rgba(249, 115, 22, .35); }
.aud-not .compare-cap { color: #fb923c; }
@media (max-width: 860px) { .aud-grid { grid-template-columns: 1fr; } }

.compare-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.compare-list li {
  display: grid; grid-template-columns: 140px 1fr;
  gap: 14px; align-items: baseline;
}
.compare-list .k {
  font-family: var(--mono); font-size: 11.5px;
  color: var(--muted); text-transform: uppercase; letter-spacing: .04em;
}
.compare-list .v { color: var(--text); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 900px) {
  .compare-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .compare-list li { grid-template-columns: 1fr; gap: 2px; }
  .compare-list .k { font-size: 10.5px; }
}
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 26px 26px 24px;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); }

/* Feature-Karten ohne Kasten.
   Die Flaeche war ohnehin nie sichtbar: utilities.css (vom alten
   Auftritt, nach dieser Datei geladen) definiert .card erneut mit
   --color-card-bg, und diese Variable gibt es in keiner der beiden
   Dateien. Die Deklaration ist damit ungueltig und der Hintergrund
   faellt weg — die 26px Polsterung blieben aber stehen und erzeugten
   einen breiten Rand ohne Kasten, auf dem Telefon besonders auffaellig.
   Seit die Icons die Gliederung tragen, braucht es den Kasten nicht:
   Polsterung raus, Inhalt fluchtet mit der Abschnitts-Ueberschrift.
   Bewusst auf .cards > .card begrenzt — die Login-Seite benutzt .card
   fuer ihren echten Kasten. */
.cards > .card {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}
/* Ohne Kasten wirkt ein anhebender Textblock seltsam. */
.cards > .card:hover { transform: none; }
/* Der Spaltenabstand ersetzt die weggefallene Polsterung. */
.cards { gap: 40px 44px; }
.card h3 { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.card .viz {
  margin-top: 20px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 11px;
  padding: 16px; font-family: var(--mono); font-size: 12.5px;
  line-height: 1.9; overflow: hidden;
}

/* viz: alias routing */
/* Umbruch erlaubt: die Zeile stand auf nowrap, und ihr Elternteil faengt
   nichts ab — auf einem schmalen Display machte sie damit das ganze
   Dokument breiter als den Viewport, und JEDER Absatz der Seite lief
   rechts aus dem Bild. Die Chips selbst bleiben unzertrennlich. */
.route { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chip { border: 1px solid var(--border-strong); border-radius: 8px; padding: 3px 9px; color: var(--text); white-space: nowrap; }
.chip.alias { border-color: var(--alias-rand); color: var(--alias-light); background: var(--alias-tint); }
.arrow { color: #9AA0B4; flex: none; }
.route .old { text-decoration: line-through; color: #9AA0B4; border-color: var(--border); }
.route-note { color: #9AA0B4; margin-top: 6px; }

/* Fluss-Pfeil zwischen den Payload-Boxen. Auf Desktop uebernehmen das
   die seitlichen Konnektoren (.sb-connect-desktop), dort waere er ein
   drittes Kind im zweispaltigen Raster und wuerde es zerlegen. */
.pl-arrow { display: none; }

/* viz: privacy stages */
.stage-row { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.stage { border: 1px solid var(--border); border-radius: 99px; padding: 3px 11px; color: var(--muted); font-size: 12px; }
.stage.active { border-color: var(--priv-pseudo); color: var(--priv-pseudo); background: rgba(163, 230, 53, .10); }
.masked { color: var(--privacy); background: var(--privacy-tint); border-radius: 5px; padding: 1px 5px; }

/* viz: EU path */
.path-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.node { border: 1px solid var(--border-strong); border-radius: 8px; padding: 5px 11px; }
.node.home { border-color: var(--ok); color: var(--ok); }
.node.blocked { color: #9AA0B4; border-style: dashed; }
.shield { color: var(--indigo-light); }

/* viz: measured bars */
.bar-row { display: grid; grid-template-columns: 120px 1fr 64px; gap: 10px; align-items: center; margin: 7px 0; }
.bar-label { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 7px; background: rgba(129, 140, 248, .09); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--indigo), var(--indigo-light)); border-radius: 99px; width: 0; transition: width 1s cubic-bezier(.2, .7, .2, 1); }
.bar-val { color: var(--text); font-size: 12px; text-align: right; }
.viz-foot { color: #9AA0B4; font-size: 11.5px; margin-top: 10px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 20px; }
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 26px;
  /* Ohne min-width:0 zieht das <pre> mit dem curl-Beispiel die
     Grid-Spalte auf seine laengste Zeile auf: ein Grid-Item nimmt als
     Mindestbreite die min-content-Breite seines Inhalts. Das machte auf
     dem Telefon das ganze Dokument 98px breiter als den Viewport — und
     damit lief JEDER Absatz der Seite rechts aus dem Bild. Das
     overflow-x:auto am <pre> allein genuegt dafuer nicht. */
  min-width: 0;
}
.step-no { font-family: var(--mono); font-size: 12.5px; color: var(--indigo-light); margin-bottom: 10px; }
.step h3 { font-family: var(--display); font-size: 19px; font-weight: 600; }
.step p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.keyline {
  margin-top: 18px; font-family: var(--mono); font-size: 12.5px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 9px; padding: 10px 12px; color: var(--muted);
  display: flex; justify-content: space-between; gap: 10px;
}
.keyline .v { color: var(--text); }
pre {
  margin-top: 18px; background: #0C0E17;
  border: 1px solid var(--border); border-radius: 11px;
  padding: 14px 16px; font-family: var(--mono); font-size: 12.5px;
  line-height: 1.75; overflow-x: auto; color: var(--muted);
}
pre .k { color: var(--indigo-light); }
pre .s { color: var(--ok); }
.steps-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.steps-note b { color: var(--text); font-weight: 600; }

/* ---------- models teaser ---------- */
.table-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
/* Modell-Tabelle darf aus der 1120px-Spalte ausbrechen: sie ist der
   inhaltliche Kern der Seite, und die sieben Spalten sollen nicht
   umbrechen muessen, nur weil der Textsatz schmaler ist.
   Reicht die Breite trotzdem nicht (schmaler Viewport), scrollt die
   Karte seitlich, statt die ganze Seite zu verbreitern.

   Bewusst OHNE transform: .reveal.in setzt beim Einblenden
   transform:none und wischt ein translateX(-50%) weg. Ein
   margin-left:50% bleibt dann allein stehen — die Tabelle beginnt in
   der Mitte und laeuft rechts aus dem Bild.

   Stattdessen symmetrische negative Aussenabstaende: 100% ist die
   Breite der Elternspalte, die Differenz zur Zielbreite wird links und
   rechts je zur Haelfte herausgezogen. Ergibt exakt die Zielbreite,
   mittig, ohne transform. */
.table-card.table-wide { overflow-x: auto; overflow-y: hidden; }
/* Nur seitlich scrollen, ohne den Desktop-Ausbruch: fuer Tabellen, die
   auf dem Telefon breiter werden als der Bildschirm. Ohne das greift
   das overflow:hidden der Karte und schneidet Spalten einfach ab —
   sichtbar wurde das an der Statusseite, wo die Messpunkte-Spalte
   fehlte. */
.table-card.table-scroll { overflow-x: auto; overflow-y: hidden; }
@media (min-width: 1180px) {
  .table-card.table-wide {
    margin-left: calc((100% - min(1440px, 100vw - 48px)) / 2);
    margin-right: calc((100% - min(1440px, 100vw - 48px)) / 2);
  }
}
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  color: var(--muted); text-align: left;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  letter-spacing: .03em;
}
td { padding: 14px 20px; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(129, 140, 248, .04); }
.mono { font-family: var(--mono); font-size: 13px; }
/* Die folgenden Werte standen bis zum Umdrehen der Ladereihenfolge in
   utilities.css und gewannen von dort — das Aussehen der Statuspillen
   ("GELADEN", "ON-DEMAND") war also ein Zufall der Reihenfolge. Jetzt
   steht es hier und ist damit Absicht. Bewusst uebernommen statt
   "aufgeraeumt": ein Refactor soll nichts umgestalten. */
.pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: 20px;
  padding: 4px 12px;
  border: 1px solid var(--border-strong);
  white-space: nowrap;
}
.pill.loaded { color: var(--ok); border-color: rgba(52, 211, 153, .4); }
.pill.od { color: var(--muted); }
/* Nur intern nutzbar (Lizenz), z. B. flash-next. */
.pill.intern { color: #fb923c; border-color: rgba(249, 115, 22, .4); white-space: nowrap; }
/* Mehrere Aliase je Modell (mid, worker, vision): als Zeilen mit
   Abstand. Vorher klebte eine umgebrochene Pille ohne Luft an der
   Zeile darueber. */
.alias-pills { display: flex; flex-wrap: wrap; gap: 6px; }
/* Messwert und Einheit gehoeren zusammen ("133 t/s", nicht "133 t/" + "s"). */
.nowrap { white-space: nowrap; }

.foot-note { font-size: 12px; color: var(--faint, var(--muted)); }
.alias-pill {
  display: inline-block;
  color: var(--alias-light); background: var(--alias-tint);
  border: 1px solid var(--alias-rand); border-radius: 8px;
  padding: 2px 9px; font-family: var(--mono); font-size: 12px;
}
/* Faehigkeits-Pillen ("Tools", "Bild", "Reasoning"). Noch leiser als
   das Lizenz-Etikett: mehrere pro Zelle, die duerfen nicht flimmern. */
.cap-pill {
  display: inline-block; color: var(--muted);
  background: rgba(255, 255, 255, .05); border-radius: 6px;
  padding: 1px 7px; margin: 1px 3px 1px 0;
  font-size: 11.5px; white-space: nowrap;
}
/* Status-Spalte mittig — Badge und Erststart-Hinweis stehen untereinander
   und sollen als Block wirken, nicht linksbuendig auseinanderfallen. */
th.col-status, td.col-status { text-align: center; }
.cold-hint {
  margin-top: 3px; font-family: var(--mono); font-size: 10.5px;
  color: var(--faint); white-space: nowrap;
}

/* Modell-Zelle: Icon links, rechts daneben Name (Zeile 1) + Groesse/
   Arch (Zeile 2). Flex sorgt dafuer dass beide Zeilen exakt an
   derselben linken Kante beginnen, unabhaengig von Sub-Pixel-Metrics
   des inline-Icons. */
.model-cell {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
/* Vendor-Icon: monochrom in Schriftfarbe per CSS-Mask (background-color = currentColor); <img> faerbt SVGs nicht. */
.vendor-ico {
  flex: none;
  width: 16px; height: 16px;
  margin-top: 3px;  /* optische Baseline mit dem 14.5px Namen */
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center;  mask-position: center;
  -webkit-mask-size: contain;     mask-size: contain;
}
.model-text { min-width: 0; }
/* Zweite Zeile unter dem Modellnamen: Groesse + Architektur (dense/MoE).
   Klein, muted, mono — soll wie eine Meta-Annotation lesen und nicht
   mit dem Namen konkurrieren. */
.model-arch {
  font-family: var(--mono); font-size: 11.5px;
  color: var(--muted); margin-top: 2px;
  /* "35B / 3B MoE (int4 AutoRound)" gehoert in eine Zeile — umgebrochen
     liest es sich wie zwei verschiedene Angaben. */
  white-space: nowrap;
}

.link { color: var(--indigo-light); font-weight: 500; }
/* Sternchen-Verweis, gleiche Handschrift wie beim OpenRouter-Hinweis
   im Switchboard: die Spalte "Qualitaet" und die Quellenzeile darunter
   gehoeren zusammen, und das soll man sehen ohne es zu lesen. */
.ref { color: var(--indigo-light); font-weight: 600; margin: 0 1px; }
/* Pfeil an Links, die die Seite verlassen. Als ::after statt als Zeichen
   im Text, damit er nicht mitkopiert wird und in jeder Uebersetzung
   automatisch dranhaengt. */

.link:hover { text-decoration: underline; }

/* ---------- CTA ---------- */
.cta { border-top: 1px solid var(--border); text-align: center; padding: 96px 0; }
.cta h2 { font-size: 38px; }
.cta p { color: var(--muted); margin-top: 14px; font-size: 16.5px; }
.cta .hero-ctas { justify-content: center; }

/* Pricing-Tabelle: eine Zeile pro Kategorie, in/out getrennt. Bewusst
   nüchtern gehalten — der Kunde vergleicht Zahlen, nicht Design. */
.pricing-table-wrap {
  max-width: 640px;
  margin: 34px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.pricing-table th {
  text-align: left;
  padding: 12px 18px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  font-weight: 500;
}
.pricing-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.pricing-table tr:last-child td { border-bottom: 0; }
.pricing-table .mono {
  font-family: var(--mono);
  color: var(--text);
  font-weight: 500;
}
.pricing-table .unit {
  color: var(--faint);
  font-size: 12px;
  font-weight: 400;
}
.pricing-table .cat-pill {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--text);
  background: var(--surface-2);
}
.pricing-foot {
  padding: 10px 18px;
  color: var(--faint);
  font-size: 11.5px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  text-align: left;
}
/* Privacy-Zeile: dünnere Trennlinie oben statt Standard-Rahmen,
   Detektor-Zusatz visuell abgesetzt von den Modell-Kategorien. */
.pricing-table tr.pricing-addon td {
  border-top: 1px dashed var(--border);
  padding-top: 15px;
  background: rgba(129,140,248,.04);
}
.cat-pill-privacy {
  border-color: var(--privacy-rand);
  color: var(--privacy);
  background: var(--privacy-tint);
}

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border); padding: 44px 0 56px; font-size: 14px; color: var(--muted); }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }

/* Footer-Spalten mit Ueberschrift: Produkt, Einblicke, Rechtliches. */
.foot-spalten { display: grid; grid-template-columns: repeat(3, minmax(130px, auto)); gap: 18px 56px; }
.foot-spalte { display: flex; flex-direction: column; gap: 9px; }
.foot-spalte a:hover { color: var(--text); }
.foot-titel { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin-bottom: 3px; }
@media (max-width: 640px) {
  .foot-spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; width: 100%; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  h1 { font-size: 40px; }
  .counters { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; gap: 34px; }
  .steps { grid-template-columns: 1fr; }
  /* Seit 02.11.2026 keine ausgeblendete Leiste mehr: unter 960px stehen die
     Menuepunkte als zweite Zeile unter Marke und Button, bei Platzmangel
     seitlich wischbar. Vorher gab es am Telefon gar kein Menue. */
  .nav-inner { flex-wrap: wrap; height: auto; padding-top: 11px; row-gap: 11px; }
  /* Mittig, mit Trennlinie zur Kopfzeile ueber die volle Breite (negativer
     Rand gleicht das Padding von .wrap aus). Zentriert ueber auto-Raender
     am ersten/letzten Link: bleibt beim seitlichen Wischen links erreichbar,
     anders als justify-content: center. */
  .nav-links { order: 3; flex-basis: calc(100% + 48px); margin: 0 -24px; gap: 8px; font-size: 14px;
               padding: 9px 24px 10px; border-top: 1px solid var(--border);
               overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .nav-links a:first-child { margin-left: auto; }
  .nav-links a:last-child { margin-right: auto; }
  .nav-links::-webkit-scrollbar { display: none; }
  html { scroll-padding-top: 112px; }   /* Kopfzeile ist jetzt zweizeilig */
}
/* Abstaende auf dem Telefon halbiert. 88px oben und unten je Abschnitt
   ergeben 176px zwischen zwei Ueberschriften — auf einem 390px breiten
   Schirm scrollt man damit durch Leere. Am Desktop bleibt es, dort
   traegt der Weissraum die Gliederung. */
@media (max-width: 640px) {
  section { padding: 44px 0; }
  .sec-head { margin-bottom: 22px; }
  .hero { padding: 42px 0 28px; }
  .cta { padding: 48px 0; }
}

@media (max-width: 560px) {
  h1 { font-size: 33px; }
  .counters { grid-template-columns: 1fr 1fr; }
  .counter { padding: 16px 18px; }
  .counter .num { font-size: 21px; }
  /* Die dritte Spalte JEDER Tabelle auszublenden war gedacht, als es
     genau eine Tabelle mit fester Spaltenfolge gab. Inzwischen trifft
     es die Modell-Tabelle ("Kann"), die Speicher-Tabelle ("Wozu") und
     die Status-Tabellen — jeweils etwas anderes, und nie das, was am
     ehesten entbehrlich waere. Die Modell-Tabelle scrollt ausserdem
     laengst seitlich, sie braucht kein Ausblenden mehr.
     Wo eine Spalte wirklich weichen soll, sagt das jetzt eine eigene
     Klasse (.col-samples auf der Statusseite). */
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--indigo-light);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ============================================================================
 * Login page — split layout with brand pane + form card.
 *
 * Kept in this same file so the palette variables + shared components
 * (btn, brand mark, tag-eyebrow, dot) travel together. If the login
 * page ever gets its own bundle, extract this block to login.css and
 * @import the palette rules.
 * ==========================================================================*/

body.login-page { min-height: 100vh; margin: 0; }

/* Aus dem Markup hergeholt: drei Inline-Stile, die in login.html
   standen. Inline-Stile lassen sich weder ueberschreiben noch von der
   CSP erlauben, und man findet sie beim Suchen nicht. */
.login-page .stay-label {
  display: flex; gap: 8px; align-items: center; cursor: pointer;
}
.login-page .check-indigo { accent-color: var(--indigo); }
/* Honeypot: fuer Menschen unsichtbar, fuer Bots ausfuellbar. Bewusst
   nicht display:none — das ueberspringen viele Bots. */
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px;
}
.login-page .split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }

/* ----- left brand pane ----- */
.login-page .pane {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 44px 52px; border-right: 1px solid var(--border);
  background:
    radial-gradient(1000px 600px at -10% -10%, rgba(99,102,241,.14), transparent 60%),
    var(--bg);
}
.login-page .pane::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .22;
  mask-image: radial-gradient(720px 480px at 20% 15%, #000, transparent 75%);
  pointer-events: none;
}
.login-page .pane > * { position: relative; z-index: 1; }

.login-page .pane-mid { max-width: 440px; }
.login-page .pane-mid h1 {
  font-family: var(--display); font-size: 34px; line-height: 1.14;
  font-weight: 700; letter-spacing: -.02em; margin-top: 12px;
}
.login-page .pane-mid h1 .accent { color: var(--indigo-light); }
.login-page .pane-mid p { color: var(--muted); margin-top: 14px; font-size: 15.5px; }

.login-page .ticker {
  margin-top: 28px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 13px;
  overflow: hidden; max-width: 400px;
}
.login-page .ticker-head {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 14px; border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
}
.login-page .ticker-body {
  padding: 12px 14px; font-family: var(--mono);
  font-size: 12px; line-height: 1.9; color: var(--muted);
}
.login-page .ticker-body .k { color: var(--indigo-light); }
.login-page .ticker-body .g { color: var(--ok); }
.login-page .pane-foot { font-size: 12.5px; color: #9AA0B4; }
.login-page .pane-foot a:hover { color: var(--muted); }

/* ----- right form side ----- */
.login-page .form-side { display: grid; place-items: center; padding: 44px 24px; }
.login-page .card { width: 100%; max-width: 400px; }

.login-page .seg {
  display: flex; background: var(--surface);
  border: 1px solid var(--border); border-radius: 11px;
  padding: 4px; gap: 4px; margin-bottom: 26px;
}
.login-page .seg button {
  flex: 1; background: none;
  border: 1px solid transparent; border-radius: 8px;
  padding: 9px 10px; font-size: 14px; font-weight: 600;
  color: var(--muted); transition: background .15s, color .15s;
  font-family: var(--body); cursor: pointer;
}
.login-page .seg button.on {
  background: #1A1E30; color: var(--text); border-color: var(--border-strong);
}

.login-page h2 {
  font-family: var(--display); font-size: 23px;
  font-weight: 700; letter-spacing: -.015em;
}
.login-page .sub {
  color: var(--muted); font-size: 14px;
  margin-top: 5px; margin-bottom: 24px;
}
.login-page .sub b { color: var(--text); font-weight: 600; }
.login-page .sub .free { font-family: var(--mono); font-size: 12.5px; color: var(--ok); }

.login-page .field { margin-bottom: 16px; }
.login-page .field label {
  display: block; font-size: 12.5px; font-weight: 600;
  color: var(--muted); margin-bottom: 7px;
}
.login-page .inp { position: relative; }
.login-page .inp input {
  width: 100%; background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 11px 13px; color: var(--text);
  font-size: 14.5px; font-family: var(--body);
}
.login-page .inp input::placeholder { color: #9AA0B4; }
.login-page .inp input:focus { outline: 2px solid var(--indigo-light); outline-offset: 1px; }
.login-page .inp .peek {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #9AA0B4;
  font-family: var(--mono); font-size: 11.5px;
  padding: 5px 8px; border-radius: 7px; cursor: pointer;
}
.login-page .inp .peek:hover { color: var(--text); }

.login-page .row-between {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted); margin: -4px 0 18px;
}
.login-page .row-between a:hover { color: var(--indigo-light); }

.login-page .check {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--muted); margin-bottom: 18px;
}
.login-page .check input { margin-top: 3px; accent-color: var(--indigo); }
.login-page .check a { color: var(--indigo-light); }
.login-page .check a:hover { text-decoration: underline; }

/* Full-width buttons for the login form. Overrides the default
   inline-flex button width from the shared .btn definition. */
.login-page .btn { width: 100%; padding: 12px 18px; justify-content: center; }

.login-page .fine {
  margin-top: 22px; font-size: 12.5px;
  color: #9AA0B4; line-height: 1.65;
}

/* Generische Content-Pages (Support-Formular, Whitelabel-Info): schmaler
   Content-Bereich, Karten-Look wie im Hero, Formular-Styling wie Login. */
.content-page { padding: 44px 0 80px; }
.content-page .wrap { max-width: 720px; }
.content-page h1 { font-size: 36px; letter-spacing: -.015em; }
.content-page .lead { color: var(--muted); font-size: 17px; margin-top: 12px; max-width: 60ch; }
.content-page .section { margin-top: 36px; }
.content-page .section h2 { font-size: 22px; margin-bottom: 12px; }
.content-page .section p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-top: 8px; }
.content-page .section ul { margin: 12px 0 0 20px; color: var(--muted); line-height: 1.8; }
/* ---- Doku-Seite (/de/docs/) -------------------------------------
   Lange Prosa mit Code-Bloecken und kleinen Tabellen. Baut auf
   .content-page auf; die Tabellen sind bewusst schlicht (keine
   .table-card), damit sie im Lesefluss stehen statt als Kachel. */
.docs-page .wrap { max-width: 760px; }
.docs-page .section h3 { font-size: 16px; margin: 22px 0 8px; color: var(--text); }
.docs-page .section ol { margin: 12px 0 0 20px; color: var(--muted); line-height: 1.8; }
.docs-page .section ol > li + li { margin-top: 10px; }
.docs-page .section li strong,
.docs-page .section p strong { color: var(--text); }
.docs-page .section p code,
.docs-page .section li code,
.docs-page .doc-table code {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--indigo-light);
  background: var(--surface-2);
  padding: 1px 6px;
  border-radius: 5px;
  white-space: nowrap;
}
.docs-page pre {
  margin: 12px 0 0;
  padding: 14px 16px;
  font-size: 12.5px;
  line-height: 1.6;
  overflow-x: auto;
  max-width: 100%;
}
/* Spezifischer als ".docs-page .section li code" — sonst gewinnt die
   Inline-Regel (nowrap, Pill-Hintergrund) im Code-Block innerhalb einer
   Liste, und der curl-Aufruf in Schritt 3 kollabiert auf eine Zeile. */
.docs-page .section pre code,
.docs-page pre code { padding: 0; background: none; white-space: pre; color: inherit; font-size: inherit; }
.docs-page p.small { font-size: 13px; color: var(--faint); }
.docs-page .table-scroll { overflow-x: auto; margin-top: 12px; }
.docs-page .doc-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}
.docs-page .doc-table th,
.docs-page .doc-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}
.docs-page .doc-table thead th {
  font-size: 12px;
  color: var(--faint);
  font-weight: 600;
  letter-spacing: .3px;
}
.docs-page .doc-table tbody th { color: var(--text); font-weight: 500; white-space: nowrap; width: 1%; }
.docs-page .doc-table .col-thinks { white-space: nowrap; }
.docs-page .doc-table .text-right { text-align: right; white-space: nowrap; }
@media (max-width: 560px) {
  /* Auch in Tabellen umbrechen: "Authorization: Bearer sk-allsmartllm-…"
     in einer Zelle hat bei 390px das ganze Dokument 93px breiter
     gemacht als den Viewport. */
  .docs-page .section p code,
  .docs-page .section li > code,
  .docs-page .doc-table code { white-space: normal; word-break: break-all; }
  .docs-page .doc-table tbody th { white-space: normal; width: auto; }
  .docs-page .doc-table { font-size: 13px; }
  .docs-page .doc-table th, .docs-page .doc-table td { padding: 8px 8px; }
}

.content-page .box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px;
}
.content-page .box a:not(.btn) { color: var(--indigo-light); font-weight: 600; }
.content-page .box a:not(.btn):hover { text-decoration: underline; }
.content-page .box.success {
  text-align: center; padding: 40px 24px;
  border-color: rgba(52,211,153,.35);
  background: rgba(52,211,153,.06);
}
.content-page .box.error {
  border-color: rgba(239,68,68,.4);
  background: rgba(239,68,68,.08);
  color: #fca5a5; padding: 12px 16px;
  margin-bottom: 20px;
}
.content-page .field { margin-bottom: 16px; }
.content-page .field label {
  display: block; font-size: 12.5px; font-weight: 600;
  color: var(--muted); margin-bottom: 7px;
}
.content-page .field input,
.content-page .field select,
.content-page .field textarea {
  width: 100%; background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 11px 13px; color: var(--text);
  font-size: 14.5px; font-family: var(--body);
}
.content-page .field textarea { min-height: 140px; resize: vertical; font-family: var(--mono); font-size: 13.5px; }
.content-page .field input:focus,
.content-page .field select:focus,
.content-page .field textarea:focus { outline: 2px solid var(--indigo-light); outline-offset: 1px; }
.content-page .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.content-page details.faq {
  border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 18px; margin-top: 10px; background: var(--surface);
}
.content-page details.faq summary { cursor: pointer; font-weight: 600; }
.content-page details.faq[open] summary { margin-bottom: 8px; }
.content-page details.faq p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.65; }
@media (max-width: 560px) {
  .content-page .field-row { grid-template-columns: 1fr; }
}
.login-page .fine .k { font-family: var(--mono); color: var(--indigo-light); }
.login-page .switch-hint {
  margin-top: 22px; text-align: center;
  font-size: 13.5px; color: var(--muted);
}
.login-page .switch-hint button {
  background: none; border: none;
  color: var(--indigo-light); font-weight: 600; font-size: 13.5px;
  font-family: var(--body); cursor: pointer;
}
.login-page .switch-hint button:hover { text-decoration: underline; }
.login-page .for-whom {
  margin: -6px 0 18px; padding: 10px 12px;
  font-size: 12.5px; line-height: 1.5; color: var(--muted);
  background: var(--surface-2, rgba(255,255,255,.03));
  border-left: 2px solid var(--indigo); border-radius: 0 6px 6px 0;
}
.login-page .for-whom a, .login-page .contact-hint a {
  color: var(--indigo-light); font-weight: 600; text-decoration: none;
}
.login-page .for-whom a:hover, .login-page .contact-hint a:hover { text-decoration: underline; }
.login-page .contact-hint a { white-space: nowrap; }
.login-page .contact-hint {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border);
  text-align: center; font-size: 12.5px; color: var(--muted);
}

/* Error + flash slots — server-rendered messages above the submit. */
.login-page .msg {
  padding: 11px 14px; border-radius: 10px;
  font-size: 13.5px; margin-bottom: 18px;
  border: 1px solid transparent;
}
.login-page .msg.err {
  color: #FCA5A5; background: rgba(239, 68, 68, .08);
  border-color: rgba(239, 68, 68, .32);
}
.login-page .msg.ok {
  color: var(--ok); background: rgba(52, 211, 153, .08);
  border-color: rgba(52, 211, 153, .32);
}
.login-page .msg .mono {
  font-family: var(--mono); font-size: 12.5px;
  color: var(--text); font-weight: 500;
}

.login-page .hidden { display: none; }

@media (max-width: 920px) {
  .login-page .split { grid-template-columns: 1fr; }
  .login-page .pane { display: none; }
  .login-page .form-side { padding-top: 56px; align-items: start; }
  .login-page .card { max-width: 420px; }
  .login-page .m-brand { display: flex !important; justify-content: center; margin-bottom: 30px; }
}
.login-page .m-brand { display: none; }

/* ============================================================================
 * Switchboard — interaktive "was ist das eigentlich?" Sektion.
 *
 * Sitzt auf der Landing zwischen Hero und Feature-Cards. User klickt
 * Ziel (own/ext) + Datenschutz (none/pseudonymize/strict), das
 * Flow-Diagramm + der Vorher/Nachher-Vergleich reagieren live. Alle
 * Text-Strings kommen aus dem i18n-Dict — das JS hier ist reine
 * DOM-Manipulation.
 * ==========================================================================*/

/* Ergänzung des Palette-Sets: warn (für "Achtung: extern = mask
 * Pflicht") und ext (für externe Provider-Farbe). Werden bewusst nur
 * hier ergänzt statt oben ins :root — sie sind Switchboard-spezifisch. */
:root {
  --switchboard-warn: #FBBF24;
  --switchboard-ext:  #F0ABFC;
  --switchboard-surface-3: #1A1E30;
  --switchboard-faint: #9AA0B4;
  /* Datenschutz-Schicht farblich abgesetzt vom Alias-Layer (indigo).
     Die drei Stufen sind eine visuelle Skala von "aus" (Warnfarbe) über
     "pseudonymize" (deutlich sichtbar aktiv) bis "strict" (satter, aber
     nicht zu grell für den dunklen Hintergrund). */
  --priv-off:    #FB923C;   /* orange-400 */
  --priv-mask:   #F59E0B;   /* amber-500 — zwischen off und pseudo */
  --priv-pseudo: #A3E635;   /* lime-400 */
  --priv-strict: #22C55E;   /* green-500 */
}

.what {
  padding: 76px 0 84px;
  /* keine Trennlinie mehr zu den Bausteinen darueber (09.11.2026) */
}
.what h2 {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.15;
  margin-top: 10px;
  max-width: 20ch;
}
.what .lede {
  color: var(--muted);
  margin-top: 12px;
  font-size: 16.5px;
  max-width: 62ch;
}

/* ---- Schaltpult ---- */
.switchboard {
  margin-top: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
.what .seg {
  display: flex;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px; gap: 3px;
  margin: 0;
}
.what .seg button {
  background: none; border: 1px solid transparent;
  border-radius: 7px; padding: 6px 12px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  color: var(--muted); cursor: pointer;
  transition: background .14s, color .14s, border-color .14s;
  white-space: nowrap;
}
.what .seg button:hover { color: var(--text); }
.what .seg button.on {
  background: var(--switchboard-surface-3);
  color: var(--text); border-color: var(--border-strong);
}
/* Datenschutz-Buttons: jede Stufe bekommt ihre eigene Farbe. Das
   Ziel-Segment daneben bleibt neutral (indigo als Layer-Farbe wird
   nur an der Alias-Station verwendet, nicht am Datenschutz). */
.what .seg button.on[data-v="none"] {
  color: #fff; background: var(--priv-off);    border-color: var(--priv-off);
}
.what .seg button.on[data-v="pseudonymize"] {
  color: #0A0B10; background: var(--priv-pseudo); border-color: var(--priv-pseudo);
}
.what .seg button.on[data-v="strict"] {
  color: #fff; background: var(--priv-strict); border-color: var(--priv-strict);
}

/* ---- Diagramm ---- */
.flow {
  display: grid;
  grid-template-columns: 150px 1fr 220px;
  gap: 0; align-items: stretch;
  padding: 26px 20px 22px;
}
.flow .col {
  display: flex; flex-direction: column;
  justify-content: center; gap: 10px;
}
.flow .node {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 12px; padding: 13px 15px;
}
.flow .node .n-t { font-family: var(--mono); font-size: 12.5px; font-weight: 600; }
.flow .node .n-s { font-size: 12px; color: var(--switchboard-faint); margin-top: 3px; line-height: 1.45; }
.flow .node.app .n-t { color: var(--text); }

.layer {
  position: relative;
  border: 2px solid var(--indigo);   /* Name im Rahmen: 2px wie alle Rahmen mit Namen */
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(99,102,241,.09), rgba(99,102,241,.03));
  padding: 14px; margin: 0 18px;
}

.what .arr {
  display: grid; place-items: center;
  font-family: var(--mono); color: var(--switchboard-faint);
  font-size: 15px; letter-spacing: -2px;
}

.target {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 13px 15px;
  transition: border-color .18s, opacity .18s, background .18s;
}
.target.off { opacity: .35; }
.target.on.own {
  border-color: var(--llm-rand);
  background: var(--llm-tint);
}
.target.on.ext {
  border-color: var(--llm-rand);
  background: rgba(56, 189, 248, .04); border-style: dashed; }

/* ---- Prompt-Vorher/Nachher ---- */
.payload {
  padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.pl {
  background: #0C0E17;
  border: 1px solid var(--border);
  border-radius: 12px; padding: 13px 15px;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.9;
  /* Feste Mindesthöhe verhindert Layout-Shift beim Wechsel zwischen
     ,,aus" / ,,pseudonymize" (3 Zeilen Prompt) und ,,strict" (4 Zeilen
     mit Zusatzhinweis). Der Footer variiert ebenfalls in der Höhe
     zwischen ein- und mehrzeilig — großzügig kalkuliert. */
  min-height: 220px;
}
.pl-foot {
  /* Mindesthöhe reserviert den Platz für die zwei-zeilige
     pseudonymize/strict-Erklärung auch dann, wenn ,,aus" (eine Zeile)
     aktiv ist. Ohne das würde die Payload-Box beim Klick zwischen
     Modi hüpfen. */
  min-height: 40px;
}
.pl-cap {
  font-size: 11px; color: var(--switchboard-faint);
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 8px;
}
.pl-cap b { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; }
.ph {
  color: var(--privacy);
  background: var(--privacy-tint);
  border-radius: 5px; padding: 1px 5px;
}
.sec {
  color: var(--switchboard-warn);
  background: rgba(251,191,36,.1);
  border-radius: 5px; padding: 1px 5px;
}
.pl-foot {
  font-size: 11.5px;
  color: var(--switchboard-faint);
  margin-top: 11px; line-height: 1.6;
}
.pl-foot .g { color: var(--ok); }

/* ---- drei Säulen ---- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 22px;
}

/* Pillar-Icon (Lucide-SVG). Ersetzt die alten p-no Nummern.
 * currentColor lässt den Ring in einer indigo Farbe leuchten,
 * inkl. sanftem Farbfeld dahinter zur Betonung. */

@media (max-width: 940px) {
  /* Der Pfeil ist eine eigene Zeile im gestapelten Raster: Linie plus
     Spitze, beide innerhalb seiner festen Hoehe positioniert. Damit
     haengt seine Lage an nichts ausser an sich selbst — anders als bei
     den frueheren Klammern, die per top:100px/bottom:46% ueber eine
     inhaltsabhaengige Szene gelegt waren und deshalb wanderten. */
  .pl-arrow {
    display: block;
    position: relative;
    height: 30px;
    margin: -8px 0;
  }
  .pl-arrow::before {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 9px;
    width: 2px;
    transform: translateX(-50%);
    background: var(--priv-off);
    border-radius: 2px;
  }
  .pl-arrow::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: var(--priv-off);
    border-bottom: none;
  }
  /* Farbe folgt der gewaehlten Datenschutz-Stufe, wie beim
     Runter-Pfeil auf Desktop. */
  .sb-scene.priv-pseudo .pl-arrow::before { background: var(--priv-pseudo); }
  .sb-scene.priv-pseudo .pl-arrow::after { border-top-color: var(--priv-pseudo); }
  .sb-scene.priv-strict .pl-arrow::before { background: var(--priv-strict); }
  .sb-scene.priv-strict .pl-arrow::after { border-top-color: var(--priv-strict); }

  /* Die Zusatzzeile darf auf schmalen Schirmen umbrechen. Das nowrap ist
     fuer die Modell-Tabelle gedacht, deren Karte bewusst seitlich
     scrollt — in den Status-Tabellen schob es dagegen die Wertespalten
     aus dem Bild: sichtbar war nur noch "Knoten", die Prozentzahlen
     standen ausserhalb. Scrollen half nicht, weil niemand nach rechts
     wischt, um die Hauptzahl zu finden. */
  .model-arch { white-space: normal; }

  /* Messpunkte sind Beleg, nicht Aussage — auf dem Telefon zugunsten
     der Prozentwerte weg. */
  .col-samples { display: none; }

  /* Die Begruendungsspalte der Speicher-Tabelle weicht auf dem Telefon.
     Waagrecht scrollen, um Fliesstext zu lesen, macht niemand; die
     Aussage steht ohnehin im Absatz darueber, und Feld plus Ja/Nein
     traegt die Tabelle allein. Am Desktop bleibt sie. */
  .col-why { display: none; }

  /* Zahlenspalten nicht umbrechen lassen: "4.778 · 98,19 %" gehoert in
     eine Zeile, sonst steht das Prozentzeichen allein darunter. */
  .table-card td.text-right { white-space: nowrap; }

  /* Fingerfreundliche Umschalter: 25-28px sind mit der Maus bequem, auf
     dem Telefon trifft man daneben. Kein Sprung auf die empfohlenen
     44px — das wuerde die Segmentleisten sprengen —, aber deutlich
     mehr Flaeche. */
  .segbar-btn { min-height: 36px; padding-top: 8px; padding-bottom: 8px; }

  .flow { grid-template-columns: 1fr; gap: 14px; }
  .layer { margin: 0; }
  .what .arr { transform: rotate(90deg); padding: 2px 0; }
  .payload { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .what h2 { font-size: 27px; }
}

/* ============================================================================
 * Switchboard v2 — Header entfällt, Dropdowns wandern in den Gateway-Kasten.
 *
 * Klassen-Neuheiten:
 *   .sb-v2                         — Marker-Klasse für den neuen Frame-Look
 *   .client-node, .client-alias    — der prominente Client-Kasten links
 *   .gw, .gw-cap, .gw-block, .gw-row, .gw-label, .gw-model, .gw-priv-desc
 *   .sb-dd, .sb-dd-menu, .dd-arrow — Custom-Dropdown (kein <select>)
 *   .priv-pill                     — die farbige Datenschutz-Dropdown-Pill
 *   .gw-warn                       — kurze Warn-Meldung "extern → mask Pflicht"
 *
 * Die alten Klassen (.sb-head, .station, .st-*, .stations) bleiben in
 * dieser Datei liegen, werden vom neuen Markup aber nicht mehr erreicht.
 * ==========================================================================*/

/* --- Scene (kein Rahmen mehr) ---
 * Das ehemalige .switchboard-Kästchen ist rückgebaut. Der Ablauf steht
 * jetzt als drei Rows nebeneinander: Gateway oben, Verbindungspfeile,
 * Payload-Vergleich unten. Keine Border, kein Background — das Auge
 * folgt dem Farbverlauf im Gateway plus den Pfeilen. */
.switchboard.sb-v2,
.sb-scene.sb-v2 {
  margin-top: 34px;
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}
.sb-scene-top {
  padding: 8px 0 0;
  display: flex;
  justify-content: center;
}
.sb-scene-top .gw {
  width: 100%;
}

/* --- Gateway-Kasten (Zentrum) --- */
.gw {
  position: relative;
  border: 1.5px solid var(--indigo);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(99,102,241,.10), rgba(99,102,241,.03));
  padding: 22px 20px 20px;
  box-shadow:
    inset 0 0 0 1px rgba(129,140,248,.06),
    0 8px 24px rgba(99,102,241,.10);
}
.gw-cap {
  position: absolute; top: -12px; left: 16px;
  background: var(--bg);
  padding: 2px 10px;
  font-family: var(--display);
  font-size: 13px; font-weight: 700;
  color: var(--indigo-light);
  letter-spacing: -.01em;
}
.gw-block {
  padding: 12px 0;
  position: relative;   /* für absolute .sb-dd-menu */
}
/* Letzter Block braucht kein padding-bottom — sonst zusätzlicher
   Leerraum zwischen der Datenschutz-Erklärung und dem
   Gateway-Bottom-Rahmen. Der gw-padding (20px) liefert bereits den
   Abstand zum Rahmen, gleiche Größe wie rechts. */
.gw-block:last-child {
  padding-bottom: 0;
}
.gw-row {
  display: flex; align-items: center;
  gap: 12px;
}
.gw-label,
.gw-label-small {
  /* Alle drei Labels (Alias, Ziel, aufgelöst auf, Datenschutz)
     rechtsbündig auf einer festen Breite, damit die Werte-Boxen
     rechts davon in einer sauberen linken Flucht starten. */
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--switchboard-faint);
  letter-spacing: .04em;
  text-transform: uppercase;
  width: 130px;
  flex: none;
  text-align: right;
}
.gw-resolves {
  display: flex; align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.gw-model {
  font-family: var(--mono); font-size: 14px;
  color: var(--text);
  background: var(--llm-tint);
  border: 1px solid var(--llm-rand);
  border-radius: 7px;
  padding: 4px 10px;
  white-space: nowrap;
}
/* Erklärung der gewählten Stufe: schlichter Text unter den Stufen-Buttons, in der Flucht der Bedienelemente
   (130px Label + 12px Abstand). Mindesthöhe verhindert Springen beim Wechsel der Stufe. */
.gw-priv-desc { margin: 10px 0 0 142px; min-height: 44px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.gw-warn {
  /* Toast unter dem Datenschutz-Block. Im Ruhezustand nimmt er keinen
     Platz weg (min-height 0, kein margin) — sonst klafft immer ein
     22px-Streifen über dem Gateway-Bottom-Border. Beim Einblenden
     springt der Bottom-Border kurz nach unten; das ist okay, weil
     der Toast nur ~1.8s lebt. */
  font-size: 11.5px;
  color: var(--switchboard-warn);
  padding-left: 0;
  opacity: 0;
  overflow: hidden;
  max-height: 0;
  margin-top: 0;
  transition: opacity .18s ease, max-height .18s ease, margin-top .18s ease;
}
.gw-warn.show {
  opacity: 1;
  max-height: 20px;
  margin-top: 6px;
}
.dd-arrow {
  font-size: 10px;
  color: var(--switchboard-faint);
  transition: transform .18s ease;
}

/* --- Target-Column (rechts) — kompakter jetzt --- */
.switchboard.sb-v2 .col.targets { gap: 12px; }
.switchboard.sb-v2 .target {
  padding: 14px 15px;
  border-radius: 12px;
}

/* --- Responsive --- */
@media (max-width: 940px) {
  .switchboard.sb-v2 .flow { padding: 24px 18px; }
}

/* ============================================================================
 * Segbar (Segmented Bar mit Sliding-Highlight)
 *
 * Ersetzt die Custom-Dropdowns aus v2. User klickt eine Option, ein
 * absolut positionierter Highlight-Streifen gleitet an die Position
 * des aktiven Buttons. Position + Breite werden per JS gesetzt (als
 * CSS-Variablen — CSS macht dann den animierten Übergang).
 *
 * Farb-Modi:
 *   .segbar (neutral, Ziel-Umschalter — dunkelgrauer Highlight)
 *   .segbar.priv-off / .priv-pseudo / .priv-strict
 *       — Datenschutz mit farbigem Highlight je Stufe.
 * ==========================================================================*/

.segbar {
  --seg-x: 0px;
  --seg-w: 0px;
  position: relative;
  display: inline-flex;
  align-items: stretch;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px;
  gap: 0;
  overflow: hidden;
  flex: 1 1 auto;
}
.segbar-slider {
  position: absolute;
  top: 3px; bottom: 3px;
  left: var(--seg-x);
  width: var(--seg-w);
  /* Default: Ziel-Segbar bekommt einen deutlichen Indigo-Ton — passt
     zum Alias/Gateway-Farbschema. Die Priv-Modi überschreiben unten. */
  background: rgba(99, 102, 241, .22);
  border: 1px solid var(--indigo);
  border-radius: 7px;
  transition:
    left .22s cubic-bezier(.4, 0, .2, 1),
    width .22s cubic-bezier(.4, 0, .2, 1),
    background .18s ease,
    border-color .18s ease;
  z-index: 0;
  pointer-events: none;
}
.segbar-btn {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-radius: 7px;
  transition: color .18s ease;
  flex: 1 1 auto;
  text-align: center;
  white-space: nowrap;
}
.segbar-btn:hover { color: var(--text); }
.segbar-btn.on { color: var(--text); }
/* Ziel-Segbar (nicht Priv): aktives Element klar weiß auf indigo. */
.segbar:not([class*="priv-"]) .segbar-btn.on { color: #fff; }
/* Sup-Sternchen im OpenRouter-Button klar sichtbar. */
.segbar-btn sup {
  color: var(--indigo-light);
  font-weight: 600;
  margin-left: 1px;
}
.segbar-btn.on sup { color: #fff; }

/* Datenschutz-Slider: je Modus eine passende Farbe (orange/lime/grün).
   Text im aktiven Button dunkel auf hellen Stufen (aus, pseudonymize),
   weiß auf strict. */
.segbar.priv-off .segbar-slider {
  background: var(--priv-off);
  border-color: var(--priv-off);
}
.segbar.priv-off .segbar-btn.on { color: #fff; }

.segbar.priv-mask .segbar-slider {
  background: var(--priv-mask);
  border-color: var(--priv-mask);
}
.segbar.priv-mask .segbar-btn.on { color: #0A0B10; }

.segbar.priv-pseudo .segbar-slider {
  background: var(--priv-pseudo);
  border-color: var(--priv-pseudo);
}
.segbar.priv-pseudo .segbar-btn.on { color: #0A0B10; }

.segbar.priv-strict .segbar-slider {
  background: var(--priv-strict);
  border-color: var(--priv-strict);
}
.segbar.priv-strict .segbar-btn.on { color: #fff; }

/* Anpassung im gw-row: Segbar füllt die verbleibende Breite aus, das
   Label bleibt seitlich am Anfang. */
.gw-row .segbar { min-width: 0; }

/* ============================================================================
 * Alias-Zeile im Gateway (ersetzt die separate Client-Node-Box) plus
 * Sicherheits-Fußnote unter der Payload-Section.
 * ==========================================================================*/

.gw-alias-value {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--alias-light);
  letter-spacing: -.01em;
  white-space: nowrap;
}

/* Fußnote sitzt unter der Payload (im Frame). Dashed-Border oben
 * grenzt sie visuell vom Prompt-Vergleich ab. Sup-Anker
 * indigo-light, sonst muted. */
.sb-footnote {
  margin: 36px 0 0;
  padding: 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}
.sb-footnote sup {
  color: var(--indigo-light);
  font-weight: 600;
  margin-right: 2px;
}
.sb-footnote b { color: var(--text); font-weight: 600; }

/* ============================================================================
 * Pfeil-Verbindungen zwischen Gateway und Payload.
 *
 * Desktop (≥ 940px):
 *   ┌── Gateway ──┐
 *   │             │
 *   └─────────────┘
 *      ↑       │
 *      │       │       (2 gerade vertikale Pfeile, zwischen den Rows)
 *      │       ↓
 *   ┌── Raw ──┐   ┌── Masked ──┐
 *
 * Mobile (< 940px):
 *   ┌── Gateway ──┐
 *   │             │
 *   └─────────────┘
 *   │                │   (Linien seitlich außen, an den Boxen vorbei)
 *   │  ┌── Raw ──┐   │
 *   │  │         │   │
 *   │  └─────────┘   │
 *   ▲                ▼
 *   │  ┌── Masked ──┐│
 *   │  │            ││
 *   │  └────────────┘│
 * ==========================================================================*/

/* ---- Desktop-Konnektor ---- */
.sb-connect-desktop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;                 /* muss dem .payload gap entsprechen */
  margin: 22px 0 24px;
  height: 42px;
  padding: 0;
}
.sb-arr {
  position: relative;
  width: 2px;
  height: 100%;
  background: var(--indigo);
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, .18);
}
/* Pfeilspitze nach oben (Raw → Gateway) */
.sb-arr.up::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: var(--indigo);
  border-top: none;
}
/* Pfeilspitze nach unten (Gateway → Masked) */
.sb-arr.down::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--indigo);
  border-bottom: none;
}

/* ---- Mobile-Konnektor ---- */
@media (max-width: 940px) {
  .sb-connect-desktop { display: none; }

  .sb-scene.sb-v2 {
    /* Damit die außenliegenden Linien Platz bekommen und positioniert
       werden können, gibt es hier ein Padding links/rechts + eine
       relative Positionierung. */
    padding-left: 26px;
    padding-right: 26px;
    position: relative;
  }
  .sb-scene-top { padding-top: 8px; }

  .payload {
    grid-template-columns: 1fr;
    margin-top: 26px;
    gap: 26px;
    position: relative;
    z-index: 1;
  }

}

/* ============================================================================
 * Payload-Farbcodierung: Rohtext-Box hat immer indigo-Rahmen (,,geht ins
 * Gateway rein"), Ergebnis-Box und der Runter-Pfeil färben sich in der
 * Farbe der aktiv gewählten Datenschutz-Stufe.
 *
 * Der ,,rauf"-Pfeil (Raw → Gateway) bleibt indigo, weil er den Input-
 * Strom repräsentiert. Der ,,runter"-Pfeil (Gateway → Masked) trägt
 * die Priv-Farbe, weil er den POLICY-transformierten Output zeigt.
 * ==========================================================================*/

/* Raw-Payload: immer indigo. */
.payload .pl:first-child {
  border-color: var(--indigo);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, .18);
}

/* Ergebnis-Payload + Runter-Pfeil: Farbe folgt dem Priv-Modus.
   Selektor greift auf die auf .sb-scene gestempelte Klasse zu. */
.sb-scene.priv-off .payload .pl:last-child {
  border-color: var(--priv-off);
  box-shadow: 0 0 0 1px rgba(251, 146, 60, .22);
}
.sb-scene.priv-off .sb-arr.down { background: var(--priv-off); }
.sb-scene.priv-off .sb-arr.down::after { border-top-color: var(--priv-off); }

.sb-scene.priv-pseudo .payload .pl:last-child {
  border-color: var(--priv-pseudo);
  box-shadow: 0 0 0 1px rgba(163, 230, 53, .22);
}
.sb-scene.priv-pseudo .sb-arr.down { background: var(--priv-pseudo); }
.sb-scene.priv-pseudo .sb-arr.down::after { border-top-color: var(--priv-pseudo); }

.sb-scene.priv-strict .payload .pl:last-child {
  border-color: var(--priv-strict);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, .22);
}
.sb-scene.priv-strict .sb-arr.down { background: var(--priv-strict); }
.sb-scene.priv-strict .sb-arr.down::after { border-top-color: var(--priv-strict); }

/* ============================================================================
 * Mobile-Feinschliff für den Switchboard.
 * ==========================================================================*/

@media (max-width: 940px) {
  /* Modellname (,,ALLSmartLLM · Qwen 3.5 · 397B") ist mit
     white-space: nowrap länger als die Kastenbreite auf mobile —
     lief seitlich raus. Auf mobile darf er umbrechen. */
  .gw-resolves {
    flex-wrap: wrap;
    white-space: normal;
    row-gap: 6px;
  }
  .gw-model {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.4;
  }
  /* Labels dürfen auch schmäler werden auf mobile, sonst nehmen sie
     zu viel Platz weg. */
  .gw-label,
  .gw-label-small {
    width: 108px;
  }

  /* Alias-Wert (,,big-fat-model") war auf mobile mit nowrap + 18px
     zu breit und schob den Gateway-Kasten über den Bildschirmrand. */
  .gw-alias-value {
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 16px;
    line-height: 1.25;
  }

  /* Segbar-Buttons (,,pseudonymize", ,,OpenRouter*") waren mit nowrap
     + 8px 14px Padding zu breit, ,,pseudonymize" wurde rechts
     abgeschnitten. Kompakter machen, dünnere Buchstabenabstände. */
  .segbar-btn {
    padding: 6px 8px;
    font-size: 11px;
    letter-spacing: -.01em;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.15;
  }

  /* Safety: Gateway und Segbar dürfen im Flex-Layout schrumpfen. */
  .gw { min-width: 0; overflow: hidden; }
  .gw-row .segbar { min-width: 0; }
  /* Scene-Overflow hidden gegen weitere horizontale Ausreißer. */
  .sb-scene.sb-v2 { overflow-x: hidden; }
}

/* Sehr schmale Screens (Smartphone-Portrait): Labels ueber statt neben
   den Segbars, damit die 4 Datenschutz-Buttons nicht auf 30px
   zusammengequetscht werden und ihre Buchstaben vertikal stapeln. */
@media (max-width: 560px) {
  .gw-row {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .gw-label,
  .gw-label-small {
    width: auto;
    text-align: left;
  }
  .gw-row .segbar {
    width: 100%;
    display: flex;
  }
  /* Buttons duerfen nur an Wort-Grenzen brechen, nicht an jedem Zeichen.
     Sonst wird ,,pseudonymize" auf sehr schmalen Buttons zu ,,pseu/dony/
     mize" auseinandergerissen. */
  .segbar-btn {
    overflow-wrap: normal;
    word-break: normal;
    padding: 6px 6px;
    font-size: 11px;
  }
  /* .gw-cap (,,ALLSmartLLM"-Label) sitzt via absolute + top:-12px am
     oberen Rand — der overflow:hidden aus dem 940er-Block schneidet ihn
     dann ab. Auf sehr schmalen Screens Overflow wieder freigeben. */
  .gw { overflow: visible; }

  /* Die Brackets sind abgeschaltet. Sie wurden mit festen Pixel- und
     Prozentwerten (top:100px, bottom:46%) um eine Scene gelegt, deren
     Hoehe vom Inhalt abhaengt — sobald der sich aendert, sitzen sie
     falsch: Linien laufen ueber die Karten hinaus, Pfeilspitzen landen
     mitten im Text. Auf mobile stehen die beiden Payload-Boxen ohnehin
     untereinander, die Leserichtung ergibt den Fluss von selbst.

     Wenn der Fluss wieder sichtbar werden soll, dann als Pfeil ZWISCHEN
     den Boxen im normalen Fluss — nicht als absolut positionierte
     Klammer, die jede Inhaltsaenderung wieder zerlegt. */

}

/* ============================================================================
 * Hilfsklassen dieses Auftritts.
 *
 * BEWUSST GANZ AM ENDE: eine Hilfsklasse existiert, um eine
 * Komponenten-Regel zu ueberschreiben (.mt-22 gegen den
 * margin-top von .hero-ctas etwa). Bei gleicher Spezifitaet
 * entscheidet die Reihenfolge — steht sie vorher, tut sie nichts.
 *
 * Lagen bis 2026-09-01 in der geteilten utilities.css, wo sie in
 * einem Abschnitt "Allsmartllm spezifisch" standen. Die alte Seite
 * benutzt keine davon.
 * ==========================================================================*/
.flex-wrap-gap-sm {
  flex-wrap: wrap;
  gap: 6px;
}

.section-pt-0 {
  padding-top: 0;
}

.text-right-faint {
  text-align: right;
  color: var(--faint);
  font-size: 12px;
}

.mt-22 {
  margin-top: 22px;
}

/* ---------- Technik-Blog (/de/technik/, /en/engineering/) ---------- */
.technik .eyebrow { font-family: var(--mono); font-size: 12px; color: var(--indigo-light); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.tk-liste { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.tk-karte { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; transition: border-color .15s ease; }
.tk-karte:hover { border-color: var(--indigo); }
.tk-karte h2 { font-size: 20px; margin: 6px 0 0; }
.tk-karte p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-top: 8px; }
.tk-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); }
/* Datum und Autor nicht direkt unter die Ueberschrift kleben. */
.technik h1 + .tk-meta { margin-top: 18px; }
.tk-meta a { color: var(--indigo-light); }
.tk-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tk-tags span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); border: 1px solid var(--border); border-radius: 6px; padding: 1px 8px; }
.tk-tags-unten { margin-top: 36px; }
.tk-entwurf { margin-left: 8px; color: #fb923c; border: 1px solid rgba(249,115,22,.4); border-radius: 6px; padding: 0 6px; }
.tk-entwurf-hinweis { border-color: rgba(249,115,22,.45); color: #fb923c; margin-bottom: 18px; }
.tk-zurueck { font-size: 14px; margin-bottom: 18px; }
/* Breadcrumbs auf allen oeffentlichen Seiten: Startseite > Seite (> Artikel). Die letzte Stufe (der
   Artikeltitel) wird bei Platzmangel mit Auslassungspunkten gekuerzt. */
/* Das globale "nav" (Hauptnavigation) ist sticky, mit Hintergrund und
   Rahmen. Fuer die Breadcrumbs alles zuruecksetzen. */
.brotkrumen { font-size: 13.5px; margin-bottom: 20px; position: static; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; z-index: auto; }
.brotkrumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; row-gap: 4px; }
.brotkrumen li { display: inline-flex; align-items: baseline; min-width: 0; color: var(--muted); }
.brotkrumen li + li::before { content: "\203A"; margin: 0 8px; color: var(--faint); }
.brotkrumen a { color: var(--indigo-light); }
.brotkrumen li:last-child { flex: 1 1 0; min-width: 0; }
.brotkrumen [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; display: block; }
.tk-zurueck a, .tk-feed a { color: var(--indigo-light); }
.tk-zurueck-unten { margin: 36px 0 0; }
.tk-feed { margin-top: 28px; font-size: 13px; }
.technik .tk-meta + .prose { margin-top: 28px; }

/* Fliesstext eines Artikels: Markdown aus content/engineering/ */
.prose { color: var(--text); font-size: 16.5px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 24px; margin-top: 2em; }
.prose h3 { font-size: 19px; margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose a { color: var(--indigo-light); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .35em; }
.prose blockquote { border-left: 2px solid var(--indigo); padding: 2px 0 2px 16px; color: var(--muted); }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); border: 1px solid var(--border); border-radius: 5px; padding: 1px 5px; }
.prose pre { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; overflow-x: auto; font-size: 13.5px; line-height: 1.6; }
.prose pre code { background: none; border: 0; padding: 0; font-size: inherit; }
.prose pre code.hljs { background: none; padding: 0; }
/* Tabellen wie die Modelltabelle der Startseite: Karte, Mono-Kopfzeile,
   Zeilen mit Hover. Auf dem Desktop bricht die Karte aus der 720er
   Textspalte aus (gleiche Technik wie .table-card.table-wide, ohne
   transform), auf schmalen Bildschirmen scrollt sie seitlich. */
.prose .tk-tabelle { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow-x: auto; overflow-y: hidden; }
@media (min-width: 1000px) {
  .prose .tk-tabelle {
    margin-left: calc((100% - min(1040px, 100vw - 48px)) / 2);
    margin-right: calc((100% - min(1040px, 100vw - 48px)) / 2);
  }
}
.prose .tk-tabelle table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.prose .tk-tabelle th { padding: 13px 20px; white-space: nowrap; }
.prose .tk-tabelle td { padding: 13px 20px; color: var(--muted); vertical-align: top; }
.prose .tk-tabelle td:first-child { color: var(--text); }
.prose .tk-tabelle td strong { color: var(--text); }
.prose img { max-width: 100%; border-radius: 10px; border: 1px solid var(--border); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.2em 0; }

/* ---------- Betrieb der Sparks (/de/betrieb/) ---------- */
.betrieb .wrap { max-width: 1120px; }
.betrieb .lead { max-width: 70ch; }
.bt-h2 { font-size: 22px; margin: 44px 0 14px; }
.bt-karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .bt-karten { grid-template-columns: 1fr; } }
.bt-karte { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }
.bt-kopf h3 { font-size: 18px; margin: 0; }
.bt-belegung { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 4px; }
.bt-werte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 8px; }
.bt-werte dt { font-size: 11.5px; color: var(--faint); line-height: 1.35; }
.bt-werte dd { margin: 4px 0 0; font-family: var(--mono); font-size: 13.5px; color: var(--text); }
.bt-werte dd.bt-gross { font-size: 22px; }
.bt-diagramm { margin-top: 10px; }
.bt-svg { width: 100%; height: auto; display: block; }
.bt-svg .bt-band { fill: rgba(129, 140, 248, .22); }
.bt-svg .bt-linie { fill: none; stroke: var(--indigo-light); stroke-width: 1.6; }
.bt-svg .bt-punkt { fill: var(--indigo-light); }
.bt-svg .bt-marke { stroke: #fb923c; stroke-width: 1; stroke-dasharray: 4 4; }
.bt-svg .bt-raster { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.bt-svg .bt-wechsel { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 4 3; }
.bt-svg .bt-achse { fill: var(--faint); font-family: var(--mono); font-size: 10px; }
.bt-legende, .bt-hinweis { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 8px; }
.bt-hinweis { max-width: 80ch; }
/* Abstand zwischen Text und Kartenraster, in beide Richtungen. */
.bt-karten + .bt-hinweis { margin-top: 18px; }
.bt-hinweis + .bt-karten { margin-top: 18px; }
.bt-h2 + .bt-karten { margin-top: 0; }
.bt-hinweis a { color: var(--indigo-light); }

/* ---------- Logik-Index (/de/logik-index/), Entwurf ---------- */
.li-banner { display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 8px; font-size: 13px;
  color: #FCD34D; background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .35); }
.li-kopfzahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 32px 0 20px; }
.li-kopfzahlen > div { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.li-kopfzahlen span:last-child { font-size: 13px; color: var(--muted); }
.li-kz { font-family: var(--display); font-size: 30px; font-weight: 600; color: var(--text); line-height: 1.1; }
.li-karte { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; min-width: 0; }
.li-breit { margin: 16px 0; }
.li-raster-2 { margin: 16px 0; }
.li-kartenkopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.li-kartenkopf h2 { font-size: 19px; margin: 0; }
.li-pfeil { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.li-pfeil::before { content: '↑ '; color: var(--ok); }
.li-unter { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 6px 0 14px; max-width: 75ch; }
.li-fuss { font-size: 12px; color: var(--muted); opacity: .8; margin-top: 10px; }
.li-svg { width: 100%; height: auto; display: block; }
.li-svg .li-name { fill: var(--text); font-family: var(--body); font-size: 13px; }
.li-svg .li-notiz { fill: var(--muted); font-family: var(--mono); font-size: 10px; opacity: .8; }
.li-svg .li-wert { fill: var(--text); font-family: var(--mono); font-size: 13px; font-weight: 600; }
.li-svg .li-ci { stroke: rgba(240, 242, 250, .55); stroke-width: 1.2; }
.li-svg .li-raster { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.li-svg .li-achse { fill: var(--muted); font-family: var(--mono); font-size: 10.5px; opacity: .8; }
.li-svg .li-titel { fill: var(--muted); font-family: var(--body); font-size: 11.5px; }
.li-svg .li-punkt { fill: var(--text); font-family: var(--body); font-size: 12px; }
.li-svg .li-zone { fill: rgba(52, 211, 153, .06); }
.li-budget { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.li-aufruf h3, .li-h3 { font-size: 15px; margin: 0 0 8px; }
.li-aufruf p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.li-aufruf pre, .li-beispiel { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px;
  font-family: var(--mono); font-size: 12.5px; color: var(--text); overflow-x: auto; margin: 10px 0; white-space: pre-wrap; }
.li-tabelle-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
.li-tabelle { width: 100%; border-collapse: collapse; font-size: 14px; }
.li-tabelle th { text-align: left; font-weight: 500; font-size: 12px; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.li-tabelle td { padding: 12px 16px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.li-tabelle tr:last-child td { border-bottom: 0; }
.li-zahl { font-family: var(--mono); font-size: 13px; }
.li-ci { color: var(--muted); font-size: 11.5px; }
.li-punkt-farbe { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 9px; vertical-align: 1px; }
.li-liste { padding-left: 18px; font-size: 14px; color: var(--muted); line-height: 1.7; }
@media (max-width: 860px) {
  .li-budget { grid-template-columns: 1fr; }
  .li-kopfzahlen { grid-template-columns: 1fr; }
}
.li-legende { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.li-l { display: inline-block; width: 18px; height: 10px; border-radius: 2px; margin-right: 7px; vertical-align: -1px; }
.li-l-angebot { background: var(--indigo-light); }
.li-l-intern { background: rgba(129, 140, 248, .7); outline: 1.5px dashed var(--indigo-light); outline-offset: -1px; }
.li-l-extern { background: rgba(129, 140, 248, .12); border: 1.5px solid var(--indigo-light); }
.li-tag { font-family: var(--mono); font-size: 10.5px; padding: 1px 6px; border-radius: 5px; margin-left: 6px; vertical-align: 1px; }
.li-tag-intern { color: var(--indigo-light); border: 1px dashed var(--border-strong); }
.li-tag-extern { color: var(--muted); border: 1px solid var(--border-strong); }
/* Balken als HTML (Logik-Index): Schrift bleibt bei jeder Breite gleich gross. */
.li-balken { display: flex; flex-direction: column; gap: 9px; }
.li-zeile { display: grid; grid-template-columns: minmax(110px, 200px) minmax(0, 1fr) 52px; gap: 12px; align-items: center; }
.li-z-name { font-size: 13px; color: var(--text); text-align: right; line-height: 1.25; overflow-wrap: anywhere; }
.li-z-name small { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--muted); opacity: .85; }
.li-spur { position: relative; height: 20px; }
.li-b { position: absolute; top: 0; bottom: 0; background: var(--c); border-radius: 3px; }
.li-b-hell { opacity: .5; border-radius: 3px 0 0 3px; }
.li-b-intern { opacity: .75; outline: 1.5px dashed var(--c); outline-offset: -1.5px; }
.li-b-extern { background: color-mix(in srgb, var(--c) 14%, transparent); border: 1.5px solid var(--c); }
.li-b-ci { position: absolute; top: 50%; height: 0; border-top: 1.2px solid rgba(240, 242, 250, .6); }
.li-b-ci::before, .li-b-ci::after { content: ''; position: absolute; top: -5px; height: 10px; border-left: 1.2px solid rgba(240, 242, 250, .6); }
.li-b-ci::before { left: 0; } .li-b-ci::after { right: 0; }
.li-z-wert { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; }
@media (max-width: 520px) {
  .li-zeile { grid-template-columns: 34% minmax(0, 1fr) 44px; gap: 8px; }
  .li-z-name { font-size: 12px; }
  .li-karte { padding: 16px 14px; }
}
.li-svg { max-width: 560px; }
.li-b-intern { outline: 0; opacity: 1;
  background: repeating-linear-gradient(135deg, var(--c) 0 7px, color-mix(in srgb, var(--c) 45%, transparent) 7px 11px); }
.li-l-intern { outline: 0; background: repeating-linear-gradient(135deg, var(--indigo-light) 0 4px, rgba(129, 140, 248, .4) 4px 6px); }
.li-b-anbindbar { background: color-mix(in srgb, var(--c) 10%, transparent); border: 1.5px dotted var(--c); }
.li-l-anbindbar { background: rgba(129, 140, 248, .1); border: 1.5px dotted var(--indigo-light); }
.li-tag-anbindbar { color: var(--muted); border: 1px dotted var(--border-strong); }

/* ---------- Modellseiten (/de/modelle/), Entwurf ---------- */

.md-titel { display: flex; gap: 16px; align-items: center; margin-top: 8px; }
.md-titel h1 { margin: 0; }
.md-ico { width: 40px; height: 40px; flex: none; }
.md-unter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.md-kz { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.md-kz a { color: inherit; }
@media (max-width: 860px) { .md-kz { grid-template-columns: repeat(2, minmax(0, 1fr)); }  }
.md-gratis { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  margin: 16px 0; padding: 20px 22px; border-radius: 14px; border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, var(--indigo-glow), transparent 70%); }
.md-gratis h2 { font-size: 19px; margin: 0 0 4px; }
.md-gratis p { font-size: 14px; color: var(--muted); margin: 0; max-width: 62ch; }
.md-h2 { font-size: 17px; margin: 0 0 12px; }
.md-steckbrief { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 9px 18px; font-size: 14px; }
.md-steckbrief div { display: contents; }
.md-steckbrief dt { color: var(--muted); }
.md-steckbrief dd { color: var(--text); }
.md-steckbrief .cap-pill { margin: 0 4px 4px 0; }
.md-mehr { font-size: 13px; color: var(--indigo-light); }
.md-logik { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.md-weitere { display: flex; flex-wrap: wrap; gap: 8px; }
.md-weitere a { font-size: 13px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); }
.md-weitere a:hover { color: var(--text); border-color: var(--border-strong); }
.modell .bt-diagramm { max-width: 620px; }

/* Steckbrief mit Icons */
.md-steckbrief { gap: 11px 18px; }
.md-steckbrief dt { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.md-steckbrief dt .lucide { width: 16px; height: 16px; color: var(--indigo-light); flex: none; }
/* Gratis-Kasten im Gruen der Seite (--ok) */
.md-gratis { justify-content: flex-start; border-color: rgba(52, 211, 153, .45);
  background: linear-gradient(135deg, rgba(52, 211, 153, .14), rgba(52, 211, 153, .03) 70%); }
.md-gratis-ico { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(52, 211, 153, .14); color: var(--ok); }
.md-gratis-ico .lucide { width: 26px; height: 26px; }
.md-gratis-text { flex: 1 1 320px; min-width: 0; }
.md-gratis-zahl { font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--ok); line-height: 1.15; }
.md-gratis h2 { font-size: 15px; margin: 4px 0 2px; color: var(--text); }
.md-gratis .btn { flex: none; }
/* Modelluebersicht als Tabelle */
.md-tabelle { margin-top: 8px; }
.md-link { color: inherit; }
a.model-cell.md-link { display: flex; }
.md-link:hover .vendor-name, a.md-link.vendor-name:hover { color: var(--indigo-light); }
.md-link .model-text { display: flex; flex-direction: column; }
.md-tarif { display: block; font-family: var(--body); font-size: 11.5px; color: var(--muted); opacity: .8; }

.md-tabelle th { white-space: nowrap; }
@media (max-width: 560px) {
  .md-steckbrief { grid-template-columns: 1fr; gap: 2px 0; }
  .md-steckbrief dd { margin: 0 0 10px 25px; overflow-wrap: anywhere; }
  .md-gratis { padding: 18px 16px; }
  .md-gratis-zahl { font-size: 22px; }
  .md-kz .li-kz { font-size: 22px; }
}
@media (max-width: 860px) { .md-logik { grid-template-columns: 1fr; } }
.md-tabelle { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.md-tabelle table { min-width: 780px; }
.md-tabelle td:first-child { min-width: 220px; }
/* Icons in den Kennzahl-Kaesten der Modellseite */
.md-kz > div { position: relative; }
.md-kz-ico { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; background: var(--indigo-glow); color: var(--indigo-light); }
.md-kz-ico .lucide { width: 16px; height: 16px; }
/* --faint gibt es nur im Zentrale-CSS; SVG-Text ohne gueltige Fuellung wird
   schwarz (Achsen der Tempo- und Temperaturdiagramme, 25.10.2026). */
.bt-svg .bt-achse { fill: var(--muted); fill-opacity: .75; }
.md-h-ico { display: flex; align-items: center; gap: 10px; }
.md-h-ico .lucide { width: 18px; height: 18px; color: var(--indigo-light); flex: none; }
/* Kopf der Modellseite: Icon in der Zeile des Namens, Badges darunter
   (bestimmen die Hoehe der Icon-Zeile nicht mehr). */
.md-titel { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; }
.md-titel .md-ico { grid-column: 1; grid-row: 1; width: 36px; height: 36px; }
.md-titel h1 { grid-column: 2; grid-row: 1; line-height: 1.1; }
.md-titel .md-unter { grid-column: 2; grid-row: 2; }
.md-titel h1:first-child, .md-titel h1:first-child ~ .md-unter { grid-column: 1 / -1; }

/* ---------- Privacy-Schicht (/de/privacy-schicht/), Entwurf ---------- */
.ps-ablauf { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 28px; }
.ps-ablauf .li-karte { height: 100%; }
.ps-schritt { font-family: var(--mono); font-size: 12px; color: var(--indigo-light); margin-bottom: 8px; }
.ps-pfeil { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(52, 211, 153, .12); color: var(--ok); }
.ps-pfeil .lucide { width: 18px; height: 18px; }
@media (max-width: 900px) { .ps-ablauf { grid-template-columns: 1fr; } .ps-pfeil { justify-self: center; } }
.ps-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .ps-raster { grid-template-columns: 1fr; } }
.ps-zusagen { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
@media (max-width: 760px) { .ps-zusagen { grid-template-columns: 1fr; } }
.ps-zusagen li { display: flex; gap: 12px; align-items: flex-start; }
.ps-zusagen .lucide { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 2px; }
.ps-zusagen strong { display: block; color: var(--text); font-size: 15px; }
.ps-zusagen span { display: block; color: var(--muted); font-size: 14px; line-height: 1.55; }
.ps-preis span { font-family: var(--body); font-size: 14px; color: var(--muted); font-weight: 400; }
.ps-modelle { margin-top: 12px; }
.ps-grenzen { max-width: 80ch; }
.ps-zusagen { margin-bottom: 28px; }
/* Stufen der Privacy-Schicht in den Farben der Startseite */
.ps-stufen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 14px; margin-top: 20px; }
@media (max-width: 960px) { .ps-stufen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ps-stufen { grid-template-columns: 1fr; } }
.ps-stufe-off { --ps-c: var(--priv-off); }
.ps-stufe-mask { --ps-c: var(--priv-mask); }
.ps-stufe-pseudo { --ps-c: var(--priv-pseudo); }
.ps-stufe-strict { --ps-c: var(--priv-strict); }
.ps-stufe { min-width: 0; min-inline-size: 0; margin: 0; padding: 8px 20px 20px; border: 2px solid var(--ps-c);
  border-radius: 14px; background: var(--surface); }
.ps-stufe > legend { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; padding: 0 8px;
  font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--ps-c); }
.ps-stufe > legend .lucide { width: 16px; height: 16px; }
.ps-stufe .li-unter { margin-top: 6px; }
.li-kopfzahlen > div { position: relative; }
/* Badges unter dem Modellnamen linksbuendig, ohne Einrueckung unter dem Icon */
.md-titel .md-unter { grid-column: 1 / -1; }
.md-unter .li-tag { margin-left: 0; }
.md-titel .md-unter { margin-top: 10px; }
/* Status "api": nur ueber die Hersteller-API (keine offenen Gewichte) */
.li-b-api { background: color-mix(in srgb, var(--c) 10%, transparent); border: 1.5px dashed var(--c); }
.li-l-api { background: rgba(129, 140, 248, .1); border: 1.5px dashed var(--indigo-light); }
.li-tag-api { color: var(--muted); border: 1px dashed var(--border-strong); }
/* Modellnamen im Logik-Index fuehren zur Detailseite */
.li-z-name a, a.li-link { color: inherit; border-bottom: 1px dotted rgba(129, 140, 248, .5); }
.li-z-name a:hover, a.li-link:hover { color: var(--indigo-light); border-bottom-color: var(--indigo-light); }
/* Sprachumschalter im Footer */
.foot-sprache { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; }
.foot-sprache .lucide { width: 15px; height: 15px; color: var(--muted); }
.foot-sprache strong { color: var(--text); font-weight: 500; }
.foot-sprache a { color: var(--muted); border-bottom: 1px dotted rgba(197, 202, 216, .4); }
.foot-sprache a:hover { color: var(--text); }
/* Logik-Index: Gruppen, Befund, Beispiele */
.li-gruppe { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 10px 0 2px; }
.li-gruppe:first-child { margin-top: 0; }
.li-tab-gruppe td { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); padding: 8px 16px; }
.li-text { font-size: 14.5px; color: var(--text); line-height: 1.65; max-width: 85ch; margin: 0 0 10px; }
.li-bsp-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
@media (max-width: 760px) { .li-bsp-raster { grid-template-columns: 1fr; } }
.li-bsp-antwort { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.li-bsp-antwort.ok { border-color: rgba(52, 211, 153, .45); }
.li-bsp-antwort.falsch { border-color: rgba(248, 113, 113, .45); }
.li-bsp-kopf { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.li-bsp-antwort blockquote { margin: 0; font-size: 13.5px; color: var(--text); line-height: 1.55; }

/* Tippfehler-Hinweis unter dem Mailfeld der Registrierung (29.10.2026) */
.mail-hint { margin-top: 8px; padding: 8px 10px; border-radius: 8px; font-size: 13.5px;
  background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.4); color: var(--text);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mail-hint[hidden] { display: none; }
.mail-hint-btn { padding: 4px 10px; border-radius: 6px; border: 1px solid rgba(251,191,36,.5);
  background: rgba(251,191,36,.18); color: var(--text); font-size: 12.5px; cursor: pointer; }
.mail-hint-btn.mail-hint-no { background: transparent; border-color: var(--border); color: var(--muted); }

/* ---------- Playground der Privacy-Modelle (nur Admins, seit 02.11.2026) ----------
   Fester Knopf unten rechts, Seitenpanel rechts, auf dem Telefon Blatt von
   unten. Markup: app/templates/allsmartllm/_playground.html. */
.pg-knopf {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  background: var(--surface-2); color: var(--text);
  border: 1px solid rgba(52, 211, 153, .45);
  font: 500 14px/1 var(--body); cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .45);
  transition: border-color .15s, transform .15s;
}
.pg-knopf:hover { border-color: var(--ok); transform: translateY(-1px); }
.pg-knopf:focus-visible, .pg-panel :focus-visible { outline: 2px solid var(--ok); outline-offset: 2px; }
.pg-symbol { display: inline-flex; color: var(--ok); }
.pg-symbol svg { width: 18px; height: 18px; }
body.pg-offen .pg-knopf { visibility: hidden; }
.pg-schleier { position: fixed; inset: 0; z-index: 70; background: rgba(5, 6, 10, .55); }
.pg-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80;
  width: min(460px, 100vw); display: flex; flex-direction: column;
  background: var(--surface); border-left: 1px solid var(--border-strong);
  box-shadow: -12px 0 40px rgba(0, 0, 0, .5);
}
.pg-panel[hidden], .pg-schleier[hidden] { display: none; }
.pg-kopf { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.pg-kopf h2 { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 17px/1.2 var(--display); letter-spacing: 0; }
.pg-zu { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px; border-radius: 8px; display: inline-flex; }
.pg-zu:hover { color: var(--text); background: var(--surface-2); }
.pg-zu svg { width: 20px; height: 20px; }
.pg-inhalt { flex: 1; overflow-y: auto; padding: 16px 18px 24px; display: flex; flex-direction: column; gap: 14px; }
.pg-gruppe { border: 0; min-width: 0; }
.pg-gruppe legend { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.pg-segment { display: flex; flex-wrap: wrap; gap: 6px; }
.pg-opt { position: relative; cursor: pointer; }
.pg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pg-opt span { display: inline-block; padding: 6px 11px; border-radius: 8px; font-size: 13.5px; border: 1px solid var(--border-strong); color: var(--muted); }
.pg-opt input:checked + span { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.pg-opt input:focus-visible + span { outline: 2px solid var(--ok); outline-offset: 2px; }
.pg-opt.pg-aus { cursor: not-allowed; }
.pg-opt.pg-aus span { opacity: .55; border-style: dashed; }
.pg-opt small { font-size: 11px; margin-left: 4px; color: var(--muted); }
.pg-mono { font-family: var(--mono); font-size: 12.5px; }
.pg-klein { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.pg-einleitung { font-size: 14.5px; color: var(--text); }
.pg-vorlagen { display: flex; flex-wrap: wrap; gap: 6px; }
.pg-chip { font: 12.5px/1.3 var(--body); padding: 5px 10px; border-radius: 999px; cursor: pointer; background: transparent; color: var(--muted); border: 1px solid var(--border-strong); }
.pg-chip:hover { color: var(--text); border-color: var(--indigo-light); }
.pg-eingabe { background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 14px; padding: 10px 12px 8px; }
.pg-eingabe:focus-within { border-color: var(--indigo-light); }
.pg-eingabe textarea { width: 100%; resize: vertical; min-height: 72px; max-height: 260px; background: transparent; border: 0; color: var(--text); font: 15px/1.5 var(--body); }
.pg-eingabe textarea:focus { outline: none; }
.pg-fuss { display: flex; align-items: center; gap: 10px; }
.pg-fuss .pg-klein { flex: 1; margin: 0; }
.pg-zaehler { font: 12px var(--mono); color: var(--muted); }
.pg-zaehler.pg-voll { color: #FBBF24; }
.pg-senden { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; background: var(--indigo); color: #fff; }
.pg-senden:hover { background: var(--indigo-light); }
.pg-senden:disabled { opacity: .5; cursor: wait; }
.pg-senden svg { width: 18px; height: 18px; }
.pg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pg-meldung { font-size: 14px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); color: var(--muted); }
.pg-meldung.pg-fehler { color: #FCA5A5; border: 1px solid rgba(248, 113, 113, .35); }
.pg-meldung.pg-sperre { color: #FCD34D; border: 1px solid rgba(251, 191, 36, .4); }
.pg-ausgabe h3 { font: 600 13px/1.2 var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 16px 0 8px; }
.pg-zeit { display: flex; align-items: flex-end; gap: 22px; }
.pg-zeit div { display: flex; flex-direction: column; }
.pg-zahl { font: 500 15px var(--mono); color: var(--ok); white-space: nowrap; }
.pg-zahl strong { font: 600 40px/1 var(--display); }
.pg-zeit small { font-size: 12px; color: var(--muted); margin-top: 4px; }
.pg-zeit .pg-zeit-gesamt .pg-zahl { color: var(--text); font-size: 13px; }
.pg-zeit .pg-zeit-gesamt strong { font-size: 24px; }
.pg-code { font-family: var(--mono); font-size: 13.5px; line-height: 1.6; padding: 12px 14px; border-radius: 10px; background: var(--bg); border: 1px solid rgba(52, 211, 153, .3); white-space: pre-wrap; overflow-wrap: anywhere; }
.pg-code em { font-style: normal; color: var(--ok); }
.pg-tabelle { width: 100%; border-collapse: collapse; font-size: 13px; }
.pg-tabelle th { text-align: left; font-weight: 500; color: var(--muted); padding: 4px 8px 4px 0; border-bottom: 1px solid var(--border); }
.pg-tabelle td { padding: 6px 8px 6px 0; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; vertical-align: top; }
.pg-tabelle td.pg-mono { color: var(--ok); white-space: nowrap; }
.pg-kat-zeile { font-size: 13.5px; }
.pg-kat-zeile.pg-warn { color: #FCD34D; }
@media (max-width: 640px) {
  .pg-knopf { right: 14px; bottom: 14px; }
  .pg-panel { top: auto; left: 0; width: 100%; max-height: 90vh; border-left: 0; border-top: 1px solid var(--border-strong); border-radius: 16px 16px 0 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, .5); }
}
@media (prefers-reduced-motion: reduce) { .pg-knopf { transition: none; } }

/* ---------- Farbsystem (08.11.2026) ----------
   Indigo = die Schicht selbst (Marke, Buttons, Orchestrierungs-Kasten). Die vier Bausteine je eigene Farbe:
   Himmelblau = LLMs (eigene Hardware und externe Modelle), Fuchsia = Alias (die Weiche dazwischen),
   Grün = Privacy, Gelb = eigene Modelle. Die Privacy-Stufenskala
   (--priv-off … --priv-strict) bleibt, sie endet ohnehin im Grün. */
:root {
  --llm: #38BDF8;
  --llm-tint: rgba(56, 189, 248, .09);
  --llm-rand: rgba(56, 189, 248, .45);
  --alias: #E879F9;
  --alias-light: #F0ABFC;
  --alias-tint: rgba(232, 121, 249, .09);
  --alias-rand: rgba(232, 121, 249, .45);
  --privacy: #34D399;
  --privacy-tint: rgba(52, 211, 153, .09);
  --privacy-rand: rgba(52, 211, 153, .45);
  --eigen: #FDE047;  /* yellow-300: eigene Modelle (zitronig, klar heller als Amber/Orange der Privacy-Stufenskala) */
  --eigen-tint: rgba(253, 224, 71, .10);
  --eigen-rand: rgba(253, 224, 71, .35);
}

/* Feature-Karten: Symbol in der Farbe des Bausteins */
.card.farbe-llm .card-ico { color: var(--llm); background: var(--llm-tint); border-color: var(--llm-rand); }

.card.farbe-alias .card-ico { color: var(--alias-light); background: var(--alias-tint); border-color: var(--alias-rand); }
.card.farbe-privacy .card-ico { color: var(--privacy); background: var(--privacy-tint); border-color: var(--privacy-rand); }

/* Bausteine (08.11.2026): jeder Baustein eine eigene Bühne. Rahmen, Eyebrow und Button in seiner Farbe,
   daneben ein echter Beleg aus dem System. Abwechselnd links/rechts, damit es nicht wie ein Ablauf aussieht. */
.bs-llm     { --b: var(--llm);     --b-tint: rgba(56, 189, 248, .09);  --b-rand: rgba(56, 189, 248, .30); }
.bs-alias   { --b: var(--alias);   --b-tint: rgba(232, 121, 249, .09); --b-rand: rgba(232, 121, 249, .30); }
.bs-privacy { --b: var(--privacy); --b-tint: rgba(52, 211, 153, .09);  --b-rand: rgba(52, 211, 153, .30); }
.bs-eigen   { --b: var(--eigen);   --b-tint: rgba(253, 224, 71, .07);  --b-rand: rgba(253, 224, 71, .28); }

/* ---------- Bausteine der Startseite (08./09.11.2026) ----------
   Je Baustein ein Rahmen (fieldset) mit dem Namen als legend im Rahmen: der Browser spart den Rahmen hinter dem
   Namen aus. Rahmen mit Namen sind überall 2px in voller Farbe, wie die Menü-Buttons. Abwechselnd Text links/rechts,
   der Name steht auf der Seite des Textes, auf dem Handy immer links. */
.bausteine { padding: 20px 0 40px; }
.baustein { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px;
  align-items: center; margin: 0 0 40px; min-width: 0; min-inline-size: 0; padding: 52px;
  border: 2px solid var(--b); border-radius: 22px; scroll-margin-top: 90px;
  background: radial-gradient(120% 90% at 0% 0%, var(--b-tint), transparent 60%), var(--surface); }
.baustein > * { min-width: 0; }
.baustein.bs-rechts { background: radial-gradient(120% 90% at 100% 0%, var(--b-tint), transparent 60%), var(--surface); }
.baustein.bs-rechts .bs-text { order: 2; }
.baustein > legend.bs-eyebrow { margin: 0 0 0 28px; padding: 0 14px; font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -.01em; line-height: 1; color: var(--b); }
.baustein.bs-rechts > legend.bs-eyebrow { margin: 0 28px 0 auto; }
.baustein h2 { font-family: var(--display); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.14; letter-spacing: -.02em; margin: 0 0 18px; }
.baustein .bs-text p { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0 0 26px; max-width: 34em; }
.bs-btn { display: inline-block; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 15px;
  color: #0A0B10; background: var(--b); text-decoration: none; transition: filter .15s ease; }
.bs-btn:hover { filter: brightness(1.1); text-decoration: none; }

.bs-beleg { background: rgba(0, 0, 0, .28); border: 1px solid var(--b-rand); border-radius: 14px; padding: 20px 22px; font-size: 14px; }
.bs-beleg-kopf { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.bs-beleg-kopf .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--b); box-shadow: 0 0 8px var(--b); }
.bs-liste { list-style: none; margin: 0; padding: 0; }
.bs-liste li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); }
.bs-liste li:first-child { border-top: 0; }
.bs-liste .vendor-ico { flex: none; width: 16px; height: 16px; background: var(--b); mask-size: contain; -webkit-mask-size: contain;
  mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat; mask-position: center; -webkit-mask-position: center; }
.bs-name { font-weight: 500; color: var(--text); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bs-zweck { color: var(--muted); font-size: 13px; flex: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-wert { font-family: var(--mono); font-size: 13px; color: var(--b); white-space: nowrap; }
.bs-status { font-family: var(--mono); font-size: 11.5px; color: var(--muted); padding: 2px 8px; border-radius: 6px; border: 1px solid var(--border); white-space: nowrap; }
.bs-status.an { color: var(--b); border-color: var(--b-rand); background: var(--b-tint); }
.bs-routen .bs-name { flex: 1; }
.bs-pfeil { color: var(--muted); font-family: var(--mono); }
.bs-routen .bs-ext .bs-name { color: var(--muted); }
.bs-routen .bs-ext { border-top-style: dashed; }
.bs-cap { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.bs-satz { margin: 0; font-family: var(--mono); font-size: 13.5px; line-height: 1.7; color: var(--text); }
.bs-satz .ph { color: var(--privacy); background: var(--privacy-tint); border-radius: 4px; padding: 0 3px; }
.bs-trenner { text-align: center; color: var(--b); margin: 10px 0; font-size: 18px; }
.bs-eigen .bs-name { flex: none; }
.bs-eigen .bs-zweck { flex: 1; }

@media (max-width: 900px) {
  .baustein { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px 24px; }
  .baustein.bs-rechts .bs-text { order: 0; }
  .baustein > legend.bs-eyebrow, .baustein.bs-rechts > legend.bs-eyebrow { margin: 0 0 0 8px; padding: 0 10px; }
}
@media (max-width: 560px) {
  .baustein { padding: 26px 18px; border-radius: 16px; }
  .bs-zweck, .bs-status { display: none; }
}

/* Switchboard: Ziel-Wahl ist eine LLM-Wahl (blau). Alias fuchsia, Ziele blau, Platzhalter grün stehen direkt in ihren Regeln. */
.segbar:not([class*="priv-"]) .segbar-slider { background: rgba(56, 189, 248, .18); border-color: var(--llm); }

/* Unterseiten im Farbsystem: Modelle = LLM (blau), Privacy-Schicht = grün. */
.modelle .eyebrow, .modell .eyebrow { color: var(--llm); }
.modelle .vendor-ico, .modell .vendor-ico { color: var(--llm); }
.modelle .md-link:hover .vendor-name, .modell .md-link:hover .vendor-name { color: var(--llm); }
.modell .md-h-ico .lucide { color: var(--llm); }
.pschicht .eyebrow, .pschicht .ps-schritt { color: var(--privacy); }
.pschicht .md-h-ico .lucide { color: var(--privacy); }
.pschicht .ps-modelle a { color: var(--llm); border-color: var(--llm-rand); background: var(--llm-tint); }
.pschicht .ps-modelle a:hover { border-color: var(--llm); }

/* Navigation (08.11.2026): die Bausteine mit Farbpunkt; aktiver Bereich unterstrichen in seiner Farbe. */
.nav-links a.nb { display: inline-flex; align-items: center; padding: 4px 13px; border-radius: 999px;
  border: 2px solid var(--nb, var(--indigo)); color: var(--nb, var(--indigo));
  white-space: nowrap; transition: background .15s, border-color .15s; }
.nav-links a.nb:hover { background: color-mix(in srgb, var(--nb) 12%, transparent); }
.nav-links a.nb-llm     { --nb: var(--llm); }
.nav-links a.nb-alias   { --nb: var(--alias); }
.nav-links a.nb-privacy { --nb: var(--privacy); }
.nav-links a.nb-eigen   { --nb: var(--eigen); }
.nav-links a.nb[aria-current="page"] { border-color: var(--nb); background: color-mix(in srgb, var(--nb) 18%, transparent); }

/* Bereichsfarbe: auf Unterseiten eines Bausteins übernimmt der Akzent im Inhalt dessen Farbe.
   Kopf- und Fußzeile behalten das Indigo der Marke. */
body.bereich-llm     { --indigo: #38BDF8; --indigo-light: #7DD3FC; --indigo-glow: rgba(56, 189, 248, .16); --akzent-ink: #0A0B10; }
body.bereich-alias   { --indigo: #E879F9; --indigo-light: #F0ABFC; --indigo-glow: rgba(232, 121, 249, .16); --akzent-ink: #0A0B10; }
body.bereich-privacy { --indigo: #34D399; --indigo-light: #6EE7B7; --indigo-glow: rgba(52, 211, 153, .16); --akzent-ink: #0A0B10; }
body.bereich-eigen   { --indigo: #FDE047; --indigo-light: #FDE047; --indigo-glow: rgba(253, 224, 71, .14); --akzent-ink: #0A0B10; }
body[class*="bereich-"] > nav, body[class*="bereich-"] > footer { --indigo: #6366F1; --indigo-light: #818CF8; --indigo-glow: rgba(99, 102, 241, .16); }
body[class*="bereich-"] .btn-primary { color: var(--akzent-ink, #fff); }
body[class*="bereich-"] > nav .btn-primary, body[class*="bereich-"] > footer .btn-primary { color: #fff; }
@media (max-width: 760px) { .nav-links { gap: 8px; } .nav-links a.nb { padding: 3px 11px; } }

/* --- Modellseite als volle Liste (09.11.2026) ------------------------ */
.md-wofuer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0 16px; }
.md-wofuer-titel { font-size: 14px; color: var(--muted); margin-right: 4px; }
.md-filter { font: inherit; font-size: 14px; padding: 5px 13px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: transparent; color: var(--text); }
.md-filter:hover { border-color: var(--llm); }
.md-filter.an { border-color: var(--llm); color: var(--llm); background: color-mix(in srgb, var(--llm) 14%, transparent); }
.md-voll table { min-width: 980px; }
.md-entsch table { min-width: 760px; }
/* Eigene Modelle in der Modellübersicht (10.11.2026): gelber Akzent wie überall bei den eigenen Modellen */
.md-selbst { border-color: var(--eigen-rand); }
.md-selbst .md-selbst-ico { flex: none; width: 22px; height: 22px; border-radius: 5px; }
.md-selbst .md-kostenlos { color: var(--eigen); font-weight: 600; }
.md-selbst .md-tarif a { color: var(--muted); }
.md-selbst-h { color: var(--eigen); }
.md-filter-selbst { border-color: var(--eigen-rand); }
.md-filter-selbst:hover { border-color: var(--eigen); color: var(--eigen); }
.modelle .md-selbst .md-link:hover .vendor-name { color: var(--eigen); }
.md-selbst tbody tr:hover { background: rgba(253, 224, 71, .05); }
.md-selbst .md-tarif a:hover { color: var(--eigen); }
/* Beschreibung unter den Tabellen-Überschriften: Fließtext, kein Kleingedrucktes */
.modelle .md-lead { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0 0 22px; max-width: 80ch; }
.md-voll .alias-pills { flex-wrap: wrap; }
.md-leer td { color: var(--muted); text-align: center; padding: 22px; }
.md-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.md-info h2 { font-size: 19px; margin: 0 0 10px; display: flex; align-items: center; gap: 9px; }
.md-info h2 .lucide { width: 19px; height: 19px; color: var(--llm); }
.md-info p { color: var(--muted); margin: 0 0 10px; }
.md-info .li-beispiel { margin: 6px 0 0; font-size: 13px; overflow-x: auto; }
.md-info .li-beispiel b { color: var(--llm); font-weight: 600; }
.md-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.md-links a { color: var(--indigo-light); }
.md-links a.md-l-alias { color: var(--alias); }
.md-links a.md-l-privacy { color: var(--privacy); }
@media (max-width: 760px) {
  .md-info { grid-template-columns: minmax(0, 1fr); }
  /* Tabelle als Karten: jede Zeile ein Block, Spaltenname aus data-k */
  .md-voll { overflow: visible; background: none; border: 0; }
  .md-voll table, .md-voll tbody, .md-voll tr, .md-voll td { display: block; min-width: 0; width: 100%; }
  .md-voll thead { display: none; }
  .md-voll tr { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px; margin-bottom: 10px; }
  .md-voll tr[hidden] { display: none; }
  .md-voll td { border: 0; padding: 5px 0; display: flex; justify-content: flex-end; flex-wrap: wrap; align-items: center; gap: 6px; text-align: right; }
  .md-voll td[data-k]::before { content: attr(data-k); color: var(--muted); font-size: 13px; text-align: left; flex: none; margin-right: auto; }
  .md-voll td:first-child { display: block; text-align: left; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--border); }
  .md-voll td .cap-pill { margin: 0; }
  .md-voll .cold-hint { width: 100%; }
  .md-voll td:first-child::before { display: none; }
  .md-voll .alias-pills { justify-content: flex-end; }
}
.md-voll span.model-cell .model-text { display: flex; flex-direction: column; }

/* Boxen auf der Modellseite (Konto, eigene Modelle): Name im Rahmen wie die
   Bausteine der Startseite (fieldset/legend), Inhaltsbreite. --b je Box;
   Konto in festem Marken-Indigo, weil der Bereich LLM --indigo umfaerbt. */
.md-box { --b: #818CF8; --b-btn: #6366F1; --b-btn-ink: #fff; --b-tint: rgba(99, 102, 241, .14);
  display: flex; align-items: center; gap: 22px; min-width: 0; min-inline-size: 0;
  margin: 64px 0 0; padding: 22px 28px 28px; border: 2px solid var(--b); border-radius: 18px;
  background: radial-gradient(120% 140% at 0% 0%, var(--b-tint), transparent 60%), var(--surface); }
.md-box-eigen { --b: var(--eigen); --b-btn: var(--eigen); --b-btn-ink: #0A0B10; --b-tint: rgba(253, 224, 71, .10); margin-top: 24px; }
.md-box > legend { margin: 0 0 0 20px; padding: 0 12px; font-family: var(--display); font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700; letter-spacing: -.01em; line-height: 1; color: var(--b); }
.md-box-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: var(--b-tint); color: var(--b); }
.md-box-ico .lucide { width: 26px; height: 26px; }
.md-box-icos { display: grid; grid-template-columns: repeat(2, 30px); gap: 6px; flex: none; }
.md-box-text { min-width: 0; }
.md-box-text h2 { font-family: var(--display); font-size: 21px; margin: 0 0 6px; color: var(--text); }
/* Fliesstext bewusst heller als --muted: auf der getoenten Flaeche reicht der Kontrast sonst nicht */
.md-box-text p { margin: 0; font-size: 15.5px; line-height: 1.55; color: #E4E7EF; max-width: 60ch; }
.md-box-btn { margin-left: auto; flex: none; padding: 11px 20px; border-radius: 10px; font-weight: 600; white-space: nowrap;
  background: var(--b-btn); color: var(--b-btn-ink); text-decoration: none; transition: filter .15s; }
.md-box-btn:hover { filter: brightness(1.12); color: var(--b-btn-ink); text-decoration: none; }
.md-box + .md-info { margin-top: 64px; }
/* Safari/WebKit (09.11.2026, iPad): bei fieldset mit legend beginnt die Fläche für Hintergrundbilder erst unter der
   legend, der Verlauf ließ oben einen flachen Streifen. border-box als Bezug zieht ihn bis an den Rahmen, padding-box als
   Schnitt hält ihn aus der Lücke im Rahmen hinter dem Namen. Nach den background-Kurzformen, die beides zurücksetzen. */
.baustein, .baustein.bs-rechts, .md-box { background-origin: border-box; background-clip: padding-box; }
@media (max-width: 640px) {
  .md-box { flex-wrap: wrap; padding: 18px 18px 20px; }
  .md-box > legend { margin-left: 8px; padding: 0 8px; }
  .md-box-btn { margin-left: 0; width: 100%; text-align: center; }
}
/* Modellseite: ein Drittel mehr Luft zwischen Einleitung und Filter sowie vor den Entscheidungsmodellen */
.modelle .md-wofuer { margin-top: 37px; }
.modelle #entscheidung { margin-top: 59px; }

/* --- Alias-Seite (09.11.2026) --------------------------------------- */
.alias-seite .ps-pfeil { background: rgba(232, 121, 249, .12); color: var(--alias); }
.alias-seite .li-beispiel b { color: var(--alias); font-weight: 600; }
.al-extern { color: var(--muted); border-top: 1px dashed var(--border); display: inline-block; margin-top: 4px; padding-top: 4px; }
.al-ablauf { margin-bottom: 10px; }
.al-tabelle { margin-top: 20px; }
.al-tabelle td { vertical-align: middle; }
.al-wofuer { color: var(--muted); max-width: 52ch; }
.al-tabelle .model-cell { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.al-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
.al-raster .md-h-ico .lucide { color: var(--alias); }
@media (max-width: 760px) { .al-raster { grid-template-columns: 1fr; } }
.al-l-privacy { color: var(--privacy); }
.alias-seite h2.bt-h2 { margin-top: 59px; }
/* Handy: je Alias eine Zeile mit Alias links, Modell rechts, Beschreibung darunter */
@media (max-width: 640px) {
  .al-tabelle thead { display: none; }
  .al-tabelle tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; padding: 12px 14px;
    border-bottom: 1px solid var(--border); }
  .al-tabelle td { display: block; padding: 0; border: 0; }
  .al-tabelle td:nth-child(3) { grid-column: 2; grid-row: 1; justify-self: end; }
  .al-tabelle td.al-wofuer { grid-column: 1 / -1; font-size: 14px; }
}
.bs-name a { color: inherit; text-decoration: none; }
.bs-name a:hover { color: var(--b); }
.bs-beleg-fuss { display: inline-block; margin-top: 12px; font-size: 13.5px; color: var(--b); }

/* Switchboard «Im Einsatz» (08./09.11.2026): vier gleich große Kacheln (Icon, Name, eine Zeile). Welche aktiv sind,
   setzt allsmartllm-switchboard.js je Stufe (.an). Aktiv: eigene Modelle gelb, Regeln neutral; inaktiv: alles hellgrau. */
.gw-modelle { display: flex; align-items: flex-start; gap: 14px; margin-top: 16px; }
.gw-modelle .gw-label-small { padding-top: 16px; }
.mod-raster { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mod-chip { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 11px 14px; border-radius: 10px;
  border: 1px dashed var(--border); opacity: .7; transition: opacity .2s ease, border-color .2s ease, background .2s ease; }
.mod-chip.an { opacity: 1; border-style: solid; }
.mod-chip.eigen.an { border-color: var(--eigen-rand); background: var(--eigen-tint); }
.mod-chip.regel.an { border-color: var(--border-strong, rgba(255,255,255,.18)); background: rgba(255,255,255,.04); }
.mod-ico { flex: none; width: 16px; height: 16px; border-radius: 4px; align-self: center; }   /* auch im Baustein «Selbst trainiert» */
.mod-raster .mod-ico { width: 22px; height: 22px; border-radius: 5px; }
.mod-chip:not(.an) .mod-ico { filter: grayscale(1); }
.mod-ico-regel { display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--muted); }
.mod-ico-regel .lucide { width: 14px; height: 14px; }
.mod-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mod-txt b { font-family: var(--mono); font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mod-txt span { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.mod-chip.eigen.an .mod-txt b { color: var(--eigen); }
.mod-chip:not(.an) .mod-txt b { color: var(--muted); }
@media (max-width: 700px) {
  .gw-priv-desc { margin-left: 0; }
  .gw-modelle { flex-direction: column; gap: 8px; }
  .gw-modelle .gw-label-small { padding-top: 0; }
  .mod-raster { grid-template-columns: minmax(0, 1fr); width: 100%; }
}

/* Logo in der Kopfzeile (09.11.2026): das Kreuz springt alle 3 Sekunden kurz auf und federt wie ein Gummiband
   zurück. Kein Pulsieren: 3/4 der Zeit steht es still. Aus bei «Bewegung reduzieren». */
@keyframes mark-pop {
  0%   { transform: scale(1); }
  6%   { transform: scale(1.34); }
  11%  { transform: scale(.86); }
  15%  { transform: scale(1.13); }
  19%  { transform: scale(.95); }
  23%  { transform: scale(1.03); }
  27%, 100% { transform: scale(1); }
}
.mark-pop { transform-origin: 50% 50%; animation: mark-pop 3s ease-out 1.5s infinite; }
@media (prefers-reduced-motion: reduce) { .mark-pop { animation: none; } }
