footer .wp-block-search__button {cursor: pointer;}

#wvgn-chatbot-fenster {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 360px;
    height: 600px;
    max-height: 80vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    overflow: hidden;
    box-sizing: border-box;
}

#wvgn-chatbot-fenster * {
    box-sizing: border-box;
}

#chatbot-header {
    background: #2271b1; 
    color: #fff;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

#chatbot-schliessen {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s;
	padding: 0px;
}

#chatbot-schliessen:hover {
    background: rgba(255, 255, 255, 0.4);
}

#chatbot-verlauf {
    flex-grow: 1;
    padding: 16px;
    overflow-y: auto;
    background: #f0f2f5;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bot-nachricht, .user-nachricht {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    margin: 0;
    word-wrap: break-word;
    line-height: 1.4;
}

.bot-nachricht {
    background: #fff;
    border: 1px solid #e4e6eb;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.bot-nachricht a, .bot-nachricht a:visited {
	color: #2271b1 !important;
	text-decoration: underline;
}

.bot-nachricht a:hover {
	text-decoration: none;
}

.user-nachricht {
    background: #2271b1;
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

#chatbot-eingabebereich {
    display: flex;
    padding: 12px;
    background: #fff;
    border-top: 1px solid #e4e6eb;
    align-items: flex-end;
    gap: 10px;
}

#chatbot-eingabe {
    flex-grow: 1;
    padding: 10px 14px;
    border: 1px solid #ccd0d4;
    border-radius: 20px;
    resize: none;
    max-height: 120px;
    min-height: 40px;
    overflow: hidden;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    transition: border-color 0.2s;
}

#chatbot-eingabe:focus {
    border-color: #2271b1;
}

#chatbot-senden {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 0 16px;
    height: 40px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
	letter-spacing: 0px;
}

#chatbot-senden:hover {
    background: #135e96;
}

.tippt-indikator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
}

.tippt-indikator span {
    width: 6px;
    height: 6px;
    background: #90949c;
    border-radius: 50%;
    animation: blink 1.4s infinite both;
}

.tippt-indikator span:nth-child(2) { animation-delay: 0.2s; }
.tippt-indikator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
    0% { opacity: 0.2; }
    20% { opacity: 1; }
    100% { opacity: 0.2; }
}

/* Mobile Optimierung: 100% Bildschirmgröße */
@media (max-width: 768px) {
    #wvgn-chatbot-fenster {
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        bottom: 0;
        right: 0;
        border-radius: 0;
		max-width: 100%;
    }
    
    #chatbot-header {
        border-radius: 0;
    }
}


.footer-klara span.search-toggle-btn {    border: 2px solid #148ed7;  color: #148ed7;}