/* RMH Ortsuche: Farben, Radius und Schriften aus Entwurf B. Rot nur fuer die Handlung "Anrufen".
 * Ohne Skript steht .rmh-os__ohnejs (Link "Alle Einsatzorte" und Telefon) statt der Suche; .rmh-os--js setzt das Skript. */
.elementor-widget-rmh-ortsuche,
.elementor-widget-rmh-ortsuche > .elementor-widget-container {
	width: 100%;
	max-width: none;
}
.rmh-os {
	--rmh-os-nacht: #1c2125;
	--rmh-os-schiefer: #262c31;
	--rmh-os-anthrazit: #383e42;
	--rmh-os-text: #ebe9e2;
	--rmh-os-leise: #b0b7bd;
	--rmh-os-linie: #4a5257;
	--rmh-os-licht: #f2b544;
	--rmh-os-signal: #c9241d;
	--rmh-os-signal-hell: #dc2f26;
	--rmh-os-radius: 3px;
	position: relative;
	box-sizing: border-box;
	width: 100%;
	padding: 96px 0 112px;
	background:
		repeating-linear-gradient(180deg, rgb(255 255 255 / 0.022) 0 1px, transparent 1px 44px),
		var(--rmh-os-nacht);
	color: var(--rmh-os-text);
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
	font-size: 1.0625rem;
	line-height: 1.6;
}
.rmh-os *,
.rmh-os *::before,
.rmh-os *::after { box-sizing: border-box; }
.rmh-os [hidden] { display: none !important; }
.rmh-os__innen {
	width: min(100% - 2 * clamp(20px, 5vw, 64px), 1240px);
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	column-gap: clamp(32px, 6vw, 96px);
	grid-template-rows: auto auto 1fr;
	align-items: start;
}
.rmh-os__schlitz {
	grid-column: 1 / -1;
	display: block;
	width: 100%;
	height: 2px;
	margin-bottom: 40px;
	background: repeating-linear-gradient(90deg, rgb(242 181 68 / 0.45) 0 9px, transparent 9px 21px);
}
.rmh-os .rmh-os__titel {
	grid-column: 1;
	margin: 0;
	font-family: "Saira Condensed", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: clamp(2.1rem, 4.2vw, 3.6rem);
	line-height: 1.02;
	letter-spacing: -0.01em;
	text-transform: none;
	text-wrap: balance;
	color: var(--rmh-os-text);
}
.rmh-os .rmh-os__text {
	grid-column: 1;
	margin: 18px 0 0;
	max-width: 44ch;
	color: var(--rmh-os-leise);
	text-wrap: pretty;
}
.rmh-os__suche,
.rmh-os__ohnejs {
	grid-column: 2;
	grid-row: 2 / span 2;
	min-width: 0;
}
.rmh-os__ohnejs-text { margin: 0; color: var(--rmh-os-leise); }
.rmh-os__aktionen-ohnejs { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.rmh-os__textlink,
.rmh-os__ortlink {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--rmh-os-licht);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1.5px;
}
.rmh-os__textlink:hover,
.rmh-os__ortlink:hover { color: #ffd27a; }

/* Mit Skript: Suche zeigen, Ersatz ausblenden. Ohne Skript bleibt es umgekehrt. */
.rmh-os:not(.rmh-os--js) .rmh-os__suche { display: none; }
.rmh-os.rmh-os--js .rmh-os__ohnejs { display: none; }

.rmh-os__label {
	display: block;
	margin: 0 0 8px;
	font-weight: 600;
	color: var(--rmh-os-text);
}
.rmh-os__zeile { display: flex; gap: 10px; align-items: stretch; }
.rmh-os__feld { position: relative; flex: 1 1 auto; min-width: 0; }
.rmh-os .rmh-os__eingabe {
	display: block;
	width: 100%;
	min-height: 56px;
	margin: 0;
	padding: 12px 16px;
	font: inherit;
	font-size: 1.0625rem;
	color: var(--rmh-os-text);
	background: var(--rmh-os-schiefer);
	border: 1.5px solid var(--rmh-os-linie);
	border-radius: var(--rmh-os-radius);
	box-shadow: none;
	appearance: none;
	transition: border-color 160ms ease;
}
.rmh-os__eingabe::placeholder { color: #8d969c; opacity: 1; }
.rmh-os__eingabe:hover { border-color: #8d969c; }
.rmh-os__eingabe:focus { border-color: var(--rmh-os-licht); }
.rmh-os__eingabe:focus-visible,
.rmh-os__pruefen:focus-visible,
.rmh-os__knopf:focus-visible,
.rmh-os__ortlink:focus-visible,
.rmh-os__textlink:focus-visible {
	outline: 2px solid #f2b544;
	outline-offset: 3px;
}
.rmh-os button.rmh-os__pruefen {
	flex: none;
	min-height: 56px;
	padding: 12px 22px;
	font: inherit;
	font-weight: 600;
	color: var(--rmh-os-text);
	background: var(--rmh-os-anthrazit);
	border: 0;
	border-radius: var(--rmh-os-radius);
	box-shadow: inset 0 0 0 1.5px var(--rmh-os-linie);
	cursor: pointer;
	transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 180ms ease;
}
.rmh-os button.rmh-os__pruefen:hover,
.rmh-os button.rmh-os__pruefen:focus,
.rmh-os button.rmh-os__pruefen:active {
	color: var(--rmh-os-text);
	background: #4a5257;
	box-shadow: inset 0 0 0 1.5px var(--rmh-os-licht);
}
.rmh-os button.rmh-os__pruefen:focus-visible { outline: 2px solid #f2b544; outline-offset: 3px; }
.rmh-os button.rmh-os__pruefen:active { transform: scale(0.97); }

.rmh-os__liste {
	position: relative;
	margin: 8px 0 0;
	padding: 4px 0;
	list-style: none;
	max-height: 400px;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--rmh-os-schiefer);
	border: 1.5px solid var(--rmh-os-linie);
	border-radius: var(--rmh-os-radius);
}
.rmh-os__option {
	display: flex;
	align-items: center;
	min-height: 48px;
	margin: 0;
	padding: 8px 16px 8px 13px;
	border-left: 3px solid transparent;
	color: var(--rmh-os-text);
	cursor: pointer;
}
.rmh-os__option[aria-selected="true"] {
	background: var(--rmh-os-anthrazit);
	border-left-color: var(--rmh-os-licht);
}

.rmh-os__ergebnis:not(:empty) {
	margin: 24px 0 0;
	font-family: "Saira Condensed", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	line-height: 1.12;
	text-wrap: balance;
	color: var(--rmh-os-text);
}
.rmh-os__aktionen {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 14px;
	margin-top: 18px;
}
.rmh-os .rmh-os__knopf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 12px 22px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	border-radius: var(--rmh-os-radius);
	white-space: nowrap;
	transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), background-color 180ms ease, box-shadow 180ms ease;
}
.rmh-os__knopf:active { transform: scale(0.97); }
.rmh-os__symbol { flex: none; }
.rmh-os .rmh-os__tel { background: var(--rmh-os-signal); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 2px 6px rgb(8 10 12 / 0.4); }
.rmh-os .rmh-os__tel:hover,
.rmh-os .rmh-os__tel:focus,
.rmh-os .rmh-os__tel:active { background: var(--rmh-os-signal-hell); color: #fff; }
.rmh-os .rmh-os__wa { background: rgb(28 33 37 / 0.35); color: var(--rmh-os-text); box-shadow: inset 0 0 0 1.5px #8d969c; }
.rmh-os .rmh-os__wa:hover,
.rmh-os .rmh-os__wa:focus,
.rmh-os .rmh-os__wa:active { background: rgb(28 33 37 / 0.35); color: var(--rmh-os-text); box-shadow: inset 0 0 0 1.5px var(--rmh-os-licht); }
.rmh-os__ortlink { flex: 1 0 100%; }

@media (max-width: 1024px) {
	.rmh-os__innen { grid-template-columns: minmax(0, 1fr); }
	.rmh-os .rmh-os__titel,
	.rmh-os .rmh-os__text,
	.rmh-os__suche,
	.rmh-os__ohnejs { grid-column: 1; grid-row: auto; }
	.rmh-os__suche,
	.rmh-os__ohnejs { margin-top: 32px; }
}
@media (max-width: 767px) {
	.rmh-os { padding: 64px 0 80px; }
	.rmh-os__schlitz { margin-bottom: 28px; }
	.rmh-os__knopf { flex: 1 1 100%; }
	.rmh-os__pruefen { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.rmh-os__pruefen,
	.rmh-os__knopf { transition: none; }
}
