/* chill in – Chillo: Chat, Newsletter-Box, Popup. Mobile first. */
.chillo-root, .chillo-nl, .chillo-pop {
	--ch-gruen: #183325; --ch-gruen2: #24493A; --ch-tinte: #24302A; --ch-grau: #5B635F;
	--ch-creme: #F7F0E1; --ch-beige: #F3E6CB; --ch-linie: #DCCDAE;
	--ch-koralle: #EC6644; --ch-koralle-d: #B5442A; --ch-gold: #D8B652; --ch-ok: #2E7D4F; --ch-wa: #1F7A4D;
	--ch-sans: Outfit, "Segoe UI", "Helvetica Neue", Arial, sans-serif; --ch-serif: Domine, Georgia, "Times New Roman", serif;
	font-family: var(--ch-sans); color: var(--ch-tinte); -webkit-font-smoothing: antialiased;
}
.chillo-root *, .chillo-nl *, .chillo-pop * { box-sizing: border-box; }
.chillo-root svg, .chillo-nl svg, .chillo-pop svg { display: block; width: 100%; height: 100%; }
.chillo-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Knopf ---------- */
.chillo-fab {
	position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 99990;
	width: 66px; height: 66px; border-radius: 50%; border: 3px solid var(--ch-koralle); background: var(--ch-gruen);
	box-shadow: 0 8px 24px rgba(24,51,37,.3); padding: 7px 6px 5px; cursor: pointer;
	transition: transform .2s ease; -webkit-tap-highlight-color: transparent;
}
.chillo-fab img { display: block; width: 100%; height: auto; transform-origin: 50% 0; animation: chillo-swing 4.5s ease-in-out infinite; }
@keyframes chillo-swing { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.chillo-fab:hover { transform: translateY(-2px); }
.chillo-fab:focus-visible { outline: 3px solid var(--ch-gold); outline-offset: 3px; }
.chillo-fab__wa { position: absolute; right: -6px; bottom: -4px; width: 28px; height: 28px; border-radius: 50%; background: var(--ch-wa); color: #fff; border: 2px solid #fff; padding: 4px; display: flex; }
.chillo-fab__wa svg { width: 100%; height: 100%; }
.chillo-fab__dot { position: absolute; top: -3px; right: -3px; width: 16px; height: 16px; border-radius: 50%; background: var(--ch-ok); border: 3px solid #fff; }
.chillo-fab__test { position: absolute; left: -8px; top: -8px; background: var(--ch-gold); color: var(--ch-gruen); font: 800 10px/1 var(--ch-sans); letter-spacing: .06em; padding: 4px 6px; border-radius: 999px; border: 2px solid var(--ch-gruen); }
.chillo-teaser {
	position: fixed; right: 88px; bottom: calc(30px + env(safe-area-inset-bottom)); z-index: 99990; max-width: 220px;
	background: #fff; color: var(--ch-gruen); border-radius: 18px 18px 4px 18px; padding: 10px 34px 10px 14px; font: 600 15px/1.35 var(--ch-sans);
	box-shadow: 0 8px 24px rgba(24,51,37,.18); cursor: pointer; animation: chillo-pop .4s ease both;
}
.chillo-teaser__x { position: absolute; right: 6px; top: 6px; width: 22px; height: 22px; border: 0; background: transparent; color: var(--ch-grau); font-size: 16px; cursor: pointer; line-height: 1; }
@keyframes chillo-pop { from { opacity: 0; transform: translateY(8px) scale(.95); } to { opacity: 1; transform: none; } }
.chillo-open .chillo-fab, .chillo-open .chillo-teaser { display: none; }

/* ---------- Fenster ---------- */
.chillo-panel {
	position: fixed; inset: 0; z-index: 99995; display: none; flex-direction: column;
	height: 100vh; height: 100dvh; background: var(--ch-creme);
}
.chillo-open .chillo-panel { display: flex; animation: chillo-up .25s ease both; }
@keyframes chillo-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.chillo-head { flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; padding-top: calc(12px + env(safe-area-inset-top)); background: var(--ch-gruen); color: var(--ch-beige); }
.chillo-head__face { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ch-gruen2); color: var(--ch-koralle); padding: 8px 7px 6px; }
.chillo-head__t { flex: 1; min-width: 0; }
.chillo-head__n { font: 700 19px/1.15 var(--ch-serif); color: var(--ch-beige); }
.chillo-head__s { font-size: 13px; opacity: .8; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chillo-head__s i { width: 8px; height: 8px; border-radius: 50%; background: #6FD39A; display: inline-block; }
.chillo-iconbtn { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ch-beige); background: rgba(243,230,203,.12); text-decoration: none; padding: 10px; }
.chillo-iconbtn:hover { background: rgba(243,230,203,.22); }
.chillo-iconbtn.is-wa { background: var(--ch-wa); color: #fff; }
.chillo-iconbtn svg { width: 22px; height: 22px; }

.chillo-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.chillo-testbar { text-align: center; }
.chillo-golive { display: block; margin-top: 6px; padding: 7px 12px; border-radius: 999px; background: var(--ch-gruen); color: var(--ch-beige) !important; font-size: 13px; font-weight: 700; text-decoration: none !important; }
.chillo-golive:hover { filter: brightness(1.2); }
.chillo-testbar--pop { display: inline-block; margin: 0 0 10px; }
.chillo-welcome { align-self: center; margin: 4px 0 -4px; }
.chillo-welcome img { display: block; width: 140px; height: auto; transform-origin: 50% 0; animation: chillo-swing 4.5s ease-in-out infinite; }
.chillo-testbar { align-self: center; background: var(--ch-gold); color: var(--ch-gruen); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.chillo-msg { max-width: 86%; padding: 11px 14px; border-radius: 18px; font-size: 16px; line-height: 1.5; word-wrap: break-word; white-space: pre-wrap; }
.chillo-msg a { color: var(--ch-gruen); font-weight: 600; text-decoration: underline; }
.chillo-msg b, .chillo-msg strong { color: var(--ch-gruen); font-weight: 700; }
.chillo-msg.bot { align-self: flex-start; background: #fff; border-radius: 4px 18px 18px 18px; box-shadow: 0 1px 0 var(--ch-linie); }
.chillo-msg.me { align-self: flex-end; background: var(--ch-gruen); color: var(--ch-beige); border-radius: 18px 18px 4px 18px; }
.chillo-msg.err { align-self: flex-start; background: #F8E1DA; color: var(--ch-koralle-d); }
.chillo-row { display: flex; gap: 8px; align-items: flex-end; }
.chillo-row .chillo-msg { max-width: calc(86% - 36px); }
.chillo-ava { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ch-gruen); color: var(--ch-koralle); padding: 5px 4px 4px; }
.chillo-ava.ghost { visibility: hidden; }
.chillo-typing { display: inline-flex; gap: 5px; padding: 15px 16px; }
.chillo-typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--ch-grau); opacity: .4; animation: chillo-blink 1.2s infinite; }
.chillo-typing i:nth-child(2) { animation-delay: .2s; } .chillo-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes chillo-blink { 30% { opacity: 1; transform: translateY(-3px); } }

.chillo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 4px 38px; }
.chillo-chip { border: 2px solid var(--ch-gruen); background: transparent; color: var(--ch-gruen); border-radius: 999px; padding: 7px 13px; font: 600 14px/1.2 var(--ch-sans); cursor: pointer; }
.chillo-chip:hover { background: var(--ch-gruen); color: var(--ch-beige); }

/* Angebotskarten */
.chillo-cards { display: flex; flex-direction: column; gap: 10px; margin-left: 38px; }
.chillo-card { background: #fff; border-radius: 18px; padding: 14px; border-bottom: 1px solid var(--ch-linie); }
.chillo-card__tag { display: inline-block; border: 2px solid #1D1D1B; border-radius: 12px 14px 10px 13px; box-shadow: 2px 2px 0 #1D1D1B; padding: 3px 12px 4px; font: 700 16px/1.25 var(--ch-serif); color: #1D1D1B; background: var(--ch-gold); }
.chillo-card__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 12px 0; }
.chillo-card__p { font: 700 26px/1 var(--ch-serif); color: var(--ch-gruen); }
.chillo-card__s { font-size: 13px; color: var(--ch-grau); margin-top: 4px; }
.chillo-card__d { color: var(--ch-gruen, #183325); font-weight: 700; }
.chillo-card__left { font-size: 13px; font-weight: 700; color: #fff; background: var(--ch-ok); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.chillo-card__ok { font-size: 13px; font-weight: 600; color: var(--ch-ok); white-space: nowrap; }
.chillo-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; border: 0; cursor: pointer; text-decoration: none !important;
	background: var(--ch-koralle); color: var(--ch-gruen) !important; border-radius: 999px; padding: 13px 20px; font: 700 16px/1.2 var(--ch-sans);
	transition: filter .15s;
}
.chillo-btn:hover { filter: brightness(1.05); }
.chillo-btn[disabled] { opacity: .6; cursor: default; }
.chillo-card__perks { margin-top: 8px; text-align: center; font-size: 13px; color: var(--ch-gruen); }
.chillo-card__perks b { color: var(--ch-ok); }

/* Eingabe */
.chillo-foot { flex: none; background: #fff; border-top: 1px solid var(--ch-linie); padding: 10px 12px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
.chillo-input { display: flex; gap: 8px; align-items: flex-end; }
.chillo-input textarea {
	flex: 1; min-height: 46px; max-height: 120px; resize: none; border: 2px solid var(--ch-linie); border-radius: 23px; padding: 11px 16px;
	font: 400 16px/1.4 var(--ch-sans); color: var(--ch-tinte); background: var(--ch-creme); outline: none;
}
.chillo-input textarea:focus { border-color: var(--ch-gruen); background: #fff; }
.chillo-send { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ch-koralle); color: var(--ch-gruen); cursor: pointer; padding: 11px; }
.chillo-send[disabled] { opacity: .45; cursor: default; }
.chillo-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; font-size: 12px; color: var(--ch-grau); }
.chillo-meta a, .chillo-meta button { color: var(--ch-grau); text-decoration: underline; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.chillo-meta .chillo-dealbtn { color: var(--ch-gruen); font-weight: 700; text-decoration: none; white-space: nowrap; }
.chillo-meta > span { text-align: right; }

/* ---------- Newsletter (Box, Popup, Chat) ---------- */
.chillo-nl { background: var(--ch-gruen); color: var(--ch-beige); border-radius: 24px; padding: 20px; }
.chillo-nl__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.chillo-nl__face { flex: none; width: 54px; height: 52px; color: var(--ch-koralle); }
.chillo-nl__hammock { flex: none; width: 84px; height: auto; transform-origin: 50% 0; animation: chillo-swing 4.5s ease-in-out infinite; margin-top: -4px; }
.chillo-nl__title { margin: 0 0 4px; font: 700 21px/1.2 var(--ch-serif); color: var(--ch-beige); }
.chillo-nl__text { margin: 0; font-size: 15px; line-height: 1.5; opacity: .9; }
.chillo-nl__row { display: flex; flex-direction: column; gap: 8px; }
.chillo-nl input[type=text], .chillo-nl input[type=email], .chillo-pop input[type=text], .chillo-pop input[type=email] {
	width: 100%; border: 2px solid transparent; border-radius: 14px; padding: 12px 14px; font: 400 16px/1.3 var(--ch-sans); color: var(--ch-tinte); background: #fff; outline: none;
}
.chillo-nl input:focus { border-color: var(--ch-gold); }
.chillo-nl__country { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 14px; }
.chillo-nl__country span { flex: none; opacity: .85; }
.chillo-nl__country select { flex: 1; min-width: 0; border: 2px solid transparent; border-radius: 14px; padding: 10px 12px; font: 400 16px/1.3 var(--ch-sans); color: var(--ch-tinte); background: #fff; outline: none; }
.chillo-nl__country select:focus { border-color: var(--ch-gold); }
.chillo-nl__consent { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 14px; font-size: 13px; line-height: 1.45; cursor: pointer; }
.chillo-nl__consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ch-koralle); }
.chillo-nl__consent a { color: inherit; text-decoration: underline; }
.chillo-nl__msg { margin: 10px 0 0; font-size: 14px; font-weight: 600; min-height: 1em; }
.chillo-nl__msg.is-ok { color: #9BE0B6; } .chillo-nl__msg.is-err { color: #FFB49E; }
.chillo-nl.is-done .chillo-nl__form > :not(.chillo-nl__msg) { display: none; }
.chillo-nl.is-done .chillo-nl__msg { font-size: 16px; }
.chillo-body .chillo-nl { margin-left: 38px; padding: 16px; border-radius: 18px; }
.chillo-body .chillo-nl__title { font-size: 18px; }

/* Popup: unten als Leiste (Handy), links unten als Karte (Desktop) */
.chillo-pop { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99992; padding: 0 10px calc(10px + env(safe-area-inset-bottom)); animation: chillo-up .35s ease both; }
/* Chat-Knopf bleibt frei: Popup sitzt am Handy darüber */
.chillo-pop--fab { bottom: 92px; }
.chillo-is-open .chillo-pop { display: none; }
.chillo-pop .chillo-nl { position: relative; box-shadow: 0 -6px 30px rgba(24,51,37,.3); padding-top: 22px; max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto; }
.chillo-pop__x { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(243,230,203,.14); color: var(--ch-beige); font-size: 20px; line-height: 1; cursor: pointer; }
.chillo-pop .chillo-nl__head { padding-right: 34px; }

/* Häkchen im Frühstücksformular – passt sich dem Formular an */
.chillo-bfoptin { display: flex !important; flex-direction: row !important; gap: 10px; align-items: flex-start; width: 100%; box-sizing: border-box; margin: 14px 0 !important; padding: 12px 14px !important; border-radius: 14px; background: rgba(236,102,68,.08); border: 1px dashed rgba(236,102,68,.5); font-size: 14px; line-height: 1.45; font-weight: 400; cursor: pointer; text-align: left; }
.chillo-bfoptin input[type=checkbox] { flex: none !important; display: inline-block !important; width: 20px !important; height: 20px !important; min-width: 20px; margin: 1px 0 0 !important; padding: 0 !important; accent-color: #EC6644; }
.chillo-bfoptin > span { flex: 1 1 auto; min-width: 0; display: block; }
.chillo-bfoptin a { color: inherit; text-decoration: underline; }

@media (min-width: 600px) {
	.chillo-fab { right: 22px; bottom: 22px; width: 74px; height: 74px; padding: 8px 7px 6px; }
	.chillo-teaser { right: 100px; bottom: 36px; }
	.chillo-panel { inset: auto 22px 22px auto; width: 390px; height: min(660px, calc(100vh - 44px)); border-radius: 26px; overflow: hidden; box-shadow: 0 20px 60px rgba(24,51,37,.35); }
	.chillo-head { padding-top: 12px; }
	.chillo-nl__row { flex-direction: row; }
	.chillo-nl__row .chillo-nl__name { flex: 0 0 38%; }
	.chillo-body .chillo-nl__row { flex-direction: column; }
	.chillo-nl--box .chillo-btn { width: auto; }
	.chillo-pop, .chillo-pop--fab { left: 22px; right: auto; bottom: 22px; padding: 0; width: 400px; }
	.chillo-pop .chillo-nl { box-shadow: 0 20px 60px rgba(24,51,37,.35); }
	.chillo-pop .chillo-nl__row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	.chillo-panel, .chillo-pop, .chillo-teaser, .chillo-typing i, .chillo-fab img, .chillo-nl__hammock, .chillo-welcome img { animation: none !important; }
}

/* Hinweis nur für Admins */
.chillo-nokey { position: fixed; right: 16px; bottom: 16px; z-index: 99990; max-width: 300px; padding: 12px 16px; border-radius: 14px; background: #B5442A; color: #fff !important; font: 400 14px/1.4 Outfit, Arial, sans-serif; text-decoration: none !important; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
