#lp-ai-assistant-root{
  position:fixed;
  right:34px;
  bottom:42px;
  z-index:99999;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --lp-ai-primary:#6f7f55;
  --lp-ai-dark:#2e4028;
}

.lp-ai-launcher{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  border:0;
  border-radius:999px;
  width:82px;
  height:82px;
  padding:0;
  background:transparent;
  color:#fff;
  font-weight:800;
  box-shadow:none;
  cursor:pointer;
  overflow:visible!important;
  transition:width .24s ease,transform .18s ease,box-shadow .18s ease,background .18s ease,padding .24s ease;
}
.lp-ai-launcher:hover,
.lp-ai-launcher:focus-visible{
  width:286px;
  height:82px;
  padding:0 88px 0 42px;
  background:var(--lp-ai-primary,#6f7f55);
  box-shadow:0 18px 42px rgba(46,52,35,.28);
  transform:translateY(-1px);
}
.lp-ai-launcher.is-open{display:none!important}
.lp-ai-launcher span{
  display:block;
  opacity:0;
  width:0;
  max-width:0;
  white-space:nowrap;
  overflow:visible;
  color:#fff;
  font-size:23px;
  line-height:1.35;
  letter-spacing:.01em;
  text-align:left;
  transform:translateY(1px);
  transition:opacity .16s ease,width .24s ease,max-width .24s ease;
}
.lp-ai-launcher:hover span,
.lp-ai-launcher:focus-visible span{
  opacity:1;
  width:auto;
  max-width:170px;
}
.lp-ai-launcher-icon{
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  width:82px;
  height:82px;
  border-radius:999px;
  background:#fff;
  object-fit:cover;
  display:block;
  box-shadow:0 0 0 7px rgba(255,255,255,.92),0 13px 30px rgba(40,50,30,.22);
  transition:right .24s ease,width .18s ease,height .18s ease,box-shadow .18s ease;
}
.lp-ai-launcher:hover .lp-ai-launcher-icon,
.lp-ai-launcher:focus-visible .lp-ai-launcher-icon{
  right:-6px;
  width:88px;
  height:88px;
  box-shadow:0 0 0 7px rgba(255,255,255,.94),0 16px 34px rgba(40,50,30,.24);
}
.lp-ai-launcher:focus-visible{outline:3px solid rgba(111,127,85,.28);outline-offset:7px}

.lp-ai-panel[hidden]{display:none!important}
.lp-ai-panel{
  position:absolute;
  right:0;
  bottom:100px;
  width:min(500px,calc(100vw - 32px));
  height:min(680px,calc(100vh - 145px));
  background:#fff;
  border:1px solid rgba(111,127,85,.18);
  border-radius:28px;
  box-shadow:0 26px 76px rgba(47,56,38,.24);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.lp-ai-header{
  position:relative;
  display:flex;
  align-items:center;
  gap:18px;
  padding:20px 84px 18px 24px;
  background:linear-gradient(135deg,#f7f8f2,#fff);
  border-bottom:1px solid rgba(111,127,85,.14);
  color:#33402a;
  min-height:96px;
  box-sizing:border-box;
}
.lp-ai-header-icon{
  width:74px;
  height:74px;
  border-radius:999px;
  object-fit:cover;
  flex:0 0 auto;
  background:#fff;
  box-shadow:0 0 0 1px rgba(111,127,85,.16),0 8px 20px rgba(46,52,35,.08);
}
.lp-ai-header-text{min-width:0}
.lp-ai-header strong{
  display:block;
  font-size:25px;
  line-height:1.16;
  letter-spacing:-.02em;
  color:#2d4029;
}
.lp-ai-header small{
  display:block;
  margin-top:6px;
  color:#6e785f;
  font-size:18px;
  line-height:1.2;
}
.lp-ai-close{
  position:absolute!important;
  top:23px!important;
  right:24px!important;
  width:50px!important;
  height:50px!important;
  min-width:50px!important;
  min-height:50px!important;
  padding:0!important;
  border:0!important;
  border-radius:999px!important;
  background:rgba(111,127,85,.1)!important;
  color:#33402a!important;
  font-size:36px!important;
  font-weight:300!important;
  line-height:1!important;
  cursor:pointer!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  box-shadow:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  transition:background .18s ease,transform .18s ease;
}
.lp-ai-close::before,.lp-ai-close::after{content:none!important}
.lp-ai-close:hover{background:rgba(111,127,85,.16)!important;transform:scale(1.02)}

.lp-ai-messages{
  flex:1;
  overflow:auto;
  padding:22px 24px;
  background:#fbfcf8;
  -webkit-overflow-scrolling:touch;
}
.lp-ai-message{
  white-space:pre-wrap;
  line-height:1.48;
  margin:0 0 14px;
  padding:16px 18px;
  border-radius:18px;
  font-size:16px;
}
.lp-ai-assistant{
  background:#fff;
  border:1px solid rgba(111,127,85,.14);
  color:#2f3927;
  border-top-left-radius:7px;
}
.lp-ai-user{
  background:var(--lp-ai-primary,#6f7f55);
  color:#fff;
  margin-left:74px;
  border-top-right-radius:7px;
  text-align:left;
}
.lp-ai-muted{opacity:.68}
.lp-ai-form{
  display:flex;
  gap:14px;
  padding:18px 20px;
  border-top:1px solid rgba(111,127,85,.14);
  background:#fff;
  flex:0 0 auto;
}
.lp-ai-form textarea{
  flex:1;
  resize:none;
  border:1px solid rgba(111,127,85,.42);
  border-radius:18px;
  padding:16px 17px;
  font:inherit;
  outline:none;
  min-height:66px;
  max-height:116px;
  box-sizing:border-box;
}
.lp-ai-form textarea:focus{
  border-color:var(--lp-ai-primary,#6f7f55);
  box-shadow:0 0 0 3px rgba(111,127,85,.12);
}
.lp-ai-form button,.lp-ai-handoff button{
  border:0;
  border-radius:18px;
  background:var(--lp-ai-primary,#6f7f55);
  color:#fff;
  font-weight:800;
  padding:0 24px;
  cursor:pointer;
  min-width:112px;
  font-size:17px;
}
.lp-ai-form button:disabled,.lp-ai-handoff button:disabled{opacity:.55;cursor:not-allowed}
.lp-ai-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:12px;
  padding:11px 16px;
  border-radius:999px;
  background:var(--lp-ai-primary,#6f7f55);
  color:#fff!important;
  text-decoration:none!important;
  font-weight:700;
  box-shadow:0 10px 24px rgba(46,52,35,.18);
}
.lp-ai-cta:hover{transform:translateY(-1px);box-shadow:0 13px 28px rgba(46,52,35,.22)}
.lp-ai-cta-secondary{
  background:#fff!important;
  color:var(--lp-ai-primary,#6f7f55)!important;
  border:1px solid rgba(111,127,85,.28);
  box-shadow:none;
}
.lp-ai-cta-secondary:hover{box-shadow:0 8px 18px rgba(46,52,35,.12)}
.lp-ai-link{
  display:block;
  margin-top:8px;
  color:var(--lp-ai-primary,#6f7f55)!important;
  font-weight:700;
  overflow-wrap:anywhere;
  text-decoration:underline;
}
.lp-ai-message>div{white-space:pre-wrap}
.lp-ai-handoff{
  display:grid;
  gap:8px;
  background:#fff;
  border:1px solid rgba(111,127,85,.22);
  border-radius:18px;
  padding:13px;
  margin:0 0 12px;
}
.lp-ai-handoff strong{color:#33402a}
.lp-ai-handoff input,.lp-ai-handoff textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid rgba(111,127,85,.22);
  border-radius:12px;
  padding:10px;
  font:inherit;
}
.lp-ai-handoff button{padding:11px 14px}
.lp-ai-handoff small{color:#7b826f}
.screen-reader-text{
  border:0;
  clip:rect(1px,1px,1px,1px);
  clip-path:inset(50%);
  height:1px;
  margin:-1px;
  overflow:hidden;
  padding:0;
  position:absolute;
  width:1px;
}

@media(max-width:600px){
  #lp-ai-assistant-root{right:18px;bottom:calc(26px + env(safe-area-inset-bottom,0px))}
  .lp-ai-launcher{
    width:214px;
    height:64px;
    padding:0 70px 0 28px;
    background:var(--lp-ai-primary,#6f7f55);
    box-shadow:0 14px 36px rgba(46,52,35,.25);
  }
  .lp-ai-launcher:hover,.lp-ai-launcher:focus-visible{
    width:214px;
    height:64px;
    padding:0 70px 0 28px;
  }
  .lp-ai-launcher span,
  .lp-ai-launcher:hover span,
  .lp-ai-launcher:focus-visible span{
    opacity:1;
    width:auto;
    max-width:112px;
    font-size:16px;
    line-height:1.35;
  }
  .lp-ai-launcher-icon,
  .lp-ai-launcher:hover .lp-ai-launcher-icon,
  .lp-ai-launcher:focus-visible .lp-ai-launcher-icon{
    right:-4px;
    width:66px;
    height:66px;
    box-shadow:0 0 0 6px rgba(255,255,255,.92),0 12px 28px rgba(40,50,30,.22);
  }
  .lp-ai-panel{
    position:fixed;
    left:12px;
    right:12px;
    top:calc(12px + env(safe-area-inset-top,0px));
    bottom:calc(12px + env(safe-area-inset-bottom,0px));
    width:auto;
    height:auto;
    max-height:none;
    border-radius:22px;
    box-shadow:0 18px 56px rgba(47,56,38,.26);
  }
  .lp-ai-header{padding:14px 64px 13px 14px;gap:12px;min-height:78px}
  .lp-ai-header-icon{width:54px;height:54px}
  .lp-ai-header strong{font-size:18px;line-height:1.18}
  .lp-ai-header small{font-size:13px;margin-top:3px}
  .lp-ai-close{top:15px!important;right:14px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;font-size:30px!important}
  .lp-ai-messages{padding:14px}
  .lp-ai-message{font-size:15px;line-height:1.42;padding:13px 14px;margin-bottom:10px}
  .lp-ai-user{margin-left:28px}
  .lp-ai-form{gap:8px;padding:10px 10px 12px}
  .lp-ai-form textarea{min-height:50px;max-height:78px;border-radius:16px;font-size:16px;line-height:1.35}
  .lp-ai-form button{min-width:88px;border-radius:16px;padding:0 14px;font-size:16px}
  .lp-ai-handoff{border-radius:16px;padding:12px}
}
@media(max-width:380px){
  .lp-ai-panel{left:8px;right:8px;top:calc(8px + env(safe-area-inset-top,0px));bottom:calc(8px + env(safe-area-inset-bottom,0px))}
  .lp-ai-launcher{width:194px;height:60px;padding:0 62px 0 22px}
  .lp-ai-launcher span{font-size:14px;max-width:98px}
  .lp-ai-launcher-icon,.lp-ai-launcher:hover .lp-ai-launcher-icon,.lp-ai-launcher:focus-visible .lp-ai-launcher-icon{width:62px;height:62px}
  .lp-ai-form button{min-width:78px;padding:0 10px}
  .lp-ai-form{gap:7px}
  .lp-ai-message{font-size:14px}
}

/* Linda 0.3.4 – strukturierte Antwortkarten */
.lp-ai-card-message{
  padding:0!important;
  background:transparent!important;
  border:0!important;
}
.lp-ai-card{
  background:#fff;
  border:1px solid rgba(111,127,85,.15);
  border-radius:20px;
  padding:18px;
  box-shadow:0 10px 28px rgba(46,52,35,.06);
  color:#2f3927;
}
.lp-ai-card-header{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  color:#2d4029;
}
.lp-ai-card-icon{
  width:34px;
  height:34px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(111,127,85,.09);
  font-size:18px;
  flex:0 0 auto;
}
.lp-ai-card-header strong{
  font-size:18px;
  line-height:1.2;
}
.lp-ai-hours-table{
  display:grid;
  gap:0;
  border:1px solid rgba(111,127,85,.12);
  border-radius:16px;
  overflow:hidden;
  background:#fbfcf8;
}
.lp-ai-hours-row{
  display:grid;
  grid-template-columns:54px 1fr;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border-bottom:1px solid rgba(111,127,85,.1);
}
.lp-ai-hours-row:last-child{border-bottom:0}
.lp-ai-hours-day{
  font-weight:800;
  color:#52613f;
}
.lp-ai-hours-time{
  color:#2f3927;
  font-variant-numeric:tabular-nums;
}
.lp-ai-hours-row.is-closed .lp-ai-hours-time{color:#8a9080}
.lp-ai-card-body{
  margin-top:12px;
  white-space:pre-wrap;
}
.lp-ai-card-status{
  margin-top:14px;
  padding:14px 14px;
  border-radius:16px;
  background:rgba(111,127,85,.08);
  border:1px solid rgba(111,127,85,.11);
}
.lp-ai-card-status strong{
  display:block;
  margin-bottom:5px;
  color:#2d4029;
}
.lp-ai-card-status p{
  margin:0;
  line-height:1.45;
}
.lp-ai-card-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}


.lp-ai-card-intro{
  margin:0 0 14px;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(111,127,85,.07);
  color:#2f3927;
  font-weight:600;
  line-height:1.45;
}
.lp-ai-card-note{
  margin-top:14px;
  display:grid;
  gap:3px;
  padding:13px 14px;
  border-radius:16px;
  background:linear-gradient(135deg,rgba(111,127,85,.10),rgba(111,127,85,.045));
  border:1px solid rgba(111,127,85,.13);
}
.lp-ai-card-note strong{color:#52613f}
.lp-ai-card-note p{margin:0;line-height:1.42}
.lp-ai-card-service .lp-ai-card-body{font-size:16px;line-height:1.58}
.lp-ai-card-service .lp-ai-card-actions .lp-ai-cta{border-radius:12px;padding:12px 16px}

@media(max-width:600px){
  .lp-ai-card{padding:14px;border-radius:18px}
  .lp-ai-card-header{margin-bottom:12px}
  .lp-ai-card-header strong{font-size:17px}
  .lp-ai-hours-row{grid-template-columns:48px 1fr;padding:9px 10px;gap:10px}
}
