/* Kaufberater: gilt für Rundgang und Startseite */
.berater-knopf, .berater { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; color: #1e1a15; }
.berater-knopf {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: #1e1a15;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
  cursor: pointer;
}
.berater-knopf:hover { background: #000; }
.berater-knopf[hidden] { display: none; }
.berater-knopf:focus-visible, .berater__zu:focus-visible, .berater__eingabe button:focus-visible { outline: 2px solid #b9772f; outline-offset: 2px; }
.berater {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  width: min(390px, calc(100vw - 32px));
  height: min(580px, calc(100dvh - 32px));
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #f5efe4;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
  overflow: hidden;
}
.berater[hidden] { display: none; }
.berater__kopf { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: #1e1a15; color: #fff; }
.berater__kopf strong { display: block; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-weight: 500; font-size: 20px; }
.berater__kopf small { font-size: 12.5px; opacity: .78; }
.berater__zu { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.berater__verlauf { flex: 1; overflow-y: auto; padding: 14px 14px 6px; display: flex; flex-direction: column; gap: 10px; }
.berater__blase { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.berater__blase--bot { align-self: flex-start; background: #fff; border: 1px solid #d9cfbd; border-bottom-left-radius: 4px; }
.berater__blase--du { align-self: flex-end; background: #1e1a15; color: #fff; border-bottom-right-radius: 4px; }
.berater__blase--wartet { color: #5d5548; font-style: italic; }
.berater__produkte { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.berater__produkt { padding: 11px 12px; border: 1px solid #d9cfbd; border-radius: 12px; background: #fbf8f2; }
.berater__produkt strong { display: block; font-size: 14.5px; line-height: 1.35; }
.berater__produkt small { font-size: 12.5px; color: #5d5548; }
.berater__knoepfe { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.berater__los, .berater__neben { padding: 7px 11px; border-radius: 8px; border: 1px solid #d9cfbd; background: none; color: inherit; font: inherit; font-size: 13.5px; text-decoration: none; cursor: pointer; }
.berater__los { background: #1e1a15; border-color: #1e1a15; color: #fff; font-weight: 600; }
.berater__los:hover { background: #000; }
.berater__neben:hover { background: #ebe3d4; }
.berater__neben[aria-pressed="true"] { background: #b9772f; border-color: #b9772f; color: #fff; }
.berater__eingabe { display: flex; gap: 8px; padding: 10px 12px 6px; border-top: 1px solid #d9cfbd; }
.berater__eingabe input { flex: 1; min-width: 0; padding: 11px 12px; border: 1px solid #b9ad97; border-radius: 10px; background: #fff; color: inherit; font: inherit; font-size: 16px; }
.berater__eingabe input:focus { outline: 2px solid #1e1a15; outline-offset: 1px; }
.berater__eingabe button { width: 44px; border: 0; border-radius: 10px; background: #1e1a15; color: #fff; display: grid; place-items: center; cursor: pointer; }
.berater__klein { margin: 0; padding: 0 14px 10px; font-size: 11.5px; line-height: 1.4; color: #5d5548; }
.berater__unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 560px) {
  .berater { right: 0; left: 0; bottom: 0; width: auto; height: min(78dvh, 640px); border-radius: 18px 18px 0 0; }
  .berater-knopf span { display: none; }
  .berater-knopf { padding: 14px; }
}
