/* PGB Kursberater – Styles (mobil zuerst, PGB-CI: Bordeaux, Gold, Creme) */
.kb {
  --kb-rot: #97232F; --kb-rot-dunkel: #6B182D; --kb-rot-hell: #C82F40;
  --kb-gold: #C2A868; --kb-gold-hell: #E6C47A; --kb-beige: #CEC093;
  --kb-creme: #FBF8F3; --kb-creme-2: #F3E8D2; --kb-ink: #2a2a2a; --kb-grau: #6b6b6b;
  --kb-weiss: #fff; --kb-rand: #e8dfc9;
  --kb-aktion: #3E7F3A; --kb-aktion-dunkel: #2F6330;   /* Aktionsfarbe: Grün, setzt sich von den Bordeaux-Chips ab */
  --kb-font: "Open Sans", Arial, sans-serif; --kb-head: "Montserrat", "Open Sans", sans-serif;
  font-family: var(--kb-font); color: var(--kb-ink); background: var(--kb-creme);
  border: 1px solid var(--kb-rand); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; max-width: 720px; margin: 0 auto;
  box-shadow: 0 18px 40px rgba(60, 20, 25, .10);
  line-height: 1.5; font-size: 16px;
}
.kb *, .kb *::before, .kb *::after { box-sizing: border-box; }
/* Reset gegen Theme-Styles (Flatsome: button, blockquote, ol, h3, h4, input) */
.kb button, .kb a.kb-btn { text-transform: none; letter-spacing: 0; line-height: 1.3; margin: 0; box-shadow: none; }
.kb blockquote { margin: 0; padding: 0; border: 0; font-size: inherit; }
.kb ol, .kb ul { margin: 0; padding: 0; }
.kb h3, .kb h4 { margin: 0; text-transform: none; letter-spacing: 0; }
.kb input, .kb textarea { margin: 0; box-shadow: none; }
.kb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kb p { margin: 0 0 .5em; } .kb p:last-child { margin-bottom: 0; }
.kb a { color: var(--kb-rot); }

/* Kopf */
.kb-kopf { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--kb-rot); color: #fff; }
.kb-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--kb-gold); flex: none; }
.kb-kopf-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.kb-kopf-text strong { font-family: var(--kb-head); font-size: 15px; display: flex; align-items: center; gap: 6px; }
.kb-ki { font-size: 9px; font-weight: 700; letter-spacing: .08em; padding: 1px 6px; border-radius: 999px; background: var(--kb-gold); color: #3a2a0a; line-height: 1.5; }
.kb-kopf-text span { font-size: 12px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-progress { margin: 0 0 0 auto; display: flex; gap: 6px; }
.kb-progress i { display: block; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.3); transition: background .3s, transform .3s; }
.kb-progress i.done { background: var(--kb-gold); }
.kb-progress i.cur { background: #fff; transform: scale(1.25); }

/* Gesprächsstrom */
.kb-strom { padding: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.kb-strom > * { flex: 0 0 auto; }   /* Nachrichten dürfen im scrollbaren Strom nie schrumpfen */
.kb-bubble { max-width: 88%; padding: 12px 16px; border-radius: 18px; font-size: 16px; }
.kb-chris { align-self: flex-start; background: #fff; border: 1px solid var(--kb-rand); border-bottom-left-radius: 6px; opacity: .001; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.kb-chris.in { opacity: 1; transform: none; }
.kb-chris.kb-denkt { opacity: 1; transform: none; }
.kb-du { align-self: flex-end; background: var(--kb-rot); color: #fff; border-bottom-right-radius: 6px; animation: kb-pop .25s ease-out; }
.kb-sub { font-size: 13px; color: var(--kb-grau); }
/* Vorstellungskarte (erste Nachricht) */
.kb .kb-vorstellung { max-width: 100%; padding: 0; overflow: hidden; display: grid; grid-template-columns: 1fr; grid-auto-rows: auto; }
.kb-vorstellung-bild { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; display: block; }
.kb-vorstellung-text { padding: 14px 16px 16px; }
.kb-vorstellung-name { font-family: var(--kb-head); font-weight: 700; font-size: 18px; color: var(--kb-rotDunkel, #6B182D); display: flex; align-items: center; gap: 8px; }
.kb-vorstellung-rolle { font-size: 12.5px; color: var(--kb-grau); margin: 2px 0 10px; }
.kb-vorstellung .kb-tipp { margin: 14px 16px; }
@media (min-width: 640px) {
  .kb .kb-vorstellung { grid-template-columns: 220px 1fr; }
  .kb-vorstellung-bild { aspect-ratio: auto; height: 100%; min-height: 170px; }
}
.kb-tipp { display: inline-flex; gap: 4px; height: 20px; align-items: center; }
.kb-tipp span { width: 7px; height: 7px; border-radius: 50%; background: var(--kb-gold); animation: kb-blink 1s infinite; }
.kb-tipp span:nth-child(2) { animation-delay: .2s; } .kb-tipp span:nth-child(3) { animation-delay: .4s; }
@keyframes kb-blink { 0%, 80%, 100% { opacity: .25 } 40% { opacity: 1 } }
@keyframes kb-pop { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }

/* Fuß: Antwortbereich */
.kb-fuss { padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.kb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kb-chip { font: inherit; font-size: 15px; min-height: 44px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--kb-rot); background: #fff; color: var(--kb-rot-dunkel); cursor: pointer; text-align: left; transition: background .15s, color .15s, transform .1s; }
.kb-chip:hover { background: var(--kb-rot); color: #fff; }
.kb-chip:focus-visible, .kb-btn:focus-visible, .kb-zurueck:focus-visible { outline: 3px solid var(--kb-gold); outline-offset: 2px; }
.kb-weiter-pfeil { font-weight: 700; }
.kb-chip:active { transform: scale(.98); }
.kb-chip.aktiv { background: var(--kb-rot); color: #fff; box-shadow: 0 0 0 3px rgba(194,168,104,.45); }
.kb-themen { display: flex; flex-direction: column; gap: 12px; }
.kb-themen .kb-aktionen { align-items: center; justify-content: flex-end; gap: 14px; }
.kb-themen-status { flex: 1 1 160px; text-align: right; font-size: 13px; }
.kb-themen.voll .kb-themen-status { color: var(--kb-rot-dunkel); font-size: 14px; }
.kb-themen-status strong { font-weight: 700; }
/* Auswahl voll: nicht gewählte Begriffe ausgrauen */
.kb .kb-chip.gesperrt, .kb .kb-chip.gesperrt:hover { background: #f4f1eb; border-color: #ddd5c4; color: #a39b8c; cursor: not-allowed; font-weight: 400; }
.kb-chip.gesperrt:active { transform: none; }
.kb-themen-status.kb-wackeln { animation: kb-wackeln .4s ease; color: var(--kb-rot); }
@keyframes kb-wackeln { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@media (max-width: 480px) { .kb-themen-status { flex-basis: 100%; text-align: center; } .kb-themen .kb-aktionen .kb-btn { flex: 1 1 100%; } }
.kb-themen .kb-aktionen .kb-btn { min-width: 150px; font-size: 16px; }
.kb-themen .kb-btn[disabled] { background: #c9c4b8; color: #fff; cursor: default; box-shadow: none; }
.kb-chip-leise { border-color: var(--kb-rand); color: var(--kb-grau); }
.kb-chip-leise:hover { background: var(--kb-creme-2); color: var(--kb-ink); }
.kb-chips-klein .kb-chip { min-height: 44px; padding: 8px 14px; font-size: 14px; }
.kb-chip-mini { min-height: 32px; padding: 4px 10px; font-size: 12px; }
.kb-chip-mini i { font-style: normal; opacity: .6; }
.kb-zurueck { align-self: flex-start; background: none; border: 0; color: var(--kb-grau); font: inherit; font-size: 14px; cursor: pointer; padding: 12px 0; min-height: 44px; }
.kb-zurueck:hover { color: var(--kb-rot); }

.kb-btn { font: inherit; font-family: var(--kb-head); font-weight: 700; font-size: 15px; min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.kb .kb-primaer { background: var(--kb-aktion); color: #fff; box-shadow: 0 6px 16px rgba(62,127,58,.3); }
.kb .kb-primaer:hover { background: var(--kb-aktion-dunkel); color: #fff; }
.kb .kb-leise { background: #fff; color: var(--kb-rot-dunkel); border-color: var(--kb-rand); }
.kb .kb-leise:hover { background: var(--kb-creme-2); }
.kb-btn-klein { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.kb-aktionen { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Körperkarte */
.kb-karte-wrap { display: flex; flex-direction: column; gap: 10px; }
.kb-karte { position: relative; border-radius: 14px; overflow: hidden; background: #0b0d12; aspect-ratio: 1180 / 944; }
/* Ausschnitt: der leere Rand des Renderings wird weggezoomt (Bild 1600×1067, Ausschnitt 180–1360 × 63–1007) */
.kb-karte-innen { position: absolute; left: -15.25%; top: -6.7%; width: 135.6%; height: 113%; }
.kb-karte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; display: block; }
.kb-karte svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.kb-hot { cursor: pointer; pointer-events: all; }
.kb-hot ellipse { fill: rgba(194,168,104,.10); stroke: var(--kb-gold); stroke-width: 4; stroke-dasharray: 14 12; transition: fill .2s, stroke-width .2s; animation: kb-atmen 2.6s ease-in-out infinite; }
.kb-hot:hover ellipse, .kb-hot.hover ellipse, .kb-hot:focus-visible ellipse { fill: rgba(230,196,122,.32); stroke-width: 7; stroke-dasharray: none; animation: none; }
.kb-label rect { fill: rgba(20,12,14,.78); stroke: var(--kb-gold); stroke-width: 2.5; }
.kb-label text { fill: #fff; font-family: var(--kb-head); font-weight: 700; font-size: 36px; pointer-events: none; }
@media (max-width: 520px) { .kb-label { display: none; } .kb-hot ellipse { stroke-width: 6; } }
.kb-hot:hover .kb-label rect, .kb-hot.hover .kb-label rect { fill: var(--kb-rot); }
@keyframes kb-atmen { 0%, 100% { stroke-opacity: .55 } 50% { stroke-opacity: 1 } }

/* Freitext */
.kb-text { display: flex; flex-direction: column; gap: 10px; flex-basis: 100%; }
.kb-text label { font-size: 15px; }
.kb-text small { font-size: 12px; color: var(--kb-grau); }
.kb-vertrauen { font-size: 12px; color: var(--kb-grau); margin-top: 6px; }
.kb-optin { flex-basis: 100%; font-size: 13px; display: flex; gap: 8px; align-items: flex-start; }
.kb-optin input { margin-top: 3px; }
.kb-text textarea { font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--kb-rand); resize: vertical; background: #fff; }
.kb-text textarea:focus { outline: none; border-color: var(--kb-rot); box-shadow: 0 0 0 3px rgba(151,35,47,.12); }

/* Name, „hast Du schon“, Abo-Kunden */
.kb-name { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.kb-name input { flex: 1 1 180px; font: inherit; font-size: 16px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--kb-rand); background: #fff; }
.kb-name input:focus { outline: none; border-color: var(--kb-rot); box-shadow: 0 0 0 3px rgba(151,35,47,.12); }
.kb-schon { display: inline-block; background: #e9f1e4; color: #2f5d2a; border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 600; margin: 2px 2px 2px 0; }
.kb-preis-abo { font-size: 14px; color: #2f5d2a; }

/* Lernpfad */
.kb-pfad { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; position: relative; }
.kb-pfad::before { content: ""; position: absolute; left: 15px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--kb-gold), var(--kb-rand)); }
.kb-karte-produkt { position: relative; padding-left: 0; animation: kb-pop .4s ease-out; }
.kb-schritt { display: flex; align-items: center; gap: 10px; font-family: var(--kb-head); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--kb-rot-dunkel); margin-bottom: 8px; }
.kb-schritt span { width: 32px; height: 32px; border-radius: 50%; background: var(--kb-gold); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; letter-spacing: 0; box-shadow: 0 0 0 4px var(--kb-creme); position: relative; z-index: 1; }
.kb-produkt { margin-left: 42px; background: #fff; border: 1px solid var(--kb-rand); border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: 1fr; }
.kb-produkt-bild { display: block; background: var(--kb-creme-2); }
.kb-produkt-bild img { width: 100%; height: auto; display: block; }   /* ganzes Bild im eigenen Seitenverhältnis, kein Beschnitt */
.kb-produkt-text { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.kb-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.kb-badge { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--kb-creme-2); color: var(--kb-rot-dunkel); }
.kb-badge-abo { background: #e9f1e4; color: #2f5d2a; }
.kb-badge-neu { background: var(--kb-gold); color: #fff; text-transform: none; letter-spacing: 0; }
.kb-produkt h3 { font-family: var(--kb-head); font-size: 17px; line-height: 1.3; margin: 0; }
.kb .kb-produkt h3 a { color: var(--kb-ink); text-decoration: none; }
.kb-produkt h3 a:hover { color: var(--kb-rot); }
.kb-meta { font-size: 13px; color: var(--kb-grau); }
.kb-stern { color: #b8902e; font-weight: 600; white-space: nowrap; }
.kb-warum { margin: 0; padding: 10px 14px; border-left: 3px solid var(--kb-gold); background: var(--kb-creme); border-radius: 0 10px 10px 0; font-size: 15px; font-style: italic; color: #3a3a3a; }
.kb-klein { font-size: 12px; color: var(--kb-grau); }
.kb-produkt-fuss { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.kb-preis { font-family: var(--kb-head); font-weight: 700; font-size: 18px; color: var(--kb-rot-dunkel); }
.kb-preis small { display: block; font-size: 11px; font-weight: 400; color: var(--kb-grau); }

/* Bündel-Tipp */
.kb-buendel { display: flex; gap: 12px; align-items: flex-start; background: linear-gradient(135deg, #5c0e18, #8a1c26); color: #fff; border-radius: 14px; padding: 14px 16px; animation: kb-pop .4s ease-out; }
.kb-buendel a { color: var(--kb-gold-hell); }
.kb-buendel p { font-size: 15px; }
.kb-buendel-ikon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--kb-gold); color: #fff; font-family: var(--kb-head); font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Persönlich von Chris */
.kb-persoenlich h4 { font-family: var(--kb-head); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--kb-grau); margin: 6px 0 8px; }
.kb-persoenlich-liste { display: grid; grid-template-columns: 1fr; gap: 10px; }
.kb .kb-persoenlich-karte { display: flex; gap: 12px; align-items: flex-start; background: linear-gradient(135deg, #5c0e18, #8a1c26); color: #fff; border-radius: 12px; padding: 10px; text-decoration: none; border: 1px solid var(--kb-gold); }
.kb-persoenlich-karte img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; flex: none; border: 2px solid var(--kb-gold); }
.kb-persoenlich-text { display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.35; }
.kb-persoenlich-text strong { font-family: var(--kb-head); font-size: 14px; color: var(--kb-gold-hell); }
.kb-persoenlich-text em { font-style: italic; color: #fff; }
.kb-persoenlich-preis { font-size: 12px; color: var(--kb-beige); }
.kb-persoenlich-preis small { color: var(--kb-beige); opacity: .8; }
@media (min-width: 640px) { .kb-persoenlich-liste { grid-template-columns: 1fr 1fr; } }

/* Eine Empfehlung, Rest zugeklappt */
.kb-empfehlung .kb-karte-produkt { animation: kb-pop .4s ease-out; }
.kb-empfehlung .kb-produkt { margin-left: 0; border: 2px solid var(--kb-gold); box-shadow: 0 12px 30px rgba(60,20,25,.12); }
.kb-empfehlung .kb-schritt span { display: none; }
.kb-empfehlung .kb-produkt-fuss .kb-btn { min-height: 48px; font-size: 16px; padding: 10px 22px; }
.kb-persoenlich-zeile { font-size: 14px; color: var(--kb-ink); background: var(--kb-creme-2); border-radius: 12px; padding: 10px 14px; margin: 0; }
.kb-persoenlich-zeile a { font-weight: 700; }
.kb-persoenlich-zeile small { color: var(--kb-grau); font-size: 12px; }
.kb-danach { border: 1px solid var(--kb-rand); border-radius: 12px; background: #fff; }
.kb-danach summary { cursor: pointer; padding: 12px 14px; font-family: var(--kb-head); font-weight: 700; font-size: 14px; color: #6B182D; list-style: none; display: flex; align-items: center; gap: 8px; }
.kb-danach summary::-webkit-details-marker { display: none; }
.kb-danach summary::before { content: "▸"; color: var(--kb-gold); transition: transform .2s; }
.kb-danach[open] summary::before { transform: rotate(90deg); }
.kb-danach-inhalt { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.kb .kb-kompakt { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--kb-ink); background: var(--kb-creme); border: 1px solid var(--kb-rand); border-radius: 10px; padding: 8px 10px; }
.kb-kompakt img { width: 80px; height: 45px; object-fit: contain; background: var(--kb-creme-2); border-radius: 6px; flex: none; }
.kb-kompakt-text { display: flex; flex-direction: column; font-size: 12.5px; line-height: 1.3; flex: 1; min-width: 0; }
.kb-kompakt-text em { font-style: normal; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--kb-grau); }
.kb-kompakt-text strong { font-size: 13.5px; }
.kb-kompakt-text span { color: var(--kb-grau); }
.kb-kompakt-pfeil { color: var(--kb-aktion); font-weight: 700; }
.kb-leise-zeile { font-size: 13px; color: var(--kb-grau); }
.kb-leise-zeile button { background: none; border: 0; font: inherit; color: var(--kb-rot); cursor: pointer; padding: 6px 2px; text-decoration: underline; }
.kb-merken { flex-basis: 100%; display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.kb-links { margin: 6px 0 0; padding-left: 18px; }
.kb-links li { margin: 2px 0; }
.kb-vertrauen a { color: var(--kb-grau); }

/* Dazu passt */
.kb-dazu h4 { font-family: var(--kb-head); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--kb-grau); margin: 6px 0 8px; }
.kb-dazu-liste { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.kb .kb-klein-karte { flex: 0 0 220px; scroll-snap-align: start; display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--kb-rand); border-radius: 12px; padding: 8px; text-decoration: none; color: var(--kb-ink); }
.kb-klein-karte img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; }
.kb-klein-text { display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; }
.kb-klein-text strong { font-size: 13px; }
.kb-klein-text span { color: var(--kb-grau); font-size: 12px; }

/* Antworten ändern, Hinweis, Aktionen */
.kb-antworten { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: var(--kb-grau); margin-top: 6px; }
.kb-hinweis { font-size: 12px; color: var(--kb-grau); }
.kb-ergebnis-aktionen { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.kb-meldung { font-size: 12px; color: var(--kb-grau); flex-basis: 100%; word-break: break-all; }
.kb-mail { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.kb-mail input { flex: 1 1 200px; font: inherit; min-height: 40px; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--kb-rand); }
.kb-mail small { flex-basis: 100%; font-size: 12px; color: var(--kb-grau); }

/* Größer als Handy */
@media (min-width: 640px) {
  .kb-produkt { grid-template-columns: 240px 1fr; align-items: start; }
  .kb-produkt-bild { margin: 14px 0 14px 14px; border-radius: 8px; overflow: hidden; }
  .kb-bubble { max-width: 80%; }
}

/* Panel-Variante (Slide-over / Bottom-Sheet) */
.kb-panel-wrap { position: fixed; inset: 0; z-index: 9999; display: none; }
.kb-panel-wrap.offen { display: block; }
.kb-panel-hinter { position: absolute; inset: 0; background: rgba(30, 10, 12, .5); }
.kb-panel { position: absolute; right: 0; bottom: 0; left: 0; max-height: 94vh; max-height: 94dvh; display: flex; flex-direction: column; animation: kb-hoch .3s ease-out; }
.kb-panel .kb { border-radius: 20px 20px 0 0; max-width: none; width: 100%; min-width: 0; height: 94vh; height: 94dvh; }
.kb-panel .kb-strom { flex: 1; min-height: 0; overflow-y: auto; }
.kb-panel-schliessen { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 20px; cursor: pointer; }
.kb-panel .kb-progress { margin-right: 52px; }
@keyframes kb-hoch { from { transform: translateY(40px); opacity: 0 } to { transform: none; opacity: 1 } }
@media (min-width: 900px) {
  /* Desktop: Chatfenster unten rechts, die Seite bleibt bedienbar */
  .kb-panel-wrap { pointer-events: none; }
  .kb-panel-hinter { display: none; }
  .kb-panel { pointer-events: auto; left: auto; top: auto; right: 20px; bottom: 20px; width: 440px; max-height: none; height: min(780px, calc(100vh - 40px)); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(40,10,15,.35); animation: kb-rein .25s ease-out; }
  .kb-panel .kb { border-radius: 20px; height: 100%; }
  @keyframes kb-rein { from { transform: translateY(24px); opacity: 0 } to { transform: none; opacity: 1 } }
}

/* Schwebender Startknopf */
.kb-panel-wrap.offen ~ .kb-launcher, .kb-launcher.kb-versteckt { display: none; }
.kb-launcher { position: fixed; right: 16px; bottom: 16px; z-index: 9998; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--kb-rot, #97232F); color: #fff; border: 0; font-family: "Montserrat", "Open Sans", sans-serif; font-weight: 700; font-size: 14px; box-shadow: 0 10px 28px rgba(60,10,15,.35); cursor: pointer; }
.kb-launcher img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #C2A868; object-fit: cover; }
.kb-launcher:hover { background: #6B182D; }
@media (max-width: 480px) { .kb-launcher span { display: none; } .kb-launcher { padding: 6px; } }

@media (prefers-reduced-motion: reduce) {
  .kb *, .kb-panel, .kb-hot ellipse { animation: none !important; transition: none !important; }
}

/* Theme-Überschreibungen (Flatsome setzt border-radius, Großschrift und Abstände auf alle Buttons) */
html body .kb .kb-chip, html body .kb .kb-btn, html body .kb-launcher, html body .kb .kb-leise-zeile button { border-radius: 999px !important; text-transform: none !important; letter-spacing: 0 !important; margin: 0 !important; box-shadow: none; }
.kb .kb-primaer { box-shadow: 0 6px 16px rgba(62,127,58,.3) !important; }
.kb .kb-chip { line-height: 1.3 !important; font-weight: 400; }
.kb .kb-chip.aktiv, .kb .kb-chip:hover { font-weight: 600; }
.kb .kb-btn { line-height: 1.3 !important; }
html body .kb .kb-leise-zeile button { border-radius: 0 !important; background: none !important; color: var(--kb-rot) !important; padding: 6px 2px !important; min-height: 0 !important; }
.kb input[type="text"], .kb input[type="email"] { border-radius: 999px !important; height: auto !important; box-shadow: none !important; margin: 0 !important; background: #fff !important; }
.kb textarea { border-radius: 12px !important; box-shadow: none !important; margin: 0 !important; }
html body .kb-panel-schliessen { border-radius: 50% !important; text-transform: none !important; padding: 0 !important; margin: 0 !important; min-height: 0 !important; line-height: 44px !important; background: rgba(255,255,255,.18) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; }
.kb h3, .kb h4, .kb p, .kb blockquote, .kb ol, .kb ul { margin-top: 0; }
.kb .kb-produkt h3 { font-size: 17px !important; line-height: 1.3 !important; text-transform: none !important; }

/* Im Chatfenster (schmal) immer eine Spalte, unabhängig von der Fensterbreite */
.kb-panel .kb-produkt { grid-template-columns: 1fr !important; }
.kb-panel .kb-produkt-bild { margin: 0 !important; border-radius: 0 !important; }
html body .kb-panel .kb-vorstellung { display: block !important; }
html body .kb-panel .kb-vorstellung-bild { display: block !important; width: 100% !important; height: auto !important; max-height: 260px !important; min-height: 0 !important; aspect-ratio: 16 / 10 !important; object-fit: cover !important; object-position: 50% 30% !important; position: static !important; float: none !important; margin: 0 !important; }
html body .kb-panel .kb-vorstellung-text { display: block !important; position: static !important; }
html body .kb-panel .kb-vorstellung .kb-tipp { margin: 14px 16px; }
.kb-panel .kb-bubble { max-width: 92%; }
.kb-panel .kb-produkt-fuss { flex-wrap: wrap; }
.kb-panel .kb-produkt-fuss .kb-btn { white-space: nowrap; }

/* Hervorhebung beim Direktlink */
.kb-angeleuchtet .kb, .kb-angeleuchtet.kb { animation: kb-leuchten 1.6s ease-out 1; }
@keyframes kb-leuchten { 0% { box-shadow: 0 0 0 0 rgba(194,168,104,0) } 30% { box-shadow: 0 0 0 10px rgba(194,168,104,.55) } 100% { box-shadow: 0 18px 40px rgba(60,20,25,.10) } }
