/* RMH Cookie Consent – Roffler Mediahouse – https://roffler-mediahouse.ch/ */
.rmh-cc, .rmh-cc-float, .rmh-cc-embed {
	--rmh-cc-bg: #fff;
	--rmh-cc-fg: #1a1a1a;
	--rmh-cc-muted: #555;
	--rmh-cc-line: rgba(0, 0, 0, .12);
	--rmh-cc-radius: 14px;
	box-sizing: border-box;
}
.rmh-cc *, .rmh-cc *::before, .rmh-cc *::after { box-sizing: inherit; }
.rmh-cc[hidden], .rmh-cc-float[hidden], .rmh-cc [hidden] { display: none !important; }

.rmh-cc {
	position: fixed;
	z-index: 2147483000;
	inset: auto 1rem 1rem 1rem;
	font-size: 15px;
	line-height: 1.5;
	color: var(--rmh-cc-fg);
	text-align: left;
	letter-spacing: normal;
	text-transform: none;
}
.rmh-cc--box { max-width: 440px; right: auto; }
.rmh-cc__panel {
	background: var(--rmh-cc-bg);
	border: 1px solid var(--rmh-cc-line);
	border-radius: var(--rmh-cc-radius);
	box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
	padding: 1.4rem 1.4rem 1.2rem;
	max-height: calc(100vh - 2rem);
	overflow: auto;
	animation: rmh-cc-in .35s cubic-bezier(.2, .8, .2, 1);
}
.rmh-cc--bar .rmh-cc__panel { max-width: 1100px; margin-inline: auto; }
@keyframes rmh-cc-in { from { transform: translateY(16px); } }

.rmh-cc__title { margin: 0 0 .5rem; font-size: 1.15rem; line-height: 1.25; font-weight: 700; color: inherit; font-family: inherit; text-transform: none; letter-spacing: normal; }
.rmh-cc__title:focus { outline: none; }
.rmh-cc__text { margin: 0 0 .6rem; color: var(--rmh-cc-muted); }
.rmh-cc__links { margin: 0 0 1rem; font-size: .875rem; }
.rmh-cc a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }

.rmh-cc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.rmh-cc__btn {
	flex: 1 1 auto;
	min-height: 44px;
	padding: .65rem 1.1rem;
	border: 2px solid var(--rmh-cc-accent, #1a1a1a);
	border-radius: 999px;
	background: var(--rmh-cc-accent, #1a1a1a);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: filter .15s;
}
.rmh-cc__btn:hover { filter: brightness(1.15); }
.rmh-cc__link {
	flex: 1 0 100%;
	padding: .3rem;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-size: .9rem;
	text-decoration: underline;
	text-underline-offset: .2em;
	cursor: pointer;
}
.rmh-cc button:focus-visible, .rmh-cc a:focus-visible, .rmh-cc summary:focus-visible, .rmh-cc input:focus-visible,
.rmh-cc-float:focus-visible, .rmh-cc-embed__btn:focus-visible {
	outline: 3px solid var(--rmh-cc-accent, #1a1a1a);
	outline-offset: 2px;
}

.rmh-cc__cats { list-style: none; margin: 0 0 1rem; padding: 0; }
.rmh-cc__cat { padding: .8rem 0; border-top: 1px solid var(--rmh-cc-line); margin: 0; }
.rmh-cc__toggle { display: flex; align-items: center; gap: .7rem; cursor: pointer; font-weight: 600; }
.rmh-cc__switch {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	position: relative;
	width: 42px;
	height: 24px;
	margin: 0;
	border-radius: 999px;
	background: #c4c4c4;
	cursor: pointer;
	transition: background .2s;
}
.rmh-cc__switch::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	transition: transform .2s;
}
.rmh-cc__switch:checked { background: var(--rmh-cc-accent, #1a1a1a); }
.rmh-cc__switch:checked::after { transform: translateX(18px); }
.rmh-cc__switch:disabled { opacity: .55; cursor: not-allowed; }
.rmh-cc__cat-desc { margin: .35rem 0 0; font-size: .875rem; color: var(--rmh-cc-muted); }
.rmh-cc__services { margin-top: .35rem; font-size: .85rem; }
.rmh-cc__services summary { cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.rmh-cc__services ul { margin: .4rem 0 0; padding-left: 1.1rem; }

.rmh-cc-float {
	position: fixed;
	z-index: 2147482999;
	left: 1rem;
	bottom: 1rem;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--rmh-cc-accent, #1a1a1a);
	color: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
	cursor: pointer;
	opacity: .85;
	transition: opacity .15s, transform .15s;
}
.rmh-cc-float:hover { opacity: 1; transform: scale(1.06); }

.rmh-cc-embed { position: relative; }
.rmh-cc-embed:not(.is-loaded) { min-height: 220px; background: #eceae6; border-radius: 8px; }
.rmh-cc-embed:not(.is-loaded) iframe { visibility: hidden; }
.rmh-cc-embed__ph {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .8rem;
	padding: 1.2rem;
	text-align: center;
	font-size: .9rem;
	color: #1a1a1a;
}
.rmh-cc-embed__ph p { margin: 0; max-width: 46ch; }
.rmh-cc-embed__btn, .rmh-cc-open-btn {
	padding: .6rem 1.2rem;
	border: 0;
	border-radius: 999px;
	background: #1a1a1a;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.rmh-cc-embed.is-loaded .rmh-cc-embed__ph { display: none; }

@media (max-width: 520px) {
	.rmh-cc { inset: auto .5rem .5rem .5rem; }
	.rmh-cc--box { max-width: none; right: .5rem; }
	.rmh-cc__panel { padding: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
	.rmh-cc__panel { animation: none; }
	.rmh-cc__switch, .rmh-cc__switch::after, .rmh-cc-float { transition: none; }
}
