.herbert34{--herbert-navy:var(--JGH-Primary-Navy,#002147);--herbert-accent:var(--JGH-Accent-Turquoise,#40e0d0);position:fixed;z-index:99990;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));font-family:var(--JGH-Body-Font,'Source Sans Pro'),Arial,sans-serif;color:var(--herbert-navy);line-height:1.45;font-size:15px;text-align:left}
.herbert34 *{box-sizing:border-box}.herbert34 [hidden]{display:none!important}.herbert34 button,.herbert34 input{font:inherit}.herbert34 button{cursor:pointer;text-transform:none;letter-spacing:normal;box-shadow:none;min-height:44px}.herbert34 button:focus-visible,.herbert34 input:focus-visible,.herbert34 a:focus-visible{outline:3px solid var(--herbert-accent);outline-offset:3px}.herbert34-panel{width:370px;max-width:calc(100vw - 32px);height:565px;max-height:calc(100dvh - 125px);background:#fff;border:1px solid #cbe4e8;border-radius:20px;overflow:hidden;box-shadow:0 12px 65px #001a3a30;display:flex;flex-direction:column;margin-bottom:14px;margin-right:64px}.herbert34-head{display:flex;align-items:center;gap:12px;background:var(--herbert-navy);color:#fff;padding:14px 18px;flex-shrink:0}.herbert34-head img{width:52px;height:52px;object-fit:contain}.herbert34-head strong{display:block;font-size:23px;line-height:1.1}.herbert34-head span{display:block;font-size:13px;color:#d5e9ed;margin-top:3px}.herbert34 .herbert34-minimize{margin-left:auto;border:0;background:transparent;color:#fff;font-size:28px;padding:0;width:44px;border-radius:50%}.herbert34-scroll{overflow-y:auto;overscroll-behavior:contain;padding:22px 20px;flex:1;min-height:80px}.herbert34-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.3px}.herbert34-welcome h2{font-family:var(--JGH-Heading-Font,'Libre Baskerville'),Georgia,serif;font-size:27px!important;color:var(--herbert-navy);line-height:1.25;margin:10px 0 12px;font-weight:400}.herbert34-welcome p{margin:0;color:#465b6e;font-size:15px}.herbert34-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}.herbert34 .herbert34-suggestions button{background:#f0f8fa;border:1px solid #cbe4e8;color:var(--herbert-navy);border-radius:8px;padding:7px 10px;font-size:13px}.herbert34-suggestions button:hover{background:#d9f8f3}.herbert34-message{padding:13px 14px;border-radius:12px;margin:12px 0;background:#f1f6f8;overflow-wrap:anywhere}.herbert34-message strong{font-size:11px;text-transform:uppercase;letter-spacing:.8px}.herbert34-message p{margin:5px 0 0;white-space:pre-wrap;font-size:14px;line-height:1.5}.herbert34-user{margin-left:36px;background:#ddf8f3}.herbert34-sources{margin:12px 0 0;padding-left:19px}.herbert34-sources li{margin:10px 0}.herbert34-sources a{color:var(--herbert-navy);text-decoration:underline;font-weight:600;font-size:14px}.herbert34-sources p{font-size:12px;color:#4c6070}.herbert34-info{flex-shrink:0;font-size:11px;line-height:1.4;background:#f5f8fa;padding:9px 18px;color:#43576a}.herbert34-info label{display:flex;align-items:flex-start;gap:8px}.herbert34-info input{margin-top:3px;flex-shrink:0}.herbert34-attention{box-shadow:inset 0 0 0 2px #bc6125}.herbert34-form{display:flex;gap:8px;padding:12px 15px 6px;flex-shrink:0}.herbert34 .herbert34-input{min-width:0;width:100%;border:1px solid #bacbd4;border-radius:8px;padding:10px 12px;background:#fff;color:var(--herbert-navy);font-size:16px}.herbert34 .herbert34-send{flex-shrink:0;border:0;width:44px;border-radius:8px;background:var(--herbert-navy);color:#fff;font-size:25px;padding:0}.herbert34-send:disabled{opacity:.5;cursor:wait}.herbert34-foot{padding:4px 18px 13px;color:#607180;font-size:10px;line-height:1.5;flex-shrink:0}.herbert34-foot a{color:inherit;text-decoration:underline}
/* Transparent animated Herbert launcher. */
.herbert34 .herbert34-launcher,
.herbert34 .herbert34-launcher:hover,
.herbert34 .herbert34-launcher:focus,
.herbert34 .herbert34-launcher:active {
 position:relative;display:flex;align-items:flex-start;gap:8px;margin-left:auto;
 padding:0;border:0;background:transparent!important;border-radius:14px;
 color:var(--herbert-navy)!important;box-shadow:none;line-height:1;
}
.herbert34 .herbert34-launcher:focus-visible{outline:3px solid var(--herbert-accent);outline-offset:5px}
.herbert34-pet{
 display:block;flex:none;width:120px;height:130px;
 background-image:url('https://staging.jgherder.de/wp-content/uploads/2026/09/herbert-pet-animated.webp');background-repeat:no-repeat;
 background-size:800% 300%;background-position:0 0;
}
.herbert34-launcher .herbert34-pet{animation:herbert34-pet-idle 5s steps(1,end) infinite}
.herbert34-head .herbert34-pet{width:48px;height:52px;animation:none}
.herbert34-launcher .herbert34-pet.is-waving{background-position-y:50%;animation:herbert34-pet-wave 1.1s steps(1,end) 1}
.herbert34.is-working .herbert34-launcher .herbert34-pet{background-position-y:100%;animation:herbert34-pet-work 1.2s steps(1,end) infinite}
@keyframes herbert34-pet-idle{
 0%,70%,100%{background-position-x:0%}
 74%{background-position-x:14.285714%}
 77%{background-position-x:28.571429%}
 82%{background-position-x:42.857143%}
 86%{background-position-x:57.142857%}
 89%{background-position-x:71.428571%}
}
@keyframes herbert34-pet-wave{
 0%{background-position-x:0%}
 25%{background-position-x:14.285714%}
 50%{background-position-x:28.571429%}
 80%,100%{background-position-x:42.857143%}
}
@keyframes herbert34-pet-work{
 0%{background-position-x:0%}
 16.667%{background-position-x:14.285714%}
 33.333%{background-position-x:28.571429%}
 50%{background-position-x:42.857143%}
 66.667%{background-position-x:57.142857%}
 83.333%{background-position-x:71.428571%}
}
.herbert34-chatbadge{display:flex;align-items:center;justify-content:center;flex:none;width:64px;height:58px;margin-top:8px;background:transparent;border:0;box-shadow:none;font-style:normal}
.herbert34-chatshape{position:relative;display:flex;align-items:center;justify-content:center;width:60px;height:46px;border:1.5px solid #65b8d2;border-radius:50%;background:#7dcde8}
.herbert34-chatshape::after{content:"";position:absolute;right:0;bottom:-7px;width:16px;height:16px;background:#65b8d2;clip-path:polygon(0 0,75% 0,100% 100%)}
.herbert34-chatshape::before{content:"";position:absolute;z-index:1;right:2px;bottom:-4px;width:12px;height:12px;background:#7dcde8;clip-path:polygon(0 0,75% 0,100% 100%)}
.herbert34-dots{display:flex;align-items:center;gap:5px;font-style:normal}
.herbert34-dots b{display:block;width:6px;height:6px;border-radius:50%;background:var(--herbert-navy);opacity:1}
.herbert34-dots b:nth-child(2){animation:herbert34-dot-two 1.5s steps(1,end) .7s 3}
.herbert34-dots b:nth-child(3){animation:herbert34-dot-three 1.5s steps(1,end) .7s 3}
@keyframes herbert34-dot-two{0%{opacity:0}33%,100%{opacity:1}}
@keyframes herbert34-dot-three{0%,33%{opacity:0}66%,100%{opacity:1}}
.herbert34-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.herbert34-panel{max-height:calc(100dvh - 180px)}
.herbert34.is-paused .herbert34-pet,.herbert34.is-paused .herbert34-dots b{animation-play-state:paused}
@media(max-width:600px){
 .herbert34{right:max(12px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom))}
 .herbert34-panel{position:fixed;right:12px;bottom:132px;width:calc(100vw - 24px);height:540px;max-height:calc(100dvh - 148px);margin:0}
 .herbert34-launcher .herbert34-pet{width:96px;height:104px}
 .herbert34 .herbert34-launcher{gap:5px}
 .herbert34-chatbadge{width:56px;height:50px;margin-top:4px}
 .herbert34-chatshape{width:52px;height:41px}
 .herbert34-dots{gap:4px}.herbert34-dots b{width:5px;height:5px}
 .herbert34-scroll{padding:18px}.herbert34-welcome h2{font-size:25px!important}
}
@media(prefers-reduced-motion:reduce){
 .herbert34 .herbert34-pet,.herbert34 .herbert34-pet.is-waving,.herbert34.is-working .herbert34-pet{animation:none;background-position:0 0}
 .herbert34-dots b:nth-child(n){animation:none}
}

/* Pixel-art speech bubble, close to Herbert's face. */
.herbert34 .herbert34-launcher{column-gap:0}
.herbert34 .herbert34-chatbadge{width:64px;height:58px;margin-right:-12px;margin-top:12px;position:relative;z-index:1}
.herbert34 .herbert34-chatshape{
 width:64px;height:54px;border:0;border-radius:0;background:#65b8d2;
 clip-path:polygon(8px 0,calc(100% - 8px) 0,calc(100% - 8px) 4px,calc(100% - 4px) 4px,calc(100% - 4px) 8px,100% 8px,100% 34px,calc(100% - 4px) 34px,calc(100% - 4px) 42px,100% 42px,100% 50px,calc(100% - 8px) 50px,calc(100% - 8px) 46px,calc(100% - 12px) 46px,calc(100% - 12px) 42px,8px 42px,8px 38px,4px 38px,4px 34px,0 34px,0 8px,4px 8px,4px 4px,8px 4px);
}
.herbert34 .herbert34-chatshape::before{
 content:"";position:absolute;inset:3px;width:auto;height:auto;z-index:0;background:#7dcde8;
 clip-path:polygon(7px 0,calc(100% - 7px) 0,calc(100% - 7px) 4px,calc(100% - 3px) 4px,calc(100% - 3px) 8px,100% 8px,100% 28px,calc(100% - 4px) 28px,calc(100% - 4px) 40px,100% 40px,100% 44px,calc(100% - 5px) 44px,calc(100% - 5px) 40px,calc(100% - 9px) 40px,calc(100% - 9px) 36px,7px 36px,7px 32px,3px 32px,3px 28px,0 28px,0 7px,3px 7px,3px 3px,7px 3px);
}
.herbert34 .herbert34-chatshape::after{display:none}
.herbert34 .herbert34-dots{position:relative;z-index:1;align-self:flex-start;margin-top:18px;gap:5px}
.herbert34 .herbert34-dots b{width:6px;height:6px;border-radius:0}
@media(max-width:600px){
 .herbert34 .herbert34-launcher{column-gap:0}
 .herbert34 .herbert34-chatbadge{margin-right:-12px;margin-top:6px;width:60px;height:54px}
 .herbert34 .herbert34-chatshape{width:60px}
}

/* Reduce the pixel bubble by 15%, anchored toward Herbert. */
.herbert34 .herbert34-chatbadge{transform:scale(.85);transform-origin:right center}

/* Herbert's name connects Herder and Berlin. */
.herbert34-intro{margin-bottom:18px}
.herbert34-welcome .herbert34-eyebrow{display:block;font-size:13.2px;line-height:1.9;letter-spacing:.3px;text-align:left;hyphens:none;word-break:normal;overflow-wrap:normal}
.herbert34-intro-line{display:block}
.herbert34-word{white-space:nowrap}
.herbert34-namepart{position:relative;display:inline-block;font:inherit;font-weight:800;padding:1px 0;color:#002147}
.herbert34-namepart::after{content:"";position:absolute;left:-2px;right:-2px;bottom:-2px;height:6px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%2012%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%237dcde8%22%20d%3D%22M1%208%20Q29%201%2070%202%20L94%203%2098%205%2094%206%20100%207%2087%209%20Q43%207%203%2012Z%22%2F%3E%3Cpath%20fill%3D%22%237dcde8%22%20opacity%3D%22.45%22%20d%3D%22M0%207%20Q40%200%2094%202%20L97%204%20Q44%203%202%2010Z%22%2F%3E%3C%2Fsvg%3E") center/100% 100% no-repeat;pointer-events:none}
.herbert34-berlin-logo{position:relative;display:inline-block;width:14.95px;height:20.7px;overflow:hidden;margin-left:3px;vertical-align:-4.6px}
.herbert34-berlin-logo img{position:absolute;display:block;width:92px;max-width:none;height:69px;top:-24.15px;left:-67.85px}
