@charset "UTF-8";

/* =========================================================
   PAKUMED FAQ BOT – DEUTSCH
   Elementor HTML Widget
   ========================================================= */

.pmfaq,
.pmfaq * {
    box-sizing: border-box;
}

.pmfaq {
    --blue-dark: #075574;
    --blue: #087da5;
    --blue-light: #20a2d5;
    --blue-pale: #eaf8fd;
    --bg: #f5fbfe;
    --border: #d2e6ee;
    --text: #17384a;
    --muted: #617985;

    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;

    font-family: Arial, Helvetica, sans-serif;
}

.pmfaq [hidden] {
    display: none !important;
}


/* =========================================================
   CHAT BUTTON
   ========================================================= */

.pmfaq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: var(--blue-dark);
    color: #fff;

    cursor: pointer;

    box-shadow: 0 10px 28px rgba(0, 50, 75, .28);

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.pmfaq-toggle:hover,
.pmfaq-toggle:focus-visible {
    background: var(--blue-light);

    transform: translateY(-3px);

    box-shadow: 0 14px 32px rgba(0, 50, 75, .32);

    outline: none;
}

.pmfaq-toggle svg {
    width: 31px;
    height: 31px;
}


/* =========================================================
   CHAT WINDOW
   ========================================================= */

.pmfaq-panel {
    position: absolute;

    right: 0;
    bottom: 78px;

    width: min(430px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);

    max-height: min(720px, calc(100dvh - 110px));

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 17px;

    background: #fff;
    color: var(--text);

    box-shadow: 0 18px 50px rgba(0, 45, 70, .25);

    animation: pmFaqOpen .2s ease-out;
}

@keyframes pmFaqOpen {

    from {
        opacity: 0;
        transform: translateY(10px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* =========================================================
   HEADER
   ========================================================= */

.pmfaq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    min-height: 78px;

    padding: 15px 17px;

    background:
        linear-gradient(
            135deg,
            var(--blue-dark),
            var(--blue)
        );

    color: #fff;
}

.pmfaq-brand {
    display: flex;
    align-items: center;

    gap: 12px;
}

.pmfaq-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    overflow: hidden;

    border-radius: 50%;

    background: #fff;
}

.pmfaq-logo img {
    display: block;

    width: 66px;
    height: 66px;

    object-fit: contain;
}

.pmfaq-title strong {
    display: block;

    font-size: 18px;
    line-height: 1.2;
}

.pmfaq-title small {
    display: flex;
    align-items: center;

    gap: 6px;

    margin-top: 5px;

    font-size: 12px;

    opacity: .9;
}

.pmfaq-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #65dc82;

    box-shadow:
        0 0 0 3px rgba(101, 220, 130, .18);
}

.pmfaq-close {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,.12);

    color: #fff;

    font-size: 27px;
    line-height: 1;

    cursor: pointer;
}

.pmfaq-close:hover {
    background: rgba(255,255,255,.24);
}


/* =========================================================
   BODY
   ========================================================= */

.pmfaq-content {
    width: 100%;
    min-width: 0;

    max-height:
        calc(
            min(720px, 100dvh - 110px) - 140px
        );

    padding: 17px;

    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;

    background: var(--bg);

    scrollbar-width: thin;
    scrollbar-color: #9dcddd transparent;
}


/* =========================================================
   BREADCRUMB / ZURÜCK
   ========================================================= */

.pmfaq-navigation {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 11px;
}

.pmfaq-nav-back {
    display: inline-flex;
    align-items: center;

    gap: 5px;

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--blue);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.pmfaq-nav-back:hover {
    text-decoration: underline;
}


/* =========================================================
   MESSAGE
   ========================================================= */

.pmfaq-message {
    margin-bottom: 14px;

    padding: 13px 14px;

    border: 1px solid var(--border);
    border-radius: 12px 12px 12px 4px;

    background: #fff;

    font-size: 15px;
    line-height: 1.5;

    box-shadow:
        0 3px 10px rgba(0,55,80,.05);
}

.pmfaq-category-heading {
    margin: 0 0 4px;

    color: var(--blue-dark);

    font-size: 18px;
    font-weight: 700;
}

.pmfaq-count {
    margin: 0 0 14px;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   SEARCH
   ========================================================= */

.pmfaq-search-wrap {
    position: relative;

    margin-bottom: 14px;
}

.pmfaq-search {
    display: block;

    width: 100%;
    height: 44px;

    padding: 0 42px 0 14px;

    border: 1px solid #b8dce8;
    border-radius: 9px;

    outline: none;

    background: #fff;

    color: var(--text);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;
}

.pmfaq-search:focus {
    border-color: var(--blue-light);

    box-shadow:
        0 0 0 3px rgba(32,162,213,.12);
}

.pmfaq-search-icon {
    position: absolute;

    top: 50%;
    right: 14px;

    width: 18px;
    height: 18px;

    transform: translateY(-50%);

    pointer-events: none;

    color: #6a91a3;
}


/* =========================================================
   BUTTON LISTS
   ========================================================= */

.pmfaq-options {
    display: grid;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    gap: 8px;

    overflow-x: hidden;
}

.pmfaq-option {
    position: relative;

    display: block;

    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 47px;
    height: auto;

    padding: 11px 38px 11px 13px;

    border: 1px solid #9dcddd;
    border-radius: 9px;

    background: #fff;

    color: var(--blue-dark);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;

    text-align: left;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;

    cursor: pointer;

    transition:
        background .18s ease,
        border-color .18s ease;
}

.pmfaq-option::after {
    content: "›";

    position: absolute;

    top: 50%;
    right: 15px;

    color: var(--blue-light);

    font-size: 24px;
    line-height: 1;

    transform: translateY(-53%);
}

.pmfaq-option:hover,
.pmfaq-option:focus-visible {
    border-color: var(--blue-light);

    background: var(--blue-pale);

    transform: none;

    outline: none;
}

.pmfaq-no-result {
    padding: 15px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: #fff;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.5;

    text-align: center;
}


/* =========================================================
   RESPONSIVE WIDTH SAFETY
   ========================================================= */

.pmfaq-message,
.pmfaq-navigation,
.pmfaq-category-area,
.pmfaq-question-area,
.pmfaq-answer-area,
.pmfaq-search-wrap,
.pmfaq-search,
.pmfaq-answer,
.pmfaq-no-result {
    max-width: 100%;
    min-width: 0;
}

.pmfaq-search {
    box-sizing: border-box;
}

/* =========================================================
   ANSWER
   ========================================================= */

.pmfaq-answer {
    padding: 15px 16px;

    border-left: 4px solid var(--blue-light);
    border-radius: 9px;

    background: #fff;

    box-shadow:
        0 3px 12px rgba(0,55,80,.06);

    font-size: 14px;
    line-height: 1.58;
}

.pmfaq-answer h3 {
    margin: 0 0 10px;

    color: var(--blue-dark);

    font-size: 16px;
    line-height: 1.35;
}

.pmfaq-answer p {
    margin: 0 0 9px;
}

.pmfaq-answer p:last-child {
    margin-bottom: 0;
}

.pmfaq-answer ul {
    margin: 8px 0;

    padding-left: 20px;
}

.pmfaq-answer li {
    margin: 5px 0;
}

.pmfaq-answer strong {
    color: var(--blue-dark);
}

.pmfaq-answer-note {
    margin-top: 14px !important;

    padding-top: 11px;

    border-top: 1px solid #e1edf2;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   FOOTER CONTACT
   ========================================================= */

.pmfaq-footer {
    padding: 13px 17px;

    border-top: 1px solid var(--border);

    background: #fff;

    text-align: center;
}

.pmfaq-footer a,
.pmfaq-footer a:visited {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: var(--blue-dark) !important;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none !important;
}

.pmfaq-footer a:hover {
    color: var(--blue-light) !important;

    text-decoration: underline !important;

    text-underline-offset: 3px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .pmfaq {
        right: 10px;
        bottom: 10px;
    }

    .pmfaq-toggle {
        width: 57px;
        height: 57px;
    }

    /*
     * Auf Smartphones wird das FAQ-Fenster direkt am Viewport
     * ausgerichtet. Dadurch bleibt es unabhängig von Browser- und
     * Bildschirmgröße vollständig innerhalb des sichtbaren Bereichs.
     */
    .pmfaq-panel {
        position: fixed;

        top: 10px;
        right: 10px;
        bottom: 77px;
        left: 10px;

        width: auto;
        max-width: none;
        max-height: none;

        border-radius: 14px;
    }

    .pmfaq-header,
    .pmfaq-footer {
        flex: 0 0 auto;
    }

    .pmfaq-content {
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;

        padding: 14px;

        overflow-y: auto;
        overflow-x: hidden;
    }

    .pmfaq-option {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        padding: 10px 34px 10px 12px;

        font-size: 13px;
        line-height: 1.4;

        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .pmfaq-option::after {
        right: 12px;
    }
}

@media (max-width: 380px) {

    .pmfaq {
        right: 6px;
        bottom: 6px;
    }

    .pmfaq-panel {
        top: 6px;
        right: 6px;
        bottom: 69px;
        left: 6px;
    }

    .pmfaq-content {
        padding: 11px;
    }

    .pmfaq-option {
        padding-left: 10px;
        padding-right: 30px;
        font-size: 12.5px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .pmfaq-panel {
        animation: none;
    }

    .pmfaq-toggle,
    .pmfaq-option {
        transition: none;
    }
}

/* Integration in die statische ANOKRYO-Seite: globale Header-/Footer-Stile begrenzen. */
.pmfaq .pmfaq-panel{padding:0;line-height:1.5}.pmfaq .pmfaq-header{position:static;z-index:auto;border:0;backdrop-filter:none}.pmfaq .pmfaq-footer{margin:0}.pmfaq .pmfaq-category-heading{letter-spacing:normal;line-height:1.3}.pmfaq .pmfaq-logo img{width:46px;height:auto}.pmfaq .pmfaq-contact{border:0;background:transparent;color:var(--blue-dark);font:700 13px Arial,Helvetica,sans-serif;cursor:pointer;padding:4px}.pmfaq :is(button,input):focus-visible{outline:3px solid #efaa38;outline-offset:2px}.pmfaq .pmfaq-content{overflow-wrap:anywhere}@media(max-height:440px){.pmfaq .pmfaq-panel{position:fixed;top:6px;bottom:6px;right:78px;left:auto;width:min(430px,calc(100vw - 90px));max-height:none}.pmfaq .pmfaq-content{max-height:none;min-height:0;flex:1}.pmfaq .pmfaq-header,.pmfaq .pmfaq-footer{flex-shrink:0}}
