/* Cookiebanner – IT Langschwert – Optik im Stil von CookieYes, Akzentfarbe über Einstellungen */
:root { --fkc-accent: #325074; --fkc-accent-dark: #022444; --fkc-text: #1f2937; --fkc-muted: #4b5563; }

.fkc-banner, .fkc-modal, .fkc-revisit, .fkc-map { font-family: inherit; color: var(--fkc-text); box-sizing: border-box; }
.fkc-banner *, .fkc-modal * { box-sizing: border-box; }

.fkc-banner {
	position: fixed; z-index: 99999; left: 24px; bottom: 24px; max-width: 440px; width: calc(100% - 48px);
	background: #fff; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.18); padding: 22px 22px 18px;
	transform: translateY(20px); opacity: 0; visibility: hidden; transition: all .25s ease;
}
.fkc-banner.fkc-show { transform: none; opacity: 1; visibility: visible; }
.fkc-title { font-size: 18px; font-weight: 700; margin: 0 0 8px; line-height: 1.3; color: var(--fkc-text); }
.fkc-banner p, .fkc-modal p { font-size: 14px; line-height: 1.55; margin: 0 0 14px; color: var(--fkc-muted); }
.fkc-banner a, .fkc-modal a { color: var(--fkc-accent); text-decoration: underline; }

.fkc-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.fkc-btn {
	font: inherit; font-size: 14px; font-weight: 600; line-height: 1; padding: 11px 16px; border-radius: 6px; cursor: pointer;
	border: 2px solid var(--fkc-accent); transition: background .15s, color .15s; text-transform: none; letter-spacing: 0;
}
.fkc-btn-primary { background: var(--fkc-accent); color: #fff; }
.fkc-btn-primary:hover, .fkc-btn-primary:focus { background: var(--fkc-accent-dark); border-color: var(--fkc-accent-dark); color: #fff; }
.fkc-btn-ghost { background: #fff; color: var(--fkc-accent); }
.fkc-btn-ghost:hover, .fkc-btn-ghost:focus { background: #eef3f9; color: var(--fkc-accent-dark); }

.fkc-modal {
	position: fixed; inset: 0; z-index: 100000; background: rgba(17,24,39,.55); display: flex; align-items: center; justify-content: center;
	padding: 16px; opacity: 0; visibility: hidden; transition: opacity .2s ease;
}
.fkc-modal.fkc-show { opacity: 1; visibility: visible; }
.fkc-modal-box { position: relative; background: #fff; border-radius: 10px; max-width: 560px; width: 100%; max-height: 90vh; overflow: auto; padding: 26px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.fkc-x { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 28px; line-height: 1; color: var(--fkc-muted); cursor: pointer; padding: 4px 8px; }
.fkc-cat { border: 1px solid #e5e7eb; border-radius: 8px; padding: 14px 16px 2px; margin: 0 0 12px; }
.fkc-cat-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font-size: 15px; }
.fkc-always { font-size: 13px; font-weight: 600; color: #15803d; }

.fkc-switch { position: relative; display: inline-block; width: 44px; height: 24px; margin: 0; }
.fkc-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.fkc-switch span { position: absolute; inset: 0; background: #9ca3af; border-radius: 24px; cursor: pointer; transition: background .2s; }
.fkc-switch span::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s; }
.fkc-switch input:checked + span { background: var(--fkc-accent); }
.fkc-switch input:checked + span::before { transform: translateX(20px); }
.fkc-switch input:focus-visible + span { outline: 2px solid var(--fkc-accent); outline-offset: 2px; }

.fkc-revisit {
	position: fixed; z-index: 99998; left: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
	background: #fff; color: inherit; display: none; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.22); padding: 0; transition: transform .2s ease, box-shadow .2s ease;
}
.fkc-revisit.fkc-show { display: flex; }
.fkc-revisit:hover, .fkc-revisit:focus-visible { transform: rotate(-15deg) scale(1.08); box-shadow: 0 6px 18px rgba(0,0,0,.28); outline: 2px solid var(--fkc-accent); outline-offset: 2px; }

.fkc-map { display: flex; align-items: center; justify-content: center; width: 100%; background: #eef2f5 linear-gradient(135deg,#eef2f5 0%,#dfe7ec 100%); border-radius: 6px; padding: 20px; text-align: center; }
.fkc-map-inner { max-width: 440px; }
.fkc-map strong { display: block; font-size: 17px; margin-bottom: 6px; color: var(--fkc-text); }
.fkc-map p { font-size: 14px; line-height: 1.5; color: var(--fkc-muted); margin: 0 0 12px; }
.fkc-map .fkc-btn { margin: 4px 2px; }
.fkc-map .fkc-small { margin-top: 10px; font-size: 13px; }
.fkc-map a { color: var(--fkc-accent); }

@media (max-width: 520px) {
	.fkc-banner { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; padding: 18px; }
	.fkc-actions .fkc-btn { flex: 1 1 100%; }
	.fkc-banner.fkc-show ~ .fkc-revisit { display: none; }
}
