/* Gemeinsam für alle Beispielseiten unter base.systhetiq.com/beispiele/.
   Hinweisleiste „Beispielseite · gebaut mit SysthetIQ Base“: im Fluss ganz oben (nie fixed, überdeckt nichts)
   und noch einmal im Fuß. Neutral gehalten, damit sie zu jedem Seitendesign passt. */
.bsp-hinweis { display: block; margin: 0; padding: 8px 16px; background: #0E1116; color: #E6E8EB; font: 500 13px/1.4 'DM Sans', system-ui, sans-serif; text-align: center; letter-spacing: .01em; position: relative; z-index: 1; }
.bsp-hinweis a { color: #FFFFFF; text-decoration: underline; text-decoration-color: #EA0A2A; text-underline-offset: 3px; text-decoration-thickness: 2px; display: inline-flex; align-items: center; min-height: 32px; }
.bsp-hinweis a:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; border-radius: 4px; }
.bsp-fuss { display: block; margin: 0; padding: 14px 16px 18px; text-align: center; font: 400 13px/1.5 'DM Sans', system-ui, sans-serif; color: inherit; opacity: .85; }
.bsp-fuss a { color: inherit; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; min-height: 44px; align-items: center; }
/* Rechtsseiten der Beispiele */
.bsp-recht { max-width: 760px; margin: 0 auto; padding: 48px 20px 64px; font: 400 16px/1.65 'DM Sans', system-ui, sans-serif; color: #14161B; overflow-wrap: anywhere; }
.bsp-recht h1 { font: 600 32px/1.2 'DM Sans', system-ui, sans-serif; margin: 0 0 8px; }
.bsp-recht h2 { font: 600 20px/1.3 'DM Sans', system-ui, sans-serif; margin: 32px 0 8px; }
.bsp-recht .bsp-zurueck { display: inline-flex; min-height: 44px; align-items: center; color: #14161B; }
.bsp-recht .bsp-kasten { background: #F4F5F7; border: 1px solid #E3E6EA; border-radius: 10px; padding: 14px 16px; margin: 16px 0 24px; }
body.bsp-rechtsseite { margin: 0; background: #FFFFFF; }

/* ── Schalter „Technik einblenden“ (wird von beispiel.js in die Hinweisleiste gesetzt) ─────────────── */
.bsp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bsp-trenner { color: #9AA1AB; }
.bsp-schalter { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; margin: 0; padding: 0 12px 0 6px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: transparent; color: #FFFFFF; font: 600 13px/1 'DM Sans', system-ui, sans-serif; cursor: pointer; vertical-align: middle; }
.bsp-schalter:hover { border-color: #FFFFFF; background: rgba(255,255,255,.08); }
.bsp-schalter:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.bsp-schalter-spur { position: relative; width: 30px; height: 18px; border-radius: 999px; background: #3A4049; transition: background .15s ease; }
.bsp-schalter-spur span { position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: #FFFFFF; transition: transform .15s ease; }
.bsp-schalter[aria-pressed="true"] .bsp-schalter-spur { background: #EA0A2A; }
.bsp-schalter[aria-pressed="true"] .bsp-schalter-spur span { transform: translateX(12px); }
@media (prefers-reduced-motion: reduce) { .bsp-schalter-spur, .bsp-schalter-spur span { transition: none; } }

/* Markierte Bausteine: roter Rahmen innen (wird nie von overflow:hidden abgeschnitten), Labels oben links. */
html.bsp-technik .bsp-baustein-an { outline: 2px solid #EA0A2A; outline-offset: -2px; }
.bsp-tags { position: absolute; top: 8px; left: 8px; z-index: 60; display: block; max-width: calc(100% - 16px); text-align: left; font: 400 14px/1.45 'DM Sans', system-ui, sans-serif; letter-spacing: 0; text-transform: none; }
.bsp-tag { display: inline-flex; vertical-align: top; align-items: center; min-height: 30px; margin: 0 6px 6px 0; padding: 0 10px; border: 0; border-radius: 6px; background: #EA0A2A; color: #FFFFFF; font: 600 12.5px/1 'DM Sans', system-ui, sans-serif; letter-spacing: .01em; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.bsp-tag::before { content: ''; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #FFFFFF; }
.bsp-tag:hover { background: #C20822; }
.bsp-tag:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; box-shadow: 0 0 0 4px #0E1116; }
.bsp-tag[aria-expanded="true"] { background: #0E1116; }
.bsp-tag-info { display: block; max-width: 320px; margin: 0 0 6px; padding: 12px 14px; border-radius: 8px; border-left: 3px solid #EA0A2A; background: #FFFFFF; color: #14161B; box-shadow: 0 8px 28px rgba(0,0,0,.28); }
.bsp-tag-info[hidden] { display: none; }
.bsp-tag-info strong { display: block; margin-bottom: 4px; font-weight: 700; color: #14161B; }

/* ── KI-Demos: Grundgerüst, Farben je Marke über Variablen ──────────────────────────────────────────
   --ki-akzent, --ki-akzent-text, --ki-flaeche, --ki-text, --ki-leise, --ki-rand, --ki-radius */
.ki-kennung { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--ki-leise, currentColor); }
.ki-marke { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 22px; padding: 0 7px; border-radius: 999px; border: 1.5px solid currentColor; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; color: var(--ki-text, currentColor); }
.ki-ohne-js { font-size: 14px; color: var(--ki-leise, currentColor); }
fieldset.ki-feld { margin: 0; padding: 0; border: 0; min-width: 0; }
.ki-chat-verlauf { display: flex; flex-direction: column; gap: 10px; max-height: 360px; overflow-y: auto; padding: 4px 2px 8px; }
.ki-msg { max-width: 88%; padding: 10px 14px; border-radius: var(--ki-radius, 14px); background: var(--ki-flaeche, rgba(127,127,127,.12)); color: var(--ki-text, inherit); }
.ki-msg-du { align-self: flex-end; background: var(--ki-akzent, #222); color: var(--ki-akzent-text, #fff); }
.ki-msg-wer { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 700; }
.ki-msg-text { margin: 0; white-space: pre-line; font-size: 15px; line-height: 1.5; }
.ki-aktion { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ki-tippt { display: inline-flex; gap: 5px; align-self: flex-start; padding: 12px 14px; border-radius: var(--ki-radius, 14px); background: var(--ki-flaeche, rgba(127,127,127,.12)); }
.ki-tippt span { width: 7px; height: 7px; border-radius: 50%; background: var(--ki-leise, currentColor); animation: ki-punkt 1s infinite ease-in-out; }
.ki-tippt span:nth-child(2) { animation-delay: .15s; } .ki-tippt span:nth-child(3) { animation-delay: .3s; }
@keyframes ki-punkt { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ki-schritte { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.ki-schritt { display: flex; align-items: center; gap: 10px; }
.ki-schritt::before { content: ''; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: ki-dreh .8s linear infinite; }
.ki-schritt.ki-fertig::before { border-color: var(--ki-akzent, currentColor); background: var(--ki-akzent, currentColor); animation: none; }
@keyframes ki-dreh { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ki-tippt span, .ki-schritt::before { animation: none; } }

/* ── Einwilligungs-Baustein (consent.js): neutral, passt zu jeder Kundenmarke; Knöpfe gleichwertig ── */
.bsp-consent { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 90; width: min(560px, calc(100% - 32px)); padding: 18px 20px; border-radius: 12px; background: #FFFFFF; color: #14161B; border: 1px solid #D6DAE0; box-shadow: 0 18px 50px rgba(0,0,0,.28); font: 400 15px/1.5 'DM Sans', system-ui, sans-serif; text-align: left; }
.bsp-consent[hidden] { display: none; }
.bsp-consent-titel { margin: 0 0 6px; font: 700 17px/1.3 'DM Sans', system-ui, sans-serif; color: #14161B; }
.bsp-consent-titel:focus { outline: none; }
.bsp-consent-titel:focus-visible { outline: 2px solid #14161B; outline-offset: 2px; }
.bsp-consent p { margin: 0 0 10px; color: #3A3F47; }
.bsp-consent a { color: #14161B; text-decoration: underline; text-underline-offset: 2px; }
.bsp-consent-demo { font-size: 13px; color: #5B616B !important; }
.bsp-consent-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.bsp-consent-knopf { min-height: 48px; padding: 0 16px; border-radius: 8px; border: 1.5px solid #14161B; background: #FFFFFF; color: #14161B; font: 600 15px/1 'DM Sans', system-ui, sans-serif; cursor: pointer; }
.bsp-consent-knopf:hover { background: #14161B; color: #FFFFFF; }
.bsp-consent-knopf:focus-visible { outline: 3px solid #14161B; outline-offset: 2px; }
.bsp-consent-link { margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.bsp-consent-meldung { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 91; width: min(560px, calc(100% - 32px)); margin: 0; padding: 12px 16px; border-radius: 10px; background: #14161B; color: #FFFFFF; font: 500 14px/1.45 'DM Sans', system-ui, sans-serif; }
.bsp-consent-meldung[hidden] { display: none; }
/* Seitenstile (z. B. Versalien, Rahmen, schmale Schrift an h2/p/button der Kundenmarke) nicht ins Banner durchreichen */
.bsp-consent .bsp-consent-titel, .bsp-consent p, .bsp-consent .bsp-consent-knopf { text-transform: none; letter-spacing: 0; font-stretch: 100%; border-radius: 0; box-shadow: none; text-shadow: none; }
.bsp-consent .bsp-consent-titel { border: 0; padding: 0; background: none; font: 700 17px/1.3 'DM Sans', system-ui, sans-serif; color: #14161B; max-width: none; }
.bsp-consent .bsp-consent-titel::before, .bsp-consent .bsp-consent-titel::after { content: none; }
.bsp-consent p { font: 400 15px/1.5 'DM Sans', system-ui, sans-serif; max-width: none; }
.bsp-consent .bsp-consent-demo { font-size: 13px; }
.bsp-consent .bsp-consent-knopf { border-radius: 8px; font: 600 15px/1 'DM Sans', system-ui, sans-serif; }
.bsp-consent .bsp-consent-titel:focus, .bsp-consent .bsp-consent-titel:focus-visible { outline: none; }   /* Überschrift ist nur Fokus-Anker für Screenreader, kein Bedienelement */
