:root {
	--rm-bg: #171717;
	--rm-bg-elevated: #1f1f1f;
	--rm-accent: #FFE401;
	--rm-text: #f2f2f2;
	--rm-text-muted: #b7b7b7;
	--rm-border: rgba(255,255,255,.1);
}
.rm-projekte-page * { box-sizing: border-box; }
.rm-projekte-page { font-family: 'Poppins', sans-serif; background: var(--rm-bg); color: var(--rm-text); line-height: 1.6; }
.rm-projekte-page a, .rm-projekte-page button { color: inherit; font-family: inherit; }
/* Härtung gegen globale Theme-/Page-Builder-Styles (z. B. Elementor
   „Kit"-Standardstile für <button>/<input>/<select>), die auf dieser
   Website mit sehr hoher Spezifität auf rohe Formularelemente zielen
   (beobachtet: sitweite Elementor-Kit-Regel setzt button { font-size:
   38rem !important-artig durch hohe Spezifität } und hat dadurch alle
   Filter-Buttons/Select-Felder im Plugin auf ~600px Schriftgröße
   aufgebläht). Die Schriftgröße wird deshalb bei jeder einzelnen
   Button-/Select-Komponente unten gezielt mit !important abgesichert
   (siehe jeweilige Regeln), hier nur die unkritischen, sicher
   blanket-setzbaren Eigenschaften. */
.rm-projekte-page button,
.rm-projekte-page input,
.rm-projekte-page select,
.rm-projekte-page textarea {
	font-family: inherit !important;
	line-height: normal !important;
	margin: 0 !important;
	box-shadow: none !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}
.rm-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-weight: 700; margin: 0 0 .4em; line-height: 1.2; }
.rm-eyebrow, .rm-section-eyebrow { display:flex; align-items:center; gap:8px; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 600; color: var(--rm-accent); margin: 0 0 12px; }
.rm-dot { width:6px; height:6px; border-radius:50%; background:var(--rm-accent); display:inline-block; }

/* ==== Hero mit Auswahl aus mehreren Arbeiten (Netflix/Apple-TV-Stil) ====
   Kundenentscheidung 18.07.2026 - ersetzt den früheren Einzel-Featured-
   Bereich vollständig. */
.rm-hero-multi { position: relative; height: 84vh; min-height: 560px; max-height: 780px; overflow: hidden; margin-bottom: 80px; }
.rm-hero-multi-media { position: absolute; inset: 0; }
.rm-hero-multi-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .35s ease; }
.rm-hero-multi-gradient {
	position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(23,23,23,.97) 0%, rgba(23,23,23,.75) 32%, rgba(23,23,23,.15) 62%, rgba(23,23,23,.05) 100%),
		linear-gradient(0deg, var(--rm-bg) 0%, rgba(23,23,23,0) 22%, rgba(23,23,23,0) 78%, rgba(23,23,23,.5) 100%);
}
.rm-hero-multi-content {
	position: relative; z-index: 2; max-width: 620px; height: 100%;
	display: flex; flex-direction: column; justify-content: center; gap: 14px;
	padding: 0 24px; margin: 0 auto 0 max(24px, calc((100% - 1240px) / 2 + 24px));
}
/* Leichtes Einblenden (Fade + dezenter Slide-up) bei jedem Wechsel der
   Auswahl, retriggerbar per JS (Klasse entfernen/neu setzen). */
@keyframes rmHeroFadeIn {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}
.rm-hero-multi-content.rm-hero-fade-in > * { animation: rmHeroFadeIn .6s cubic-bezier(.22,.61,.36,1) both; }
.rm-hero-multi-content.rm-hero-fade-in > *:nth-child(1) { animation-delay: 0s; }
.rm-hero-multi-content.rm-hero-fade-in > *:nth-child(2) { animation-delay: .06s; }
.rm-hero-multi-content.rm-hero-fade-in > *:nth-child(3) { animation-delay: .12s; }
.rm-hero-multi-content.rm-hero-fade-in > *:nth-child(4) { animation-delay: .18s; }
@media (prefers-reduced-motion: reduce) {
	.rm-hero-multi-content.rm-hero-fade-in > * { animation: none; }
}
.rm-hero-multi-content h1 { font-size: clamp(32px, 4.6vw, 54px); margin: 0; color: var(--rm-text) !important; }
.rm-hero-multi-excerpt { color: var(--rm-text-muted); font-size: 16px; max-width: 520px; margin: 0; }
.rm-hero-multi-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.rm-hero-play {
	display: inline-flex; align-items: center; gap: 14px; background: none; border: none;
	color: var(--rm-text); font-weight: 600; font-size: 15px; padding: 0; cursor: pointer; text-decoration: none;
}
.rm-hero-play-icon {
	display: flex; align-items: center; justify-content: center;
	width: 58px; height: 58px; border-radius: 50%;
	background: rgba(23,23,23,.55); border: 1px solid rgba(255,255,255,.4);
	color: #fff; font-size: 18px; backdrop-filter: blur(2px);
	transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.rm-hero-play:hover .rm-hero-play-icon {
	transform: translateY(-2px);
	background: var(--rm-accent); color: #171717; border-color: var(--rm-accent);
}
.rm-hero-play-label { transition: color .2s ease; }
.rm-hero-play:hover .rm-hero-play-label { color: var(--rm-accent); }
.rm-hero-scroll {
	display: inline-flex; align-items: center; gap: 8px; color: var(--rm-text-muted); text-decoration: none;
	font-size: 14px; font-weight: 600; transition: color .2s ease;
}
.rm-hero-scroll:hover { color: var(--rm-accent); }
.rm-hero-multi-strip {
	position: absolute; z-index: 2; right: 24px; bottom: 56px;
	display: flex; gap: 10px; max-width: calc(100% - 48px); overflow-x: auto; padding-bottom: 4px;
}
.rm-hero-strip-item {
	position: relative; flex: 0 0 auto; width: 130px; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden;
	box-sizing: border-box; border: 1px solid transparent; background: transparent; cursor: pointer; padding: 0; opacity: .7;
	transition: opacity .2s ease, border-color .2s ease, transform .2s ease; display: block;
}
.rm-hero-strip-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rm-hero-strip-item:hover { opacity: .9; transform: translateY(-2px); }
.rm-hero-strip-item.is-active { opacity: 1; border-color: var(--rm-accent); }
@media (max-width: 900px) {
	.rm-hero-multi { height: auto; min-height: 0; padding: 64px 0 220px; }
	.rm-hero-multi-content { margin: 0 auto; padding: 0 24px; height: auto; }
	.rm-hero-multi-strip { position: static; margin: 24px 24px 0; max-width: none; }
}

/* Cards */
.rm-card-media { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--rm-bg-elevated); }
.rm-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.rm-card:hover .rm-card-media img { transform: scale(1.04); }
.rm-placeholder-media { width: 100%; height: 100%; min-height: 220px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #232323, #171717); color: var(--rm-text-muted); font-weight: 600; text-align: center; padding: 20px; }
.rm-play-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(23,23,23,.55); border: 1px solid rgba(255,255,255,.4); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; backdrop-filter: blur(2px); transition: transform .2s ease, background .2s ease; pointer-events: none; }
.rm-video-facade:hover .rm-play-badge { transform: translate(-50%, -50%) scale(1.08); background: var(--rm-accent); color: #171717; }
.rm-badge-neu { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--rm-accent); color: #171717; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; }
.rm-badge-video-count { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(23,23,23,.7); backdrop-filter: blur(3px); color: var(--rm-text); font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 5px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 3px; }
.rm-badge-video-count[hidden] { display: none; }
.rm-card-tag-pill { position: absolute; bottom: 12px; left: 12px; z-index: 2; background: rgba(23,23,23,.7); backdrop-filter: blur(3px); color: var(--rm-accent); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.rm-card-tag { display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--rm-accent); margin-bottom: 6px; }
.rm-card-client { color: var(--rm-text-muted); font-size: 13px; margin: 2px 0 0; }

/* Toolbar */
.rm-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 40px 0 32px; }
.rm-filterbar { display: flex; flex-wrap: wrap; gap: 10px; }
.rm-filter-btn { background: transparent !important; border: 1px solid var(--rm-border) !important; color: var(--rm-text-muted) !important; padding: 9px 18px !important; border-radius: 999px !important; font-size: 14px !important; cursor: pointer; transition: all .2s ease; }
.rm-filter-btn:hover { color: var(--rm-text) !important; border-color: var(--rm-accent) !important; }
.rm-filter-btn.is-active { background: var(--rm-accent) !important; border-color: var(--rm-accent) !important; color: #171717 !important; font-weight: 600; }
.rm-sort select { background: var(--rm-bg-elevated); color: var(--rm-text); border: 1px solid var(--rm-border); border-radius: 999px; padding: 9px 16px; font-size: 14px !important; cursor: pointer; }

/* Grid */
.rm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rm-card { position: relative; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--rm-text); background: var(--rm-bg-elevated); border: 1px solid var(--rm-border); transition: transform .2s ease, border-color .2s ease; cursor:pointer; opacity:0; transform:translateY(24px); text-align:left; padding:0; }
.rm-card.is-visible { opacity: 1; transform: none; }
.rm-card .rm-card-media { aspect-ratio: 4/3; }
.rm-card.is-wide { grid-column: span 2; }
.rm-card.is-wide .rm-card-media { aspect-ratio: 16/9; }
.rm-card:hover { transform: translateY(-2px); border-color: var(--rm-accent); }
.rm-card.is-visible:hover { transform: translateY(-2px); }
.rm-card.rm-hidden { display: none; }
.rm-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.rm-card-footer h3 { font-size: 16px; margin: 0; color: var(--rm-text) !important; }
.rm-card-arrow { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rm-border); display: flex; align-items: center; justify-content: center; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.rm-card:hover .rm-card-arrow { background: var(--rm-accent); border-color: var(--rm-accent); color: #171717; transform: translateY(-2px); }
.rm-empty { text-align: center; color: var(--rm-text-muted); padding: 48px 0; display:none; }
.rm-portfolio { padding-bottom: 24px; }
.rm-loadmore-wrap { display: flex; justify-content: center; margin-top: 36px; }
.rm-loadmore-btn { background: transparent !important; border: 1px solid var(--rm-border) !important; color: var(--rm-text) !important; padding: 12px 26px !important; border-radius: 999px !important; font-size: 14px !important; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: border-color .2s ease, transform .15s ease; }
.rm-loadmore-btn:hover { border-color: var(--rm-accent) !important; transform: translateY(-2px); }
.rm-loadmore-btn[hidden] { display: none; }

/* USP */
.rm-usp-strip { padding: 56px 0 88px; border-top: 1px solid var(--rm-border); }
.rm-usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.rm-usp-item { display: flex; align-items: flex-start; gap: 14px; }
.rm-usp-icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--rm-bg-elevated); border: 1px solid var(--rm-border); display: flex; align-items: center; justify-content: center; font-size: 18px; transition: transform .3s ease; }
.rm-usp-item:hover .rm-usp-icon { transform: rotate(-8deg) scale(1.08); }
.rm-usp-item h4 { font-size: 15px; margin-bottom: 2px; color: var(--rm-text) !important; }
.rm-usp-item p { color: var(--rm-text-muted); font-size: 13px; margin: 0; }

/* Video facade */
.rm-video-facade { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: #000; cursor: pointer; border: none; padding: 0; }
.rm-video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rm-play-badge-lg { width: 84px; height: 84px; font-size: 26px; }
.rm-video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rm-single-cover img { width:100%; display:block; border-radius:14px; }

/* Video-Auswahlleiste: mehrere Filme in einem Projekt. Klick auf einen
   Tab tauscht nur die .rm-video-facade oben aus (siehe setupVideoBlock
   in assets/js/portfolio.js) - der Rest der Seite bleibt unverändert. */
.rm-video-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.rm-video-tab { display: flex; align-items: center; gap: 10px; background: var(--rm-bg-elevated) !important; border: 1px solid var(--rm-border) !important; border-radius: 999px !important; padding: 6px 16px 6px 6px !important; color: var(--rm-text-muted) !important; font-size: 13px !important; font-weight: 600; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.rm-video-tab:hover { color: var(--rm-text) !important; border-color: rgba(255,255,255,.3) !important; }
.rm-video-tab.is-active { border-color: var(--rm-accent) !important; color: var(--rm-text) !important; }
.rm-video-tab-thumb { position: relative; flex: 0 0 auto; width: 46px; height: 30px; border-radius: 6px; overflow: hidden; background: #000; }
.rm-video-tab-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rm-video-tab-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(23,23,23,.35); color: #fff; font-size: 10px; }
.rm-video-tab.is-active .rm-video-tab-play { background: rgba(255,228,1,.25); color: var(--rm-accent); }

/* Overlay */
.rm-overlay { position: fixed; inset: 0; background: rgba(10,10,10,.82); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 10000; padding: 24px; font-family: 'Poppins', sans-serif; color: var(--rm-text); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility 0s linear .25s; }
.rm-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .25s ease; }
.rm-overlay-panel { transform: translateY(18px) scale(.98); transition: transform .32s cubic-bezier(.22,.61,.36,1), opacity .32s ease; opacity: 0; background: var(--rm-bg); border: 1px solid var(--rm-border); border-radius: 20px; max-width: 1100px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 32px; position: relative; }
.rm-overlay.is-open .rm-overlay-panel { transform: translateY(0) scale(1); opacity: 1; }
.rm-overlay-loading { text-align: center; color: var(--rm-text-muted); padding: 80px 0; font-size: 15px; }
@keyframes rmMediaFadeIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }
.rm-overlay-media.rm-media-fade-in { animation: rmMediaFadeIn .45s cubic-bezier(.22,.61,.36,1) both; }
@keyframes rmContentCascade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.rm-overlay-content.rm-content-fade-in > * { animation: rmContentCascade .5s cubic-bezier(.22,.61,.36,1) both; }
.rm-overlay-content.rm-content-fade-in > *:nth-child(1) { animation-delay: .05s; }
.rm-overlay-content.rm-content-fade-in > *:nth-child(2) { animation-delay: .1s; }
.rm-overlay-content.rm-content-fade-in > *:nth-child(3) { animation-delay: .15s; }
.rm-overlay-content.rm-content-fade-in > *:nth-child(4) { animation-delay: .2s; }
.rm-overlay-content.rm-content-fade-in > *:nth-child(5) { animation-delay: .25s; }
.rm-overlay-content.rm-content-fade-in > *:nth-child(6) { animation-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
	.rm-overlay, .rm-overlay-panel { transition: none; }
	.rm-overlay-media.rm-media-fade-in, .rm-overlay-content.rm-content-fade-in > * { animation: none; }
}
.rm-overlay-close, .rm-overlay-nav { position: fixed; background: rgba(255,255,255,.1) !important; border: none !important; color: #fff !important; width: 44px; height: 44px; border-radius: 50% !important; padding: 0 !important; font-size: 22px !important; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10002; transition: background .2s ease; }
.rm-overlay-close:hover, .rm-overlay-nav:hover { background: var(--rm-accent) !important; color: #171717 !important; }
.rm-overlay-close { top: 24px; right: 24px; }
.rm-overlay-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.rm-overlay-next { right: 24px; top: 50%; transform: translateY(-50%); }
.rm-overlay-media { border-radius: 14px; overflow: hidden; margin-bottom: 24px; }
.rm-overlay-content h2 { font-size: clamp(24px, 3.4vw, 34px); margin-top: 6px; color: var(--rm-text) !important; }
.rm-overlay-meta { display: flex; gap: 20px; flex-wrap: wrap; color: var(--rm-text-muted); font-size: 14px; margin-bottom: 28px; }
.rm-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.rm-meta-item svg { color: var(--rm-accent); }
.rm-overlay-columns { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.rm-content-block { margin-top: 28px; }
.rm-content-block:first-child { margin-top: 0; }
.rm-content-block h3 { font-size: 22px; margin: 0 0 10px; color: var(--rm-text) !important; }
.rm-content-block p { color: var(--rm-text); margin: 0; }
.rm-content-block p + p { margin-top: 12px; }
.rm-overlay-ergebnis { background: var(--rm-bg-elevated); border-left: 3px solid var(--rm-accent); border-radius: 8px; padding: 18px 20px; margin-top: 24px; }
.rm-overlay-ergebnis h4 { margin-bottom: 6px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--rm-accent) !important; }
.rm-overlay-ergebnis p { margin: 0; color: var(--rm-text); }
.rm-overlay-sidebar { background: var(--rm-bg-elevated); border: 1px solid var(--rm-border); border-radius: 14px; padding: 22px; }
.rm-overlay-sidebar h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--rm-accent) !important; margin-bottom: 12px; }
.rm-overlay-sidebar ul { list-style: none; padding: 0; margin: 0; }
.rm-overlay-sidebar li { padding: 7px 0; border-bottom: 1px solid var(--rm-border); font-size: 14px; }
.rm-overlay-sidebar li:last-child { border-bottom: none; }
.rm-overlay-sidebar li::before { content: "— "; color: var(--rm-accent); }
.rm-overlay-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 28px; }
.rm-overlay-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rm-border); flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--rm-accent) !important; color: #171717 !important; font-weight: 600; text-decoration: none; padding: 13px 24px !important; border-radius: 999px !important; transition: transform .15s ease; border: none !important; font-size: 14px !important; cursor: pointer; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary.btn-outline { background: transparent !important; color: var(--rm-text) !important; border: 1px solid var(--rm-border) !important; }
.btn-primary.btn-outline:hover { border-color: var(--rm-accent) !important; color: var(--rm-accent) !important; }
.btn.btn-primary { display: inline-flex; }

.rm-gallery-item { border: none; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: var(--rm-bg-elevated); }
.rm-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.rm-gallery-item:hover img { transform: scale(1.06); }

.lightbox { position: fixed; inset: 0; background: rgba(10,10,10,.92); display: none; align-items: center; justify-content: center; z-index: 10001; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 88vw; max-height: 84vh; border-radius: 8px; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; background: rgba(255,255,255,.1) !important; border: none !important; color: #fff !important; width: 44px; height: 44px; border-radius: 50% !important; padding: 0 !important; font-size: 22px !important; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #ccc; font-size: 13px; }

/* ==== Einzelseite (Case-Study-Vollansicht, SEO-/No-JS-Fallback) ==== */
.rm-single-hero { padding: 32px 0 0; }
.rm-back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--rm-text-muted); text-decoration: none; font-size: 14px; margin-bottom: 20px; transition: color .2s ease; }
.rm-back-link:hover { color: var(--rm-accent); }
.rm-single-meta h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; color: var(--rm-text) !important; }
.rm-single-facts { display: flex; gap: 24px; flex-wrap: wrap; color: var(--rm-text-muted); font-size: 14px; margin-bottom: 24px; }
.rm-single-facts strong { color: var(--rm-text); }
.rm-video-block { margin-bottom: 8px; }
.rm-single-content { padding: 48px 0; }
.rm-single-content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.rm-single-sidebar { background: var(--rm-bg-elevated); border: 1px solid var(--rm-border); border-radius: 14px; padding: 24px; }
.rm-single-sidebar h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--rm-accent) !important; margin-bottom: 12px; }
.rm-leistungen-list { list-style: none; padding: 0; margin: 0 0 16px; }
.rm-leistungen-list li { padding: 7px 0; border-bottom: 1px solid var(--rm-border); font-size: 14px; }
.rm-leistungen-list li:last-child { border-bottom: none; }
.rm-leistungen-list li::before { content: "— "; color: var(--rm-accent); }
.rm-single-sidebar hr { border: none; border-top: 1px solid var(--rm-border); margin: 16px 0; }
.rm-single-sidebar p { font-size: 14px; color: var(--rm-text-muted); }
.rm-single-gallery { padding: 8px 0 48px; }
.rm-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.rm-related { padding: 8px 0 64px; border-top: 1px solid var(--rm-border); }

@media (max-width: 900px) {
	.rm-grid { grid-template-columns: repeat(2, 1fr); }
	.rm-card.is-wide { grid-column: span 2; }
	.rm-usp-grid { grid-template-columns: repeat(2, 1fr); }
	.rm-overlay-columns { grid-template-columns: 1fr; }
	.rm-overlay-nav { position: absolute; top: auto; bottom: 16px; transform: none; }
	.rm-overlay-prev { left: 16px; } .rm-overlay-next { right: 16px; }
	.rm-single-content-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.rm-grid { grid-template-columns: 1fr; }
	.rm-card.is-wide { grid-column: span 1; }
	.rm-usp-grid { grid-template-columns: 1fr; }
	.rm-overlay-panel { padding: 20px; }
	.rm-toolbar { flex-direction: column; align-items: stretch; }
}
