/*
Theme Name: RIMARE
Theme URI: https://rimare-innenausbau.de
Author: RIMARE – Raumkonzepte und Innenausbau
Description: Individuelles Theme für RIMARE – Raumkonzepte und Innenausbau, Braunschweig. Klassisches Theme mit Gutenberg-Block-Patterns nach dem Layoutkonzept vom 01.05.2026.
Version: 1.7.2
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rimare
*/

/* ==========================================================
   Fonts – Montserrat, lokal gehostet (DSGVO-konform)
   ========================================================== */
@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/montserrat-latin-400-normal.woff2') format('woff2');
}
@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('assets/fonts/montserrat-latin-500-normal.woff2') format('woff2');
}
@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/montserrat-latin-600-normal.woff2') format('woff2');
}
@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/montserrat-latin-700-normal.woff2') format('woff2');
}

/* ==========================================================
   Design-Tokens (Corporate Identity)
   ========================================================== */
:root {
	--rimare-grau: #f4f1f1;
	--rimare-charcoal: #2b2d2f;
	--rimare-blau: #0000ba;
	--rimare-caps-grau: #4d4f52;
	--rimare-font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--rimare-content-width: 46rem;
	--rimare-wide-width: 72rem;
}

/* ==========================================================
   Basis
   ========================================================== */
* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

html,
body {
	overflow-x: clip;
}

body {
	margin: 0;
	background: var(--rimare-grau);
	color: var(--rimare-charcoal);
	font-family: var(--rimare-font);
	font-size: 0.9375rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--rimare-blau);
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ==========================================================
   Header / Navigation
   ========================================================== */
.rimare-header {
	position: relative;
	background: var(--rimare-grau);
	padding: 2.4rem 0 1.4rem;
}

/* Logo links, Navigation rechts */
.rimare-header-inner {
	max-width: var(--rimare-wide-width);
	margin: 0 auto;
	padding: 0 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.rimare-header-logo img {
	height: 44px;
	width: auto;
}

.rimare-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem 1.6rem;
}

.rimare-nav a {
	color: var(--rimare-charcoal);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-decoration: none;
}

.rimare-nav a:hover,
.rimare-nav a:focus,
.rimare-nav .current-menu-item > a,
.rimare-nav .current_page_item > a {
	color: var(--rimare-blau);
	text-decoration: none;
}

/* Blauer Tick: sitzt links über dem aktiven Menüpunkt —
   auch auf Unterseiten (current-*-ancestor) */
.rimare-nav li {
	position: relative;
}

.rimare-nav li.current-menu-item::before,
.rimare-nav li.current-menu-ancestor::before,
.rimare-nav li.current-page-ancestor::before,
.rimare-nav li.current_page_item::before,
.rimare-nav li.current_page_ancestor::before,
.rimare-nav li.current_page_parent::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 100%;
	margin-bottom: 0.55rem;
	width: 7px;
	height: 26px;
	background: var(--rimare-blau);
}

/* ==========================================================
   Inhalt / Block-Layout (Classic Theme + Gutenberg)
   Der Inhalt läuft in einem zentrierten Container mit derselben
   Breite wie Header- und Footer-Innenbereich. Hero, Karte und
   alignfull-Blöcke brechen daraus auf volle Viewport-Breite aus.
   ========================================================== */
.rimare-content {
	max-width: var(--rimare-wide-width);
	margin: 0 auto;
	padding: 0 1.25rem;
}

/* Gruppen ohne Einschränkung im Inneren */
.rimare-content .wp-block-group {
	margin-top: 0;
}

/* ==========================================================
   Hero (Cover-Block)
   ========================================================== */
.rimare-hero {
	position: relative;
	min-height: 420px;
}

/* Hero und Karte immer über die volle Viewport-Breite —
   unabhängig davon, ob der Block als alignfull eingefügt wurde
   oder die rimare-Klasse beim Ersetzen verloren ging */
.rimare-content .rimare-hero,
.rimare-content .rimare-map,
.rimare-content .alignfull,
.rimare-content > .wp-block-cover,
.rimare-content > .wp-block-image {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: 0;
	padding-right: 0;
}

.rimare-content > .wp-block-image img {
	width: 100%;
}

.rimare-content .rimare-map img {
	width: 100%;
	object-fit: cover;
}

.rimare-hero .wp-block-cover__inner-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.rimare-hero-logo img {
	width: 240px;
	height: auto;
}

/* Automatisches Titelbild aus dem Beitragsbild */
.rimare-hero--featured {
	position: relative;
}

.rimare-hero--featured .wp-post-image {
	width: 100%;
	height: clamp(320px, 55vh, 560px);
	object-fit: cover;
	display: block;
}

.rimare-hero-logo-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 240px;
	height: auto;
}

/* Fotocredit unten rechts */
.rimare-credit {
	position: absolute;
	right: 0.75rem;
	bottom: 0.5rem;
	margin: 0;
	font-size: 0.625rem;
	color: rgba(255, 255, 255, 0.85);
	letter-spacing: 0.02em;
}

/* ==========================================================
   Typo-Bausteine aus dem Layout
   ========================================================== */

/* Große Versal-Überschrift, grau, leicht gesperrt */
.rimare-caps,
.is-style-rimare-caps {
	font-weight: 400;
	font-size: clamp(1.6rem, 3.5vw, 2.375rem);
	line-height: 1.25;
	letter-spacing: 0.045em;
	text-transform: uppercase;
	color: var(--rimare-caps-grau);
	margin: 4.5rem 0 2.5rem;
}

/* Blaue Headline mit Strich darüber */
.rimare-blue-heading,
.is-style-rimare-blau {
	position: relative;
	display: inline-block;
	font-weight: 700;
	font-size: clamp(1.9rem, 4vw, 2.75rem);
	line-height: 1.1;
	color: var(--rimare-blau);
	margin: 3.5rem 0 0.75rem;
}

.rimare-blue-heading::before,
.is-style-rimare-blau::before {
	content: '';
	position: absolute;
	top: -0.55em;
	left: -1.6em;
	width: 1.1em;
	height: 0.14em;
	background: var(--rimare-blau);
}

/* Zentrierter Container für die blaue Headline */
.rimare-blue-block {
	text-align: center;
	margin-top: 1rem;
}

/* Blaue Subline unter der Headline */
.rimare-blue-sub {
	color: var(--rimare-blau);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.55;
	margin: 0 0 2.5rem;
}

/* Fließtext-Block, eingerückt und im Blocksatz */
.rimare-copy {
	max-width: 24rem;
	margin: 1.5rem 0 1.5rem auto;
	margin-right: 14%;
	text-align: justify;
	hyphens: auto;
	font-size: 0.9375rem;
}

/* Nummerierte Schritte 01 / 02 / 03 */
.rimare-step {
	max-width: 24rem;
	margin: 2.25rem auto;
	text-align: justify;
	hyphens: auto;
}

.rimare-step-nr {
	display: block;
	font-weight: 700;
	font-size: 1.05rem;
	margin-bottom: 0.25rem;
}

.rimare-step--left {
	margin-left: 24%;
	margin-right: auto;
}

.rimare-step--right {
	margin-left: 38%;
	margin-right: auto;
}

/* Blaues Statement („Wir nehmen uns Zeit für Ihre Ideen.") */
.rimare-statement {
	color: var(--rimare-blau);
	font-weight: 400;
	font-size: clamp(1.4rem, 2.8vw, 1.75rem);
	line-height: 1.35;
	margin: 4rem 0 4rem 22%;
}

/* Fußnote (z. B. Herkunft des Namens RIMARE) */
.rimare-footnote {
	max-width: 17rem;
	margin: 3rem 8% 2rem auto;
	font-size: 0.6875rem;
	line-height: 1.5;
	color: var(--rimare-blau);
}

/* ==========================================================
   ANRUF-Button
   ========================================================== */
.rimare-anruf-wrap {
	display: flex;
	justify-content: flex-end;
	margin: 2.5rem 0;
}

.rimare-anruf .wp-block-button__link {
	background: transparent;
	color: var(--rimare-blau);
	border: 1.5px solid var(--rimare-blau);
	border-radius: 0;
	font-weight: 700;
	font-size: 0.9375rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.55rem 1.6rem;
	transition: background 0.15s ease, color 0.15s ease;
}

.rimare-anruf .wp-block-button__link:hover {
	background: var(--rimare-blau);
	color: #fff;
	text-decoration: none;
}

/* Sticky Kontakt-Button am rechten Rand (Customizer-Option):
   Telefon-Icon, bei Hover/Fokus klappen drei Optionen aus */
.rimare-kontakt-sticky {
	position: fixed;
	right: 0;
	top: 58%;
	z-index: 90;
	display: flex;
	align-items: center;
	flex-direction: row-reverse;
}

.rimare-kontakt-sticky__trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	background: var(--rimare-grau);
	color: var(--rimare-blau);
	border: 1.5px solid var(--rimare-blau);
	border-right: none;
	cursor: pointer;
	padding: 0;
	transition: background 0.15s ease, color 0.15s ease;
}

.rimare-kontakt-sticky__trigger svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.rimare-kontakt-sticky:hover .rimare-kontakt-sticky__trigger,
.rimare-kontakt-sticky:focus-within .rimare-kontakt-sticky__trigger {
	background: var(--rimare-blau);
	color: #fff;
}

.rimare-kontakt-sticky__menu {
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	transform: translateX(0.5rem);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.rimare-kontakt-sticky:hover .rimare-kontakt-sticky__menu,
.rimare-kontakt-sticky:focus-within .rimare-kontakt-sticky__menu {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

.rimare-kontakt-sticky__menu a {
	background: var(--rimare-grau);
	color: var(--rimare-blau);
	border: 1.5px solid var(--rimare-blau);
	border-bottom: none;
	font-weight: 700;
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.5rem 1.1rem;
	white-space: nowrap;
	text-decoration: none;
}

.rimare-kontakt-sticky__menu a:last-child {
	border-bottom: 1.5px solid var(--rimare-blau);
}

.rimare-kontakt-sticky__menu a:hover,
.rimare-kontakt-sticky__menu a:focus {
	background: var(--rimare-blau);
	color: #fff;
}

@media (max-width: 782px) {
	.rimare-kontakt-sticky {
		top: auto;
		bottom: 1.25rem;
	}
}

/* ==========================================================
   Projekte
   ========================================================== */
.rimare-projekt-jahr {
	color: var(--rimare-blau);
	font-size: 0.875rem;
	font-weight: 500;
	margin: 0 0 2rem;
}

/* Badge „In Umsetzung" auf Hero-Bildern */
.rimare-badge {
	position: absolute;
	right: 1.5rem;
	bottom: 1.5rem;
	margin: 0;
	color: #fff;
	font-weight: 700;
	font-size: 1.25rem;
}

/* ==========================================================
   Team
   ========================================================== */
.rimare-team-names {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2.25rem;
	margin: 1rem 0 3rem;
	padding: 0;
	list-style: none;
	font-size: 0.8125rem;
}

.rimare-team-names strong {
	display: block;
	font-weight: 700;
}

/* ==========================================================
   Kontakt
   ========================================================== */
.rimare-kontakt-person {
	margin: 2.5rem 0 0 38%;
	max-width: 24rem;
}

.rimare-kontakt-person strong {
	font-size: 1.125rem;
	font-weight: 700;
}

/* ==========================================================
   Footer
   ========================================================== */
.rimare-footer {
	background: var(--rimare-grau);
	padding: 4rem 1.25rem 0;
}

.rimare-footer-inner {
	max-width: var(--rimare-wide-width);
	margin: 0 auto;
}

.rimare-footer-logo {
	margin-bottom: 1.25rem;
}

.rimare-footer-logo img {
	max-height: 44px;
	width: auto;
}

/* Vierspaltiges Footer-Raster */
.rimare-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 2rem 3rem;
	padding: 2rem 0 2.5rem;
	border-top: 1px solid rgba(43, 45, 47, 0.08);
	font-size: 0.8125rem;
	line-height: 1.7;
}

.rimare-footer-col h2 {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rimare-charcoal);
}

.rimare-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rimare-footer-col li {
	margin: 0 0 0.35rem;
}

.rimare-footer-col a {
	color: var(--rimare-blau);
	font-weight: 500;
}

.rimare-footer-col--kontakt p {
	margin: 0;
	color: var(--rimare-charcoal);
}

.rimare-footer-col--kontakt strong {
	color: var(--rimare-blau);
}

/* Social Icons im Footer */
.rimare-social {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.rimare-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1.5px solid var(--rimare-blau);
	color: var(--rimare-blau);
	transition: background 0.15s ease, color 0.15s ease;
}

.rimare-social svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.rimare-social a:hover {
	background: var(--rimare-blau);
	color: #fff;
}

@media (max-width: 900px) {
	.rimare-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 540px) {
	.rimare-footer-grid {
		grid-template-columns: 1fr;
	}
}

/* Dunkle Abschlusslinie ganz unten */
.rimare-footer::after {
	content: '';
	display: block;
	height: 8px;
	margin: 0 -1.25rem;
	background: var(--rimare-charcoal);
}

/* ==========================================================
   Farbpalette (Editor-Farbklassen)
   ========================================================== */
.has-rimare-grau-background-color { background-color: #f4f1f1; }
.has-rimare-charcoal-background-color { background-color: #2b2d2f; }
.has-rimare-blau-background-color { background-color: #0000ba; }
.has-rimare-weiss-background-color { background-color: #ffffff; }
.has-rimare-grau-color { color: #f4f1f1; }
.has-rimare-charcoal-color { color: #2b2d2f; }
.has-rimare-blau-color { color: #0000ba; }
.has-rimare-weiss-color { color: #ffffff; }

/* ==========================================================
   Buttons (Core-Button im CI-Look)
   ========================================================== */
.wp-block-button__link {
	border-radius: 0;
	background: var(--rimare-blau);
	color: #fff;
	font-weight: 600;
	font-size: 0.875rem;
	letter-spacing: 0.04em;
	padding: 0.6rem 1.5rem;
	transition: background 0.15s ease;
}

.wp-block-button__link:hover {
	background: #000090;
	color: #fff;
	text-decoration: none;
}

/* Breiten-Toggle des Button-Blocks (25/50/75/100 %) unterstützen */
.wp-block-button.has-custom-width .wp-block-button__link {
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.wp-block-buttons > .wp-block-button.wp-block-button__width-25 { width: calc(25% - 0.5em); }
.wp-block-buttons > .wp-block-button.wp-block-button__width-50 { width: calc(50% - 0.5em); }
.wp-block-buttons > .wp-block-button.wp-block-button__width-75 { width: calc(75% - 0.5em); }
.wp-block-buttons > .wp-block-button.wp-block-button__width-100 { width: 100%; }

/* In Cards nutzt der Buttons-Block die volle Kartenbreite,
   damit sich die Prozentwerte auf die Card beziehen */
.is-style-rimare-card .wp-block-buttons {
	width: 100%;
}

/* ==========================================================
   RIMARE Card (Block-Stil für Gruppen)
   ========================================================== */
.is-style-rimare-card {
	background: #fff;
	padding: 2rem;
	box-shadow: 0 12px 32px rgba(43, 45, 47, 0.10), 0 2px 6px rgba(43, 45, 47, 0.06);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	display: flex !important;
	flex-direction: column;
}

/* Buttons in Cards immer bündig am unteren Rand */
.is-style-rimare-card .wp-block-buttons {
	margin-top: auto !important;
	padding-top: 1.25rem;
}

.is-style-rimare-card:hover {
	box-shadow: 0 18px 44px rgba(43, 45, 47, 0.14), 0 4px 10px rgba(43, 45, 47, 0.08);
	transform: translateY(-2px);
}

.is-style-rimare-card h3,
.is-style-rimare-card h4 {
	margin-top: 0;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--rimare-blau);
}

.is-style-rimare-card p {
	font-size: 0.875rem;
}

/* Dunkle Varianten: Text hell */
.is-style-rimare-card.has-rimare-charcoal-background-color,
.is-style-rimare-card.has-rimare-blau-background-color {
	color: #fff;
}

.is-style-rimare-card.has-rimare-charcoal-background-color h3,
.is-style-rimare-card.has-rimare-blau-background-color h3,
.is-style-rimare-card.has-rimare-charcoal-background-color a,
.is-style-rimare-card.has-rimare-blau-background-color a {
	color: #fff;
}

.is-style-rimare-card.has-rimare-blau-background-color .wp-block-button__link {
	background: #fff;
	color: var(--rimare-blau);
}

/* Card-Grid: Spalten gleich hoch, Cards füllen die Spalte */
.rimare-card-grid.wp-block-columns {
	align-items: stretch;
}

.rimare-card-grid .wp-block-column {
	display: flex;
	flex-direction: column;
}

.rimare-card-grid .wp-block-column > .wp-block-group {
	flex-grow: 1;
}

/* ==========================================================
   Galerie-Slider (Block-Stil „RIMARE Slider")
   ========================================================== */
.rimare-slider {
	position: relative;
}

.rimare-slider__viewport {
	overflow: hidden;
}

.rimare-slider__track {
	display: flex;
	transition: transform 0.4s ease;
}

.rimare-slider__slide {
	flex: 0 0 100%;
	min-width: 100%;
}

.rimare-slider__slide figure {
	margin: 0;
}

.rimare-slider__slide img {
	width: 100%;
	height: auto;
	display: block;
}

.rimare-slider__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 44px;
	height: 44px;
	background: var(--rimare-grau);
	color: var(--rimare-blau);
	border: 1.5px solid var(--rimare-blau);
	font-size: 1.1rem;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.rimare-slider__btn:hover {
	background: var(--rimare-blau);
	color: #fff;
}

.rimare-slider__btn--prev { left: 0; border-left: none; }
.rimare-slider__btn--next { right: 0; border-right: none; }

.rimare-slider__dots {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 0.75rem;
}

.rimare-slider__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	background: transparent;
	border: 1.5px solid var(--rimare-blau);
	cursor: pointer;
}

.rimare-slider__dot.is-active {
	background: var(--rimare-blau);
}

/* ==========================================================
   Vorher/Nachher-Slider (Block-Stil „Vorher / Nachher")
   ========================================================== */
.rimare-ba {
	position: relative;
	overflow: hidden;
}

.rimare-ba__base {
	width: 100%;
	height: auto;
	display: block;
}

.rimare-ba__overlay {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 50%;
	overflow: hidden;
}

.rimare-ba__top {
	display: block;
	height: auto;
	max-width: none;
}

.rimare-ba__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	background: #fff;
	pointer-events: none;
}

.rimare-ba__grip {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--rimare-blau);
	color: #fff;
	font-size: 1rem;
}

.rimare-ba__label {
	position: absolute;
	top: 0.75rem;
	padding: 0.2rem 0.6rem;
	background: rgba(43, 45, 47, 0.75);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	pointer-events: none;
}

.rimare-ba__label--before { left: 0.75rem; }
.rimare-ba__label--after { right: 0.75rem; }

.rimare-ba__range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
}

/* ==========================================================
   Google-Maps-Element (Zwei-Klick, DSGVO-konform)
   ========================================================== */
.rimare-map-consent {
	background: #fff;
	border: 1.5px solid var(--rimare-blau);
	padding: 2.5rem 2rem;
	text-align: center;
}

.rimare-map-consent p {
	max-width: 32rem;
	margin: 0 auto 1.25rem;
	font-size: 0.8125rem;
	color: var(--rimare-charcoal);
}

.rimare-map-consent button {
	background: var(--rimare-blau);
	color: #fff;
	border: none;
	font-family: var(--rimare-font);
	font-weight: 700;
	font-size: 0.875rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.6rem 1.6rem;
	cursor: pointer;
}

.rimare-map-consent button:hover {
	background: #000090;
}

.rimare-map-consent iframe {
	width: 100%;
	height: 420px;
	border: 0;
	display: block;
}

.rimare-map-consent.is-loaded {
	padding: 0;
	border: none;
}

/* ==========================================================
   Rechtstexte (Impressum / Datenschutz)
   ========================================================== */
.rimare-legal {
	max-width: var(--rimare-content-width);
	margin: 3rem auto;
	font-size: 0.875rem;
}

.rimare-legal h1,
.rimare-legal h2 {
	font-size: 1.05rem;
	font-weight: 600;
	margin: 2rem 0 0.5rem;
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 782px) {
	.rimare-copy,
	.rimare-step,
	.rimare-step--left,
	.rimare-step--right {
		margin-left: auto;
		margin-right: auto;
		max-width: 34rem;
	}

	.rimare-statement {
		margin-left: 0;
	}

	.rimare-kontakt-person {
		margin-left: 0;
	}

	.rimare-blue-heading::before,
.is-style-rimare-blau::before {
		left: 50%;
		transform: translateX(-50%);
	}

	.rimare-footer-cols {
		flex-direction: column;
		gap: 0.75rem;
	}
}

/* ==========================================================
   Editor-Feinschliff (greift über add_editor_style)
   ========================================================== */
.editor-styles-wrapper {
	background: var(--rimare-grau);
	font-family: var(--rimare-font);
}
