/* Gestalterischer Feinschliff nach Marcels Durchsicht (19.10.2026). Wird nach dem Webflow-CSS geladen.
   Nur Darstellung: keine Texte, keine Seitenstruktur. Jede Regel mit Bezug zum Befund. */

/* 1 Leistungsseiten, Intro-Galerie: großes Bild füllt die Höhe des Rasters, Raster-Bilder einheitlich 3:4 */
.intro-nested-grid .gallery-image-wrap { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--_border-radii---default); }
.intro-nested-grid .intro-gallery-image { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 992px) {
  .intro-gallery-grid { align-items: stretch; justify-items: stretch; }
  .intro-gallery-grid > .gallery-image-wrap { height: 100%; overflow: hidden; border-radius: var(--_border-radii---default); }
  .intro-gallery-grid > .gallery-image-wrap > .intro-gallery-image { width: 100%; height: 100%; object-fit: cover; display: block; }
}

/* 2 Referenzen, Vorher/Nachher: einheitliche, moderate Bildhöhe statt bildschirmhoher Hochformate */
.before-nested-image { width: 100%; height: clamp(260px, 34vw, 520px); object-fit: cover; display: block; }

/* 2/7/10 Bild-Slider (Leistungsseiten und Referenzen): alle Bilder gleich hoch, nicht mehr bildschirmhoch */
.service-slide .lightbox-image, .service-slide .service-slide-image { width: 100%; height: clamp(300px, 36vw, 540px); object-fit: cover; display: block; }
.service-slide.margin-left { aspect-ratio: auto; }

/* 3 Leistungs-Kacheln (Icon, Titel, Text, „Mehr erfahren“): gleich hoch, Link immer unten */
.w-dyn-items:has(> .collection-item > .icon-card) { align-items: stretch; }
.collection-item:has(> .icon-card) { height: auto; display: flex; }
.collection-item > .icon-card { flex: 1; height: auto; }
.icon-card > .service-dynamic-content { display: flex; flex-direction: column; flex: 1; width: 100%; }
.icon-card > .service-dynamic-content > .service-cta-wrap { margin-top: auto; padding-top: 28px; }

/* 4 Referenzen „Die vier größten Baustellen“: leere CMS-Icons zeigten nur ein schwarzes Quadrat */
.boxed-icon > .small-boxed-icon.w-dyn-bind-empty { display: block !important; }

/* 5 Dunkle Icons auf dunklem Kasten (gemessen 19.10.: Uhr in den Vorteilen, Kran bei den Baustellen) */
.boxed-icon > img[src*="icons8-time-100"], .boxed-icon > img[src*="icons8-construction-80"] { filter: invert(1) brightness(1.15); }

/* 6 Referenz-Karten: ganze Karte klickbar statt nur „Details“ */
.case-study-itmes, .case-studies-grid > .w-dyn-item { position: relative; }
.case-study-cta { position: static; }
.case-study-cta::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.case-studies-image-wrap { overflow: hidden; }
.case-study-image { transition: transform .5s ease; }
.case-study-itmes:hover .case-study-image, .case-studies-grid > .w-dyn-item:hover .case-study-image { transform: scale(1.02); }
.case-study-itmes:hover .cta-arrow, .case-studies-grid > .w-dyn-item:hover .cta-arrow { transform: translateX(4px); transition: transform .3s ease; }

/* 8 Kundenstimme auf Referenzseiten: ruhiger Markenhintergrund statt Fremdfoto, kein Symbolfoto der Person */
.quote-section { background-image: none !important; background-color: #1c1b17; }
.quote-section .quote-author-wrap .avatar { display: none; }

/* 11 Standortkarte: moderne, entsättigte Karte im Markenton mit eigenem Pin */
.rm-map { background-image: url('/wf/img/rm-karte-gersthofen-2026.webp') !important; background-color: #f3f1ea !important; }
.rm-map-bar { background: linear-gradient(to top, rgba(28, 27, 23, .82), rgba(28, 27, 23, .35) 75%, rgba(28, 27, 23, 0)) !important; }

/* 12 Partner-Seite: Inhaltskacheln gleich hoch */
.difference-category-grid { align-items: stretch; }
.difference-category-grid > .local-partner-content { height: 100%; }

/* Formular: PLZ-Hinweis ruhig und hochwertig statt roter Fehlermeldung */
.message-box .rm-plz-warn { background: #faf3e3; border-left: 4px solid #e0b354; color: #3f3f46; border-radius: 0 6px 6px 0; padding: 14px 16px; font-size: 14px; line-height: 1.55; }

/* 7 Bild-Slider als Endlos-Karussell (rm-feinschliff.js): Grundwerte, die sonst .w-slider liefert */
.rm-karussell { position: relative; text-align: left; -webkit-tap-highlight-color: transparent; }
.rm-karussell .w-slider-mask { touch-action: pan-y; user-select: none; }
.rm-karussell .w-slide img { -webkit-user-drag: none; pointer-events: none; }

/* Partner-Seite: Links in Inhaltskacheln im Markenstil statt Browser-Blau */
.local-partner-content a { color: #1c1b17; text-decoration: underline; text-decoration-color: #e0b354; text-underline-offset: 3px; }
.local-partner-content a:hover { text-decoration-color: #1c1b17; }

/* ---------- Review-Runde 1 (Vorlagen Leistung / lokale LP / Ort), 19.10.2026 ---------- */
/* R1 Leistungsseite „Unterleistungen“ (4 Spalten): gleich breite Spalten, auf Tablet 2×2 statt Überlauf */
.metric-grid._4-col { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 768px) and (max-width: 1279px) { .metric-grid._4-col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.metric-grid._4-col .h5 { hyphens: auto; }
@media (max-width: 767px) { .metric-grid._4-col .metric-box { row-gap: 20px; } }

/* R2 Lokale LP: Bildkarte „Inspiriert von diesem Projekt“ folgt auf gleichen Hintergrund → Abstand nur einmal */
.section:has(> .container > .loc-cta2-card) { padding-top: 0; }

/* R3 Projekt-Einblick-Slider: ruhiger Platzhalter, Bilder werden per Skript vorgeladen */
.loc-ref-slider { background: var(--_colors---ui--light-2); border-radius: 12px; }
.loc-ref-img { height: clamp(360px, 40vw, 560px); }

/* R4 Zeitstrahl „So läuft es ab“: Punkte in Markenfarbe statt Grün, Linie sichtbar, Punkte auf Höhe der Schritte */
.timeline-dot { background-color: #e0b354; }
.timeline-process { background-color: rgba(59, 59, 51, .35); }
/* Punkte werden per rm-feinschliff.js auf Höhe der Phasennummern gesetzt (Leistungsseiten 3, Referenzen 4 Phasen) */
.timline-vertical-wrap { position: relative; }
@media (max-width: 767px) { .timeline-grid { grid-template-columns: 1fr; } .timline-vertical-wrap { display: none; } }

/* R5/R6 Kacheln „Passende Gewerke“: kein 96-px-Loch zwischen Icon und Titel; Tablet 2×2 statt Waise */
.card-grid.service-flex .icon-card { gap: 32px; padding: 24px; }
@media (min-width: 768px) and (max-width: 1279px) {
  .card-grid.service-flex { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .card-grid.service-flex > .collection-item { width: auto; max-width: none; }
}

/* R7 Lokale LP: FAQ wie auf Leistungs- und Ortsseiten (volle Breite, gleiche Schrift- und Knopfgröße) */
.faq-grid > .accordion { justify-self: stretch; width: 100%; }
.loc-acc-q { font-size: 16px; }
.loc-faq-circle { width: 48px; height: 48px; }
.loc-faq-arrow-icon { transform: none; }

/* R8 Lokale LP „Arbeitsplan“: Karten-Texte beginnen auf gleicher Höhe */
@media (min-width: 992px) { .metric-summary .metric-box { justify-content: flex-start; } .metric-summary .metric-box > .metric-box-top { min-height: 82px; } }

/* R9 Mobil: Gewerke-Reiter mit denselben 80 px wie alle anderen Sektionen */
@media (max-width: 767px) { .section-3 { padding-top: 80px; padding-bottom: 80px; } }

/* R10 Mobil: 20 px Seitenrand statt 12 px */
@media (max-width: 479px) { body { --_containers---window-gutter: 20px; } }

/* R11 Logoleiste unter „Ihre Vorteile“: einheitlich einfarbig, weiche Ränder statt hartem Schnitt */
.marquee-logos img { filter: grayscale(1) contrast(1.35) brightness(1.1); }
.marquee.max-width-none { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

/* R14 Vorteil-Karten: seitlicher Innenabstand passend zu oben/unten */
.icon-card.centered, .icon-card.image-bg-content { padding: 36px 24px 40px; }

/* Formular: Hinweis im Schritt statt Browser-Alert (rm-formular.js, rmHinweis) */
.rm-schritt-hinweis { display: none; margin: 16px 0 0; background: #faf3e3; border-left: 4px solid #e0b354; color: #3f3f46; border-radius: 0 6px 6px 0; padding: 12px 16px; font-size: 14px; line-height: 1.5; }

/* ---------- Review-Runde 2 (Referenzen, Blog, 404, Formular), 19.10.2026 ---------- */
/* Blogbeiträge: lesbare Zeilenlänge statt 167 Zeichen, klare Abstände zwischen Überschriften und Absätzen */
.article-wrapper.large { max-width: 800px; }
.article.w-richtext { gap: 0; }
.article.w-richtext > * + * { margin-top: 16px; }
.article.w-richtext > h2 { margin-top: 64px; }
.article.w-richtext > h3 { margin-top: 40px; }
.article.w-richtext > :is(h2, h3) + * { margin-top: 16px; }
.article.w-richtext > :first-child { margin-top: 0; }
.article.w-richtext :is(p, li) { font-size: 17px; line-height: 1.65; }
.article.w-richtext ol, .article.w-richtext ul { display: flex; flex-direction: column; gap: 10px; }

/* Referenzen: Listen in „Projektverlauf“ einheitlich, Fragen stoßen nicht an den Pfeil */
.case-study-rich-text.process-text ul { row-gap: 0; }
.accordion-title { column-gap: 16px; }
.accordion-arrow { flex-shrink: 0; }

/* Referenzen „Das Ergebnis im Detail“: Überschrift bündig mit den anderen Sektionen */
.container.slider-con > .section-content > .title { padding-left: calc((min(100vw, 1398px) - min(100vw, 1366px)) / 2); }

/* Projekt-Karten: „Projekt ansehen“ immer unten, unabhängig von der Titellänge */
.case-study-info-wrap > .case-study-para-wrap { flex: 1; display: flex; flex-direction: column; }
.case-study-para-wrap > .case-study-cta { margin-top: auto; }

/* Blog-Karten „Weiterlesen“: alle Bilder gleich hoch (3:2) */
.blog-item-link { display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; }
.w-dyn-item:has(> .blog-item), .blog-item { min-width: 0; }
.blog-item-link > img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Vorher/Nachher: „Vorher“-Etikett auf hellen Bildern lesbar */
.about-points-inner.before-absolute:not(.bg-primary) { background-color: rgba(28, 27, 23, .72); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Zeitstrahl Referenzen: Punkte in Markenfarbe */
.timeline-dot { box-shadow: 0 0 0 4px #f8f8f3; }

/* 404 / Hinweisseiten: zentriert, Wege als Knöpfe statt Browser-Liste */
.section.legal .legal-content .h2 { text-align: center; }
.rm-hinweis-wege { text-align: center; }
.rm-hinweis-wege ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; padding: 0; margin-top: 24px; }
.rm-hinweis-wege li { margin: 0; padding: 0; }
.rm-hinweis-wege li::before { content: none; }
.rm-weg { display: inline-flex; align-items: center; padding: 14px 22px; border: 1px solid #1c1b17; border-radius: var(--_border-radii---default); text-decoration: none; color: #1c1b17; font: 500 14px/1 'Geist Mono', monospace; text-transform: uppercase; }
.rm-weg:hover { background: #1c1b17; color: #f8f8f3; }
.rm-weg.rm-weg-haupt { background: #f9d287; border-color: #f9d287; }

/* Formular: gewählte Kachel deutlich, „Nächster Schritt“ ausgegraut bei PLZ außerhalb */
.check-box:has(input:checked) .radio-check-icon-wrap { background: #e0b354; }
[data-popup="wrapper"] [aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

/* Formular mobil: X sitzt im Fenster, Knopfleiste bündig mit dem Inhalt, „Zurück“ gleich breit */
@media (max-width: 767px) {
  [data-popup="wrapper"] .close-icon { top: 32px !important; right: 20px !important; width: 32px; height: 32px; padding: 6px; background: #1c1b17; border-radius: 50%; }
  [data-popup="wrapper"] .progress-bar { padding-right: 56px; }
  [data-popup="wrapper"] .next-cta-wrap { padding-left: 20px; padding-right: 20px; gap: 8px; }
  .next-cta-wrap > .button-prev { flex: 0 0 auto; min-width: 112px; }
  .next-cta-wrap > :is(.button-nxt, [type="submit"]) { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Review-Runde 3 (Start, Über uns, Partner, Kontakt, Referenzen, Ratgeber, Einsatzgebiete, Leistungen), 19.10.2026 ---------- */
/* Teamkachel ohne Foto, Video-Raster 16:9 (2+3), Zertifikate-Slider, Kennzahl-Kacheln, Leistungskarten, Kontakt-Rechner und -Bild,
   Kontaktkarten mobil, Referenzen-Bildkarte, Einsatzgebiete-Kennzahlen lesbar, Startseite-Randabstand mobil. Alle im Browser getestet. */
.team-member > .team-image[src*="icons8-engineer-100"] { object-fit: none; background-color: #1c1b17; }
.videos-grid .video-lighbox { height: auto; aspect-ratio: 16 / 9; }
@media (min-width: 992px) {
  .card-grid.videos-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .videos-grid > .video-grid-content { grid-area: auto / span 2 !important; }
  .videos-grid > .video-grid-content:nth-child(-n+2) { grid-column: span 3 !important; }
}
.quote-box-slider .quote-box.padding { justify-content: flex-start; row-gap: 40px; }
.certificate-round-wrap .text-size-tiny { font-size: 8px; letter-spacing: 0; }
.quote-box-slider .certificate-round-wrap { flex-shrink: 0; }
@media (max-width: 479px) { .quote-box-slider .quote-box.padding { row-gap: 24px; } }
.metric-summary .metric-grid._4-col { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric-summary .metric-box { justify-content: flex-start; }
.metric-summary .metric-text { font-size: clamp(56px, 4.6vw, 81px); }
@media (max-width: 1199px) { .metric-summary .metric-grid._4-col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .metric-summary .metric-grid._4-col { grid-template-columns: minmax(0, 1fr); } }
.icon-card:has(> .service-dynamic-content) { row-gap: 32px; }
.icon-card > .service-dynamic-content .lead-text.strong:not(.text-small) { font-size: 20px; line-height: 1.3; }
.radio-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767px) { .radio-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) {
  .grid.scale:has(form.form) { align-items: stretch; }
  .grid.scale:has(form.form) > .about-image-wrap { align-self: stretch !important; justify-self: stretch; margin: 0; display: flex; }
  .grid.scale:has(form.form) .square-image-wrap { aspect-ratio: auto; flex: 1; height: auto; }
  .grid.scale:has(form.form) .square-parallax-image { position: absolute; left: 0; top: -7.5%; width: 100%; height: 115%; min-height: 0; aspect-ratio: auto; object-fit: cover; }
}

@media (max-width: 767px) { .position-top-reverse .contact-section { padding-left: 0; padding-right: 0; } }
@media (min-width: 992px) { .grid.sticky-style > .customer-grid-item.sticky { max-width: none; } }
.map-fact-wrap .h4.text-color-primary { color: #1c1b17; }
@media (max-width: 767px) { .container-2 { padding-left: 12px; padding-right: 12px; } }
.rich-legal.rm-hinweis-wege ul { display: flex !important; flex-direction: row; }
.rich-legal.rm-hinweis-wege a.rm-weg { text-decoration: none; }

/* Blogbeiträge: Tabellen (neue Ratgeber-Beiträge ab 20.10.2026) */
.article.w-richtext table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; margin-top: 24px; }
.article.w-richtext th, .article.w-richtext td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(28, 27, 23, .14); }
.article.w-richtext thead th { font-weight: 600; background: #efede4; }
@media (max-width: 767px) { .article.w-richtext table { table-layout: fixed; font-size: 14px; } .article.w-richtext th, .article.w-richtext td { overflow-wrap: anywhere; hyphens: auto; padding: 8px 6px; } }
.article-wrapper.large, .article.w-richtext { min-width: 0; max-width: 100%; }
@media (max-width: 767px) { .article.w-richtext table { max-width: 100%; } }
/* Lange Komposita (z. B. „Erhaltungssatzungsgebiet“) dürfen in Beitrags-Überschriften getrennt werden */
.article.w-richtext :is(h2, h3) { hyphens: auto; overflow-wrap: break-word; }

/* Blogbeiträge: Artikel + mitlaufende Kontaktkarte (20.10.2026, Vorbild 1A Ingenieurbüro) */
.rm-beitrag-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 992px) {
  .rm-beitrag-raster { grid-template-columns: minmax(0, 800px) 300px; justify-content: space-between; align-items: start; gap: 64px; }
  .rm-beitrag-aside { position: sticky; top: 120px; }
}
/* Blog-CTA-Karte (20.10.2026, Marcel: kleiner, gelb, nur Formular-Knopf) */
.rm-cta-karte { background: #f9d287; border-radius: var(--_border-radii---default, 12px); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.rm-cta-titel { margin: 0; font-size: 20px; line-height: 1.25; color: #1c1b17; }
.rm-cta-text { margin: 0; font-size: 15px; line-height: 1.5; color: #1c1b17; }
.rm-cta-knopf { display: flex; justify-content: center; align-items: center; height: 48px; margin-top: 4px; border-radius: var(--_border-radii---default, 8px); background: #1c1b17; color: #f8f8f3; text-decoration: none; font: 500 14px/1 'Geist Mono', monospace; text-transform: uppercase; transition: background .2s ease; }
.rm-cta-knopf:hover { background: #3a3830; color: #f8f8f3; }
.rm-cta-person { display: flex; align-items: center; gap: 10px; margin-top: 4px; padding-top: 14px; border-top: 1px solid rgba(28, 27, 23, .15); }
.rm-cta-foto { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.rm-cta-rolle { margin: 0; font-size: 13px; line-height: 1.4; color: #1c1b17; }
.rm-cta-rolle strong { font-weight: 600; }
.rm-cta-tel { align-self: center; margin-top: -2px; font-size: 14px; color: #1c1b17; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(28, 27, 23, .35); }
.rm-cta-tel:hover { text-decoration-color: #1c1b17; }
/* Kasten im Text: nur ohne Seitenkarte (unter 992 px) */
.article.w-richtext .rm-cta-inline { background: #f9d287; border-radius: var(--_border-radii---default, 12px); padding: 20px; margin: 32px 0; display: flex; flex-direction: column; gap: 10px; }
.article.w-richtext .rm-cta-inline p { margin: 0; }
.article.w-richtext .rm-cta-inline .rm-cta-titel { font-size: 20px; line-height: 1.25; }
.article.w-richtext .rm-cta-inline .rm-cta-text { font-size: 15px; line-height: 1.5; }
.article.w-richtext .rm-cta-inline a.rm-cta-knopf { color: #f8f8f3; text-decoration: none; }
@media (min-width: 992px) { .article.w-richtext .rm-cta-inline { display: none; } }

/* Orts-/Sanierungsseiten (20.10.2026, Marcel): Die Rauschfläche in .section-3 hat keinen positionierten Elternteil und
   wurde deshalb oben über die volle Fensterhöhe gelegt; auf hohen Bildschirmen ragte sie grau unter dem Hero hervor. */
.section-3 > .noise-bg-2 { display: none; }

/* Video-Referenzseiten (20.10.2026, Runde 2 nach Marcels Feedback: Steckbrief im Hero, Kapitel neben dem Video, ein O-Ton mit Foto) */
.rm-vr-hero { padding-top: 144px; }
.rm-vr-kopf { display: flex; flex-direction: column; gap: 16px; max-width: 1040px; }
.rm-vr-badge { margin: 8px 0 0; }
.rm-vr-lead { margin: 0; max-width: 720px; }
.rm-vr-punkte { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; }
.rm-vr-punkte li { margin: 0; flex: 0 0 auto; width: auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--_border-radii---default, 8px); background: #ecebe4; font-size: 15px; line-height: 1.3; color: #1c1b17; }
.rm-vr-punkt-label { font: 500 12px/1 'Geist Mono', monospace; text-transform: uppercase; color: #6b6a63; }
.rm-vr-player { display: grid; gap: 24px; }
@media (min-width: 992px) { .rm-vr-player { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; } }
.rm-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--_border-radii---default, 12px); overflow: hidden; background: #1c1b17; }
.rm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rm-video-start { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.rm-video-start img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.rm-video-start::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 27, 23, 0) 55%, rgba(28, 27, 23, .55)); }
.rm-video-start:hover img { transform: scale(1.02); }
.rm-video-start:focus-visible { outline: 3px solid #f9d287; outline-offset: -3px; }
.rm-video-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: #f9d287; box-shadow: 0 8px 32px rgba(0, 0, 0, .3); transition: transform .2s ease; }
.rm-video-play::before { content: ""; position: absolute; left: 36px; top: 28px; border-left: 22px solid #1c1b17; border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.rm-video-play.klein { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
.rm-video-play.klein::before { left: 25px; top: 19px; border-left-width: 15px; border-top-width: 11px; border-bottom-width: 11px; }
.rm-video-start:hover .rm-video-play { transform: scale(1.06); }
.rm-video-gross .rm-video-play { left: 28px; top: auto; bottom: 28px; margin: 0; }
.rm-video-label { position: absolute; z-index: 1; right: 16px; top: 16px; padding: 8px 10px; border-radius: 6px; background: rgba(28, 27, 23, .78); color: #f8f8f3; font: 500 12px/1 'Geist Mono', monospace; text-transform: uppercase; letter-spacing: .02em; }
/* Kapitel-Liste wie in einem Videoplayer */
.rm-vr-kapitel { display: flex; flex-direction: column; }
.rm-vr-kapitel > .badge-text { margin: 0 0 8px; }
.rm-vr-kapitel ol { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.rm-vr-kapitel li { margin: 0; border-top: 1px solid rgba(28, 27, 23, .12); }
.rm-vr-kapitel li:last-child { border-bottom: 1px solid rgba(28, 27, 23, .12); }
.rm-kapitel { all: unset; box-sizing: border-box; width: 100%; min-height: 48px; padding: 12px 12px 12px 0; display: grid; grid-template-columns: 52px minmax(0, 1fr) 16px; align-items: center; gap: 8px; cursor: pointer; color: #1c1b17; font-size: 15px; line-height: 1.35; transition: background .2s ease, padding .2s ease; }
.rm-kapitel::after { content: ""; width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; opacity: 0; transition: opacity .2s ease; }
.rm-kapitel-zeit { font: 500 13px/1 'Geist Mono', monospace; color: #6b6a63; }
.rm-kapitel:hover, .rm-kapitel.aktiv { background: #f9d287; padding-left: 12px; }
.rm-kapitel:hover::after, .rm-kapitel.aktiv::after { opacity: 1; }
.rm-kapitel:hover .rm-kapitel-zeit, .rm-kapitel.aktiv .rm-kapitel-zeit { color: #1c1b17; }
.rm-kapitel:focus-visible { outline: 2px solid #1c1b17; outline-offset: -2px; }
.rm-video-hinweis { margin: 12px 0 0; font-size: 13px; line-height: 1.45; color: #6b6a63; }
/* O-Ton: ein Zitat, dazu ein Projektfoto in voller Höhe der dunklen Fläche */
.rm-vr-oton { background: #1c1b17; border-radius: var(--_border-radii---default, 12px); color: #f8f8f3; overflow: hidden; }
.rm-vr-oton-raster { display: grid; }
.rm-vr-oton-zitat { margin: 0; display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: 72px var(--_containers---window-gutter, 20px); }
.rm-vr-oton-zitat .badge-text { margin: 0; color: #f9d287; }
.rm-vr-oton-zitat blockquote { margin: 0; padding: 0; border: 0; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.22; letter-spacing: -.01em; color: #f8f8f3; }
.rm-vr-oton-zitat figcaption { text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 24px; border-top: 1px solid rgba(248, 248, 243, .2); font-size: 15px; color: rgba(248, 248, 243, .7); }
.rm-vr-oton-zitat figcaption strong { color: #f8f8f3; font-weight: 500; font-size: 17px; }
.rm-vr-oton-bild { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 992px) {
  .rm-vr-oton-raster { grid-template-columns: minmax(0, 1fr) 40%; }
  .rm-vr-oton-zitat { padding: 96px 80px 96px calc(max(0px, (100vw - 20px - var(--_containers---main, 1440px)) / 2) + var(--_containers---window-gutter, 40px)); }
  /* Höhe bestimmt der Text, das Bild füllt nur die Fläche daneben */
  .rm-vr-oton-bild { height: 0; min-height: 100%; aspect-ratio: auto; }
}
/* Projekt */
.rm-vr-projekt { display: grid; gap: 48px; }
@media (min-width: 992px) { .rm-vr-projekt { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 80px; align-items: start; } }
.rm-vr-text p { margin: 0 0 16px; }
.rm-vr-arbeiten { background: #ecebe4; border-radius: var(--_border-radii---default, 12px); padding: 32px; }
.rm-vr-arbeiten h3 { margin: 0 0 16px; }
.rm-vr-arbeiten ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.rm-vr-arbeiten li { margin: 0; position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; color: #1c1b17; }
.rm-vr-arbeiten li::before { content: "✓"; position: absolute; left: 0; color: #1c1b17; }
/* Projekt-Story */
.rm-vr-story { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
@media (min-width: 768px) { .rm-vr-story { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.rm-vr-story > li { margin: 0; }
.rm-vr-folge { display: flex; flex-direction: column; gap: 10px; }
.rm-vr-folge .rm-video { margin-bottom: 8px; }
.rm-vr-folge h3 { margin: 0; }
.rm-vr-folge-teil, .rm-vr-folge-text { margin: 0; }
.rm-vr-folge-text { font-size: 15px; line-height: 1.55; color: #3f3f46; }
@media (max-width: 767px) {
  .rm-vr-hero { padding-top: 128px; }
  .rm-vr-kopf h1.h2.long-text { font-size: 30px; line-height: 1.15; hyphens: manual; }
  .rm-video-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .rm-video-play::before { left: 26px; top: 20px; border-left-width: 17px; border-top-width: 12px; border-bottom-width: 12px; }
  .rm-video-gross .rm-video-play { left: 16px; bottom: 16px; margin: 0; }
  .rm-video-label { right: 10px; top: 10px; }
  .rm-video-label-lang { display: none; }
  .rm-vr-arbeiten { padding: 24px; }
}
/* Startseite: Kundenstimmen im Video */
.rm-vs-raster { display: grid; gap: 40px; }
@media (min-width: 768px) { .rm-vs-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.rm-vs-karte { display: flex; flex-direction: column; gap: 12px; color: #1c1b17; text-decoration: none; }
.rm-vs-bild { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--_border-radii---default, 12px); overflow: hidden; margin-bottom: 8px; background: #1c1b17; }
.rm-vs-bild img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.rm-vs-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 27, 23, 0) 55%, rgba(28, 27, 23, .55)); }
.rm-vs-karte:hover .rm-vs-bild img { transform: scale(1.02); }
.rm-vs-karte:hover .rm-video-play { transform: scale(1.06); }
.rm-vs-zitat { font-size: 22px; line-height: 1.35; }
.rm-vs-person { font-size: 14px; color: #6b6a63; }
.rm-vs-mehr { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 'Geist Mono', monospace; text-transform: uppercase; margin-top: 4px; }
.rm-vs-karte:hover .rm-vs-mehr { text-decoration: underline; text-underline-offset: 4px; }
.rm-vs-karte:focus-visible { outline: 2px solid #1c1b17; outline-offset: 6px; border-radius: 12px; }
@media (max-width: 767px) { .rm-vs-zitat { font-size: 19px; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
