/* Kontakt-CTA — Sektion "Gespräch buchen" */

.contact-cta-section {
    background-color: #010101;
    color: #feffff;
}

.contact-cta-title {
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 4rem;
    line-height: 1.1em;
    color: #feffff;
}

@media (max-width: 992px) {
    .contact-cta-title {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .contact-cta-title {
        font-size: 2.4rem;
    }
}

.contact-cta-text {
    color: #e8ebeb;
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .contact-cta-text {
        font-size: 1.1rem;
    }
}

.contact-cta-chat {
    background-color: #16181a;
    border: 1px solid rgba(118, 184, 42, 0.3);
    border-radius: 0.5rem;
    padding: 1.25rem;
}

.contact-cta-chat-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(232, 235, 235, 0.12);
}

.contact-cta-chat-status {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #76b82a;
    flex-shrink: 0;
}

.contact-cta-chat-name {
    color: #e8ebeb;
    font-size: 0.9rem;
    margin: 0;
}

.contact-cta-bubble {
    max-width: 85%;
    padding: 0.6rem 1rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.45;
    border-radius: 0.75rem;
}

.contact-cta-bubble-user {
    margin-left: auto;
    background-color: #76b82a;
    color: #010101;
    border-bottom-right-radius: 0.25rem;
}

.contact-cta-bubble-codire {
    background-color: #26292b;
    color: #feffff;
    border-bottom-left-radius: 0.25rem;
}

.contact-cta-typing {
    display: flex;
    gap: 4px;
    padding: 0.85rem 1rem;
}

.contact-cta-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #76b82a;
    animation: contact-cta-typing-blink 1.2s infinite ease-in-out;
}

.contact-cta-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-cta-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes contact-cta-typing-blink {
    0%,
    80%,
    100% {
        opacity: 0.25;
    }
    40% {
        opacity: 1;
    }
}

.contact-cta-actions {
    padding-top: 1rem;
}

.contact-cta-book {
    font-size: 1.15rem;
    padding: 0.6rem 1.5rem;
}

.contact-cta-book i {
    margin-right: 0.4rem;
}

.contact-cta-alt {
    color: #e8ebeb;
    font-size: 0.95rem;
    margin: 0.75rem 0 0 0;
}

.contact-cta-alt a {
    color: #76b82a;
}

.contact-cta-alt-sep {
    margin: 0 0.35rem;
}

/* Animierter Ablauf — nur aktiv, wenn JavaScript die Klasse setzt.
   Ohne JavaScript oder bei prefers-reduced-motion bleibt der Chat
   vollständig sichtbar stehen, die Tippanzeige bleibt verborgen. */

.contact-cta-typing-wrap {
    display: none;
}

.contact-cta-animate .contact-cta-bubble {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.contact-cta-animate .contact-cta-typing-wrap {
    display: block;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.contact-cta-animate .contact-cta-bubble.shown,
.contact-cta-animate .contact-cta-typing-wrap.shown {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .contact-cta-animate .contact-cta-bubble,
    .contact-cta-animate .contact-cta-typing-wrap {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .contact-cta-typing span {
        animation: none;
    }
}
