/* Portal-spezifische Styles — ergaenzt das Haupt-Design-System (style.css).
   Nutzt dessen CSS-Variablen; keine neuen Farbwelten. */

/* ── Nutzer-Menü in der Nav (oben rechts) ─────────────────────────── */
/* Brand links, alles andere (Nav + Nutzer-Symbol + Hamburger) rechts gruppiert —
   nur auf Portal-Seiten (portal.css wird nur dort geladen). */
.nav-wrap .brand { margin-right: auto; }
.nav-user { position: relative; display: inline-flex; align-items: center; margin-left: 22px; }
.nav-user-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-strong);
  background: var(--grad); color: #08090c; font-weight: 680; font-size: 0.82rem; cursor: pointer;
  font-family: inherit; display: inline-flex; align-items: center; justify-content: center; letter-spacing: .02em; }
.nav-user-btn:hover { filter: brightness(1.08); }
.nav-user-menu { position: absolute; top: 48px; right: 0; min-width: 220px; background: var(--bg-elev);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 14px; z-index: 200;
  box-shadow: 0 18px 50px rgba(0,0,0,.5); display: none; }
.nav-user.open .nav-user-menu { display: block; }
.nav-user-name { font-weight: 560; color: var(--text); font-size: 0.92rem; }
.nav-user-mail { color: var(--text-3); font-size: 0.8rem; margin-top: 2px; word-break: break-all; }
.nav-user-logout { margin-top: 12px; width: 100%; padding: 8px 12px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text); font-family: inherit;
  cursor: pointer; font-size: 0.9rem; }
.nav-user-logout:hover { border-color: var(--accent); }
#nav-admin-link { color: var(--accent); }

/* Seiten-Umschaltung (mehrere zugewiesene Landingpages) */
.portal-switch-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 0 0; }

/* ── Login / Meine Seiten ─────────────────────────────────────────── */
.portal-form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
/* Anmeldefelder bewusst heller als der uebrige Text: Wer sich anmeldet, muss
   Eingabe und Beschriftung sicher lesen koennen — hier zaehlt Lesbarkeit mehr
   als die zurueckhaltende Dunkel-Aesthetik (Betreiber-Rueckmeldung 2026-08-04:
   Felder waren dunkler als der Fliesstext darueber). */
.portal-form label { font-size: 0.86rem; color: var(--text); font-weight: 500; margin-bottom: -4px; }
/* Dezent im Dunkel-Look, aber klar lesbar: heller Text auf leicht angehobenem
   Feld mit sichtbarem Rahmen. Die eigentliche Unlesbarkeit kam vom
   Lesbarkeits-Verlauf der Video-Panels, der faelschlich ueber den Kacheln lag
   (behoben in style.css) — deshalb braucht es hier KEIN invertiertes Schema,
   sondern nur genug Kontrast: Text ~13:1, Rahmen deutlich sichtbar. */
.portal-form input {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text); font-size: 1rem; font-family: inherit;
  caret-color: var(--accent);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.portal-form input::placeholder { color: var(--text-3); }
.portal-form input:hover { border-color: rgba(255, 255, 255, 0.34); }
.portal-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}
/* Autofill: Browser faerben sonst hellblau mit dunkler Schrift ein */
.portal-form input:-webkit-autofill,
.portal-form input:-webkit-autofill:hover,
.portal-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px #14161d inset;
  caret-color: var(--accent);
}
.portal-msg { font-size: 0.9rem; margin-top: 12px; min-height: 1.2em; }
.portal-msg.err { color: #fca5a5; }
.portal-msg.ok { color: #86efac; }

.mypages-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.mypages-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: var(--radius); text-decoration: none;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  transition: border-color .2s, background .2s, transform .2s;
}
.mypages-list a:hover { border-color: var(--border-strong); background: var(--surface-hover); transform: translateY(-2px); }
.mypages-list .mp-topic { font-size: 0.85rem; color: var(--text-3); }

/* ── Viewer (/l/<slug>/) — SAP-CX-Portfolio-Stil ──────────────────── */
.lp-block { padding: 56px 0; }
.lp-section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 28px; }
.lp-content { color: var(--text-2); line-height: 1.7; }
.lp-note { color: var(--text-3); font-size: 0.9rem; text-align: center; padding: 60px 0; }

/* Hero */
.lp-hero { padding-top: 40px; }
.lp-hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.lp-hero-title { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin: 0 0 14px; }
.lp-hero-tagline { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--accent); font-weight: 560; margin: 0 0 18px; }
.lp-hero-desc { color: var(--text-2); line-height: 1.7; font-size: 1.05rem; }
.lp-hero-media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); display: block; }

/* Cards (features / insights) */
.lp-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: border-color .2s, transform .2s; }
.lp-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.lp-card-img { width: 100%; max-height: 220px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 18px; }
.lp-card h3 { margin: 0 0 6px; font-size: 1.3rem; }
.lp-card-sub { color: var(--accent); font-size: 0.95rem; margin: 0 0 14px; }
.lp-card-body { color: var(--text-2); line-height: 1.7; }
.lp-card-body p { margin: 0 0 10px; }
.lp-checks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.lp-checks li { position: relative; padding-left: 26px; color: var(--text-2); }
.lp-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.lp-insights .lp-card { background: linear-gradient(135deg, rgba(34,211,238,.06), rgba(129,140,248,.06)); }

/* Ansprechpartner (contact) — «Your Expert» */
.lp-contact { background: var(--bg-elev); }
.lp-contact-card { display: flex; gap: 28px; align-items: center; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; flex-wrap: wrap; }
.lp-contact-photo { width: 132px; height: 132px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--accent); flex-shrink: 0; background: var(--bg-elev); }
.lp-contact-info { flex: 1; min-width: 220px; }
.lp-contact-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--text-3); margin: 0 0 6px; }
.lp-contact-name { margin: 0 0 4px; font-size: 1.5rem; }
.lp-contact-role { color: var(--text-2); margin: 0 0 16px; }
.lp-contact-lines { display: grid; gap: 8px; margin-bottom: 18px; }
.lp-contact-links { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.lp-contact-line { color: var(--accent); text-decoration: none; width: fit-content; }
.lp-contact-line:hover { text-decoration: underline; }

/* CTA */
.lp-cta { background: linear-gradient(115deg, rgba(34,211,238,.10), rgba(232,121,249,.10)); text-align: center; }
.lp-cta-box h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 12px; }
.lp-cta-desc { color: var(--text-2); max-width: 560px; margin: 0 auto 24px; line-height: 1.7; }

/* Resources / Downloads */
.lp-files { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.lp-files a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border);
  color: var(--accent); text-decoration: none; width: fit-content; }
.lp-files a:hover { border-color: var(--accent); }

@media (max-width: 800px) {
  .lp-hero-inner { grid-template-columns: 1fr; }
  .lp-hero-media { order: -1; max-width: 260px; }
}

/* ── Admin-Konsole ────────────────────────────────────────────────── */
/* Abstand zum fixierten site-header (72px) + Luft. */
.admin-shell { max-width: 1100px; margin: 0 auto; padding: calc(var(--nav-h) + 36px) 24px 48px; }
.admin-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 20px 0 24px; border-bottom: 1px solid var(--border); }
.admin-tabs button {
  padding: 10px 16px; background: none; border: none; color: var(--text-3);
  font-family: inherit; font-size: 0.94rem; cursor: pointer; border-bottom: 2px solid transparent;
}
.admin-tabs button.on { color: var(--text); border-bottom-color: var(--accent); }
.admin-panel { display: none; }
.admin-panel.on { display: block; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.admin-table th { color: var(--text-3); font-weight: 560; }
.admin-table tr:hover td { background: var(--surface); }
.admin-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.75rem; border: 1px solid var(--border-strong); }
.admin-badge.live { color: #86efac; border-color: #16653433; }
.admin-badge.draft { color: #fcd34d; }
.admin-badge.archived, .admin-badge.inactive { color: var(--text-3); }
.admin-badge.admin { color: var(--accent); border-color: #22d3ee44; }

.admin-toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.admin-form { display: grid; gap: 12px; max-width: 560px; }
.admin-form label { font-size: 0.82rem; color: var(--text-3); display: grid; gap: 4px; }
.admin-form input, .admin-form select, .admin-form textarea {
  padding: 10px 12px; border-radius: var(--radius-sm); background: var(--bg-elev);
  border: 1px solid var(--border-strong); color: var(--text); font-family: inherit; font-size: 0.94rem;
}
.admin-form textarea { min-height: 90px; resize: vertical; }
.btn-sm { padding: 6px 12px; font-size: 0.84rem; border-radius: var(--radius-sm); cursor: pointer;
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text); font-family: inherit; }
.btn-sm:hover { border-color: var(--accent); }
.btn-danger { color: #fca5a5; }
.code-reveal { font-family: ui-monospace, Menlo, monospace; background: var(--bg-elev);
  padding: 10px 14px; border-radius: var(--radius-sm); border: 1px dashed var(--accent);
  color: var(--accent); user-select: all; word-break: break-all; }

/* Modal-Overlay fuer Editoren */
.admin-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: none;
  align-items: flex-start; justify-content: center; padding: 40px 20px; overflow: auto; z-index: 100; }
.admin-overlay.on { display: flex; }
.admin-modal { background: var(--bg-elev); border: 1px solid var(--border-strong);
  border-radius: var(--radius); padding: 26px; max-width: 640px; width: 100%; }
.admin-modal h3 { margin: 0 0 16px; }
.admin-block-row { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 10px; display: grid; gap: 8px; }
.admin-block-row .row-top { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.muted { color: var(--text-3); font-size: 0.85rem; }

/* Editor-Seite */
.edit-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; margin-bottom: 20px; }
.edit-card > h2 { margin: 0 0 6px; font-size: 1.25rem; }
.block-fields { display: grid; gap: 10px; margin: 10px 0; }
.block-fields label { display: grid; gap: 4px; font-size: 0.82rem; color: var(--text-3); }
.block-fields input, .block-fields textarea { padding: 9px 12px; border-radius: var(--radius-sm);
  background: var(--bg-elev); border: 1px solid var(--border-strong); color: var(--text); font-family: inherit; font-size: 0.92rem; }
.block-fields textarea { min-height: 90px; resize: vertical; }
@media (max-width: 700px) {
  .admin-table thead { display: none; }
  .admin-table tr { display: block; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; padding: 8px; }
  .admin-table td { display: flex; justify-content: space-between; gap: 12px; border: none; padding: 6px 4px; }
  .admin-table td::before { content: attr(data-label); color: var(--text-3); font-size: 0.8rem; }
}

/* ── Zugang: E-Mail-Liste im Landingpage-Editor ─────────────────── */
.access-add { display: flex; gap: 10px; align-items: stretch; margin: 6px 0 4px; flex-wrap: wrap; }
.access-add .access-input {
  flex: 1 1 260px; min-width: 0; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--bg-elev); border: 1px solid var(--border-strong); color: var(--text);
  font-family: inherit; font-size: 0.98rem;
}
.access-add .access-input:focus { outline: none; border-color: var(--accent); }
.access-add .btn { flex: 0 0 auto; white-space: nowrap; }
.access-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.access-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border-strong);
}
.access-email { font-size: 0.96rem; word-break: break-all; }
.access-empty { margin: 8px 0 0; }

/* ── Admin-Konsole: Tab «Gespräche» (Chat-/Voice-Auswertung) ─────── */
.chat-kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.chat-kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; }
.chat-kpi-val { font-size: 1.7rem; font-weight: 640; color: var(--text); font-variant-numeric: tabular-nums; }
.chat-kpi-label { color: var(--text-3); font-size: 0.82rem; margin-top: 4px; }

.chat-charts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.chat-chart-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; }
.chat-chart-card h3 { margin: 0 0 10px; font-size: 1rem; color: var(--text); }
.chat-chart-body { width: 100%; }
.chat-svg { width: 100%; height: auto; display: block; overflow: visible; }
.chat-svg-axis { stroke: var(--border-strong); stroke-width: 1; }
.chat-svg-label { fill: var(--text-3); font-size: 8px; font-family: inherit; }
/* «Jetzt»-Markierung in Zeitreihen: gestrichelt, damit sie nicht mit einer
   Datenreihe verwechselt wird, und in der Akzentfarbe statt in einer der
   Balkenfarben. */
.chat-svg-now { stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 3 3; opacity: 0.85; }
.chat-svg-now-label { fill: var(--accent); font-size: 8px; font-weight: 650; font-family: inherit; }
.chat-bar-fill { fill: var(--accent); opacity: 0.88; }
.chat-bar-fill.chat-bar-in { fill: var(--accent); opacity: 0.9; }
.chat-bar-fill.chat-bar-bot { fill: var(--accent-2); opacity: 0.9; }
.chat-bar-fill.chat-bar-out { fill: var(--accent-3); opacity: 0.9; }

.chat-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.chat-legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-3); }
.chat-legend-dot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.chat-legend-dot.in { background: var(--accent); }
.chat-legend-dot.bot { background: var(--accent-2); }
.chat-legend-dot.out { background: var(--accent-3); }

/* Sicherheits-Farben. Rot-Ton fuer 'alert', Amber fuer 'watch' — beide neu,
   aber in derselben Saettigung wie die Themenfeld-Farben des Design-Systems
   (SAP #f59e0b, IT #34d399), damit sie nicht als Fremdkoerper wirken. */
.chat-overview { --risk-alert: #f87171; --risk-watch: #f59e0b; }
.chat-reader { --risk-alert: #f87171; --risk-watch: #f59e0b; }

/* ── Kachel «Auffällige Gespräche» (ganz oben, filtert die Liste) ─── */
.chat-alert-tile {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left;
  padding: 16px 20px; margin-bottom: 18px; cursor: pointer; font-family: inherit;
  border-radius: var(--radius-sm); color: var(--text);
  background: rgba(248, 113, 113, 0.10); border: 1px solid rgba(248, 113, 113, 0.42);
  transition: border-color 200ms ease-out, background 200ms ease-out;
}
.chat-alert-tile:hover { background: rgba(248, 113, 113, 0.16); border-color: rgba(248, 113, 113, 0.7); }
.chat-alert-tile.on { border-color: var(--risk-alert); box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18); }
/* Keine Auffälligkeiten -> zurückhaltend, nicht dauerhaft alarmieren. */
.chat-alert-tile.quiet { background: var(--surface); border-color: var(--border); }
.chat-alert-tile.quiet .chat-alert-icon { filter: grayscale(1); opacity: 0.5; }
.chat-alert-tile.quiet .chat-alert-val { color: var(--text-2); }
.chat-alert-icon { font-size: 1.6rem; line-height: 1; }
.chat-alert-val { display: block; font-size: 1.7rem; font-weight: 640; color: var(--risk-alert);
  font-variant-numeric: tabular-nums; line-height: 1.1; }
.chat-alert-label { display: block; color: var(--text-2); font-size: 0.84rem; margin-top: 2px; }

/* Filterleiste: die Auswahlfelder werden sonst vom Browser hell gerendert und
   stechen im dunklen Layout heraus. Bewusst nur hier gescoped (.chat-filters),
   um die übrigen Register nicht anzufassen. */
.chat-filters { flex-wrap: wrap; gap: 14px; }
.chat-filters label { display: inline-flex; align-items: center; gap: 7px; font-size: 0.84rem; color: var(--text-3); }
.chat-filters select, .chat-filters input[type="search"] {
  padding: 7px 11px; border-radius: var(--radius-sm); background: var(--bg-elev);
  border: 1px solid var(--border-strong); color: var(--text); font-family: inherit; font-size: 0.88rem;
}
.chat-filters input[type="search"] { min-width: 250px; }
.chat-filters select:focus, .chat-filters input[type="search"]:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}

/* ── Verteilungen: Sprachen / Themen / Risiko ─────────────────────── */
.chat-dist-row-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.chat-dist { display: grid; gap: 7px; }
.chat-dist-row { display: grid; grid-template-columns: 122px minmax(0, 1fr) 26px 42px; align-items: center;
  gap: 10px; font-size: 0.84rem; }
.chat-dist-label { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-dist-bar-wrap { background: var(--bg-elev); border-radius: 999px; height: 8px; overflow: hidden; }
.chat-dist-bar { display: block; height: 100%; background: var(--grad); border-radius: 999px; }
.chat-dist-bar.risk-alert { background: var(--risk-alert); }
.chat-dist-bar.risk-watch { background: var(--risk-watch); }
.chat-dist-bar.risk-none { background: var(--border-strong); }
.chat-dist-count { color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.chat-dist-share { color: var(--text-3); text-align: right; font-variant-numeric: tabular-nums; }

/* ── Liste ────────────────────────────────────────────────────────── */
.chat-row { cursor: pointer; }
.chat-row:hover td { background: var(--surface); }
.chat-row-alert td:first-child { box-shadow: inset 3px 0 0 var(--risk-alert); }
.chat-row-watch td:first-child { box-shadow: inset 3px 0 0 var(--risk-watch); }
.chat-empty { padding: 24px 4px; }

/* Sicherheits-Hinweis (Marker + Begründungen im Klartext) */
.chat-risk { display: flex; flex-direction: column; gap: 3px; }
.chat-risk-mark { font-size: 0.82rem; font-weight: 560; }
.chat-risk-alert .chat-risk-mark { color: var(--risk-alert); }
.chat-risk-watch .chat-risk-mark { color: var(--risk-watch); }
.chat-risk-reason { font-size: 0.76rem; color: var(--text-2); line-height: 1.35; }

/* ── Verlaufsansicht: die Hauptsache ──────────────────────────────── */
/* Beim Öffnen eines Gesprächs tritt die Übersicht zurück, der Dialog steht
   allein im Vordergrund (Betreiber-Vorgabe: Frage, Antwort, Frage, Antwort). */
.chat-reader { display: none; }
#tab-chats.chat-reading .chat-overview { display: none; }
#tab-chats.chat-reading .chat-reader { display: block; }

.chat-read-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.chat-read-id { font-size: 1.05rem; }
.chat-tag { font-size: 0.78rem; color: var(--text-2); background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px; padding: 3px 11px; }
.chat-reader .chat-risk { margin-bottom: 16px; padding: 12px 14px; border-radius: var(--radius-sm); }
.chat-reader .chat-risk-alert { background: rgba(248, 113, 113, 0.10); border: 1px solid rgba(248, 113, 113, 0.42); }
.chat-reader .chat-risk-watch { background: rgba(245, 158, 11, 0.10); border: 1px solid rgba(245, 158, 11, 0.4); }

/* Kein max-height: lange Antworten dürfen nicht abgeschnitten werden. */
.chat-transcript { display: flex; flex-direction: column; gap: 12px; }
.chat-bubble-row { display: flex; }
.chat-bubble-row.them { justify-content: flex-start; }
.chat-bubble-row.bot, .chat-bubble-row.op { justify-content: flex-end; }
.chat-bubble { max-width: 78%; padding: 11px 15px; border-radius: 14px; font-size: 0.92rem;
  line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
/* Besucher links, neutral. */
.chat-bubble.them { background: var(--bg-elev); border: 1px solid var(--border-strong); color: var(--text); border-bottom-left-radius: 4px; }
/* Ingenieurin-Bot rechts, Indigo. */
.chat-bubble.bot { background: rgba(129, 140, 248, 0.12); border: 1px solid rgba(129, 140, 248, 0.35); color: var(--text); border-bottom-right-radius: 4px; }
/* Betreiber rechts, Cyan — bewusst andere Farbe als der Bot. */
.chat-bubble.op { background: rgba(34, 211, 238, 0.14); border: 1px solid rgba(34, 211, 238, 0.32); color: var(--text); border-bottom-right-radius: 4px; }
.chat-bubble-meta { font-size: 0.7rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 5px; }

@media (max-width: 900px) {
  .chat-dist-row-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .chat-charts-row { grid-template-columns: 1fr; }
  .chat-bubble { max-width: 92%; }
  .chat-row-alert td:first-child, .chat-row-watch td:first-child { box-shadow: none; }
  .chat-row-alert { border-color: var(--risk-alert); }
  .chat-row-watch { border-color: var(--risk-watch); }
}

/* ── Admin-Konsole: Tab «Redaktion» (news_articles Freigabe-Workflow) ── */
.news-pending { font-weight: 620; font-size: 1.02rem; color: var(--accent); margin: 4px 0 18px; }

.news-list { display: grid; gap: 12px; }
.news-empty { padding: 24px 4px; }
.news-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 18px; cursor: pointer; transition: border-color .2s, transform .2s;
}
.news-card:hover, .news-card:focus-visible { border-color: var(--accent); transform: translateY(-1px); }
.news-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.news-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.news-card-title { margin: 0; font-size: 1.1rem; color: var(--text); }
.news-cat-badge { color: var(--accent-2, var(--accent)); }
/* Projektideen in der Redaktion (kind="idee", seit 2026-08-04) */
.news-kind-badge { color: #e879f9; background: rgba(232, 121, 249, 0.12); }
.news-card-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; font-size: 0.85rem; color: var(--text-3); }
.news-origin-mark { color: var(--text-2); }
.news-status-badge.review { color: #fcd34d; }
.news-status-badge.published { color: #86efac; }
.news-status-badge.archived { color: var(--text-3); }
.news-card-date { color: var(--text-3); }
.news-note { margin-top: 10px; font-size: 0.86rem; color: var(--text-2); background: var(--bg-elev); border-radius: var(--radius-sm); padding: 8px 12px; }
.news-warn { margin-top: 8px; font-size: 0.84rem; color: #fcd34d; }

/* Editor */
.news-editor { display: flex; flex-direction: column; gap: 18px; }
.news-editor-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.news-editor-head-info { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 0.86rem; }
.news-editor-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.news-editor-col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; display: grid; gap: 12px; }
.news-editor-col > h3 { margin: 0; font-size: 1rem; color: var(--accent); }
.news-editor-col label { display: grid; gap: 4px; font-size: 0.82rem; color: var(--text-3); }
.news-editor-col input, .news-editor-col textarea {
  padding: 9px 12px; border-radius: var(--radius-sm); background: var(--bg-elev);
  border: 1px solid var(--border-strong); color: var(--text); font-family: inherit; font-size: 0.92rem;
}
.news-editor-col textarea { resize: vertical; line-height: 1.5; }
.news-counter { font-size: 0.76rem; color: var(--text-3); text-align: right; }
.news-counter-warn { color: #fcd34d; }

.news-editor-meta { display: grid; gap: 14px; max-width: 640px; }
.news-editor-meta label { display: grid; gap: 4px; font-size: 0.82rem; color: var(--text-3); }
.news-editor-meta select, .news-editor-meta textarea {
  padding: 9px 12px; border-radius: var(--radius-sm); background: var(--bg-elev);
  border: 1px solid var(--border-strong); color: var(--text); font-family: inherit; font-size: 0.92rem;
}
.news-sources-block { display: grid; gap: 8px; }
.news-sources-list { display: grid; gap: 6px; }
.news-source-item { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 12px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border-strong); }
.news-source-item a { color: var(--accent); word-break: break-all; }
.news-source-add { display: flex; gap: 8px; }
.news-source-add input { flex: 1 1 auto; padding: 9px 12px; border-radius: var(--radius-sm); background: var(--bg-elev);
  border: 1px solid var(--border-strong); color: var(--text); font-family: inherit; font-size: 0.92rem; }

/* Vorschau: bildet die Website-Darstellung nach, ohne innerHTML (siehe portal-admin.js) */
.news-preview { display: none; }
.news-preview.on { display: block; }
.news-preview-page { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; max-width: 720px; }
.news-preview-cat { text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; color: var(--accent); margin-bottom: 8px; }
.news-preview-title { margin: 0 0 10px; font-size: 1.6rem; }
.news-preview-teaser { color: var(--text-2); font-size: 1.05rem; line-height: 1.6; margin: 0 0 16px; }
.news-preview-body { color: var(--text-2); line-height: 1.7; }
.news-md-p { margin: 0 0 14px; }
.news-md-h { margin: 20px 0 10px; font-size: 1.15rem; color: var(--text); }
.news-md-list { margin: 0 0 14px; padding-left: 22px; }
.news-md-list li { margin-bottom: 6px; }
.news-preview-body a { color: var(--accent); }

.news-editor-actions { margin-top: 4px; }
.news-publish-hint { font-size: 0.82rem; color: #fcd34d; min-height: 1.2em; }

@media (max-width: 900px) {
  .news-editor-cols { grid-template-columns: 1fr; }
}

/* Konsolen-Eintrag im Benutzer-Dropdown (Betreiber-Wunsch 2026-08-03) */
.nav-user-link {
  display: block; padding: 10px 14px; color: var(--text); text-decoration: none;
  font-size: .92rem; border-top: 1px solid var(--border); transition: background .2s;
}
.nav-user-link:hover { background: var(--surface-hover); }

/* Erscheinungsdatum im Redaktions-Editor + Kachel-Meta (2026-08-04) */
.news-editor-meta input[type="date"] {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 9px 12px; color: var(--text); font-family: inherit; font-size: .95rem; color-scheme: dark;
}
.news-card-date.muted { color: var(--text-3); font-size: .78rem; }

/* ── Register «Nutzung» (Website-Analyse, 2026-08-05) ── */
.usage-kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 18px 0 6px; }
.usage-kpi { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); padding: 14px 16px; }
.usage-kpi-value { font-size: 1.5rem; font-weight: 640; letter-spacing: -0.02em; }
.usage-kpi-label { color: var(--text-3); font-size: 0.82rem; margin-top: 4px; }
.usage-h { margin: 26px 0 10px; font-size: 1.05rem; }
.usage-funnel { display: flex; flex-direction: column; gap: 8px; }
.usage-funnel-step { display: flex; align-items: center; gap: 12px; }
.usage-funnel-label { flex: 0 0 190px; color: var(--text-2); font-size: 0.9rem; }
.usage-funnel-bar-wrap { flex: 1; background: var(--surface); border-radius: 6px; height: 14px; overflow: hidden; }
.usage-funnel-bar { display: block; height: 100%; background: linear-gradient(90deg, #22d3ee, #818cf8); border-radius: 6px; }
.usage-funnel-n { flex: 0 0 110px; color: var(--text-2); font-size: 0.85rem; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 719px) { .usage-funnel-label { flex-basis: 120px; } .usage-funnel-n { flex-basis: 80px; } }

/* Einzelbesuche im Nutzungs-Register */
.usage-visit-row { cursor: pointer; }
.usage-visit-row:hover td { background: var(--surface-hover); }
.usage-vid { font-variant-numeric: tabular-nums; }
.usage-detail-row td { background: var(--surface); padding: 14px 18px; }
.usage-steps { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.usage-steps li { color: var(--text-2); }
.usage-step-path { color: var(--text); margin-right: 10px; }
.usage-step-meta { color: var(--text-3); font-size: 0.85rem; }
.usage-step-events { margin: 10px 0 0; color: var(--text-2); font-size: 0.9rem; }

/* ── Nutzung: Neubau 2026-08-23 (Zugriffsanalyse, Alarme, Drill-down) ── */
.usage-subnav { margin: 6px 0 14px; }
.usage-subnav button.on { border-color: var(--accent); color: var(--text); }
.usage-cb { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 0.88rem; cursor: pointer; }
.usage-kpi-sub { color: var(--text-3); font-size: 0.76rem; margin-top: 2px; }
.usage-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 6px 0 4px; font-size: 0.8rem; color: var(--text-2); }
.usage-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.usage-legend-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.usage-bar-mensch, .usage-legend-swatch.usage-bar-mensch { fill: #22d3ee; background: #22d3ee; }
.usage-bar-suche, .usage-legend-swatch.usage-bar-suche { fill: #818cf8; background: #818cf8; }
.usage-bar-ki, .usage-legend-swatch.usage-bar-ki { fill: #e879f9; background: #e879f9; }
.usage-bar-bot, .usage-legend-swatch.usage-bar-bot { fill: #6b7280; background: #6b7280; }
.usage-bar-scanner, .usage-legend-swatch.usage-bar-scanner { fill: #f87171; background: #f87171; }
.admin-badge.usage-cls-mensch { background: rgba(34,211,238,0.18); color: #67e8f9; }
.admin-badge.usage-cls-suche { background: rgba(129,140,248,0.2); color: #a5b4fc; }
.admin-badge.usage-cls-ki { background: rgba(232,121,249,0.2); color: #f0abfc; }
.admin-badge.usage-cls-vorschau { background: rgba(52,211,153,0.18); color: #6ee7b7; }
.admin-badge.usage-cls-scanner { background: rgba(248,113,113,0.2); color: #fca5a5; }
.admin-badge.usage-cls-bot, .admin-badge.usage-cls-monitor, .admin-badge.usage-cls-eigen { background: rgba(148,163,184,0.18); color: #cbd5e1; }
.admin-badge.usage-conf-bestaetigt { background: rgba(52,211,153,0.18); color: #6ee7b7; }
.admin-badge.usage-conf-wahrscheinlich { background: rgba(34,211,238,0.18); color: #67e8f9; }
.admin-badge.usage-conf-unsicher { background: rgba(251,191,36,0.18); color: #fcd34d; }
.admin-badge.usage-lvl-crit { background: rgba(248,113,113,0.25); color: #fecaca; }
.admin-badge.usage-lvl-warn { background: rgba(251,191,36,0.22); color: #fde68a; }
.admin-badge.usage-lvl-info { background: rgba(148,163,184,0.18); color: #cbd5e1; }
.usage-alertbar { border-radius: var(--radius-sm); padding: 12px 16px; margin: 10px 0 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 0.92rem; }
.usage-alertbar.warn { background: rgba(251,191,36,0.12); border: 1px solid rgba(251,191,36,0.4); }
.usage-alertbar.crit { background: rgba(248,113,113,0.12); border: 1px solid rgba(248,113,113,0.45); }
.usage-row-scan td { background: rgba(248,113,113,0.06); }
.usage-row-ack td { opacity: 0.55; }
.usage-detail-head { margin-bottom: 8px; color: var(--text-2); font-size: 0.9rem; }
.usage-rawfilter input, .usage-rawfilter select { font: inherit; font-size: 0.88rem; padding: 6px 10px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.usage-foot { margin-top: 20px; }
.admin-table td { word-break: break-word; }
/* Seiten-Signal, Empfehlungen, Reset (2026-08-23 II) */
.usage-step-sub { color: var(--text-3); font-size: 0.82rem; margin: 2px 0 0 0; }
.usage-step-actions { color: var(--text-2); }
.usage-danger { border-color: rgba(248,113,113,0.5); color: #fca5a5; margin-left: auto; }
.usage-insight { border: 1px solid var(--border); border-left-width: 4px; border-radius: var(--radius-sm); background: var(--surface); padding: 12px 16px; margin-bottom: 12px; }
.usage-insight.usage-prio-hoch { border-left-color: #f87171; }
.usage-insight.usage-prio-mittel { border-left-color: #fbbf24; }
.usage-insight.usage-prio-tief { border-left-color: #64748b; }
.usage-insight-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.admin-badge.usage-prio-badge.usage-prio-hoch { background: rgba(248,113,113,0.2); color: #fecaca; }
.admin-badge.usage-prio-badge.usage-prio-mittel { background: rgba(251,191,36,0.2); color: #fde68a; }
.admin-badge.usage-prio-badge.usage-prio-tief { background: rgba(148,163,184,0.18); color: #cbd5e1; }
.usage-insight-row { margin: 4px 0; font-size: 0.92rem; color: var(--text-2); display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.usage-insight-k { color: var(--text-3); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; padding-top: 2px; }
.usage-insight-sec { color: #93c5fd; }
@media (max-width: 719px) { .usage-insight-row { grid-template-columns: 1fr; gap: 2px; } }

/* ── Zähler zurücksetzen, Empfehlungen abarbeiten, Protokoll (2026-08-30) ──
   Konzept: «Admin-Konsole — Zähler nullstellen, Empfehlungen abarbeiten,
   Härtung». Die Zustandsfarben folgen der Ampel der Prioritäten oben, damit
   in der Konsole nur ein Farbsystem gilt. */
.usage-counter-btns { display: inline-flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.usage-counter-btns .btn-sm { white-space: nowrap; }
.usage-counter-hint { font-size: 0.78rem; }
.usage-funnel-ab { font-size: 0.78rem; flex: 0 0 auto; }
/* Der Hinweis, dass eine Ansicht bewusst forensisch vollständig bleibt. */
.usage-forensik { border-left: 3px solid rgba(147,197,253,0.5); padding-left: 12px; margin: 0 0 14px; font-size: 0.86rem; }

.usage-insight-bilanz { color: var(--text-2); font-size: 0.92rem; margin-bottom: 10px; }
.usage-state-offen { color: #fbbf24; }
.usage-state-in_arbeit { color: #7dd3fc; }
.usage-state-zurueckgestellt { color: #cbd5e1; }
.usage-state-erledigt { color: #86efac; }
.usage-state-verworfen { color: var(--text-3); }
.usage-rueckfall { color: #fca5a5; font-weight: 560; }
.admin-badge.usage-state-badge { font-size: 0.74rem; }
.admin-badge.usage-state-offen { background: rgba(251,191,36,0.18); color: #fde68a; }
.admin-badge.usage-state-in_arbeit { background: rgba(125,211,252,0.18); color: #bae6fd; }
.admin-badge.usage-state-zurueckgestellt { background: rgba(148,163,184,0.18); color: #cbd5e1; }
.admin-badge.usage-state-erledigt { background: rgba(134,239,172,0.18); color: #bbf7d0; }
.admin-badge.usage-state-verworfen { background: rgba(100,116,139,0.16); color: #94a3b8; }

.usage-insight-rueckfall { border-left-color: #f87171 !important; }
.usage-rueckfall-band { background: rgba(248,113,113,0.12); border: 1px solid rgba(248,113,113,0.4);
  border-radius: var(--radius-sm); padding: 8px 12px; margin: -2px 0 10px; font-size: 0.88rem; color: #fecaca; }
.usage-insight-note { color: var(--text); }
.usage-insight-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px;
  padding-top: 10px; border-top: 1px solid var(--border); }
.usage-insight-lock { font-size: 0.8rem; max-width: 46ch; line-height: 1.45; }

.usage-audit-abgewiesen td { background: rgba(251,191,36,0.07); }

/* Zusatzzeile unter einem Tabelleneintrag — für den Schwerpunkt aus einer
   Assessment-Anfrage. Freitext gehört nicht in eine Tabellenspalte gequetscht:
   dort wäre er entweder abgeschnitten oder würde die Spaltenbreiten sprengen. */
.admin-table tr.admin-subrow td {
  padding-top: 0;
  border-top: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}
.admin-table tr.admin-subrow + tr td { border-top-width: 1px; }

/* Die Aktionsspalte der Assessment-Tabelle: Bei neun Spalten quetscht der
   Umbruch sonst «Löschen» auf zwei Zeilen. */
#tab-assessments .admin-table td:last-child { white-space: nowrap; }
#tab-assessments .admin-table input[type="text"] { min-width: 120px; }

/* ═══ Landingpage mit Unterseiten (Sections) ═══════════════════════════
   Eine Kundenseite besteht aus mehreren Unterseiten. Genau eine ist
   sichtbar, die Navigation laeuft ueber den URL-Hash. */

.lp-subnav {
  position: sticky; top: 62px; z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.lp-subnav-inner { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.lp-subnav-inner::-webkit-scrollbar { display: none; }
.lp-subnav-btn {
  flex: 0 0 auto; font: inherit; font-size: 0.94rem; color: var(--text-2);
  background: transparent; border: 1px solid transparent; border-radius: 999px;
  padding: 7px 16px; cursor: pointer; white-space: nowrap;
  transition: color .15s, background .15s, border-color .15s;
}
.lp-subnav-btn:hover { color: var(--text); background: var(--surface); }
.lp-subnav-btn[aria-current="page"] { color: var(--text); background: var(--surface); border-color: var(--border-strong); }
.lp-subnav-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.lp-section-head { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.03em; margin: 48px 0 8px; text-wrap: balance; }
.lp-section-intro { color: var(--text-2); max-width: 65ch; margin-bottom: 8px; line-height: 1.7; }

/* ═══ Co-Branding: eigenes Zeichen neben dem Firmenlogo ════════════════ */
.lp-cobrand { border-bottom: 1px solid var(--border); padding: 14px 0; }
.lp-cobrand-inner { display: flex; align-items: center; gap: 14px; }
.lp-cobrand-mark {
  width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto;
  background: conic-gradient(from 210deg, #22d3ee, #818cf8, #e879f9, #22d3ee);
  position: relative;
}
.lp-cobrand-mark::after { content: ""; position: absolute; inset: 2px; border-radius: 6px; background: var(--bg); }
.lp-cobrand-sep { color: var(--text-3); }
.lp-cobrand-logo { max-height: 34px; max-width: 190px; object-fit: contain; }

/* ═══ Waehlbare Bausteine und Preisrechner ════════════════════════════
   Nur in der Angebots-Unterseite und nur fuer freigegebene Personen —
   der Server liefert diese Bloecke sonst gar nicht erst aus. */
.lp-option { border-left: 3px solid var(--accent); }
.lp-option.aus { opacity: 0.55; border-left-color: var(--border); }
.lp-option-head { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; margin-bottom: 10px; }
.lp-option-head input { width: 1.15rem; height: 1.15rem; margin-top: 3px; accent-color: var(--accent); flex: 0 0 auto; }
.lp-option-title { font-size: 1.3rem; font-weight: 640; letter-spacing: -0.02em; }
.lp-option-preis { margin: 14px 0 0; font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 600; }

.lp-pricing { background: var(--bg-elev); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 28px 30px; }
.lp-pricing-lines { display: flex; flex-direction: column; gap: 2px; margin-bottom: 20px; }
.lp-pricing-line { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.lp-pricing-line:last-child { border-bottom: 0; }
.lp-pricing-pos { color: var(--text-2); }
.lp-pricing-val { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text); }
.lp-pricing-total { border-top: 2px solid var(--border-strong); padding-top: 16px; }
.lp-pricing-sum { display: flex; justify-content: space-between; gap: 20px; padding: 6px 0; font-size: 1.1rem; }
.lp-pricing-sum b { font-variant-numeric: tabular-nums; font-size: 1.25rem; letter-spacing: -0.02em; }
.lp-pricing-note { color: var(--text-3); font-size: 0.88rem; margin: 14px 0 0; }

@media (max-width: 719px) {
  .lp-subnav { top: 56px; }
  .lp-pricing { padding: 20px 18px; }
  .lp-pricing-line, .lp-pricing-sum { flex-direction: column; gap: 2px; }
  .lp-pricing-val, .lp-pricing-sum b { text-align: left; }
}

/* Umschalter zwischen Login und Erstanmeldung per Firmencode */
.portal-switchline { margin: 14px 0 0; color: var(--text-2); font-size: 0.94rem; }
.portal-linkbtn {
  font: inherit; color: var(--accent); background: none; border: 0; padding: 0;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.portal-linkbtn:hover { color: var(--text); }
.portal-linkbtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.portal-hint { color: var(--text-3); font-size: 0.86rem; margin: 12px 0 0; line-height: 1.55; }

/* ═══ Cockpit: Pain Points und Anforderungen erfassen ═════════════════ */
.cockpit-punkte { display: flex; flex-direction: column; gap: 10px; }
.cockpit-punkt { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; }
.cockpit-punkt-kopf { display: flex; gap: 8px; align-items: center; }
.cockpit-punkt-kopf input[type="text"] { flex: 1; }
.cockpit-punkt-kopf select { flex: 0 0 auto; width: auto; }
.cockpit-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cockpit-chip {
  font: inherit; font-size: 0.84rem; padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--border); background: transparent; color: var(--text-3); cursor: pointer;
}
.cockpit-chip:hover { color: var(--text-2); border-color: var(--border-strong); }
.cockpit-chip.an { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); border-color: var(--accent); }
.cockpit-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Waehlbare Zeile im Preisrechner */
.lp-pricing-pos.waehlbar { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.lp-pricing-pos.waehlbar input { width: 1.05rem; height: 1.05rem; accent-color: var(--accent); flex: 0 0 auto; }
.lp-pricing-line.aus { opacity: 0.45; }
.lp-pricing-line.aus .lp-pricing-val { text-decoration: line-through; }
