/* Digitaler Assistent ramsauer-bikes.ch (30.09.2026). Eigenständig: läuft auf der Startseite
   (eigenes HTML) und auf den WordPress-Unterseiten (Theme ramsauer-2026), deshalb feste Farben
   statt Variablen der einen oder anderen Seite. Gelb #FFD200 auf Tinte #16140F: 13,6:1. */
.rc-knopf, .rc-fenster { font-family: inherit; box-sizing: border-box; }
.rc-fenster *, .rc-fenster *::before, .rc-fenster *::after { box-sizing: border-box; }
.rc-knopf {
  position: fixed; right: 18px; bottom: var(--rc-unten, 22px); z-index: 80;
  display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .7rem 1.1rem;
  border: 0; border-radius: 999px; background: #FFD200; color: #16140F; font-weight: 700; font-size: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25); cursor: pointer;
}
.rc-knopf svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.rc-knopf:focus-visible, .rc-fenster button:focus-visible, .rc-fenster a:focus-visible, .rc-fenster input:focus-visible, .rc-fenster textarea:focus-visible { outline: 3px solid #16140F; outline-offset: 2px; }
.rc-offen .rc-knopf { display: none; }
.rc-fenster {
  position: fixed; right: 12px; bottom: var(--rc-unten, 22px); z-index: 81;
  width: min(390px, calc(100vw - 24px)); height: min(580px, calc(100svh - var(--rc-unten, 22px) - 24px));
  display: flex; flex-direction: column; background: #FFFDF8; color: #16140F;
  border-radius: 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); overflow: hidden; font-size: .95rem; line-height: 1.45;
}
.rc-fenster[hidden] { display: none; }
.rc-kopf { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem 1rem; background: #16140F; color: #FFFDF8; }
.rc-kopf strong { display: block; font-size: 1rem; }
.rc-kopf span { display: block; font-size: .78rem; color: #E8E3D9; }
.rc-zu { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #FFFDF8; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.rc-verlauf { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; background: #F2EEE6; overscroll-behavior: contain; }
.rc-blase { max-width: 88%; padding: .65rem .85rem; border-radius: 14px; overflow-wrap: break-word; }
.rc-blase p { margin: 0; }
.rc-bot { align-self: flex-start; background: #FFFDF8; border: 1px solid #DDD6C8; border-bottom-left-radius: 4px; }
.rc-ich { align-self: flex-end; background: #16140F; color: #FFFDF8; border-bottom-right-radius: 4px; }
.rc-link { display: inline-block; margin-top: .45rem; padding: .25rem 0; color: #6B5200; font-weight: 700; }
.rc-vorschlaege { display: flex; flex-wrap: wrap; gap: .4rem; }
.rc-chip { min-height: 40px; padding: .45rem .8rem; border: 1.5px solid #16140F; border-radius: 999px; background: #FFFDF8; color: #16140F; font: inherit; font-size: .88rem; cursor: pointer; }
.rc-chip:hover { background: #FFD200; }
.rc-eingabe { display: flex; gap: .4rem; padding: .7rem; border-top: 1px solid #DDD6C8; background: #FFFDF8; }
.rc-eingabe input { flex: 1; min-width: 0; min-height: 44px; padding: .55rem .75rem; border: 1.5px solid #8A8274; border-radius: 10px; font: inherit; color: #16140F; background: #fff; }
.rc-eingabe button, .rc-formular button[type=submit] { min-height: 44px; padding: .55rem 1rem; border: 0; border-radius: 10px; background: #16140F; color: #FFFDF8; font: inherit; font-weight: 700; cursor: pointer; }
.rc-formular { display: flex; flex-direction: column; gap: .5rem; width: 100%; }
.rc-formular p { margin: 0; }
.rc-formular label { display: flex; flex-direction: column; gap: .2rem; font-size: .85rem; font-weight: 600; }
.rc-formular input, .rc-formular textarea { min-height: 42px; padding: .5rem .65rem; border: 1.5px solid #8A8274; border-radius: 8px; font: inherit; font-weight: 400; color: #16140F; background: #fff; }
.rc-formular .rc-check { flex-direction: row; align-items: flex-start; gap: .5rem; font-weight: 400; }
.rc-formular .rc-check input { min-height: 0; width: 20px; height: 20px; margin-top: .1rem; }
.rc-formular a { color: #6B5200; }
.rc-honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rc-meldung { min-height: 1.2em; font-size: .85rem; color: #8A1C1C; }
.rc-danke { margin: 0; font-weight: 600; }
.rc-unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) { .rc-knopf { transition: transform .2s; } .rc-knopf:hover { transform: translateY(-2px); } }
