/* =========================================================
   Rosenherz - Theme
   Design "Rosengarten" fuer Rosen-Herz, Bad Oldesloe.
   Farben kommen als CSS-Variablen aus dem Customizer
   (siehe inc/customizer.php), hier stehen nur Rueckfallwerte.
   ========================================================= */

:root {
	--rh-navy: #002365;
	--rh-rose: #C0141B;
	--rh-sand: #F1E6D3;
	--rh-creme: #FAF5EC;
	--rh-navy-tief: #101F3D;
	--rh-linie: #D3C0A0;
	--rh-weiss: #FFFFFF;
	--rh-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--rh-sans: "Atkinson Hyperlegible", Verdana, system-ui, sans-serif;
	--rh-wrap: 1180px;
	--rh-bottomnav-hoehe: 76px;
}

/* ---------- Grundlagen ---------- */
body {
	background: var(--rh-creme);
	color: var(--rh-navy-tief);
	font-family: var(--rh-sans);
	font-size: 20px;
	line-height: 1.65;
}

body h1, body h2, body h3, body h4,
.entry-content h1, .entry-content h2, .entry-content h3 {
	font-family: var(--rh-serif);
	color: var(--rh-navy);
	line-height: 1.15;
	font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.38rem; }

p { max-width: 64ch; }

a { color: var(--rh-navy); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 4px solid var(--rh-rose);
	outline-offset: 3px;
	border-radius: 6px;
}

.rh-wrap {
	max-width: var(--rh-wrap);
	margin: 0 auto;
	padding: 0 28px;
}

/* ---------------------------------------------------------
   Astra überschreiben.
   Astra setzt Hintergrund und Buttonfarben mit eigener
   Inline-CSS aus dem Customizer. Die kommt nach unserem
   Stylesheet, deshalb hier bewusst mit !important.
   --------------------------------------------------------- */
html body {
	background-color: var(--rh-creme) !important;
	font-family: var(--rh-sans) !important;
	color: var(--rh-navy-tief) !important;
}
body h1, body h2, body h3, body h4,
body .entry-content h1, body .entry-content h2, body .entry-content h3 {
	font-family: var(--rh-serif) !important;
	color: var(--rh-navy) !important;
}

/* Astras Kopf und Fuß bleiben ungenutzt - wir liefern eigene Templates. */
.site-header, #masthead, .ast-above-header, .ast-below-header,
.site-footer, .ast-small-footer, .site-primary-footer-wrap,
.site-below-footer-wrap, .ast-mobile-header-wrap { display: none !important; }

.rh-voll #secondary { display: none; }
.rh-voll #primary { width: 100%; max-width: 100%; padding: 0; }
.rh-content .ast-container { max-width: 100%; padding: 0; }

/* Buttons: Astras Blau überschreiben. */
body .wp-block-button__link,
body .wp-block-button .wp-block-button__link,
body .rh-btn,
body .ast-button,
body button.rh-btn,
body input[type="submit"] {
	background-color: var(--rh-navy) !important;
	background-image: none !important;
	border: 3px solid var(--rh-navy) !important;
	color: #fff !important;
	border-radius: 999px !important;
	padding: 16px 30px !important;
	font-family: var(--rh-sans) !important;
	font-weight: 700 !important;
	font-size: 1.05rem !important;
	line-height: 1.3 !important;
	text-decoration: none !important;
	box-shadow: none !important;
}
body .wp-block-button__link:hover,
body .rh-btn:hover,
body input[type="submit"]:hover {
	background-color: var(--rh-navy-hover, #001A4D) !important;
	border-color: var(--rh-navy-hover, #001A4D) !important;
	color: #fff !important;
}
body .wp-block-button.is-style-outline .wp-block-button__link {
	background-color: var(--rh-weiss) !important;
	color: var(--rh-navy) !important;
	border-color: var(--rh-navy) !important;
}
body .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background-color: var(--rh-navy) !important;
	color: #fff !important;
}
body .rh-btn--hell,
body .rh-kontaktband .rh-btn--hell {
	background-color: #fff !important;
	color: var(--rh-navy) !important;
	border-color: #fff !important;
}
body .rh-btn--hell:hover { background-color: var(--rh-sand) !important; color: var(--rh-navy) !important; }
body .rh-callband .wp-block-button__link {
	background-color: #fff !important;
	color: var(--rh-rose) !important;
	border-color: #fff !important;
	font-family: var(--rh-serif) !important;
	font-size: 1.6rem !important;
}

/* ---------------------------------------------------------
   Eigener Kopfbereich
   --------------------------------------------------------- */
.rh-skip {
	position: absolute;
	left: -9999px;
	background: var(--rh-navy);
	color: #fff;
	padding: 14px 22px;
	border-radius: 0 0 14px 0;
	z-index: 9500;
	font-weight: 700;
	text-decoration: none;
}
.rh-skip:focus { left: 0; top: 0; }

.rh-topbar { background: var(--rh-navy); color: #fff; font-size: 1rem; }
.rh-topbar .rh-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 34px;
	justify-content: space-between;
	padding-top: 11px;
	padding-bottom: 11px;
}
.rh-topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.rh-topbar a:hover { text-decoration: underline; }

.rh-masthead { background: var(--rh-weiss); border-bottom: 1px solid var(--rh-linie); }
.rh-masthead .rh-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	flex-wrap: wrap;
	padding-top: 18px;
	padding-bottom: 18px;
}
.rh-brand img, .rh-brand .custom-logo { width: 270px; height: auto; display: block; }
.rh-callout { text-align: right; line-height: 1.4; }
.rh-callout__zeile { display: block; font-size: 1rem; }
.rh-callout__nummer {
	display: block;
	font-family: var(--rh-serif);
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--rh-navy);
	text-decoration: none;
}
.rh-callout__nummer:hover { color: red; }

.rh-nav { background: var(--rh-sand); border-bottom: 2px solid var(--rh-linie); }
.rh-nav__liste { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 4px; }
.rh-nav__eintrag { position: relative; display: flex; align-items: stretch; }
.rh-nav__link {
	display: block;
	padding: 15px 20px;
	font-weight: 700;
	font-size: 1rem;
	color: var(--rh-navy);
	text-decoration: none;
	border-radius: 14px 14px 0 0;
}
.rh-nav__link:hover { background: var(--rh-weiss); }
.rh-nav__eintrag.ist-aktiv > .rh-nav__link {
	background: var(--rh-weiss);
	box-shadow: inset 0 -5px 0 var(--rh-rose);
}
.rh-nav__pfeil {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--rh-navy);
	padding: 0 12px 0 0;
	display: flex;
	align-items: center;
}
.rh-nav__pfeil svg { width: 15px; height: 15px; transition: transform 0.18s ease; }
.rh-nav__pfeil[aria-expanded="true"] svg { transform: rotate(180deg); }
.rh-nav__eintrag.hat-kinder.ist-aktiv > .rh-nav__pfeil { background: var(--rh-weiss); }

.rh-nav__untermenue {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 800;
	background: var(--rh-weiss);
	border: 2px solid var(--rh-linie);
	border-radius: 0 18px 18px 18px;
	padding: 10px;
	min-width: 330px;
	box-shadow: 0 16px 34px rgba(16, 31, 61, 0.18);
	flex-direction: column;
	gap: 2px;
}
.rh-nav__eintrag.offen .rh-nav__untermenue { display: flex; }
.rh-nav__unterlink {
	display: block;
	padding: 13px 18px;
	border-radius: 12px;
	text-decoration: none;
	font-size: 0.98rem;
	color: var(--rh-navy-tief);
}
.rh-nav__unterlink:hover { background: var(--rh-sand); }
.rh-nav__unterlink.ist-aktiv { background: var(--rh-sand); font-weight: 700; box-shadow: inset 4px 0 0 var(--rh-rose); }
.rh-nav__hinweis { padding: 14px 0; margin: 0; }

/* ---------------------------------------------------------
   Eigener Fußbereich
   --------------------------------------------------------- */
.rh-footer { background: var(--rh-navy-tief); color: #fff; margin-top: 0; }
.rh-footer a { color: #fff; }
.rh-footer__oben { padding: 54px 0 40px; }
.rh-footer__oben .rh-wrap {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	gap: 36px;
}
.rh-footer h2 { color: #fff !important; font-size: 1.12rem; margin: 0 0 0.7em; }
.rh-footer ul { list-style: none; margin: 0; padding: 0; }
.rh-footer li { margin-bottom: 9px; }
.rh-footer p { font-size: 1rem; }
.rh-footer__logo { background: #fff; border-radius: 16px; padding: 14px; width: 220px; }
.rh-footer__unten { border-top: 1px solid rgba(255, 255, 255, 0.25); }
.rh-footer__unten .rh-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 34px;
	justify-content: space-between;
	padding-top: 20px;
	padding-bottom: 20px;
	font-size: 0.98rem;
}

/* ---------------------------------------------------------
   Symbole in den Karten
   --------------------------------------------------------- */
.rh-ico { width: 50px; height: 50px; color: var(--rh-rose); display: block; margin-bottom: 6px; }
.rh-card .rh-ico, .rh-tile .rh-ico { color: var(--rh-navy); }
.rh-tile .rh-ico { color: var(--rh-rose); }
.rh-ico-klein { width: 30px; height: 30px; color: var(--rh-rose); flex: none; vertical-align: -8px; margin-right: 10px; }
.rh-herz-klein { width: 18px; height: 17px; color: var(--rh-rose); flex: none; }
.rh-bereich { display: flex; align-items: center; gap: 14px; }
.rh-bereich:hover .rh-herz-klein { color: var(--rh-sand); }

/* ---------- Seitenkopf der Unterseiten ---------- */
.rh-pagehead {
	background: var(--rh-sand);
	border-bottom: 2px solid var(--rh-linie);
	position: relative;
	overflow: hidden;
	padding: 44px 0 52px;
}
.rh-pagehead__mark {
	position: absolute;
	right: -150px;
	top: -190px;
	width: 520px;
	max-width: 70vw;
	opacity: 0.09;
	pointer-events: none;
	user-select: none;
}
.rh-pagehead .rh-wrap { position: relative; }
.rh-pagehead h1 { margin: 0; }

.rh-crumbs { font-size: 0.98rem; margin: 0 0 18px; }
.rh-crumbs ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
}
.rh-crumbs li::after { content: "\203A"; margin-left: 10px; color: var(--rh-rose); }
.rh-crumbs li:last-child::after { content: ""; }

/* ---------- Inhaltsbereich ---------- */
.rh-main { padding: 62px 0 0; }
.rh-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 56px;
	align-items: start;
}
.rh-inhalt > *:first-child { margin-top: 0; }
.rh-inhalt h2 { margin-top: 1.7em; }
.rh-inhalt h3 { margin-top: 1.4em; }

.rh-lead { font-size: 1.2rem; }

/* ---------- Seitenmenue ---------- */
.rh-aside { position: sticky; top: 24px; display: grid; gap: 24px; }
.rh-subnav {
	background: var(--rh-weiss);
	border: 2px solid var(--rh-linie);
	border-radius: 26px;
	padding: 24px;
}
.rh-subnav h2 { font-size: 1.2rem; margin: 0 0 14px; }
.rh-subnav ul { list-style: none; margin: 0; padding: 0; }
.rh-subnav li { margin-bottom: 4px; }
.rh-subnav a {
	display: block;
	padding: 11px 14px;
	border-radius: 12px;
	text-decoration: none;
	font-size: 1rem;
}
.rh-subnav a:hover { background: var(--rh-sand); }
.rh-subnav a[aria-current="page"] {
	background: var(--rh-sand);
	font-weight: 700;
	box-shadow: inset 4px 0 0 var(--rh-rose);
}

.rh-hilfebox {
	background: var(--rh-navy);
	color: #fff;
	border-radius: 26px;
	padding: 28px;
}
.rh-hilfebox h2 { color: #fff; font-size: 1.22rem; margin: 0 0 10px; }
.rh-hilfebox p { font-size: 1rem; color: #E7ECF6; margin-bottom: 0; }
.rh-hilfebox .rh-tel,
.rh-menu-overlay__kontakt .rh-tel {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--rh-serif);
	font-size: 1.7rem;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	margin-bottom: 10px;
}
.rh-hilfebox .rh-tel:hover { color: var(--rh-sand); }
.rh-hilfebox .rh-tel svg,
.rh-menu-overlay__kontakt .rh-tel svg { width: 26px; height: 26px; }

/* ---------- Bausteine im Inhalt ---------- */

/* Der Hero der Startseite ist eine gerundete Sandflaeche statt eines
   randlosen Bandes - so bleibt er innerhalb der Inhaltsbreite sauber. */
.rh-hero {
	background: var(--rh-sand);
	border-radius: 34px;
	padding: 48px 42px;
	margin-bottom: 40px;
}
.rh-hero > *:first-child { margin-top: 0; }
.rh-hero .wp-block-columns { align-items: center; gap: 48px; }

/* Kachel- und Kartenraster: gleiche Hoehe in allen Spalten. */
.rh-paths .wp-block-column,
.rh-cards .wp-block-column {
	display: flex;
	flex-direction: column;
}
.rh-paths, .rh-cards { margin-bottom: 34px; }

.rh-about .wp-block-columns { align-items: center; gap: 52px; }

/* Telefon-Banner (Block-Muster) */
.rh-callband {
	background: var(--rh-rose);
	color: #fff;
	border-radius: 30px;
	padding: 48px 40px;
	text-align: center;
	margin: 48px 0;
}
.rh-callband h2 { color: #fff; margin-top: 0; }
.rh-callband p { color: #FFE9EA; margin-left: auto; margin-right: auto; }
.rh-callband .wp-block-button__link {
	background: #fff;
	color: var(--rh-rose);
	border-color: #fff;
	font-family: var(--rh-serif);
	font-size: 1.6rem;
}
.rh-callband .wp-block-button__link:hover { background: var(--rh-sand); color: var(--rh-rose); }

.rh-arch img,
.rh-portrait img {
	border-radius: 50% 50% 26px 26px / 42% 42% 26px 26px;
	border: 10px solid var(--rh-weiss);
	box-shadow: 0 18px 44px rgba(16, 31, 61, 0.16);
	width: 100%;
	object-fit: cover;
}
.rh-portrait img { border-radius: 38% 38% 22px 22px / 30% 30% 22px 22px; }

.rh-tile,
.rh-card {
	background: var(--rh-weiss);
	border: 2px solid var(--rh-linie);
	border-radius: 34px 8px 34px 8px;
	padding: 32px 30px 28px;
	height: 100%;
}
.rh-tile h3, .rh-card h3 { margin-top: 0; }
.rh-tile p, .rh-card p { font-size: 1.02rem; }

.rh-trust {
	background: var(--rh-weiss);
	border: 2px solid var(--rh-linie);
	border-radius: 24px;
	padding: 24px 30px;
	margin-bottom: 44px;
}
.rh-trust p { font-size: 1rem; margin-bottom: 0; }
.rh-trust strong { color: var(--rh-navy); }

.rh-block-sand {
	background: var(--rh-sand);
	border-radius: 30px;
	padding: 44px 40px;
	margin: 48px 0;
}
.rh-block-sand > *:first-child { margin-top: 0; }

.rh-quote {
	font-family: var(--rh-serif);
	font-size: 1.45rem;
	line-height: 1.45;
	color: var(--rh-navy);
	border-left: 6px solid var(--rh-rose);
	padding-left: 26px;
}

.rh-hinweis {
	background: var(--rh-sand);
	border-left: 8px solid var(--rh-rose);
	border-radius: 6px 22px 22px 6px;
	padding: 26px 30px;
	margin: 32px 0;
}
.rh-hinweis h3 { margin-top: 0; }
.rh-hinweis p:last-child { margin-bottom: 0; }

.rh-platzhalter {
	background: #FFF3D6;
	border: 2px solid #C99A2E;
	border-radius: 14px;
	padding: 16px 20px;
	margin-bottom: 26px;
}
.rh-platzhalter p { margin-bottom: 0; font-size: 1rem; }

/* Herz-Aufzaehlung */
.rh-herzliste { list-style: none; margin: 0 0 1.3em; padding: 0; }
.rh-herzliste li {
	padding-left: 34px;
	position: relative;
	margin-bottom: 11px;
}
.rh-herzliste li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.42em;
	width: 17px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C0141B'%3E%3Cpath d='M12 21s-8.2-5.2-8.2-11A4.7 4.7 0 0 1 12 7a4.7 4.7 0 0 1 8.2 3C20.2 15.8 12 21 12 21z'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* Ablauf-Schritte */
.rh-ablauf { counter-reset: rhschritt; list-style: none; margin: 0 0 1.4em; padding: 0; }
.rh-ablauf li {
	background: var(--rh-weiss);
	border: 2px solid var(--rh-linie);
	border-radius: 22px;
	padding: 22px 28px 22px 84px;
	position: relative;
	margin-bottom: 18px;
}
.rh-ablauf li::before {
	counter-increment: rhschritt;
	content: counter(rhschritt);
	position: absolute;
	left: 26px;
	top: 20px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--rh-navy);
	color: #fff;
	font-family: var(--rh-serif);
	font-weight: 700;
	font-size: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.rh-ablauf strong { display: block; font-family: var(--rh-serif); font-size: 1.18rem; color: var(--rh-navy); }

.rh-bereich {
	display: block;
	background: var(--rh-weiss);
	border: 2px solid var(--rh-linie);
	border-radius: 20px;
	padding: 18px 22px;
	text-decoration: none;
	font-weight: 700;
	color: var(--rh-navy-tief);
}
.rh-bereich:hover { background: var(--rh-navy); border-color: var(--rh-navy); color: #fff; }

.rh-tel-gross { font-size: 1.35rem; font-weight: 700; }

/* ---------- Buttons ---------- */
.rh-btn,
.wp-block-button__link {
	display: inline-block;
	background: var(--rh-navy);
	color: #fff;
	border: 3px solid var(--rh-navy);
	border-radius: 999px;
	padding: 16px 30px;
	font-family: var(--rh-sans);
	font-weight: 700;
	font-size: 1.05rem;
	text-decoration: none;
	cursor: pointer;
	line-height: 1.3;
}
.rh-btn:hover,
.wp-block-button__link:hover { background: #001A4D; border-color: #001A4D; color: #fff; }

.wp-block-button.is-style-outline .wp-block-button__link {
	background: var(--rh-weiss);
	color: var(--rh-navy);
	border-color: var(--rh-navy);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--rh-navy);
	color: #fff;
}
.rh-btn--hell { background: #fff; color: var(--rh-navy); border-color: #fff; }
.rh-btn--hell:hover { background: var(--rh-sand); border-color: var(--rh-sand); color: var(--rh-navy); }

/* ---------- Kontaktband ---------- */
.rh-kontaktband {
	background: var(--rh-navy);
	color: #fff;
	margin-top: 72px;
	padding: 70px 0;
}
.rh-kontaktband .rh-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 52px;
}
.rh-kontaktband h2 { color: #fff; margin-top: 0; }
.rh-kontaktband a { color: #fff; }
.rh-kontaktband__daten p { font-size: 1.05rem; }
.rh-bigphone {
	display: inline-block;
	font-family: var(--rh-serif);
	font-size: clamp(2rem, 4.4vw, 2.8rem);
	font-weight: 700;
	text-decoration: none;
	background: #fff;
	color: var(--rh-navy);
	padding: 15px 30px;
	border-radius: 20px;
	margin-top: 8px;
}
.rh-bigphone:hover { background: var(--rh-sand); color: var(--rh-navy); }

/* ---------- Kontaktformular ---------- */
.rh-form { max-width: 640px; }
.rh-feld { margin-bottom: 20px; }
.rh-form label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 1.02rem; }
.rh-form input,
.rh-form select,
.rh-form textarea {
	width: 100%;
	padding: 15px 16px;
	font: inherit;
	font-size: 1.02rem;
	border: 2px solid var(--rh-navy);
	border-radius: 12px;
	background: #fff;
	color: var(--rh-navy-tief);
}
.rh-pflicht { font-size: 0.96rem; }
.rh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rh-form-meldung {
	padding: 16px 20px;
	border-radius: 14px;
	font-weight: 700;
	border: 2px solid;
}
.rh-form-ok { background: #E7F3E8; border-color: #2E7D32; color: #1B5E20; }
.rh-form-fehler { background: #FDECEC; border-color: var(--rh-rose); color: #8E0F14; }

/* Karten-Platzhalter */
.rh-mapbox {
	background: #E7D8BE;
	border: 2px dashed var(--rh-navy);
	border-radius: 26px;
	padding: 46px 32px;
	text-align: center;
	margin: 30px 0;
}
.rh-mapbox h3 { margin-top: 0; }
.rh-mapbox p { margin-left: auto; margin-right: auto; }
.rh-mapbox iframe { width: 100%; height: 380px; border: 0; border-radius: 18px; }

/* =========================================================
   Mobile Fusszeilen-Navigation mit drei Buttons
   Ersetzt auf kleinen Bildschirmen das Astra-Hauptmenue.
   ========================================================= */

.rh-bottomnav { display: none; }
.rh-menu-overlay { display: none; }

@media (max-width: 921px) {

	/* Die Menüzeile verschwindet - die Navigation sitzt jetzt unten in der
	   Leiste mit den drei Buttons. Logo und Telefonnummer bleiben oben. */
	.rh-nav { display: none; }
	.rh-topbar .rh-wrap { justify-content: center; text-align: center; }
	.rh-masthead .rh-wrap { justify-content: center; text-align: center; }
	.rh-brand img, .rh-brand .custom-logo { width: 210px; margin: 0 auto; }
	.rh-callout { text-align: center; }

	body { padding-bottom: calc(var(--rh-bottomnav-hoehe) + env(safe-area-inset-bottom, 0px)); }

	.rh-bottomnav {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9000;
		background: var(--rh-navy);
		border-top: 3px solid var(--rh-rose);
		padding-bottom: env(safe-area-inset-bottom, 0px);
		box-shadow: 0 -6px 20px rgba(16, 31, 61, 0.26);
	}

	.rh-bottomnav__btn {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		min-height: var(--rh-bottomnav-hoehe);
		padding: 10px 6px;
		background: none;
		border: none;
		border-right: 1px solid rgba(255, 255, 255, 0.22);
		color: #fff;
		font-family: var(--rh-sans);
		font-size: 0.94rem;
		font-weight: 700;
		text-decoration: none;
		cursor: pointer;
	}
	.rh-bottomnav__btn:last-child { border-right: none; }
	.rh-bottomnav__btn:hover,
	.rh-bottomnav__btn:focus-visible { background: #001A4D; color: #fff; }
	.rh-bottomnav__btn svg { width: 27px; height: 27px; }
	.rh-bottomnav__btn--menu[aria-expanded="true"] { background: var(--rh-rose); }

	/* Vollbild-Menue */
	.rh-menu-overlay {
		display: flex;
		flex-direction: column;
		position: fixed;
		inset: 0;
		z-index: 9100;
		background: var(--rh-creme);
		overflow-y: auto;
		padding-bottom: calc(var(--rh-bottomnav-hoehe) + 20px);
	}
	.rh-menu-overlay[hidden] { display: none; }

	.rh-menu-overlay__kopf {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		padding: 16px 20px;
		background: var(--rh-navy);
		color: #fff;
		position: sticky;
		top: 0;
	}
	.rh-menu-overlay__titel { font-family: var(--rh-serif); font-size: 1.3rem; font-weight: 700; }
	.rh-menu-overlay__schliessen {
		background: none;
		border: 2px solid rgba(255, 255, 255, 0.6);
		border-radius: 12px;
		color: #fff;
		width: 48px;
		height: 48px;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
	}
	.rh-menu-overlay__schliessen svg { width: 24px; height: 24px; }

	.rh-menu-overlay__inhalt { padding: 20px; }
	.rh-menu-overlay__liste { list-style: none; margin: 0; padding: 0; }
	.rh-menu-overlay__eintrag {
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: center;
		border-bottom: 2px solid var(--rh-linie);
	}
	.rh-menu-overlay__link {
		display: block;
		padding: 20px 6px;
		font-size: 1.16rem;
		font-weight: 700;
		text-decoration: none;
		color: var(--rh-navy);
	}
	.rh-menu-overlay__link.ist-aktiv { box-shadow: inset 5px 0 0 var(--rh-rose); padding-left: 18px; }
	.rh-menu-overlay__aufklappen {
		background: var(--rh-sand);
		border: 2px solid var(--rh-linie);
		border-radius: 14px;
		width: 54px;
		height: 54px;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		color: var(--rh-navy);
	}
	.rh-menu-overlay__aufklappen svg { width: 22px; height: 22px; transition: transform 0.18s ease; }
	.rh-menu-overlay__aufklappen[aria-expanded="true"] svg { transform: rotate(180deg); }
	.rh-menu-overlay__aufklappen[aria-expanded="true"] { background: var(--rh-navy); color: #fff; border-color: var(--rh-navy); }

	.rh-menu-overlay__untermenue {
		grid-column: 1 / -1;
		padding: 4px 0 16px 16px;
		display: flex;
		flex-direction: column;
		gap: 4px;
	}
	.rh-menu-overlay__untermenue[hidden] { display: none; }
	.rh-menu-overlay__unterlink {
		display: block;
		padding: 15px 16px;
		border-radius: 12px;
		background: var(--rh-weiss);
		border: 2px solid var(--rh-linie);
		text-decoration: none;
		font-size: 1.03rem;
		color: var(--rh-navy-tief);
	}
	.rh-menu-overlay__unterlink.ist-aktiv { background: var(--rh-sand); font-weight: 700; }

	.rh-menu-overlay__kontakt {
		margin-top: 28px;
		background: var(--rh-navy);
		border-radius: 22px;
		padding: 24px;
		color: #fff;
	}
	.rh-menu-overlay__kontakt p { color: #E7ECF6; font-size: 1rem; margin-bottom: 0; }

	/* Wenn das Overlay offen ist, soll der Hintergrund nicht mitscrollen. */
	body.rh-menu-offen { overflow: hidden; }
}

/* ---------- Umbrueche ---------- */
@media (max-width: 1040px) {
	.rh-layout { grid-template-columns: 1fr; }
	.rh-aside { position: static; }
}

@media (max-width: 921px) {
	.rh-kontaktband .rh-wrap { grid-template-columns: 1fr; }
	.rh-footer__oben .rh-wrap { grid-template-columns: 1fr 1fr; }
	.rh-hero .wp-block-columns { gap: 30px; }
	.rh-block-sand { padding: 32px 24px; border-radius: 24px; }
}

@media (max-width: 620px) {
	body { font-size: 19px; }
	.rh-footer__oben .rh-wrap { grid-template-columns: 1fr; }
	.rh-wrap { padding: 0 20px; }
	.rh-main { padding-top: 42px; }
	.rh-ablauf li { padding: 62px 22px 20px; }
	.rh-ablauf li::before { top: 18px; left: 22px; }
	.rh-arch img, .rh-portrait img { border-width: 7px; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; }
}

/* Druckansicht: Navigation und Bandelemente weglassen. */
@media print {
	.rh-bottomnav, .rh-menu-overlay, .rh-kontaktband, .rh-aside { display: none !important; }
	body { padding-bottom: 0; font-size: 12pt; }
}

/* Formularkasten im Kontaktband und restliche Strukturklassen */
.rh-formbox {
	background: #fff;
	color: var(--rh-navy-tief);
	border-radius: 26px;
	padding: 32px;
}
.rh-formbox h3 { margin-top: 0; }
.rh-formbox .rh-form { max-width: none; }
.rh-kontaktband__daten { font-size: 1.03rem; margin-top: 22px; }
.rh-kontaktband__daten strong { font-size: 0.94rem; letter-spacing: 0.06em; text-transform: uppercase; }
.rh-kontaktband__text { align-self: center; }
.rh-footer__spalte p { max-width: none; }
.rh-inhaltsbereich { display: block; }
.rh-site { overflow-x: hidden; }
.rh-header { position: relative; z-index: 500; }
