/* cvents Cookie-Leiste (unten, nicht blockierend) + Einstellungs-Dialog + Platzhalter für externe Medien */
.cv-consent-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1060; background: #fff; color: #222; box-shadow: 0 -4px 24px rgba(0,0,0,.18); border-top: 1px solid #e6e6e6; transform: translateY(100%); transition: transform .25s ease; font-size: 14px; line-height: 1.45; }
.cv-consent-bar.is-visible { transform: translateY(0); }
.cv-consent-bar[hidden] { display: none; }
.cv-consent-bar-inner { max-width: 1170px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 24px; }
.cv-consent-text { flex: 1 1 auto; min-width: 0; }
.cv-consent-text strong { display: block; font-size: 15px; margin-bottom: 2px; }
.cv-consent-text span { font-weight: 400; }
.cv-consent-link { display: inline-block; margin-left: 6px; color: #d04a39; text-decoration: underline; white-space: nowrap; }
.cv-consent-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cv-consent-btn { font: inherit; font-weight: 600; border-radius: 4px; padding: 10px 18px; cursor: pointer; line-height: 1.2; white-space: nowrap; }
.cv-consent-btn-primary { background: #222; color: #fff; border: 2px solid #222; min-width: 150px; }
.cv-consent-btn-primary:hover, .cv-consent-btn-primary:focus { background: #000; border-color: #000; outline: none; box-shadow: 0 0 0 3px rgba(208,74,57,.35); }
.cv-consent-btn-link { background: transparent; border: 2px solid transparent; color: #222; text-decoration: underline; padding-left: 8px; padding-right: 8px; }
.cv-consent-btn-link:hover, .cv-consent-btn-link:focus { color: #d04a39; outline: none; }
body.cv-consent-bar-open { padding-bottom: 96px; }
body.cv-consent-bar-open .dw-support-fab, body.cv-consent-bar-open #dw-chat-fab { bottom: 112px !important; }

.cv-consent-overlay { position: fixed; inset: 0; z-index: 1070; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.cv-consent-overlay[hidden] { display: none; }
.cv-consent-dialog { position: relative; background: #fff; color: #222; border-radius: 8px; max-width: 560px; width: 100%; max-height: calc(100vh - 32px); overflow: auto; padding: 28px 28px 20px; box-shadow: 0 12px 40px rgba(0,0,0,.3); font-size: 14px; line-height: 1.45; text-align: left; }
.cv-consent-close { position: absolute; top: 8px; right: 10px; border: 0; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; color: #777; padding: 4px 8px; }
.cv-consent-close:hover, .cv-consent-close:focus { color: #000; outline: none; }
.cv-consent-title { font-size: 20px; margin: 0 0 8px; text-transform: none; letter-spacing: 0; }
.cv-consent-dialog p { font-size: 14px; font-weight: 400; line-height: 1.45; letter-spacing: 0; }
.cv-consent-intro { margin: 0 0 16px; color: #555; }
.cv-consent-cats { list-style: none; margin: 0 0 18px; padding: 0; }
.cv-consent-cat { border-top: 1px solid #eee; padding: 12px 0; }
.cv-consent-cat label { display: grid; grid-template-columns: 24px 1fr; column-gap: 10px; cursor: pointer; margin: 0; font-weight: normal; }
.cv-consent-cat input { grid-row: 1 / span 2; margin: 3px 0 0; width: 18px; height: 18px; }
.cv-consent-cat-name { font-weight: 600; font-size: 15px; }
.cv-consent-cat-name em { font-style: normal; font-weight: normal; color: #2e7d32; font-size: 12px; margin-left: 6px; }
.cv-consent-cat-desc { display: block; color: #555; margin-top: 2px; }
.cv-consent-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cv-consent-foot { margin: 14px 0 0; font-size: 13px; }
.cv-consent-foot a { color: #d04a39; text-decoration: underline; }
body.cv-consent-panel-open { overflow: hidden; }

/* Platzhalter für externe Medien (füllt den 16:9-Rahmen der Vorlagen bzw. den eigenen Kasten in Beschreibungen) */
.cv-embed { position: absolute; inset: 0; width: 100%; height: 100%; }
.cv-embed-inline { position: relative; display: block; margin: 12px 0; }
.cv-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cv-embed-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; background: #f1f1f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 24 24' fill='%23c9c9cb'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") no-repeat center 22%; color: #333; font-size: 14px; line-height: 1.4; box-sizing: border-box; }
.cv-embed-ph-text { margin: 0 0 12px; max-width: 420px; font-size: 14px; font-weight: 400; line-height: 1.4; }
.cv-embed-ph-btn { font: inherit; font-weight: 600; background: #d04a39; color: #fff; border: 0; border-radius: 4px; padding: 10px 18px; cursor: pointer; }
.cv-embed-ph-btn:hover, .cv-embed-ph-btn:focus { background: #b53d2e; outline: none; box-shadow: 0 0 0 3px rgba(208,74,57,.35); }
.cv-embed-ph-always { display: block; margin: 10px 0 0; font-size: 12px; color: #555; font-weight: normal; cursor: pointer; }
.cv-embed-ph-always input { margin: 0 4px 0 0; vertical-align: middle; }

@media (max-width: 767px) {
    .cv-consent-bar-inner { flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 16px; }
    .cv-consent-text { font-size: 13px; }
    .cv-consent-actions { justify-content: stretch; }
    .cv-consent-btn-primary { flex: 1 1 45%; min-width: 0; }
    .cv-consent-btn-link { flex: 1 1 100%; text-align: center; }
    body.cv-consent-bar-open { padding-bottom: 210px; }
    body.cv-consent-bar-open .dw-support-fab, body.cv-consent-bar-open #dw-chat-fab { bottom: 228px !important; }
    .cv-consent-dialog { padding: 22px 18px 16px; }
    .cv-embed-ph { font-size: 13px; padding: 12px; background-position: center 10%; }
    .cv-embed-ph-text { margin-bottom: 8px; }
}
