/* Reisemobil Forum – Design der Bausteine. Alles ist unter .rmf gekapselt,
   damit das bestehende Theme nicht beeinflusst wird. */

@font-face { font-family: "RMF Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "RMF Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "RMF Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "RMF Jakarta"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "RMF Jakarta"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "RMF Jakarta"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "RMF Jakarta"; font-style: italic; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-800-italic.woff2") format("woff2"); }

.rmf {
	--rmf-ink: #111418;
	--rmf-muted: #4A515B;
	--rmf-soft: #EEF1F4;
	--rmf-slate: #3D4A57;
	--rmf-slats: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.12)), repeating-linear-gradient(90deg, #CDBBAA 0px, #C3AF9E 9px, #B8A391 19px, #8F7B6D 22px, transparent 22px, transparent 32px);
	--rmf-slats-mask: repeating-linear-gradient(90deg, #000 0px, #000 22px, transparent 22px, transparent 32px);
	--rmf-line: #DDE0E4;
	--rmf-red: #D7141A;
	--rmf-red-dark: #B3121A;
	--rmf-alert: #C8102E;
	--rmf-radius: 20px;
	--rmf-head: "RMF Jakarta", "Plus Jakarta Sans", system-ui, sans-serif;
	--rmf-body: "RMF Inter", Inter, system-ui, sans-serif;
	font-family: var(--rmf-body);
	color: var(--rmf-ink);
	font-size: 16px;
	line-height: 1.55;
	box-sizing: border-box;
}
.rmf *, .rmf *::before, .rmf *::after { box-sizing: inherit; }
.rmf img { max-width: 100%; height: auto; }
.rmf a { color: var(--rmf-red-dark); }
.rmf a:hover { color: #8C0E14; }
.rmf h1, .rmf h2, .rmf h3 { font-family: var(--rmf-head); color: inherit; text-transform: none; margin: 0; }
.rmf p { margin: 0; }
.rmf-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rmf :focus-visible { outline: 3px solid #2563EB; outline-offset: 2px; }

body.rmf-site { overflow-x: clip; }

/* Volle Breite, auch wenn das Theme einen schmalen Inhaltsbereich hat.
   Der Inhalt bleibt über das Padding auf höchstens 1280px zentriert. */
body .rmf.rmf-bleed, body .rmf.rmf-section {
	width: 100vw !important;
	max-width: none !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

/* ----- Hinweise ----- */
.rmf-notices { width: 100%; }
/* Hinweisleiste bleibt beim Scrollen oben sichtbar. */
.rmf-notices--top { position: sticky; top: 0; z-index: 1000; }
body.admin-bar .rmf-notices--top { top: 32px; }
@media (max-width: 782px) { body.admin-bar .rmf-notices--top { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .rmf-notices--top { top: 0; } }
.rmf-notices--top.is-fixed { position: fixed; left: 0; right: 0; }
@media (max-width: 700px) {
	/* Auf dem Handy kompakt, damit die feste Leiste wenig Platz braucht. */
	.rmf-notices--top .rmf-notice .rmf-notice__inner { display: block; padding: 8px 16px; font-size: 14px; line-height: 1.4; text-align: left; }
	.rmf-notices--top .rmf-notice__tag { padding: 1px 8px; margin-right: 6px; font-size: 11px; vertical-align: 1px; }
}
.rmf-notices--inline { margin: 0 0 24px; border-radius: 14px; overflow: hidden; }
.rmf-notice { background: var(--rmf-slate); color: #FFFFFF; }
.rmf-notice__inner { max-width: 1280px; margin: 0 auto; padding: 10px 24px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: center; text-align: center; font-size: 15px; }
.rmf-notice__tag { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.rmf-notice__text strong { font-weight: 700; }
.rmf-notice--closed { background: var(--rmf-alert); }
.rmf-notice--closed .rmf-notice__inner { padding: 16px 24px; font-size: 18px; }
.rmf-notice--tour { background: #8A1A0E; }

/* ----- Header ----- */
.rmf-header { position: relative; z-index: 20; }
.rmf-header__inner { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; padding: 20px 32px; max-width: 1440px; margin: 0 auto; }
.rmf-wordmark { font-family: var(--rmf-head); font-size: 24px; line-height: 1; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.rmf .rmf-wordmark span { font-weight: 600; }
.rmf .rmf-wordmark b { font-weight: 800; font-style: italic; }
.rmf-nav__list { list-style: none; margin: 0; padding: 6px; display: flex; flex-wrap: wrap; gap: 4px; border-radius: 999px; }
.rmf-nav__list li { margin: 0; padding: 0; list-style: none; }
.rmf-nav__list a { display: block; padding: 8px 16px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; }
.rmf-nav__list > li { position: relative; display: flex; align-items: center; border-radius: 999px; }
.rmf .rmf-sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: 0 4px 0 -12px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.rmf-sub-toggle svg { transition: transform 0.15s; }
.rmf-nav__list .is-open > .rmf-sub-toggle svg { transform: rotate(180deg); }
.rmf-header--overlay .rmf-sub-toggle { color: #FFFFFF; }
.rmf-header--solid .rmf-sub-toggle { color: var(--rmf-ink); }
.rmf-nav__list .sub-menu { display: none; position: absolute; top: calc(100% + 10px); left: 0; z-index: 30; min-width: 240px; margin: 0; padding: 6px; list-style: none; border-radius: 16px; background: #FFFFFF; box-shadow: 0 12px 32px rgba(17, 20, 24, 0.18); }
.rmf-nav__list .sub-menu li { list-style: none; margin: 0; padding: 0; }
.rmf .rmf-nav__list .sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--rmf-ink); background: transparent; white-space: nowrap; }
.rmf .rmf-nav__list .sub-menu a:hover, .rmf .rmf-nav__list .sub-menu .current-menu-item > a { background: var(--rmf-soft); color: var(--rmf-ink); }
.rmf-nav__list .is-open > .sub-menu { display: block; }
.rmf-nav__list > .menu-item-has-children::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
@media (min-width: 901px) and (hover: hover) {
	.rmf-nav__list > li:hover > .sub-menu, .rmf-nav__list > li:focus-within > .sub-menu { display: block; }
}
.rmf-header__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; }
.rmf-header__toggle { display: none; min-width: 44px; min-height: 44px; border-radius: 999px; border: 0; cursor: pointer; align-items: center; justify-content: center; }

.rmf-header--overlay .rmf-wordmark, .rmf-header--overlay .rmf-nav__list a { color: #FFFFFF; }
.rmf-header--overlay .rmf-nav__list { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rmf-header--overlay .rmf-nav__list a:hover, .rmf-header--overlay .current-menu-item > a { background: rgba(255, 255, 255, 0.2); color: #FFFFFF; }
.rmf-header--overlay .rmf-header__cta { background: #FFFFFF; color: var(--rmf-ink); }
.rmf-header--overlay .rmf-header__toggle { background: rgba(255, 255, 255, 0.18); color: #FFFFFF; }

.rmf-header--solid { background: #FFFFFF; border-bottom: 1px solid var(--rmf-line); }
.rmf-header--solid .rmf-wordmark, .rmf-header--solid .rmf-nav__list a { color: var(--rmf-ink); }
.rmf-header--solid .rmf-nav__list a:hover, .rmf-header--solid .current-menu-item > a { background: var(--rmf-soft); color: var(--rmf-ink); }
.rmf-header--solid .rmf-header__cta { background: var(--rmf-ink); color: #FFFFFF; }
.rmf-header--solid .rmf-header__toggle { background: var(--rmf-soft); color: var(--rmf-ink); }

@media (max-width: 900px) {
	.rmf-header__inner { padding: 16px 20px; }
	.rmf-header__toggle { display: inline-flex; margin-left: auto; }
	.rmf-nav { display: none; width: 100%; order: 5; }
	.rmf-header.is-open .rmf-nav { display: block; }
	.rmf-nav__list { flex-direction: column; border-radius: 16px; }
	.rmf-header--overlay .rmf-nav__list { background: rgba(17, 20, 24, 0.85); }
	.rmf-nav__list > li { flex-wrap: wrap; border-radius: 12px; }
	.rmf-nav__list > li > a { flex: 1 1 auto; }
	.rmf .rmf-sub-toggle { width: 40px; height: 40px; margin: 0; }
	.rmf-nav__list .sub-menu { position: static; flex: 0 0 100%; min-width: 0; margin: 0 0 6px; padding: 0 0 0 14px; background: transparent; box-shadow: none; border-radius: 0; }
	.rmf-nav__list > .menu-item-has-children::after { display: none; }
	.rmf.rmf-header--overlay .rmf-nav__list .sub-menu a { color: #FFFFFF; }
	.rmf.rmf-header--overlay .rmf-nav__list .sub-menu a:hover { background: rgba(255, 255, 255, 0.14); color: #FFFFFF; }
	.rmf .rmf-nav__list .sub-menu a { white-space: normal; }
	.rmf-header__cta { display: none; }
}

/* ----- Hero ----- */
.rmf-hero-wrap { padding: 12px; }
.rmf-hero { position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #2B2F35; }
.rmf-hero__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 60%; }
.rmf-hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 13, 0.55) 0%, rgba(8, 10, 13, 0) 22%, rgba(8, 10, 13, 0) 45%, rgba(8, 10, 13, 0.8) 100%); }
.rmf-hero__body { position: relative; margin-top: auto; padding: 0 32px 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.rmf-hero__copy { flex: 1 1 560px; min-width: 0; max-width: 760px; color: #FFFFFF; display: flex; flex-direction: column; gap: 20px; }
.rmf-hero__title { font-weight: 800; font-size: clamp(44px, 6vw, 76px); line-height: 0.98; letter-spacing: -0.03em; color: #FFFFFF; }
.rmf-hero__text { max-width: 560px; font-size: 19px; line-height: 1.5; color: #EEF0F2; }
.rmf-pill { display: inline-flex; width: fit-content; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; background: #FFFFFF; font-size: 13px; font-weight: 600; }
.rmf-pill--glass { padding: 6px 14px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.25); font-size: 14px; font-weight: 500; color: #FFFFFF; }

.rmf-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.rmf-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px; border: 0; cursor: pointer; font-family: inherit; }
.rmf .rmf-btn--primary { background: var(--rmf-red); color: #FFFFFF; }
.rmf .rmf-btn--primary:hover { background: var(--rmf-red-dark); color: #FFFFFF; }
.rmf .rmf-btn--glass { background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.4); color: #FFFFFF; }
.rmf .rmf-btn--glass:hover { background: rgba(255, 255, 255, 0.28); color: #FFFFFF; }
.rmf .rmf-btn--soft { min-height: 44px; padding: 0 18px; background: var(--rmf-soft); color: var(--rmf-ink); font-size: 15px; }

.rmf-visit { flex: 0 1 340px; min-width: 260px; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, 0.96); color: var(--rmf-ink); }
.rmf-visit__alert { background: var(--rmf-alert); color: #FFFFFF; padding: 14px 22px; display: flex; gap: 12px; align-items: flex-start; }
.rmf-visit__alert svg { flex: 0 0 22px; margin-top: 2px; }
.rmf-visit__alert strong { display: block; font-size: 16px; }
.rmf-visit__alert span { display: block; font-size: 14px; color: #FFE3E6; }
.rmf-visit__body { padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.rmf-visit__meta { font-size: 14px; color: var(--rmf-muted); }
.rmf .rmf-visit__link { font-size: 14px; font-weight: 600; text-decoration: none; }
.rmf-status { display: inline-flex; width: fit-content; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; }
.rmf-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.rmf-status.is-open { color: #1E6B3A; }
.rmf-status.is-closed { color: var(--rmf-alert); }

/* ----- Abschnitte ----- */
.rmf-section { padding: 72px max(24px, calc(50vw - 640px)); margin-top: 0; margin-bottom: 0; }
.rmf-section--tight { padding-top: 48px; padding-bottom: 24px; }
.rmf-section--wide { padding-left: 12px; padding-right: 12px; }
.rmf-head { display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.rmf-h2 { font-weight: 800; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.025em; max-width: 720px; }
.rmf-h3 { font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.rmf-lead { max-width: 420px; color: var(--rmf-muted); }
.rmf-empty { padding: 32px; background: var(--rmf-soft); border-radius: var(--rmf-radius); color: var(--rmf-muted); }
.rmf-admin-hint { padding: 16px; border: 2px dashed var(--rmf-red); border-radius: 12px; }

/* ----- Kennzahlen ----- */
.rmf-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.rmf-stat { padding: 24px; border-radius: 18px; background: var(--rmf-soft); }
.rmf-stat__value { font-family: var(--rmf-head); font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.rmf-stat__title { font-weight: 600; margin-bottom: 6px; }
.rmf-stat__text { color: var(--rmf-muted); font-size: 15px; }

/* ----- Markenkacheln ----- */
.rmf-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.rmf-brand { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 321 / 202; border-radius: 18px; overflow: hidden; text-decoration: none; background: var(--rmf-brand); color: var(--rmf-brand-text); }
.rmf-brands--small { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.rmf-brands--small .rmf-brand { border-radius: 12px; }
.rmf-brand img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.rmf-brand__name, .rmf-btile__name { font-family: var(--rmf-head); font-weight: 800; font-size: 20px; padding: 8px; text-align: center; }
.rmf-brand__count, .rmf-btile__count { position: absolute; right: 8px; bottom: 8px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); color: var(--rmf-ink); font-size: 12px; font-weight: 700; }

/* ----- Fahrzeuge ----- */
.rmf-filterbar { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; margin-bottom: 14px; color: var(--rmf-muted); min-height: 44px; }
.rmf-filterbar [hidden] { display: none !important; }
.rmf-brandfilter { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; margin-bottom: 32px; }
.rmf-btile { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 321 / 202; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--rmf-brand); color: var(--rmf-brand-text); font-family: inherit; transition: opacity 0.15s, box-shadow 0.15s; }
.rmf-btile img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.rmf-btile__name { font-size: 14px; }
.rmf-btile__count { right: 6px; bottom: 6px; padding: 1px 8px; }
.rmf-btile.is-empty { opacity: 0.4; cursor: default; }
.rmf-brandfilter.is-filtered .rmf-btile:not([aria-pressed="true"]) { opacity: 0.4; }
.rmf-btile[aria-pressed="true"] { box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 6px var(--rmf-ink); }

.rmf-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.rmf-vehicle[hidden] { display: none; }
.rmf .rmf-vehicle__link { display: flex; flex-direction: column; height: 100%; background: var(--rmf-soft); border-radius: var(--rmf-radius); overflow: hidden; text-decoration: none; color: var(--rmf-ink); transition: transform 0.15s, box-shadow 0.15s; }
.rmf .rmf-vehicle__link:hover { color: var(--rmf-ink); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(17, 20, 24, 0.1); }
.rmf-vehicle__stripe { height: 8px; background: var(--rmf-brand); }
.rmf-vehicle__img { margin: 8px; border-radius: 14px; background: #FFFFFF; padding: 24px 16px; }
.rmf-vehicle__img img { display: block; width: 100%; height: 110px !important; object-fit: contain; }
.rmf-vehicle__body { padding: 12px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.rmf-vehicle__brand { font-size: 13px; font-weight: 600; color: var(--rmf-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.rmf-vehicle__model { font-family: var(--rmf-head); font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.rmf-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.rmf-specs span { padding: 4px 10px; border-radius: 999px; background: #FFFFFF; font-size: 13px; }
.rmf-vehicle__price { margin-top: auto; padding-top: 14px; font-family: var(--rmf-head); font-size: 22px; font-weight: 800; }

/* ----- Bild und Text ----- */
.rmf-media { display: flex; flex-wrap: wrap; border-radius: 24px; overflow: hidden; max-width: 1416px; margin: 0 auto; }
.rmf-media--dark { background: var(--rmf-slate); color: #FFFFFF; }
/* Holzlamellen wie in der Lounge, mit schräger Kante wie die Treppe */
/* Zwischenräume transparent: dahinter scheint die Hintergrundfarbe durch. */
.rmf-slats { background-image: var(--rmf-slats); -webkit-mask-image: var(--rmf-slats-mask); mask-image: var(--rmf-slats-mask); }
.rmf-media__slats { flex: 0 0 132px; clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 100%); }
.rmf-media--reverse .rmf-media__slats { clip-path: polygon(0 0, 100% 38%, 100% 100%, 0 100%); }
@media (max-width: 900px) { .rmf-media__slats { display: none; } }
.rmf-media--light { background: var(--rmf-soft); }
.rmf-media--reverse { flex-direction: row-reverse; }
.rmf-media__img { flex: 1 1 480px; min-width: 0; width: 100%; min-height: 420px; object-fit: cover; }
.rmf-media__body { flex: 1 1 420px; min-width: 0; padding: 56px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.rmf-media--dark .rmf-media__text { color: #E3E8ED; font-size: 18px; }
.rmf-media__text p + p { margin-top: 12px; }
@media (max-width: 600px) { .rmf-media__body { padding: 32px 24px; } }

/* ----- Karten ----- */
.rmf-teasers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.rmf-teaser { background: var(--rmf-soft); border-radius: var(--rmf-radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.rmf-teaser p { color: var(--rmf-muted); font-size: 15px; }
.rmf .rmf-more { font-weight: 600; text-decoration: none; margin-top: auto; }
.rmf .rmf-event { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--rmf-radius); background: var(--rmf-soft); color: var(--rmf-ink); text-decoration: none; transition: transform 0.15s, box-shadow 0.15s; }
.rmf .rmf-event:hover { color: var(--rmf-ink); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(17, 20, 24, 0.1); }
.rmf-event p { color: var(--rmf-muted); font-size: 15px; }
.rmf-event .rmf-more { color: var(--rmf-red-dark); padding-top: 4px; }
.rmf-event__img { display: block; width: calc(100% + 40px); max-width: none !important; margin: -20px -20px 6px; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 14px; }

@media (max-width: 600px) {
	.rmf-hero__body { padding: 0 20px 28px; }
	.rmf-section { padding: 48px 16px; }
	.rmf-section--wide { padding-left: 8px; padding-right: 8px; }
	.rmf-notice--closed .rmf-notice__inner { font-size: 16px; }
}

/* ----- Footer ----- */
.rmf-footer { padding: 0 12px 12px; margin-top: 24px; }
.rmf-footer__frame { border-radius: 24px; overflow: hidden; background: var(--rmf-slate); }
.rmf-footer__panel { color: #D5DCE3; font-size: 14px; padding-top: 16px; }
.rmf-footer__slats { height: 96px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.rmf-footer__grid { max-width: 1280px; margin: 0 auto; padding: 48px 32px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.rmf-footer p { margin: 0 0 4px; }
.rmf-footer .rmf-wordmark { color: #FFFFFF; font-size: 22px; }
.rmf-footer__sub { margin-top: 8px !important; }
.rmf-footer__title { font-family: var(--rmf-body); font-size: 14px !important; font-weight: 600; color: #FFFFFF; margin: 0 0 8px !important; letter-spacing: 0; }
.rmf-footer a { color: #FFFFFF; }
.rmf-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.rmf-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.rmf-footer__links li { list-style: none; margin: 0; padding: 0; }
.rmf-footer__links a { color: #D5DCE3; text-decoration: none; }
.rmf-footer p, .rmf-footer a, .rmf-footer li { font-weight: 400; }
.rmf-footer__bottom { max-width: 1280px; margin: 0 auto; padding: 16px 32px 28px; border-top: 1px solid #56636F; font-size: 13px; display: flex; flex-direction: column; gap: 8px; }
.rmf-footer__notice { color: #AEB8C2; font-size: 12px; max-width: 900px; }
@media (max-width: 600px) { .rmf-footer__panel { padding-top: 8px; } .rmf-footer__slats { height: 56px; } .rmf-footer__grid { padding: 32px 20px 16px; } .rmf-footer__bottom { padding: 16px 20px 24px; } }

/* ----- Fahrzeug-Detailseite ----- */
.rmf-vd { padding-top: 32px; padding-bottom: 48px; }
.rmf .rmf-vd__back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 20px; color: var(--rmf-muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.rmf .rmf-vd__back:hover { color: var(--rmf-ink); }
.rmf-vd__back .rmf-icon { width: 18px; height: 18px; }
.rmf-vd__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
.rmf-vd__media { background: var(--rmf-soft); border-radius: 24px; overflow: hidden; position: sticky; top: 24px; }
.rmf-vd__stripe { height: 10px; background: var(--rmf-brand); }
.rmf-vd__stage { margin: 10px; border-radius: 18px; background: #FFFFFF; padding: 40px 28px; display: flex; align-items: center; justify-content: center; min-height: 340px; }
.rmf-vd__main { display: block; width: 100%; max-height: 520px !important; object-fit: contain; }
.rmf-vd__thumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 10px 12px; }
.rmf-vd__thumb { width: 84px; height: 64px; padding: 4px; border: 2px solid transparent; border-radius: 10px; background: #FFFFFF; cursor: pointer; }
.rmf-vd__thumb img { width: 100%; height: 100% !important; object-fit: contain; display: block; }
.rmf-vd__thumb[aria-pressed="true"] { border-color: var(--rmf-ink); }
.rmf-vd__info { display: flex; flex-direction: column; gap: 14px; }
.rmf-vd__logo { display: block; width: 96px; aspect-ratio: 321 / 202; border-radius: 10px; overflow: hidden; background: var(--rmf-brand); }
.rmf-vd__logo img { width: 100%; height: 100% !important; object-fit: cover; display: block; }
.rmf-vd__brand { font-size: 14px; font-weight: 600; color: var(--rmf-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.rmf .rmf-vd__title { font-weight: 800; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.025em; }
.rmf-vd__price { font-family: var(--rmf-head); font-weight: 800; font-size: 30px; letter-spacing: -0.01em; margin-top: 4px !important; }
.rmf-vd__pricenote { font-size: 14px; color: var(--rmf-muted); margin-top: -12px !important; }
.rmf-vd__specs { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rmf-vd__specs li { list-style: none; margin: 0; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--rmf-soft); }
.rmf-vd__specs .rmf-icon { flex: 0 0 auto; color: var(--rmf-slate); }
.rmf-vd__specs span { display: flex; flex-direction: column; font-size: 13px; color: var(--rmf-muted); line-height: 1.3; }
.rmf-vd__specs strong { font-family: var(--rmf-head); font-size: 20px; font-weight: 700; color: var(--rmf-ink); }
.rmf-vd__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.rmf-vd__actions .rmf-icon { width: 18px; height: 18px; margin-left: 8px; }
.rmf-vd__code { font-size: 13px; color: var(--rmf-muted); }

.rmf-vd__tabs { margin-top: 56px; }
.rmf-vd__tablist { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--rmf-soft); margin-bottom: 20px; }
.rmf-vd__tablist [role="tab"] { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--rmf-muted); font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.rmf-vd__tablist [role="tab"][aria-selected="true"] { background: #FFFFFF; color: var(--rmf-ink); box-shadow: 0 1px 4px rgba(17, 20, 24, 0.12); }
.rmf-vd__tabtitle { margin-bottom: 16px !important; }
.rmf-vd__panel { padding: 32px; border-radius: 24px; background: var(--rmf-soft); }
.rmf-vd__panel[hidden] { display: none; }
.rmf-vd__panel > h2:first-child { display: none; }
.rmf-vd__panel ul { list-style: none; margin: 0; padding: 0; columns: 2 280px; column-gap: 40px; }
.rmf-vd__panel li { list-style: none; position: relative; margin: 0 0 10px; padding-left: 22px; break-inside: avoid; }
.rmf-vd__panel li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--rmf-brand); }
.rmf-vd__panel p { margin: 0 0 12px; }
.rmf .rmf-vd__note { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--rmf-line); color: var(--rmf-muted); font-size: 14px; }
.rmf .rmf-vd__note p { margin: 0 0 4px; }
.rmf-vd__panel iframe { max-width: 100%; border: 0; border-radius: 14px; }
.rmf-vd__panel img { border-radius: 14px; }
.rmf-vd__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.rmf-vd__gitem { display: block; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #FFFFFF; cursor: zoom-in; aspect-ratio: 4 / 3; }
.rmf-vd__gitem img { display: block; width: 100%; height: 100% !important; object-fit: cover; border-radius: 0; transition: transform 0.25s; }
.rmf-vd__gitem:hover img { transform: scale(1.03); }
html.rmf-noscroll { overflow: hidden; }
.rmf-lightbox { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 56px 72px; background: rgba(17, 20, 24, 0.92); }
.rmf-lightbox[hidden] { display: none; }
.rmf-lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px; }
.rmf-lightbox button { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #FFFFFF; font-size: 30px; line-height: 1; cursor: pointer; font-family: inherit; }
.rmf-lightbox button:hover { background: rgba(255, 255, 255, 0.28); }
.rmf-lightbox__close { top: 16px; right: 16px; }
.rmf-lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.rmf-lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.rmf-lightbox.is-single .rmf-lightbox__prev, .rmf-lightbox.is-single .rmf-lightbox__next, .rmf-lightbox.is-single .rmf-lightbox__count { display: none; }
.rmf-lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #FFFFFF; font-size: 14px; }
@media (max-width: 600px) { .rmf-lightbox { padding: 64px 8px; } .rmf-lightbox__prev, .rmf-lightbox__next { top: auto !important; bottom: 8px; transform: none !important; } }

.rmf-vd__files { margin-top: 48px; }
.rmf-vd__files .rmf-h3 { margin-bottom: 16px; }
.rmf-vd__files ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.rmf-vd__files li { list-style: none; margin: 0; }
.rmf .rmf-vd__files a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--rmf-line); color: var(--rmf-ink); text-decoration: none; }
.rmf .rmf-vd__files a:hover { border-color: var(--rmf-ink); }
.rmf-vd__files .rmf-icon { flex: 0 0 auto; color: var(--rmf-red); }
.rmf-vd__files span { display: flex; flex-direction: column; min-width: 0; }
.rmf-vd__files strong { font-weight: 600; overflow-wrap: anywhere; }
.rmf-vd__files small { color: var(--rmf-muted); font-size: 13px; }
.rmf-vd-more { padding-top: 24px; }

@media (max-width: 900px) {
	.rmf-vd__top { grid-template-columns: 1fr; }
	.rmf-vd__media { position: static; }
	.rmf-vd__stage { min-height: 0; padding: 24px 16px; }
}
@media (max-width: 600px) {
	.rmf-vd__panel { padding: 22px 18px; }
	.rmf-vd__tablist { display: flex; border-radius: 18px; }
	.rmf-vd__tablist [role="tab"] { flex: 1 1 auto; padding: 0 12px; border-radius: 14px; }
	.rmf-vd__actions .rmf-btn { flex: 1 1 100%; }
	.rmf-vd__specs strong { font-size: 18px; }
}

/* ----- Ansprechpartner ----- */
.rmf-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.rmf-person { display: flex; flex-direction: column; background: var(--rmf-soft); border-radius: var(--rmf-radius); overflow: hidden; }
.rmf-person__img { margin: 8px 8px 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 4.2; background: #2B2F35; }
.rmf-person__img img { display: block; width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 25%; }
.rmf-person__body { padding: 18px 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.rmf-person__role { font-size: 13px; font-weight: 600; color: var(--rmf-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.rmf-person__text { margin-top: 8px !important; color: var(--rmf-muted); font-size: 15px; }

/* ----- Seitenkopf -----
   Mit Bild: Bild als Hintergrund, links weich in Schiefergrau übergehend.
   Ohne Bild: Schiefergrau, rechts Lamellen mit diagonaler Kante bis zum unteren Rand. */
.rmf-pagehead-wrap { padding-top: 12px; padding-bottom: 32px; }
.rmf-pagehead { position: relative; display: flex; align-items: flex-end; min-height: 240px; max-width: 1416px; margin: 0 auto; border-radius: 24px; overflow: hidden; background: var(--rmf-slate); color: #FFFFFF; }
.rmf-pagehead.has-image { min-height: 400px; }
.rmf-pagehead__img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none !important; object-fit: cover; }
.rmf-pagehead__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(61, 74, 87, 0.94) 0%, rgba(61, 74, 87, 0.78) 30%, rgba(61, 74, 87, 0.2) 62%, rgba(61, 74, 87, 0) 80%), linear-gradient(0deg, rgba(17, 20, 24, 0.35) 0%, rgba(17, 20, 24, 0) 45%); }
.rmf-pagehead__slats { position: absolute; top: 0; right: 0; bottom: 0; width: min(46%, 600px); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.rmf-pagehead:not(.has-image) .rmf-pagehead__body { max-width: min(820px, 58%); }
.rmf-pagehead__body { position: relative; z-index: 1; width: 100%; max-width: 820px; padding: 56px 56px 48px; display: flex; flex-direction: column; gap: 14px; }
.rmf .rmf-pagehead__title { font-weight: 800; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.03em; color: #FFFFFF; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18); }
.rmf-pagehead__text { max-width: 600px; font-size: 18px; color: #E8ECF0; }
.rmf-pagehead:not(.has-image) .rmf-pagehead__title { text-shadow: none; }
@media (max-width: 700px) {
	.rmf-pagehead { min-height: 200px; }
	.rmf-pagehead.has-image { min-height: 280px; }
	.rmf .rmf-pagehead__title { font-size: 32px; hyphens: auto; overflow-wrap: anywhere; }
	.rmf-pagehead__text { font-size: 16px; }
	.rmf-pagehead__slats { width: 100%; clip-path: polygon(0 0, 100% 0, 100% 70%); }
	.rmf-pagehead__scrim { background: linear-gradient(0deg, rgba(61, 74, 87, 0.95) 0%, rgba(61, 74, 87, 0.6) 55%, rgba(61, 74, 87, 0.1) 100%); }
	.rmf-pagehead__body { padding: 32px 24px 28px; }
	.rmf-pagehead:not(.has-image) .rmf-pagehead__body { max-width: none; }
}

/* ----- Bestehende Seiten an das neue Design angleichen -----
   Nur Schrift, Farben und Buttons. Gilt nicht für die Bausteine selbst (.rmf). */
body.rmf-skin { font-family: "RMF Inter", Inter, system-ui, sans-serif; color: #111418; }
body.rmf-skin :is(p, li, td, th, dd, dt, blockquote, label, input, textarea, select):not(.rmf, .rmf *, #wpadminbar *) { font-family: "RMF Inter", Inter, system-ui, sans-serif; }
body.rmf-skin :is(h1, h2, h3, h4, h5, h6):not(.rmf, .rmf *, #wpadminbar *) { font-family: "RMF Jakarta", "Plus Jakarta Sans", system-ui, sans-serif; color: #111418; text-transform: none; letter-spacing: -0.015em; }
body.rmf-skin :is(h1, h2):not(.rmf, .rmf *, #wpadminbar *) { font-weight: 800; }
body.rmf-skin :is(h3, h4, h5, h6):not(.rmf, .rmf *, #wpadminbar *) { font-weight: 700; }
body.rmf-skin :is(main, article, .entry-content, .wpb-content-wrapper, .vc_row) a:not(.rmf a, [class*="vc_btn"], .button, .btn) { color: #B3121A; }
body.rmf-skin :is(.vc_btn3, .vc_general.vc_btn3, a.button, button.button, .btn, input[type="submit"]):not(.rmf *, #wpadminbar *) { border-radius: 999px !important; font-family: "RMF Inter", Inter, system-ui, sans-serif !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important; }
body.rmf-skin :is(.vc_btn3.vc_btn3-style-flat, .vc_btn3.vc_btn3-style-modern, .vc_btn3.vc_btn3-style-classic, input[type="submit"]):not(.rmf *, #wpadminbar *) { background: #D7141A !important; border-color: #D7141A !important; color: #FFFFFF !important; background-image: none !important; }
body.rmf-skin :is(.vc_btn3.vc_btn3-style-flat, .vc_btn3.vc_btn3-style-modern, .vc_btn3.vc_btn3-style-classic, input[type="submit"]):not(.rmf *, #wpadminbar *):hover { background: #B3121A !important; border-color: #B3121A !important; }
body.rmf-skin :is(.wpb_single_image img, .vc_single_image-wrapper, .wpb_gallery img):not(.rmf *, #wpadminbar *) { border-radius: 14px; }

/* Formulare (Ninja Forms) */
body.rmf-skin .nf-form-cont { font-family: "RMF Inter", Inter, system-ui, sans-serif; }
body.rmf-skin .nf-form-content { max-width: none; }
body.rmf-skin .nf-form-content .nf-field-label label { font-weight: 600; font-size: 14px; color: #111418; }
body.rmf-skin .nf-form-content :is(input:not([type="checkbox"], [type="radio"], [type="button"], [type="submit"]), textarea, select, .list-select-wrap > div) { min-height: 48px; padding: 10px 14px; border: 1px solid #C9CED4 !important; border-radius: 12px !important; background: #FFFFFF !important; color: #111418; font-size: 16px !important; box-shadow: none; }
body.rmf-skin .nf-form-content :is(input, textarea, select):focus { border-color: #3D4A57 !important; outline: 3px solid rgba(61, 74, 87, 0.18); }
body.rmf-skin .nf-form-content input[type="button"], body.rmf-skin .nf-form-content input[type="submit"] { min-height: 48px; padding: 0 28px; border: 0 !important; border-radius: 999px !important; background: #D7141A !important; color: #FFFFFF !important; font-weight: 600; font-size: 16px; cursor: pointer; }
body.rmf-skin .nf-form-content input[type="button"]:hover { background: #B3121A !important; }
body.rmf-skin .nf-form-content .nf-field-container { margin-bottom: 20px; }
body.rmf-skin .nf-form-content .checkbox-wrap .nf-field-element { margin-right: 12px; }

/* Akkordeons und Reiter (WPBakery) */
body.rmf-skin .vc_tta.vc_general .vc_tta-panel { border-radius: 14px !important; overflow: hidden; margin-bottom: 8px; }
body.rmf-skin .vc_tta.vc_general .vc_tta-panel-heading { background: #EEF1F4 !important; border: 0 !important; }
body.rmf-skin .vc_tta.vc_general .vc_tta-panel-title > a { font-family: "RMF Jakarta", "Plus Jakarta Sans", system-ui, sans-serif; font-weight: 700; font-size: 17px; color: #111418 !important; padding: 18px 22px 18px 52px; }
body.rmf-skin .vc_tta.vc_general .vc_tta-panel-body { background: #FFFFFF !important; border: 1px solid #EEF1F4 !important; border-top: 0 !important; padding: 22px 26px !important; }

/* Bilder und Videos im Inhalt */
body.rmf-skin :is(.wpb_video_widget iframe, .vc_video-bg, .wpb_gmaps_widget iframe):not(.rmf *) { border-radius: 14px; }
