/* Datenschutz 11.11.2026: YouTube-Platzhalter (Video erst nach Klick) */
.bd-ytgate {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f2f2a center / cover no-repeat;
    border-radius: inherit;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bd-ytgate::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 47, 42, .45);
}
.bd-ytgate.is-loaded::before { display: none; }
.bd-ytgate iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.bd-ytgate__play {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #008979;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
    transition: background .15s, transform .15s;
    margin-bottom: 56px;
}
.bd-ytgate__play:hover { background: #007060; transform: scale(1.05); }
.bd-ytgate__play:focus-visible { outline: 3px solid #ffbd00; outline-offset: 3px; }
.bd-ytgate__info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 14px;
    background: rgba(15, 47, 42, .88);
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    align-items: center;
    justify-content: space-between;
}
.bd-ytgate__text { flex: 1 1 260px; }
.bd-ytgate__info a { color: #fff; text-decoration: underline; }
.bd-ytgate__always {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    color: #fff;
}
.bd-ytgate__always input { width: 16px; height: 16px; margin: 0; accent-color: #008979; }

/* Der Platzhalter bringt sein eigenes 16:9 mit */
.bd-lesson-video__embed:has(> .bd-ytgate) { padding-bottom: 0; height: auto; }

@media (max-width: 520px) {
    .bd-ytgate__play { width: 48px; height: 48px; margin-bottom: 118px; }
    .bd-ytgate__play svg { width: 24px; height: 24px; }
    .bd-ytgate__info { font-size: 12px; padding: 8px 10px; }
    .bd-ytgate__always { white-space: normal; }
    /* Leiste: beide Knöpfe gleich hoch */
    .klaro .cookie-notice .cn-buttons .cm-btn { white-space: nowrap; padding-left: 12px; padding-right: 12px; }
}

/* ---- Datenschutz-Fenster und Leiste (Klaro) im Berufsdeutsch-Stil ---- */
.klaro .cookie-modal .cm-bg { background: rgba(15, 47, 42, .55); }
.klaro .cookie-modal .cm-modal.cm-klaro {
    max-width: 520px;
    width: calc(100% - 24px);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 47, 42, .28);
    color: #1f2a27;
    overflow: hidden;
}
.klaro .cookie-modal .cm-modal .cm-header { padding: 26px 28px 14px; border-bottom: 0; }
.klaro .cookie-modal .cm-modal .cm-header h1.title {
    font-size: 21px; font-weight: 700; color: #0f2f2a; margin: 0 0 8px; padding-right: 32px;
}
.klaro .cookie-modal .cm-modal .cm-header p { font-size: 14.5px; line-height: 1.5; color: #5f6b66; margin: 0; }
.klaro .cookie-modal .cm-modal .cm-header a,
.klaro .cookie-notice a { color: #008979; text-decoration: underline; }
.klaro .cookie-modal .cm-modal .hide { top: 22px; right: 22px; opacity: .7; }
.klaro .cookie-modal .cm-modal .hide svg { stroke: #0f2f2a; width: 14px; height: 14px; }
.klaro .cookie-modal .cm-modal .cm-body { padding: 6px 28px 8px; }
.klaro .cookie-modal .cm-modal .cm-body ul.cm-services { margin: 0; padding: 0; }
.klaro .cookie-modal .cm-modal .cm-body li.cm-service {
    background: #faf8f4;
    border: 1px solid #ece7dd;
    border-radius: 14px;
    padding: 14px 80px 14px 16px !important;
    margin: 0 0 10px;
    min-height: 0;
    position: relative;
}
.klaro .cookie-modal li.cm-service > div,
.klaro .cookie-modal li.cm-service .cm-list-label { position: static; }
.klaro .cookie-modal li.cm-service .cm-list-label .cm-switch {
    position: absolute; left: auto; right: 14px; top: 50%; transform: translateY(-50%); margin: 0;
    width: 50px; height: 30px;
}
.klaro .cookie-modal li.cm-service .cm-list-input { left: auto; right: 14px; top: 50%; transform: translateY(-50%); }
.klaro .cookie-modal .cm-list-title { font-size: 15.5px; font-weight: 700; color: #0f2f2a; }
.klaro .cookie-modal p.cm-list-description { font-size: 13.5px; line-height: 1.45; color: #5f6b66; margin: 4px 0 0; }
.klaro .cookie-modal p.purposes { display: none; }
.klaro .cookie-modal .cm-list-input:checked + .cm-list-label .slider { background-color: #008979; }
.klaro .cookie-modal .cm-list-input:focus-visible + .cm-list-label .slider { box-shadow: 0 0 0 3px rgba(255, 189, 0, .7); }
.klaro .cookie-modal .cm-modal .cm-footer { padding: 14px 28px 24px; border-top: 0; }
.klaro .cookie-modal .cm-modal .cm-footer-buttons { display: flex; gap: 10px; flex-flow: row nowrap; }
.klaro .cookie-modal .cm-footer-buttons .cm-btn,
.klaro .cookie-notice .cn-buttons .cm-btn {
    flex: 1 1 0;
    margin: 0;
    padding: 12px 10px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.2;
    border: 1.5px solid #008979;
    background: #fff;
    color: #008979;
    box-shadow: none;
    white-space: nowrap;
}
.klaro .cookie-modal .cm-footer-buttons .cm-btn:hover,
.klaro .cookie-notice .cn-buttons .cm-btn:hover { background: #eef7f5; }
.klaro .cookie-modal .cm-footer-buttons .cm-btn.cm-btn-accept-all,
.klaro .cookie-notice .cn-buttons .cm-btn.cm-btn-success { background: #008979; color: #fff; }
.klaro .cookie-modal .cm-footer-buttons .cm-btn.cm-btn-accept-all:hover,
.klaro .cookie-notice .cn-buttons .cm-btn.cm-btn-success:hover { background: #007060; border-color: #007060; }

.klaro .cookie-notice:not(.cookie-modal-notice) {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(15, 47, 42, .22);
    max-width: 760px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    bottom: 14px;
}
.klaro .cookie-notice:not(.cookie-modal-notice) .cn-body { padding: 16px 20px; margin: 0; }
.klaro .cookie-notice:not(.cookie-modal-notice) .cn-body p { font-size: 14.5px; line-height: 1.45; color: #1f2a27; margin: 0 0 12px; }
.klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-ok { display: flex; align-items: center; gap: 12px; margin: 0; }
.klaro .cookie-notice .cn-learn-more { font-size: 14px; font-weight: 600; flex: 0 0 auto; margin-right: auto; }
.klaro .cookie-notice .cn-buttons { display: flex !important; gap: 10px; flex: 0 1 340px; margin: 0 0 0 auto; }
.klaro .cookie-notice .cn-buttons .cm-btn { float: none; margin: 0 !important; }

@media (max-width: 520px) {
    .klaro .cookie-modal .cm-modal .cm-header { padding: 22px 18px 12px; }
    .klaro .cookie-modal .cm-modal .cm-body { padding: 4px 18px 6px; }
    .klaro .cookie-modal .cm-modal .cm-footer { padding: 12px 18px 20px; }
    .klaro .cookie-modal .cm-modal .cm-footer-buttons { flex-flow: column-reverse; }
    .klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-ok { flex-wrap: wrap; }
    .klaro .cookie-notice .cn-buttons { flex: 1 1 100%; }
}

.klaro .cookie-notice:not(.cookie-modal-notice) .cn-body h2,
.klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .title {
    font-size: 16.5px; font-weight: 700; color: #0f2f2a; margin: 0 0 6px;
}
.klaro .cookie-notice:not(.cookie-modal-notice) .cn-body::before {
    content: "Deine Privatsphäre";
    display: block;
    font-size: 16.5px;
    font-weight: 700;
    color: #0f2f2a;
    margin: 0 0 4px;
}

/* ---- Einmal-Hinweis vor der ersten Sprachaufnahme ---- */
.bd-michint {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(15, 47, 42, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.bd-michint__card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 47, 42, .28);
    padding: 26px 26px 20px;
    text-align: left;
}
.bd-michint__title { font-size: 20px; font-weight: 700; color: #0f2f2a; margin: 0 0 8px; }
.bd-michint__text { font-size: 15px; line-height: 1.5; color: #3d4a46; margin: 0 0 18px; }
.bd-michint__ok {
    display: block;
    text-align: center;
    background: #008979;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 16px;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
}
.bd-michint__ok:hover { background: #007060; }
.bd-michint__ok:focus-visible { outline: 3px solid #ffbd00; outline-offset: 2px; }
.bd-michint__more { display: block; text-align: center; margin-top: 12px; font-size: 13.5px; color: #008979; text-decoration: underline; }

/* ---- Bestätigung nach dem Abmelden von E-Mails ---- */
.bd-unsubnote {
    position: fixed;
    left: 50%;
    top: 90px;
    transform: translateX(-50%);
    z-index: 100000;
    width: calc(100% - 24px);
    max-width: 520px;
    background: #0f2f2a;
    color: #fff;
    font-size: 15px;
    line-height: 1.45;
    padding: 14px 18px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(15, 47, 42, .3);
    text-align: center;
}

/* ---- Konto löschen (Mein Konto) ---- */
.bd-account-delete h2 { color: #7a2a2a; }
.bd-erase .bd-michint__text { margin-bottom: 12px; }
.bd-erase .bd-erase__danger { background: #b3261e; margin-top: 6px; }
.bd-erase .bd-erase__danger:hover { background: #8f1e18; }
.bd-erase [aria-disabled="true"] { opacity: .6; pointer-events: none; }
.bd-erase__cancel { display: block; text-align: center; margin-top: 12px; font-size: 14.5px; font-weight: 600; color: #008979; cursor: pointer; padding: 6px; }
.bd-erase__cancel:focus-visible { outline: 3px solid #ffbd00; outline-offset: 2px; border-radius: 6px; }
.bd-erase__code { width: 100%; box-sizing: border-box; font-size: 22px; letter-spacing: 6px; text-align: center; padding: 12px; border: 1.5px solid #cfc9bd; border-radius: 10px; margin: 0 0 12px; }
.bd-erase__code:focus { outline: none; border-color: #008979; box-shadow: 0 0 0 3px rgba(0, 137, 121, .18); }
.bd-erase__err { font-size: 14px; line-height: 1.4; color: #932727; background: #fff4f4; border: 1px solid #e9b8b8; border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; }
.bd-erase a.bd-michint__ok { text-decoration: none; }

/* ---- Startseite: Hinweiszeile im Vorschaubild des Videos (13.11.2026) ---- */
.bd-ythint { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; margin: 0; padding: 10px 16px; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .92); text-align: left; text-shadow: 0 1px 2px rgba(0, 0, 0, .55); pointer-events: none; }
.bd-ythint a { color: #fff; font-size: inherit; font-weight: 600; text-decoration: underline; pointer-events: auto; }
@media (max-width: 575px) { .bd-ythint { font-size: 11.5px; padding: 6px 10px; } }
