/* DOLGE Cookie-Einwilligung: Banner und Platzhalter für externe Inhalte */
.dc { --dc-navy: #262257; --dc-blue: #14448b; --dc-ink: #121c22; --dc-text: #4a4f57; --dc-line: rgba(38, 34, 87, .1); --dc-ease: cubic-bezier(.23, 1, .32, 1);
	position: fixed; z-index: 1000; left: 24px; bottom: 24px; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); display: flex;
	font: 400 14.5px/1.55 'Roboto', system-ui, sans-serif; color: var(--dc-text);
	opacity: 0; transform: translateY(12px); transition: opacity .15s ease, transform .15s ease; }
.dc.is-visible { opacity: 1; transform: none; transition: opacity .3s var(--dc-ease), transform .4s var(--dc-ease); }
.dc[hidden] { display: none; }
.dc__card { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 24px; background: #fff; border-radius: 18px; border: 1px solid var(--dc-line);
	box-shadow: 0 1px 2px rgba(18, 28, 34, .06), 0 24px 60px -16px rgba(38, 34, 87, .45); }
.dc .dc__title { margin: 0 0 8px; font: 600 19px/1.25 Helvetica, Arial, sans-serif; color: var(--dc-ink); }
.dc__text { margin: 0 0 18px; }
.dc__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.dc__btn, .dc .dc__btn, .dc-embed .dc__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border-radius: 50px; cursor: pointer;
	font: 600 15px/1.2 'Open Sans', system-ui, sans-serif; color: var(--dc-navy, #262257); background: #fff; border: 1.5px solid rgba(38, 34, 87, .22);
	box-shadow: none; text-transform: none; letter-spacing: 0; transition: transform .16s cubic-bezier(.23, 1, .32, 1), background-color .2s ease, border-color .2s ease; }
.dc__btn:active { transform: scale(.97); }
.dc__btn--primary, .dc .dc__btn--primary { color: #fff; background: #262257; border-color: #262257; }
@media (hover: hover) and (pointer: fine) {
	.dc__btn:hover { border-color: #262257; background: #f6f6f6; color: #262257; }
	.dc__btn--primary:hover { background: #14448b; border-color: #14448b; color: #fff; }
}

.dc__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; }
.dc .dc__link { padding: 0; border: 0; background: none; box-shadow: none; cursor: pointer; font: 500 13.5px/1.4 'Open Sans', system-ui, sans-serif; color: var(--dc-blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(20, 68, 139, .35); }
.dc .dc__link:hover { color: var(--dc-navy); background: none; text-decoration-color: currentColor; }

.dc__cats { display: grid; gap: 4px; margin: 12px 0 18px; }
.dc__cat { padding: 12px 0; border-bottom: 1px solid var(--dc-line); }
.dc__cat:last-child { border-bottom: 0; }
.dc__switch { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.dc__switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dc__toggle { position: relative; flex: none; width: 40px; height: 24px; border-radius: 24px; background: #d5d7de; transition: background-color .2s ease; }
.dc__toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .22s var(--dc-ease); }
.dc__switch input:checked + .dc__toggle { background: var(--dc-blue); }
.dc__switch input:checked + .dc__toggle::after { transform: translateX(16px); }
.dc__switch input:disabled + .dc__toggle { opacity: .55; }
.dc__switch input:focus-visible + .dc__toggle { outline: 2px solid var(--dc-blue); outline-offset: 2px; }
.dc__cat-label { font: 600 15px/1.3 'Open Sans', system-ui, sans-serif; color: var(--dc-ink); }
.dc__cat-text { margin: 6px 0 4px 52px; font-size: 13.5px; }
.dc__details { margin-left: 52px; font-size: 13px; }
.dc__details summary { cursor: pointer; color: var(--dc-blue); font-weight: 500; }
.dc__details ul { margin: 6px 0 0; padding-left: 18px; list-style: disc; }

@media (max-width: 600px) {
	.dc { left: 8px; right: 8px; bottom: 8px; width: auto; }
	.dc__card { padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); border-radius: 16px; }
	.dc__actions { grid-template-columns: 1fr; }
}

/* Footer-Link */
.site-footer .site-footer__consent { padding: 0; border: 0; background: none; box-shadow: none; font: inherit; color: inherit; cursor: pointer; }
.site-footer .site-footer__consent:hover { color: #14448b; background: none; }

/* Platzhalter für externe Inhalte */
.dc-embed { position: relative; width: 100%; }
.dc-embed--video { aspect-ratio: 16 / 9; }
.dc-embed--calendly { min-height: 420px; }
.dc-embed__ph { display: flex; flex-direction: column; justify-content: center; gap: 4px; height: 100%; min-height: 220px; padding: 28px; border-radius: 14px;
	background: linear-gradient(135deg, #262257, #14448b); color: rgba(255, 255, 255, .85); font: 400 14.5px/1.5 'Roboto', system-ui, sans-serif; }
.dc-embed--calendly .dc-embed__ph { min-height: 420px; }
.dc-embed .dc-embed__title { margin: 0; font: 600 20px/1.25 Helvetica, Arial, sans-serif; color: #fff; }
.dc-embed__text { margin: 0 0 14px; max-width: 52ch; }
.dc-embed .dc-embed__text a { color: #fff; text-decoration: underline; }
.dc-embed .dc-embed__text a:hover { color: #fff; opacity: .8; }
.dc-embed__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.dc-embed .dc__btn--primary { background: #fff; border-color: #fff; color: #262257; }
.dc-embed .dc__btn--primary:hover { background: #f6f6f6; border-color: #f6f6f6; color: #262257; }
.dc-embed__always { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; }
.dc-embed__always input { width: 16px; height: 16px; accent-color: #fff; }
.dc-embed--chatbot { position: fixed; z-index: 900; right: 20px; bottom: 20px; width: min(360px, calc(100vw - 40px)); }
.dc-embed--chatbot .dc-embed__ph { min-height: 0; padding: 20px; box-shadow: 0 18px 40px -12px rgba(38, 34, 87, .5); }

/* Videos aus alten Lyte-Links */
.video-embed { margin: 1.5em 0; aspect-ratio: 16 / 9; }
.video-embed iframe { width: 100%; height: 100%; border: 0; border-radius: 14px; }

@media (prefers-reduced-motion: reduce) { .dc, .dc.is-visible { transform: none; transition: opacity .2s ease; } }
