/* YCHAT1: chat and website occupy separate space; no controls are covered. */
html.yc-layout, html.yc-layout body {height:100%;margin:0;overflow:hidden}
.yc-layout {--yc-rail:88px;--yc-panel:420px;--yc-sheet:min(70dvh,620px)}
#yc-page {position:fixed;inset:0 0 var(--yc-rail);overflow:auto;overscroll-behavior:contain;scroll-behavior:smooth}
.yc-layout.yc-open #yc-page {right:var(--yc-panel)}
.yc-layout .language-hint {bottom:var(--yc-rail)}
.yc-layout.yc-open .language-hint {right:var(--yc-panel)}
.yc {color:#063845;font:400 17px/1.45 Outfit,Arial,sans-serif}
.yc *, .yc *::before, .yc *::after {box-sizing:border-box}
.yc [hidden], .yc-panel[hidden] {display:none!important}
.yc button,.yc input,.yc textarea {font:inherit;color:inherit}
.yc button,.yc-launcher {cursor:pointer}
.yc button:focus-visible,.yc a:focus-visible,.yc textarea:focus-visible,.yc input:focus-visible {outline:3px solid #0FBB99;outline-offset:3px}
.yc-rail {position:fixed;inset:auto 0 0;height:var(--yc-rail);padding:8px 20px max(8px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #d9e7e6;display:flex;align-items:center;justify-content:flex-end;gap:18px;z-index:120}
.yc-launcher {display:flex;align-items:center;gap:12px;color:#063845;text-decoration:none;border:0;background:transparent;padding:0;min-height:64px}
.yc-avatar {display:block;position:relative;flex:0 0 60px;width:60px;height:60px;border:1px solid #063845;border-radius:50%;background:#fff}
.yc-avatar img {display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.yc-badge {font-size:11px;line-height:1.2;background:#fff;color:#063845;padding:2px 5px;border:1px solid #0FBB99;border-radius:6px}
.yc-avatar .yc-badge {position:absolute;bottom:-2px;right:-3px}
.yc-label {font-size:15px;font-weight:400}
.yc-bubble {display:flex;align-items:center;gap:8px;max-width:340px;font-size:14px;line-height:1.3;margin:0;padding:5px 0}
.yc-dismiss {background:transparent;border:0;flex:0 0 36px;width:36px;height:36px;font-size:24px!important}
.yc-panel {position:fixed;inset:0 0 var(--yc-rail) auto;width:var(--yc-panel);background:#fff;border-left:1px solid #d9e7e6;display:flex;flex-direction:column;min-height:0;z-index:121;overflow:hidden}
.yc-head {padding:15px 16px;border-bottom:1px solid #d9e7e6;display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;flex-shrink:0}
.yc-head h2 {font:400 20px/1.3 Outfit,Arial,sans-serif;margin:0;letter-spacing:0}
.yc-head p {grid-column:1/-1;font-size:12px;margin:0}
.yc-close {border:0;background:transparent;font-size:28px!important;width:40px;height:40px;padding:0}
.yc-log {overflow:auto;flex:1 1 auto;min-height:64px;padding:16px;overscroll-behavior:contain}
.yc-message {margin:0 0 16px;padding-bottom:14px;border-bottom:1px solid #d9e7e6;overflow-wrap:anywhere}
.yc-message p {margin:6px 0 0;white-space:pre-wrap;font-size:16px;line-height:1.5}
.yc-speaker {font-size:12px;display:flex;gap:8px;align-items:center}
.yc-message-user {padding:12px;background:#F1FBF9;border:0;border-radius:10px}
.yc-question {flex:0 0 auto;padding:10px 16px;border-top:1px solid #d9e7e6;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px}
.yc-question label {grid-column:1/-1;font-size:13px}
.yc-question textarea {resize:vertical;min-height:54px;max-height:110px}
.yc textarea,.yc input:not([type=checkbox]) {width:100%;padding:8px 10px;background:#fff;border:1px solid #b2c8c8;border-radius:4px;font-size:16px}
.yc-primary {background:#063845;color:#fff!important;border:1px solid #063845;border-radius:5px;padding:10px 13px;min-height:44px;font-size:15px!important;line-height:1.3}
.yc button:disabled {opacity:.6;cursor:wait}
.yc-status {margin:0;padding:0 16px 8px;font-size:13px;flex-shrink:0}
.yc-note {margin:0;padding:0 16px 12px;font-size:12px;line-height:1.45;flex-shrink:0}
.yc a {color:#063845;text-underline-offset:3px}
.yc-handoff {display:block;margin-top:12px;background:#fff;color:#063845;border:1px solid #063845;padding:9px 12px;border-radius:5px;font-size:15px!important;min-height:44px}
.yc-review {padding:16px;overflow:auto;flex:1 1 auto;min-height:0}
.yc-review h3 {font:400 21px/1.3 Outfit,Arial,sans-serif;margin:0 0 10px}
.yc-review label {display:block;font-size:14px;margin:12px 0 4px}
.yc-review textarea {min-height:100px;resize:vertical}
.yc-review .yc-check {display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.4}
.yc-check input {margin-top:3px;flex:0 0 auto}
.yc-review .yc-primary {margin-top:14px;width:100%}
.yc-back {border:0;background:transparent;text-decoration:underline;padding:8px 0;font-size:14px!important}
.yc-trap {position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden}
.yc-privacy {border-left:2px solid #0FBB99;padding-left:16px}
@media(min-width:1181px){
 .yc-layout.yc-open .site-header {padding-left:24px;padding-right:24px;gap:12px}
 .yc-layout.yc-open .brand img {width:248px}
 .yc-layout.yc-open .main-nav {gap:12px}
 .yc-layout.yc-open .main-nav a {font-size:14px}
}
@media(max-width:1180px){
 .yc-layout.yc-open #yc-page {right:0;bottom:calc(var(--yc-rail) + var(--yc-sheet))}
 .yc-layout.yc-open .language-hint {right:0;bottom:calc(var(--yc-rail) + var(--yc-sheet))}
 .yc-panel {inset:auto 0 var(--yc-rail);height:var(--yc-sheet);width:100%;border-left:0;border-top:1px solid #d9e7e6;border-radius:16px 16px 0 0}
 .yc-rail {padding-left:12px;padding-right:14px;gap:8px}
 .yc-avatar {width:56px;height:56px;flex-basis:56px}
 .yc-launcher {gap:8px}
 .yc-label {font-size:13px;max-width:100px}
 .yc-bubble {font-size:12px;max-width:160px;gap:0}
 .yc-head {padding:8px 14px;gap:0}
 .yc-head h2 {font-size:18px}
 .yc-log {padding:12px 14px}
 .yc-question {padding:8px 14px}
 .yc-question textarea {min-height:46px}
 .yc-note {padding:0 14px 8px}
}
@media(prefers-reduced-motion:reduce){#yc-page {scroll-behavior:auto}}
@media print{
 html.yc-layout,html.yc-layout body {height:auto;overflow:visible}
 .yc-layout #yc-page {position:static;overflow:visible}
 .yc,.yc-layout .language-hint {display:none!important}
}

/* YCHAT1e (Owner 31.10.: „Er nimmt zu viel Platz ein, die ganze untere Leiste“): schwebender runder Knopf statt Leiste. */
.yc-layout {--yc-rail:0px}
.yc-rail {inset:auto max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) auto;height:auto;padding:0;background:transparent;border:0;gap:10px;pointer-events:none}
.yc-rail > * {pointer-events:auto}
.yc-launcher {min-height:0;gap:0}
.yc-label {position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.yc-avatar {width:58px;height:58px;flex-basis:58px;border:2px solid #fff;box-shadow:0 4px 14px rgba(6,56,69,.28)}
.yc-bubble {background:#fff;border-radius:12px;padding:8px 6px 8px 12px;box-shadow:0 4px 14px rgba(6,56,69,.18)}
.yc-layout.yc-open .yc-rail {display:none}
@media(max-width:1180px){
 .yc-layout .language-hint {right:86px}
 .yc-avatar {width:54px;height:54px;flex-basis:54px}
}

/* Owner 31.10.: „Muss das KI daneben stehen, das ist doch offensichtlich“ – kein KI-Zeichen am Chat-Knopf und auf Bildern; Hinweis bleibt im Chatfenster („KI-Assistent“) und in der Fußzeile („Erlebnisbilder mit KI gestaltet“). */
.yc-launcher .yc-badge{display:none}
.ai-label{display:none!important}

/* YP7: visible-viewport keyboard fit, including Safari's offsetTop. */
@media(max-width:1180px){
 .yc-panel {top:var(--yc-visible-top,0px);bottom:auto;height:var(--yc-visible-height,100dvh);max-height:var(--yc-visible-height,100dvh);border-radius:0}
 .yc-log {min-height:0;flex:1 1 auto}
 .yc-question textarea {resize:none;min-height:46px;max-height:70px}
 .yc-review {min-height:0}
 .yc-head,.yc-question,.yc-status,.yc-note,.yc-handoff {flex-shrink:0}
 .yc-note {padding-bottom:max(8px,env(safe-area-inset-bottom))}
 .yc-layout.yc-open #yc-page {bottom:0}
 .yc-layout.yc-open .language-hint {display:none}
}
