/* kummerfrei.at – Linda-Chat. Nutzt die Farbtokens der Seite (--blau, --gelb, --grund, --linie, --tinte, --grau),
   faellt ohne sie auf eigene Werte zurueck. Gestaltung darf die Seite (Codex) ueberschreiben; Klassen bleiben stabil. */
.linda-start { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: .55rem;
  border: 0; border-radius: 999px; padding: .55rem 1rem .55rem .55rem; cursor: pointer; font: inherit; font-weight: 700;
  background: var(--blau, #263259); color: #fff; box-shadow: 0 10px 28px rgba(26, 35, 66, .28); }
.linda-start-bild { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gelb, #e9bc0e);
  color: var(--blau, #263259); font-weight: 800; }
.linda-start:focus-visible { outline: 3px solid var(--gelb, #e9bc0e); outline-offset: 3px; }
@media (max-width: 899px) { .linda-start { bottom: calc(84px + env(safe-area-inset-bottom)); right: 12px; } .linda-start-text { display: none; } .linda-start { padding: .45rem; } }
body.linda-offen .linda-start { display: none; }
.linda { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: min(400px, calc(100vw - 24px)); height: min(640px, calc(100vh - 36px));
  display: flex; flex-direction: column; background: #fff; color: var(--tinte, #263259); border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(26, 35, 66, .32); font-size: .95rem; }
.linda[hidden] { display: none; }
@media (max-width: 520px) { .linda { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; } }
.linda-kopf { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; background: var(--blau, #263259); color: #fff; }
.linda-kopf strong { display: block; font-size: 1.05rem; }
.linda-kopf span { font-size: .8rem; opacity: .85; }
.linda-zu { background: none; border: 0; color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; padding: .2rem .4rem; }
.linda-hinweis { margin: 0; padding: .5rem 1rem; font-size: .75rem; color: var(--grau, #526078); background: var(--grund, #f3f5f9); border-bottom: 1px solid var(--linie, #d9dfeb); }
.linda-verlauf { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.linda-msg { max-width: 85%; padding: .6rem .8rem; border-radius: 14px; line-height: 1.45; white-space: pre-wrap; }
.linda-linda { background: var(--grund, #f3f5f9); align-self: flex-start; border-bottom-left-radius: 4px; }
.linda-du { background: var(--blau, #263259); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.linda-tippt { opacity: .7; font-style: italic; }
.linda-wege { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 0; }
.linda-wege a { font-weight: 700; }
.linda-schnell { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .5rem; }
.linda-schnell:empty { display: none; }
.linda-schnell button { border: 1.5px solid var(--linie, #d9dfeb); background: #fff; border-radius: 999px; padding: .35rem .7rem; font: inherit; font-size: .85rem; cursor: pointer; color: inherit; }
.linda-schnell button:hover { border-color: var(--blau, #263259); }
.linda-fotos { list-style: none; margin: 0; padding: 0 1rem .4rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.linda-fotos:empty { display: none; }
.linda-fotos li { position: relative; width: 52px; height: 52px; }
.linda-fotos img { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; }
.linda-fotos button { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: var(--blau, #263259); color: #fff; font-size: 13px; line-height: 20px; padding: 0; cursor: pointer; }
.linda-eingabe { display: flex; align-items: flex-end; gap: .4rem; padding: .6rem; border-top: 1px solid var(--linie, #d9dfeb); }
.linda-eingabe textarea { flex: 1; resize: none; font: inherit; font-size: 16px; padding: .55rem .7rem; border: 1.5px solid var(--linie, #d9dfeb); border-radius: 12px; max-height: 120px; }
.linda-eingabe textarea:focus { outline: none; border-color: var(--blau, #263259); }
.linda-foto-knopf, .linda-senden { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 0; }
.linda-foto-knopf { background: var(--grund, #f3f5f9); color: var(--blau, #263259); position: relative; }
.linda-foto-knopf svg { width: 22px; height: 22px; }
.linda-foto-knopf input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.linda-foto-knopf:focus-within { outline: 3px solid var(--gelb, #e9bc0e); }
.linda-senden { background: var(--gelb, #e9bc0e); color: var(--blau, #263259); font-size: 1.1rem; }
.linda-karte { background: #fff; border: 2px solid var(--gelb, #e9bc0e); border-radius: 12px; padding: .8rem; display: grid; gap: .5rem; }
.linda-karte p { margin: 0; }
.linda-karte label { display: grid; gap: .2rem; font-size: .85rem; font-weight: 600; }
.linda-karte input[name=name], .linda-karte input[name=telefon] { font: inherit; font-size: 16px; padding: .5rem .6rem; border: 1.5px solid var(--linie, #d9dfeb); border-radius: 8px; }
.linda-karte .linda-haken { display: flex; gap: .45rem; align-items: flex-start; font-weight: 400; }
.linda-karte button { border: 0; border-radius: 8px; padding: .7rem; font: inherit; font-weight: 700; background: var(--gelb, #e9bc0e); color: var(--blau, #263259); cursor: pointer; }
.linda-status { color: var(--rot, #a4271e); font-size: .85rem; }
.linda .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .linda, .linda * { transition: none !important; } }

/* WhatsApp im Linda-Chat (14.11.2026) */
.linda-wa { display: inline-flex; align-items: center; gap: .35rem; margin-left: auto; margin-right: .4rem; padding: .38rem .7rem .38rem .45rem;
  border-radius: 999px; background: #128c4a; color: #fff; font-weight: 700; font-size: .82rem; text-decoration: none; white-space: nowrap; }
.linda-wa svg { width: 20px; height: 20px; }
.linda-wa:hover { background: #0e7a40; }
.linda-wa:focus-visible { outline: 3px solid var(--gelb, #e9bc0e); outline-offset: 2px; }
.linda-wa-alt { margin: .5rem 0 0; font-size: .85rem; }
.linda-wa-alt a { color: #0e7a40; font-weight: 700; }
@media (max-width: 380px) { .linda-wa span { display: none; } .linda-wa { padding: .4rem; } }
