/* COE Consent – Dialog, Content-Blocker, Widget */
#coe-consent.coe-consent{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:16px;font-size:var(--coe-font-size,15px);line-height:1.5;color:var(--coe-text,#14110F);-webkit-font-smoothing:antialiased}
#coe-consent.coe-consent[hidden],#coe-consent.coe-consent [hidden]{display:none!important}
.coe-consent-open{overflow:hidden}
#coe-consent .coe-consent__backdrop{position:absolute;inset:0;background:rgba(20,17,15,.35)}
#coe-consent.coe-consent--backdrop .coe-consent__backdrop{background:rgba(20,17,15,.55);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
#coe-consent .coe-consent__box{position:relative;isolation:isolate;width:100%;max-width:560px;max-height:min(90vh,90dvh);overflow:auto;background:var(--coe-bg,#F5F1E9);border-radius:var(--coe-radius,2px);padding:clamp(22px,4vw,36px);box-shadow:0 30px 80px -20px rgba(20,17,15,.45);outline:none;overscroll-behavior:contain}
#coe-consent .coe-consent__view[data-view="settings"]{--coe-box-max:720px}
#coe-consent .coe-consent__box:has(.coe-consent__view[data-view="settings"]:not([hidden])){max-width:720px}
#coe-consent.coe-consent--frame .coe-consent__box::before{content:"";position:absolute;inset:-10px;border:1px solid var(--coe-accent,#C68A2E);border-radius:var(--coe-radius,2px);transform:translate(8px,8px);pointer-events:none;z-index:-1}
#coe-consent.coe-consent--frame .coe-consent__box{overflow:visible}
#coe-consent.coe-consent--frame .coe-consent__box>.coe-consent__view{max-height:calc(min(90vh,90dvh) - 2*clamp(22px,4vw,36px));overflow:auto;overscroll-behavior:contain}
#coe-consent.coe-consent[data-position="bottom"]{align-items:flex-end}
#coe-consent.coe-consent[data-position="bottom-left"]{align-items:flex-end;justify-content:flex-start}
#coe-consent.coe-consent[data-position="bottom-right"]{align-items:flex-end;justify-content:flex-end}
#coe-consent.coe-consent[data-position^="bottom-"] .coe-consent__box{max-width:440px}
#coe-consent.coe-consent[data-position="bottom"] .coe-consent__box{max-width:960px}
#coe-consent .coe-consent__close{position:absolute;top:8px;right:8px;width:44px;height:44px;padding:0;margin:0;border:0;box-shadow:none;background:transparent;background-image:none;color:var(--coe-muted,#6B655C);font-size:26px;line-height:1;cursor:pointer;border-radius:var(--coe-radius,2px)}
#coe-consent .coe-consent__close:hover,#coe-consent .coe-consent__close:focus-visible{color:var(--coe-text);outline:2px solid var(--coe-accent);outline-offset:2px}
#coe-consent .coe-consent__title{margin:0 0 10px;padding:0;font-family:inherit;text-transform:none;letter-spacing:-.01em;font-size:1.35em;line-height:1.25;font-weight:600;color:var(--coe-text,#14110F);letter-spacing:-.01em}
#coe-consent .coe-consent__desc p{margin:0 0 6px;padding:0;font-size:1em;line-height:1.5;color:var(--coe-text)}
#coe-consent p,#coe-consent dl,#coe-consent dd,#coe-consent dt{font-family:inherit;font-size:inherit}
#coe-consent input[type=checkbox].coe-switch{margin:0}
#coe-consent .coe-consent__desc{margin-bottom:20px;color:var(--coe-text)}
#coe-consent .coe-consent__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
#coe-consent .coe-btn{appearance:none;-webkit-appearance:none;text-transform:none;letter-spacing:normal;box-shadow:none;background-image:none;margin:0;width:auto;display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;font:inherit;font-weight:600;font-size:.95em;line-height:1.2;border-radius:var(--coe-radius,2px);border:1px solid transparent;cursor:pointer;text-decoration:none;transition:background .15s,color .15s,border-color .15s;box-sizing:border-box}
#coe-consent .coe-btn:focus-visible{outline:2px solid var(--coe-accent);outline-offset:2px}
#coe-consent .coe-btn--primary{background:var(--coe-accent,#C68A2E);color:var(--coe-accent-text,#14110F);border-color:var(--coe-accent,#C68A2E)}
#coe-consent .coe-btn--primary:hover{filter:brightness(1.08)}
#coe-consent .coe-btn--secondary{background:transparent;color:var(--coe-text);border-color:currentColor}
#coe-consent .coe-btn--secondary:hover{background:rgba(20,17,15,.06)}
#coe-consent .coe-btn--ghost{background:transparent;color:var(--coe-muted,#6B655C);padding:0 12px;text-decoration:underline;text-underline-offset:3px}
#coe-consent .coe-btn--ghost:hover{color:var(--coe-text)}
#coe-consent .coe-consent__legal{margin:18px 0 0;font-size:.85em;color:var(--coe-muted,#6B655C)}
#coe-consent .coe-consent__legal a{color:inherit;text-decoration:underline;text-underline-offset:3px}
#coe-consent .coe-consent__legal a:hover{color:var(--coe-text)}
#coe-consent .coe-consent__cats{border-top:1px solid rgba(20,17,15,.14);margin:0 0 18px}
#coe-consent .coe-cat{padding:14px 0;border-bottom:1px solid rgba(20,17,15,.14)}
#coe-consent .coe-cat__head{display:flex;align-items:center;justify-content:space-between;gap:14px}
#coe-consent .coe-cat__label{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;cursor:pointer;min-width:0}
#coe-consent .coe-cat__name{font-weight:600}
#coe-consent .coe-cat__always{font-size:.78em;letter-spacing:.06em;text-transform:uppercase;color:var(--coe-muted,#6B655C)}
#coe-consent .coe-cat__desc{margin:6px 0 0;font-size:.92em;color:var(--coe-muted,#6B655C)}
#coe-consent .coe-cat__toggle{appearance:none;-webkit-appearance:none;background:none;background-image:none;border:0;border-radius:0;box-shadow:none;text-transform:none;letter-spacing:normal;width:auto;padding:6px 0;margin-top:4px;min-height:32px;font:inherit;font-size:.85em;color:var(--coe-text);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#coe-consent .coe-cat__toggle:focus-visible{outline:2px solid var(--coe-accent);outline-offset:2px}
#coe-consent .coe-cat__services{margin-top:8px;display:grid;gap:8px}
#coe-consent .coe-svc{padding:10px 12px;background:rgba(20,17,15,.04);border-radius:var(--coe-radius,2px);font-size:.88em}
#coe-consent .coe-svc__name{font-weight:600;margin-bottom:4px}
#coe-consent .coe-svc__meta{display:grid;grid-template-columns:max-content 1fr;gap:2px 12px;margin:0}
#coe-consent .coe-svc__meta dt{color:var(--coe-muted,#6B655C)}
#coe-consent .coe-svc__meta dd{margin:0;overflow-wrap:anywhere}
#coe-consent .coe-svc__meta a{color:var(--coe-text)}
#coe-consent .coe-switch{appearance:none;-webkit-appearance:none;box-shadow:none;outline-offset:0;flex:0 0 auto;width:46px;height:26px;margin:0;border-radius:13px;background:rgba(20,17,15,.22);position:relative;cursor:pointer;transition:background .15s;border:0}
#coe-consent .coe-switch::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .15s}
#coe-consent .coe-switch:checked{background:var(--coe-accent,#C68A2E)}
#coe-consent .coe-switch:checked::after{transform:translateX(20px)}
#coe-consent .coe-switch:disabled{opacity:.55;cursor:not-allowed}
#coe-consent .coe-switch:focus-visible{outline:2px solid var(--coe-accent);outline-offset:2px}
@media (max-width:600px){
#coe-consent.coe-consent{padding:0;align-items:flex-end!important;justify-content:center!important}
#coe-consent .coe-consent__box{max-width:none!important;max-height:min(92vh,92dvh);border-radius:var(--coe-radius,2px) var(--coe-radius,2px) 0 0}
#coe-consent.coe-consent--frame .coe-consent__box::before{display:none}
#coe-consent.coe-consent--frame .coe-consent__box{overflow:auto}
#coe-consent.coe-consent--frame .coe-consent__box>.coe-consent__view{max-height:none;overflow:visible}
#coe-consent .coe-consent__actions{flex-direction:column}
#coe-consent .coe-btn{width:100%}
}
@media (prefers-reduced-motion:reduce){.coe-btn,.coe-switch,.coe-switch::after{transition:none}}

/* Content-Blocker */
.coe-cb{position:relative;display:flex;align-items:center;justify-content:center;width:100%;max-width:100%;min-height:200px;box-sizing:border-box;background:#14110F;color:#F3EFE7;border-radius:var(--coe-radius,2px);overflow:hidden;font-size:var(--coe-font-size,15px);line-height:1.5}
.coe-cb__inner{padding:clamp(18px,4vw,32px);text-align:center;max-width:520px}
.coe-cb__title{margin:0 0 6px;font-weight:600;font-size:1.1em;color:#F3EFE7}
.coe-cb__text{margin:0 0 16px;font-size:.9em;color:rgba(243,239,231,.78)}
.coe-cb__text a{color:#F3EFE7}
.coe-cb .coe-cb__btn{appearance:none;-webkit-appearance:none;text-transform:none;letter-spacing:normal;box-shadow:none;background-image:none;margin:0;width:auto;min-height:46px;padding:0 22px;border:0;border-radius:var(--coe-radius,2px);background:var(--coe-accent,#C68A2E);color:var(--coe-accent-text,#14110F);font:inherit;font-weight:600;cursor:pointer}
.coe-cb .coe-cb__btn:hover{filter:brightness(1.08)}
.coe-cb .coe-cb__btn:focus-visible{outline:2px solid #F3EFE7;outline-offset:2px}
.coe-cb__always{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;font-size:.82em;color:rgba(243,239,231,.78);cursor:pointer}
.coe-cb__always input{width:16px;height:16px;margin:0;accent-color:var(--coe-accent,#C68A2E)}
.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper>.coe-cb{position:absolute;inset:0;height:100%;aspect-ratio:auto;min-height:0}

.coe-cb-modal{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(20,17,15,.6)}
.coe-cb-modal[hidden]{display:none!important}
.coe-cb-modal .coe-cb--modal{width:100%;max-width:520px;min-height:0;box-shadow:0 30px 80px -20px rgba(20,17,15,.6)}
.coe-cb .coe-cb__btn--ghost{background:transparent;color:#F3EFE7;border:1px solid rgba(243,239,231,.4);margin-left:8px}
.coe-cb .coe-cb__btn--ghost:hover{filter:none;background:rgba(243,239,231,.1)}

/* Widget */
html body .coe-consent-widget{position:fixed;margin:0;box-shadow:0 8px 24px -8px rgba(20,17,15,.6);background-image:none;left:18px;bottom:18px;z-index:2147482000;width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(243,239,231,.18);border-radius:50%;background:#14110F;color:#F3EFE7;cursor:pointer;box-shadow:0 8px 24px -8px rgba(20,17,15,.6);transition:transform .15s;padding:0}
html body .coe-consent-widget:hover{transform:translateY(-2px)}
html body .coe-consent-widget:focus-visible{outline:2px solid var(--coe-accent,#C68A2E);outline-offset:2px}
.coe-consent-open .coe-consent-widget{display:none}
@media print{.coe-consent,.coe-consent-widget{display:none!important}}

/* Dienste-Tabelle (Shortcode) */
.coe-services__table{width:100%;border-collapse:collapse;font-size:.9em;margin:0 0 1.5em}
.coe-services__table th,.coe-services__table td{text-align:left;vertical-align:top;padding:8px 10px;border-bottom:1px solid rgba(20,17,15,.14)}
.coe-services__table th{font-weight:600}
@media (max-width:700px){.coe-services__table{display:block;overflow-x:auto}}

/* Consent-Status (Shortcode) */
.coe-status{padding:16px 18px;border:1px solid rgba(20,17,15,.14);border-radius:var(--coe-radius,2px);font-size:.95em}
.coe-status__list{display:grid;grid-template-columns:max-content 1fr;gap:4px 16px;margin:0 0 12px}
.coe-status__list dd{margin:0;overflow-wrap:anywhere}
.coe-status__actions{margin:0}
/* Social-Feed-Platzhalter (Smash Balloon): helle Karte, bleibt beim Scrollen im Blick */
.coe-feed-locked{position:relative!important}
.coe-feed-locked>*:not(.coe-cb--feed){filter:blur(6px) saturate(.7);pointer-events:none;user-select:none}
.coe-cb.coe-cb--feed{position:absolute;inset:0;z-index:20;display:block;min-height:0;padding:24px 16px;background:rgba(243,239,231,.45);border-radius:0}
.coe-cb.coe-cb--feed .coe-cb__inner{position:absolute;left:50%;top:24px;transform:translateX(-50%);width:calc(100% - 32px);max-width:440px;transition:top .15s ease-out;padding:30px 28px 22px;background:#fff;color:#14110F;border-radius:14px;box-shadow:0 24px 60px -24px rgba(20,17,15,.55),0 0 0 1px rgba(20,17,15,.06);text-align:center}
.coe-cb.coe-cb--feed .coe-cb__icon{display:flex;align-items:center;justify-content:center;width:56px;height:56px;margin:0 auto 14px;border-radius:50%;background:var(--coe-accent,#C68A2E);color:#fff}
.coe-cb.coe-cb--feed .coe-cb__icon svg{width:28px;height:28px}
.coe-cb.coe-cb--feed .coe-cb__title{color:#14110F;font-size:1.2em;margin-bottom:8px}
.coe-cb.coe-cb--feed .coe-cb__text{color:rgba(20,17,15,.72);margin-bottom:18px}
.coe-cb.coe-cb--feed .coe-cb__btn{width:100%;padding:13px 18px;border-radius:8px}
.coe-cb.coe-cb--feed .coe-cb__always{color:rgba(20,17,15,.72);margin-top:14px}
.coe-cb.coe-cb--feed .coe-cb__always input{width:18px;height:18px}
@media (max-width:600px){.coe-cb.coe-cb--feed{padding:16px 10px}.coe-cb.coe-cb--feed .coe-cb__inner{padding:22px 18px 18px}}
