
/* ---------- Ankauf-Chat ---------- */
.gw-chat-knopf { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  background: #0f7a5c; color: #ffffff; padding: 12px 18px 12px 14px; border-radius: 999px; font: inherit; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.gw-chat-knopf.weg { display: none; }
.gw-chat { position: fixed; right: 16px; bottom: 16px; z-index: 80; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 100px));
  background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.3); display: flex; flex-direction: column; overflow: hidden; color: #222; }
.gw-chat[hidden] { display: none; }
.gw-chat header { background: #0f7a5c; color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.gw-chat header strong { display: block; font-size: 1rem; }
.gw-chat header span { font-size: .8rem; opacity: .8; }
.gw-chat-zu { background: none; border: 0; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.gw-chat-verlauf { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #faf7f0; }
.gw-chat-msg { max-width: 85%; padding: 9px 13px; border-radius: 14px; font-size: .95rem; line-height: 1.45; }
.gw-chat-msg.bot { background: #fff; align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.gw-chat-msg.ich { background: #0f7a5c; color: #ffffff; align-self: flex-end; border-bottom-right-radius: 4px; }
.gw-chat-msg.klein { font-size: .8rem; color: #666; }
.gw-chat-msg a { color: inherit; font-weight: 700; }
.gw-chat-msg.tippt i { display: inline-block; width: 7px; height: 7px; margin: 0 2px; border-radius: 50%; background: #aaa; animation: gw-tipp 1s infinite; }
.gw-chat-msg.tippt i:nth-child(2) { animation-delay: .15s; } .gw-chat-msg.tippt i:nth-child(3) { animation-delay: .3s; }
@keyframes gw-tipp { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.gw-chat-auswahl { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; background: #faf7f0; max-height: 40%; overflow-y: auto; }
.gw-chat-auswahl:empty { display: none; }
.gw-chat-auswahl button { border: 1.5px solid #d8a642; background: #fff; color: #0b5c45; border-radius: 999px; padding: 7px 12px; font: inherit; font-size: .88rem; cursor: pointer; }
.gw-chat-auswahl button:hover { background: #d8a642; color: #fff; }
.gw-chat-eingabe { display: flex; border-top: 1px solid #e3e3e3; }
.gw-chat-eingabe[hidden] { display: none; }
.gw-chat-eingabe input { flex: 1; border: 0; padding: 14px; font: inherit; font-size: 16px; outline: none; }
.gw-chat-eingabe button { border: 0; background: #0f7a5c; color: #ffffff; padding: 0 18px; font: inherit; font-weight: 700; cursor: pointer; }

/* ---------- Kurzantwort, Inhaber, Bewertungen ---------- */
.gw-kurz { border-left: 4px solid #d8a642; background: #faf7f0; padding: 14px 18px; border-radius: 6px; font-size: 1.02rem; }
.gw-inhaber { display: grid; grid-template-columns: 140px 1fr; gap: 28px; align-items: center; }
.gw-inhaber img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; }
.gw-inhaber-ohne { grid-template-columns: 1fr; }
.gw-bewertungen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0 0 18px; }
.gw-bewertungen li { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.gw-sterne { color: #f2a900; letter-spacing: 2px; }
.gw-bewertungen p { margin: 8px 0; }
.gw-bewertungen span { font-size: .85rem; color: #777; }
.gw-stand { font-size: .85rem; color: #888; margin-top: 1.5em; }
@media (max-width: 760px) {
  .gw-bewertungen { grid-template-columns: 1fr; }
  .gw-inhaber { grid-template-columns: 1fr; text-align: left; }
  .gw-inhaber img { width: 110px; height: 110px; }
}

/* ---------- Bilder im Text ---------- */
.gw-bild { margin: 1.4em 0 1.6em; }
.gw-bild img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; box-shadow: 0 6px 20px rgba(0,0,0,.12); }

/* ---------- Ersatz, solange das Formular lädt ---------- */
.gw-form-ersatz { background: #fff; color: #222; border-radius: 18px; padding: 24px; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.gw-form-ersatz strong { display: block; font-size: 1.2rem; margin-bottom: 6px; }
.gw-form-ersatz p { color: #555; margin: 0 0 14px; }
.gw-form-ersatz .gw-btn { margin: 4px 6px 4px 0; }

/* ---------- Platz für das Formular freihalten (keine Verschiebung beim Laden) ---------- */
.hm-formular-platz { min-height: 760px; }
.hm-formular-platz .gw-form-ersatz { min-height: inherit; }
@media (max-width: 1100px) { .hm-formular-platz { min-height: 832px; } }
@media (max-width: 960px)  { .hm-formular-platz { min-height: 758px; } }
@media (max-width: 480px)  { .hm-formular-platz { min-height: 1078px; } }
@media (max-width: 420px)  { .hm-formular-platz { min-height: 1142px; } }

@media (max-width:640px){.gw-chat-knopf{bottom:88px}.gw-chat{bottom:84px;height:min(520px,calc(100vh - 120px))}}
.gw-chat-knopf{font-family:inherit}
