/* Tourberatung (Chat unten rechts) */
.sgc { position: fixed; right: 20px; bottom: 20px; z-index: 900; font-family: var(--font, system-ui, sans-serif); font-size: 1rem; line-height: 1.45; }
.sgc__launcher { display: inline-flex; align-items: center; gap: 10px; background: var(--c-green, #4c7a14); color: #fff; border: 0; border-radius: 50px; padding: 14px 22px; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 8px 26px rgba(20, 40, 60, .3); transition: background .2s, transform .2s; }
.sgc__launcher:hover { background: var(--c-green-dark, #3b5f0f); transform: translateY(-2px); }
.sgc[data-state="open"] .sgc__launcher { display: none; }
.sgc__panel { width: min(400px, calc(100vw - 24px)); max-height: min(680px, calc(100vh - 40px)); display: flex; flex-direction: column; background: #fff; color: #1f2d3a; border-radius: 18px; box-shadow: 0 18px 60px rgba(20, 40, 60, .35); overflow: hidden; }
.sgc__panel[hidden] { display: none; }
.sgc__head { display: flex; align-items: center; gap: 8px; background: var(--c-green-dark, #3b5f0f); color: #fff; padding: 12px 14px 12px 18px; }
.sgc__head h2 { margin: 0 auto 0 0; color: #fff; font-size: 1.05rem; }
.sgc__restart { background: none; border: 1px solid rgba(255,255,255,.6); color: #fff; border-radius: 50px; padding: 4px 12px; font: inherit; font-size: .8rem; cursor: pointer; }
.sgc__restart:hover { background: rgba(255,255,255,.15); }
.sgc__close { background: none; border: 0; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0 6px; }
.sgc__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f4f8ee; min-height: 120px; }
.sgc__msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; overflow-wrap: anywhere; white-space: pre-wrap; }
.sgc__bot { background: #fff; border: 1px solid #dfe6ec; border-bottom-left-radius: 4px; align-self: flex-start; }
.sgc__you { background: var(--c-blue, #1d71b8); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.sgc__summary { max-width: 100%; white-space: normal; font-size: .93rem; }
.sgc__summary ul { margin: 6px 0 0; padding-left: 1.1em; }
.sgc__link { color: var(--c-blue, #1d71b8); font-weight: 600; }
.sgc__controls { flex: 0 0 auto; padding: 12px 14px 14px; border-top: 1px solid #dfe6ec; background: #fff; max-height: 55vh; overflow-y: auto; }
.sgc__row { display: flex; flex-wrap: wrap; gap: 8px; }
.sgc__row--small { margin-top: 8px; }
.sgc__btn { background: #fff; color: var(--c-green-dark, #3b5f0f); border: 2px solid var(--c-green, #4c7a14); border-radius: 50px; padding: 7px 16px; font: inherit; font-size: .93rem; font-weight: 600; cursor: pointer; text-align: left; }
.sgc__btn:hover { background: var(--c-green, #4c7a14); color: #fff; }
.sgc__btn:disabled { opacity: .6; cursor: default; }
.sgc__btn--primary { background: var(--c-green, #4c7a14); color: #fff; }
.sgc__btn--primary:hover { background: var(--c-green-dark, #3b5f0f); }
.sgc__btn--link { border: 0; background: none; color: #4b5a68; text-decoration: underline; padding: 2px 4px; font-weight: 400; font-size: .85rem; }
.sgc__btn--link:hover { background: none; color: #1f2d3a; }
.sgc__field { width: 100%; font: inherit; padding: 10px 12px; border: 2px solid #dfe6ec; border-radius: 10px; margin-bottom: 8px; background: #fff; color: #1f2d3a; }
.sgc__field:focus { border-color: var(--c-blue-light, #449cd6); outline: none; }
.sgc__err { color: #b3261e; font-size: .88rem; margin: 0 0 6px; }
.sgc__err:empty { display: none; }
.sgc__consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; margin-bottom: 10px; }
.sgc__consent input { margin-top: 4px; flex: none; width: 18px; height: 18px; }
.sgc :focus-visible { outline: 3px solid var(--c-blue-light, #449cd6); outline-offset: 2px; }
@media (max-width: 520px) {
  .sgc { right: 8px; bottom: 8px; left: 8px; }
  .sgc[data-state="closed"] { left: auto; }
  .sgc__panel { width: 100%; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); }
}
@media (prefers-reduced-motion: reduce) { .sgc__launcher { transition: none; } }
