/* ==========================================================================
   referenz-mensa-holzoptik.css — seitenlokale Bausteine der Referenz „Neue Mensa der TU Dresden, Stützen in Holzoptik“ (Präfix mh-)
   Version: 1.0 | 2026-11-01 | Quelle: Marketing/rauMKult/projektreferenzen/vorlagen/ (bauen_mensa_holzoptik.py,
   projekte/mensa-dresden-kreative-wandgestaltung/konzept.md)
   Leitgedanke „vom-brett-zur-stuetze“: Die Maserung einer echten Holzplatte wandert über Silikonmatrize und Muster auf zehn Stützen.
   Regel (Skill rauMKult-Webseiten): nur Anordnung; Farben, Radien, Schatten und Schrift ausschließlich aus Token (main-v2.css, rk-wow.css,
   --ph-erhaben aus referenz-module.css). Keine Literalfarben, kein filter, kein mix-blend-mode, keine Abdunklung über den Fotos.
   Mobile first (390 px), Hell und Dunkel (Dunkelmodus erhaben), reduzierte Bewegung (prefers-reduced-motion, html.no-motion,
   [data-motion="reduced"]), Fokus sichtbar, Gold nur als Linie, Fläche einer Maßstabsleiste oder Text. Einblende-Vertrag: Ausgangszustände nur
   unter html.mh-js.rk-wow-motion und nur bis .is-in; ohne Skript, reduziert und im Druck steht alles.
   Arbeitsnamen für die Zentralisierung durch die Website-Sitzung:
     rk-wow-bretteinschub   NEU: Einstieg, Nachher groß, ein schmales Brett aus der Nähe schiebt sich von unten an die Bildkante
     rk-wow-zollstock       NEU: „Auf einen Blick“ als Gliedermaßstab, sechs Glieder klappen beim Einblenden auf (Handy: zwei Spalten)
     rk-wow-bretterwand     NEU: Bilderbombe der Ausgangslage als Schalbretter, Zeiger/Fokus macht ein Brett breit, Zahl öffnet alle
     rk-wow-abformkette     NEU: vier Stationen mit Filmen im Versatz, eine Maserlinie zeichnet sich hindurch, Übergänge als Verben
     rk-wow-bretterstapel   NEU: Arbeitsstunden als Planken, Länge = Stunden, Maserung aus Token-Verläufen
     rk-wow-abziehen-paar   NEU: Vorher liegt wie eine Matrize über dem Nachher, der Knopf zieht es nach oben ab; ohne JS nebeneinander
     rk-wow-bruecke         NEU: Querverweis auf die Schwesterreferenz im selben Haus, Jahresringe als Linien
     rk-wow-cta-maserung    NEU (CTA-KATALOG Nr. 24): Aufruf auf einem Brett, Jahresringe zeichnen sich beim Einblenden
     rk-wow-video, rk-wow-gross wie Gütersloh (Präfix mh-, mit Vorschau-Adressen pv:)
   ========================================================================== */
:where(.mh) button { font: inherit; }
.mh .rk-wow-statement__title, .mh-h1 { overflow-wrap: break-word; hyphens: auto; }
.mh :is(button, a, [tabindex="0"]):focus-visible { outline: 3px solid var(--rk-focus-color, currentColor); outline-offset: 2px; }
.mh figure { margin: 0; min-width: 0; }
.mh figcaption { color: var(--text-secondary); font-size: var(--rk-wow-fs-meta); line-height: 1.5; margin-top: 8px; }
.mh-text > p { max-width: 64ch; margin: 0 0 1em; color: var(--text-secondary); line-height: 1.65; }
.mh-text > p:last-child { margin-bottom: 0; }
.mh-h1 { margin: 0; font-size: clamp(2rem, 1.5rem + 1.5vw, 2.5rem); font-weight: var(--rk-fw-regular, 400); line-height: 1.05; letter-spacing: var(--rk-wow-ls-tight); color: var(--text-primary); text-wrap: balance; }
.mh-lead { margin: 0; max-width: 60ch; font-size: clamp(1.05rem, .98rem + .3vw, 1.18rem); line-height: 1.6; color: var(--text-secondary); text-wrap: pretty; }
.mh-bildknopf { display: block; position: relative; box-sizing: border-box; overflow: hidden; border-radius: var(--rk-wow-r-md); cursor: zoom-in; color: inherit; text-decoration: none; }
.mh-bildknopf img { display: block; width: 100%; height: auto; }
@media (hover: hover) { .mh-bildknopf img { transition: transform .5s var(--rk-wow-ease); } .mh-bildknopf:hover img { transform: scale(1.02); } }
.mh-bildknopf:focus-visible { outline: 3px solid var(--rk-focus-color, currentColor); outline-offset: 3px; }
.mh-etikett { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: var(--rk-wow-r-pill); background: var(--rk-wow-dark-bg); color: var(--rk-wow-dark-ink); font-size: var(--rk-wow-fs-tag); letter-spacing: .06em; text-transform: uppercase; }

/* Abstände und Köpfe */
.mh .ref__block { margin-top: 34px; }
@media (min-width: 960px) { .mh .ref__block { margin-top: 36px; } }
.mh .mh-kopf { margin-bottom: 18px; gap: 8px; }
.mh-kopf .rk-wow-statement__title { font-size: var(--rk-wow-fs-big); line-height: 1.06; }
.mh-kopf .rk-wow-statement__sub { font-size: var(--rk-wow-fs-body); max-width: 62ch; }
.mh-blick .mh-kopf { margin-bottom: 12px; }
@media (min-width: 960px) { .mh-blick .mh-kopf { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 22px; } }
.mh-blick .mh-kopf .rk-wow-statement__title { font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2rem); }
.mh .ph-pos-r.mh-kopf { margin-left: auto; text-align: right; justify-items: end; }
.mh [id] { scroll-margin-top: 96px; }

/* Runde Knöpfe — hell und dunkel klar lesbar (FLOW §23) */
.mh-gross__pfeil, .mh-gross__zu { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--rk-wow-line-strong); border-radius: 50%; background: var(--rk-wow-card); color: var(--text-primary); box-shadow: var(--rk-wow-sh-2); cursor: pointer; }
.mh-gross__pfeil svg, .mh-gross__zu svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Maserlinie (gemeinsam für Kette, Brücke und Aufruf): Jahresringe als Linien, Gold nur als Linie */
.mh-maser, .mh-bruecke__maser, .rk-cta__maserung { pointer-events: none; }
:is(.mh-maser, .mh-bruecke__maser, .rk-cta__maserung) path { fill: none; stroke: var(--rk-wow-hl-solid); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
:is(.mh-maser, .mh-bruecke__maser, .rk-cta__maserung) .mh-ast { stroke-width: 1.5; }

/* ==========================================================================
   1 Einstieg mit Brett-Einschub — rk-wow-bretteinschub
   ========================================================================== */
.mh-einstieg { display: grid; gap: 34px; margin-top: 4px; padding: clamp(22px, 3vw, 40px) clamp(16px, 4vw, 48px) clamp(30px, 4vw, 44px); border-radius: var(--rk-wow-r-card); box-shadow: var(--ph-erhaben-stark); }
.mh-einstieg__text { display: grid; gap: 16px; align-content: center; min-width: 0; }
.mh-einstieg .rk-wow-btnrow { margin: 4px 0 0; }
.mh-buehne { position: relative; margin: 0 0 0 auto; width: 100%; max-width: 520px; padding-left: 0; }
.mh-buehne__haupt { border-radius: var(--rk-wow-r-card); }
.mh-buehne__haupt img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 45%; }
.mh-buehne__marke { position: absolute; right: 14px; top: 14px; z-index: 2; max-width: 56%; padding: 6px 12px; border-radius: var(--rk-wow-r-md); background: var(--rk-wow-dark-bg); color: var(--rk-wow-dark-ink); font-size: var(--rk-wow-fs-tag); line-height: 1.35; letter-spacing: .04em; pointer-events: none; }
.mh-brett { position: absolute; left: 10px; bottom: -22px; z-index: 3; width: clamp(84px, 24%, 128px); margin: 0; }
.mh-brett__bild { border-radius: var(--rk-wow-r-sm, 6px); border: 4px solid var(--rk-wow-card); box-shadow: var(--rk-wow-sh-3); }
.mh-brett__bild img { aspect-ratio: 1 / 3; object-fit: cover; object-position: 50% 50%; }
.mh-brett figcaption { margin: 6px 0 0; }
.mh-brett__marke { display: inline-block; padding: 4px 10px; border-radius: var(--rk-wow-r-pill); background: var(--rk-wow-card); box-shadow: var(--rk-wow-sh-2); color: var(--text-primary); font-size: var(--rk-wow-fs-tag); line-height: 1.3; }
@media (min-width: 1100px) {
  .mh-einstieg { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
  .mh-buehne { padding-left: 64px; }
  .mh-buehne__haupt img { aspect-ratio: 1 / 1; }
  .mh-brett { left: -8px; bottom: 34px; }   /* ragt nur in den Spaltenabstand, nie über den Text */
}
.mh-brett { transition: opacity .5s var(--rk-wow-ease) .3s, transform .8s cubic-bezier(.2, 1.25, .4, 1) .3s; }
html.mh-js.rk-wow-motion .mh-brett:not(.is-in) { opacity: 0; transform: translateY(60px); }

/* ==========================================================================
   2 Gliedermaßstab — rk-wow-zollstock
   ========================================================================== */
.mh-zollstock { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; counter-reset: glied; }
.mh-glied { position: relative; display: grid; gap: 4px; align-content: start; min-height: 112px; padding: 26px 14px 14px; border-radius: 4px; box-sizing: border-box;
  background-color: var(--rk-wow-hl-solid); color: var(--rk-wow-dark-bg);
  background-image: repeating-linear-gradient(90deg, color-mix(in srgb, var(--rk-wow-dark-bg) 55%, transparent) 0 1px, transparent 1px 10px),
                    repeating-linear-gradient(90deg, color-mix(in srgb, var(--rk-wow-dark-bg) 75%, transparent) 0 1px, transparent 1px 50px);
  background-size: 100% 9px, 100% 16px; background-repeat: no-repeat; background-position: 0 0, 0 0;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rk-wow-dark-bg) 25%, transparent), var(--rk-wow-sh-2);
  transform-origin: 0 50%; transition: transform .7s cubic-bezier(.3, 1.2, .5, 1) calc(var(--i) * 90ms), opacity .4s var(--rk-wow-ease) calc(var(--i) * 90ms); }
.mh-glied__wert { font-size: var(--rk-wow-fs-meta); letter-spacing: .02em; }
.mh-glied__wert b { display: block; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); font-weight: var(--rk-fw-regular, 400); line-height: 1; font-variant-numeric: tabular-nums; }
.mh-glied__label { font-size: var(--rk-wow-fs-tag); line-height: 1.35; letter-spacing: .02em; }
.mh-glied__gelenk { position: absolute; right: -9px; top: 50%; z-index: 1; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--rk-wow-dark-bg); box-shadow: 0 0 0 3px var(--rk-wow-hl-solid); }
.mh-glied:nth-child(2n) .mh-glied__gelenk, .mh-glied:last-child .mh-glied__gelenk { display: none; }
html.mh-js.rk-wow-motion .mh-zollstock:not(.is-in) .mh-glied { opacity: 0; transform: scaleX(.2); }
@media (min-width: 900px) {
  .mh-zollstock { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
  .mh-glied { min-height: 128px; }
  .mh-glied:nth-child(2n) .mh-glied__gelenk { display: block; }
  .mh-glied:last-child .mh-glied__gelenk { display: none; }
  html.mh-js.rk-wow-motion .mh-zollstock:not(.is-in) .mh-glied { transform: rotate(calc(-82deg + var(--i) * 4deg)) translateX(calc(var(--i) * -40%)); opacity: 0; }
}

/* ==========================================================================
   3 Vorgefunden: Bretterwand — rk-wow-bretterwand
   ========================================================================== */
.mh-ausgang__reihe { display: grid; gap: 24px; }
.mh-ausgang__text { display: grid; gap: 16px; align-content: start; min-width: 0; }
.mh-brettwand { list-style: none; margin: 0; padding: 10px; display: flex; flex-wrap: wrap; gap: 4px; border-radius: var(--rk-wow-r-card); background: var(--rk-wow-dark-bg); box-shadow: var(--ph-erhaben-stark); }
.mh-brettwand__brett { flex: 1 1 calc(25% - 4px); min-width: 0; transition: flex-grow .45s var(--rk-wow-ease), transform .5s var(--rk-wow-ease) calc(var(--i) * 30ms), opacity .4s var(--rk-wow-ease) calc(var(--i) * 30ms); }
.mh-brettwand__knopf { border-radius: 3px; }
.mh-brettwand__brett > .mh-brettwand__knopf img { width: 100%; height: 150px; aspect-ratio: auto; object-fit: cover; }   /* feste Höhe, sonst zieht die Bildgröße (1050 × 1400) die Flex-Zeile auf über 600 px */
.mh-brettwand__knopf img { height: 150px; object-fit: cover; }
.mh-brettwand__brett:is(:hover, :focus-within) { flex-grow: 2.4; }
html.mh-js.rk-wow-motion .mh-brettwand:not(.is-in) .mh-brettwand__brett { opacity: 0; transform: translateY(18px); }
.mh-zahlknopf { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; justify-self: start; min-height: 48px; padding: 12px 18px;
  border: 1px solid var(--rk-wow-line-strong); border-radius: var(--rk-wow-r-card); background: var(--rk-wow-card); color: var(--text-primary); text-decoration: none; box-shadow: var(--rk-wow-sh-2); cursor: zoom-in; }
.mh-zahlknopf b { grid-row: 1 / 3; font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); font-weight: var(--rk-fw-regular, 400); line-height: 1; color: var(--rk-gold-text, var(--text-primary)); }
.mh-zahlknopf span { font-size: var(--rk-wow-fs-meta); color: var(--text-secondary); }
.mh-zahlknopf .mh-zahlknopf__los { color: var(--text-primary); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 960px) {
  .mh-ausgang__reihe { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 52px); align-items: start; }
  .mh-ausgang__text { position: sticky; top: 96px; }
  .mh-brettwand__brett { flex-basis: calc(12.5% - 4px); }
  .mh-brettwand__brett > .mh-brettwand__knopf img { height: 196px; }
}

/* ==========================================================================
   4 Abform-Kette — rk-wow-abformkette
   ========================================================================== */
.mh-kette { position: relative; }
.mh-maser { position: absolute; left: 0; right: 0; top: 18%; width: 100%; height: 26%; opacity: .55; z-index: 0; }
.mh-kette__liste { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; counter-reset: station; }
.mh-station { position: relative; display: grid; gap: 8px; align-content: start; min-width: 0; transition: transform .6s var(--rk-wow-ease) calc(var(--i) * 120ms), opacity .5s var(--rk-wow-ease) calc(var(--i) * 120ms); }
.mh-station .mh-video__v { aspect-ratio: 1 / 1; }
.mh-station__titel { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 0; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: var(--rk-fw-regular, 400); line-height: 1.2; color: var(--text-primary); }
.mh-station__nr { display: inline-grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--rk-wow-dark-gold); color: var(--rk-gold-text, var(--text-primary)); font-size: var(--rk-wow-fs-tag); }
.mh-station__text { margin: 0; color: var(--text-secondary); font-size: var(--rk-wow-fs-meta); line-height: 1.55; }
.mh-kette__weg { justify-self: start; padding: 3px 12px 3px 10px; border-radius: var(--rk-wow-r-pill); background: var(--rk-wow-card); box-shadow: var(--rk-wow-sh-2); color: var(--text-primary); font-size: var(--rk-wow-fs-tag); letter-spacing: .08em; text-transform: uppercase; }
.mh-kette__weg::after { content: " →"; color: var(--rk-gold-text, var(--text-primary)); }
.mh-kette__schluss { margin: 18px 0 0; max-width: 70ch; color: var(--text-secondary); font-size: var(--rk-wow-fs-meta); line-height: 1.55; }
@media (min-width: 960px) {
  .mh-kette__liste { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(26px, 3vw, 44px); }
  .mh-station:nth-child(2n) { margin-top: 20px; }
  .mh-kette__weg { position: absolute; right: calc(-1 * clamp(26px, 3vw, 44px) / 2); top: 34%; translate: 50% 0; z-index: 2; }
  .mh-maser { top: 30%; height: 22%; }
}
html.mh-js.rk-wow-motion .mh-kette:not(.is-in) .mh-station { opacity: 0; transform: translateY(26px); }
html.mh-js.rk-wow-motion .mh-kette:not(.is-in) .mh-maser path { stroke-dashoffset: 1; }
.mh-maser path { transition: stroke-dashoffset 1.6s var(--rk-wow-ease) calc(var(--i) * 120ms); }

/* ==========================================================================
   5 Baustelle mit Bretterstapel — rk-wow-bretterstapel
   ========================================================================== */
.mh-baustelle__reihe { display: grid; gap: 26px; }
.mh-baustelle__text { display: grid; gap: 16px; align-content: start; min-width: 0; }
.mh-baustelle__foto img { aspect-ratio: 3 / 4; object-fit: cover; }
.mh-baustelle__medien { display: grid; gap: 14px; align-content: start; min-width: 0; }
.mh-film--haupt .mh-video__v { aspect-ratio: 16 / 9; }
.mh-baustelle__neben { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: start; }
.mh-baustelle__neben .mh-film:first-child .mh-video__v { aspect-ratio: 4 / 3; }
.mh-baustelle__neben .mh-film:nth-child(2) .mh-video__v { aspect-ratio: 3 / 4; }
.mh-film figcaption { margin-top: 6px; }
.mh-stapel { margin-top: 18px; padding: 16px 18px 14px; border-radius: var(--rk-wow-r-card); background: var(--rk-wow-card); box-shadow: var(--ph-erhaben); }
.mh-stapel__titel { margin: 0 0 10px; font-size: var(--rk-wow-fs-tag); letter-spacing: .1em; text-transform: uppercase; color: var(--text-secondary); }
.mh-stapel__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px 22px; }
@media (min-width: 600px) { .mh-stapel__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(4, auto); } }
@media (min-width: 1100px) { .mh-stapel__liste { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); gap: 10px 26px; } }
.mh-planke { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l w" "h h"; gap: 3px 10px; align-items: baseline; }
.mh-planke__label { grid-area: l; font-size: var(--rk-wow-fs-meta); color: var(--text-primary); line-height: 1.3; }
.mh-planke__wert { grid-area: w; font-weight: var(--rk-fw-regular, 400); font-size: var(--rk-wow-fs-meta); color: var(--rk-gold-text, var(--text-primary)); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mh-planke__holz { grid-area: h; display: block; width: var(--w); height: 12px; border-radius: 2px 6px 6px 2px; transform-origin: 0 50%;
  background-color: color-mix(in srgb, var(--rk-wow-hl-solid) 70%, var(--rk-wow-card));
  background-image: repeating-linear-gradient(180deg, color-mix(in srgb, var(--rk-wow-dark-bg) 22%, transparent) 0 1px, transparent 1px 4px),
                    linear-gradient(90deg, transparent 0 62%, color-mix(in srgb, var(--rk-wow-dark-bg) 18%, transparent) 62% 63%, transparent 63%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rk-wow-dark-bg) 20%, transparent);
  transition: transform .8s var(--rk-wow-ease) calc(var(--i) * 80ms); }
.mh-stapel__summe { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--rk-wow-line); font-size: var(--rk-wow-fs-meta); color: var(--text-secondary); }
html.mh-js.rk-wow-motion .mh-stapel:not(.is-in) .mh-planke__holz { transform: scaleX(0); }
@media (min-width: 1100px) {   /* darunter untereinander: bei 1024 bliebe neben dem Text eine Lücke (FLOW §44b) */
  .mh-baustelle__reihe { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 52px); align-items: start; }
  .mh-baustelle__text { position: sticky; top: 96px; }
}

/* ==========================================================================
   6 Vorher/Nachher „Matrize abziehen“ — rk-wow-abziehen-paar
   ========================================================================== */
.mh-paare__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.mh-paar { display: grid; gap: 8px; align-content: start; min-width: 0; }
.mh-paar__buehne { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }   /* ohne Skript: nebeneinander */
.mh-paar__buehne figure { position: relative; z-index: 0; }   /* eigene Stapelebene: das Etikett „Nachher“ bleibt unter dem aufgelegten Vorher-Bild */
.mh-paar__buehne img { aspect-ratio: 1 / 1; object-fit: cover; }
.mh-paar__buehne figcaption { position: absolute; left: 10px; top: 10px; z-index: 2; margin: 0; pointer-events: none; }
.mh-paar__nachher { order: 2; } .mh-paar__vorher { order: 1; }
.mh-paar__kante { display: none; }
html.mh-js .mh-paar__buehne { display: block; position: relative; overflow: hidden; border-radius: var(--rk-wow-r-card); box-shadow: var(--ph-erhaben-stark); }
html.mh-js .mh-paar__buehne .mh-bildknopf { border-radius: 0; }
html.mh-js .mh-paar__vorher { position: absolute; inset: 0; z-index: 1; transition: transform .9s cubic-bezier(.6, .05, .3, 1); }
html.mh-js .mh-paar__kante { display: block; position: absolute; left: 0; right: 0; bottom: -2px; height: 14px; border-radius: 0 0 12px 12px;
  background: var(--rk-wow-hl-solid); box-shadow: 0 6px 14px color-mix(in srgb, var(--rk-wow-dark-bg) 35%, transparent); pointer-events: none; }
html.mh-js .mh-paar.is-ab .mh-paar__vorher { transform: translateY(-101%); }
html.mh-js .mh-paar.is-ab .mh-paar__vorher .mh-bildknopf { visibility: hidden; transition: visibility 0s .9s; }
.mh-paar__knopf { justify-self: start; min-height: 48px; padding: 10px 18px; border: 1px solid var(--rk-wow-line-strong); border-radius: var(--rk-wow-r-pill); background: var(--rk-wow-card); color: var(--text-primary); box-shadow: var(--rk-wow-sh-2); cursor: pointer; }
.mh-paar__knopf[aria-pressed="true"] { border-color: var(--rk-wow-dark-gold); }
.mh-paar__knopf[hidden] { display: none; }
.mh-paar__titel { margin: 4px 0 0; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: var(--rk-fw-regular, 400); line-height: 1.25; color: var(--text-primary); }
.mh-paare__rahmen { position: relative; min-width: 0; }
@media (min-width: 960px) { .mh-paare__rahmen .rk-cta__sticker { top: -26px; right: -16px; } }   /* Sticker an der Ecke des dritten Paares, nicht über dem Abschnitt davor */
.mh-paar__text { margin: 0; color: var(--text-secondary); font-size: var(--rk-wow-fs-meta); line-height: 1.55; }
@media (min-width: 760px) { .mh-paare__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); } }
@media (min-width: 1100px) {
  .mh-paare__reihe { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 3fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
  .mh-paare__reihe .mh-kopf { position: sticky; top: 96px; margin: 0; }
  .mh-paare__reihe .mh-kopf .rk-wow-statement__title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
}

/* ==========================================================================
   7 Schutz, Rundgang, Zitat
   ========================================================================== */
.mh-schutz__reihe { display: grid; gap: 24px; }
.mh-schutz__text { display: grid; gap: 16px; align-content: start; min-width: 0; }
.mh-zitat { margin: 4px 0 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--rk-wow-dark-gold); }
.mh-zitat p { margin: 0; max-width: 56ch; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.4; color: var(--text-primary); }
.mh-zitat footer { margin-top: 8px; font-size: var(--rk-wow-fs-tag); letter-spacing: .1em; text-transform: uppercase; color: var(--text-secondary); }
.mh-schutz__medien { display: grid; gap: 10px; align-content: start; justify-items: center; min-width: 0; }
.mh-schutz__fotos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: min(100%, 300px); }
.mh-schutz__fotos img { aspect-ratio: 1 / 1; object-fit: cover; }
.mh-film--rundgang { width: min(100%, 260px); justify-self: center; }
@media (min-width: 960px) {
  .mh-schutz__reihe { grid-template-columns: minmax(0, 1fr) minmax(0, 260px); gap: clamp(28px, 4vw, 56px); align-items: start; }
  .mh-schutz__medien { justify-items: end; }
}

/* ==========================================================================
   8 Brücke zur Schwesterreferenz — rk-wow-bruecke
   ========================================================================== */
.mh-bruecke { position: relative; overflow: hidden; margin-top: 4px; padding: 16px 20px; border-radius: var(--rk-wow-r-card); background: var(--rk-wow-card); box-shadow: var(--ph-erhaben); }
.mh-bruecke__maser { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .28; }
.mh-bruecke__inhalt { position: relative; z-index: 1; display: grid; gap: 8px; justify-items: start; }
.mh-bruecke__inhalt .rk-wow-kicker { margin: 0; }
.mh-bruecke__text { margin: 0; max-width: 60ch; color: var(--text-secondary); line-height: 1.55; }
html.mh-js.rk-wow-motion .mh-bruecke:not(.is-in) .mh-bruecke__maser path { stroke-dashoffset: 1; }
.mh-bruecke__maser path { transition: stroke-dashoffset 1.4s var(--rk-wow-ease) calc(var(--i) * 100ms); }

/* ==========================================================================
   9 Fragen: zentral rk-wow-gespraech, hier nur das Foto im Kopf und zwei Spalten
   ========================================================================== */
.mh-fragen__foto { width: min(100%, 120px); margin-top: 8px !important; }
.mh-fragen__foto .mh-bildknopf img { aspect-ratio: 4 / 5; object-fit: cover; }
.mh-fragen .rk-wow-gespraech__paar { scroll-margin-top: 110px; }
@media (min-width: 1024px) {
  .mh-fragen .rk-wow-gespraech { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .mh-fragen .rk-wow-gespraech__kopf { position: static; grid-template-columns: 120px minmax(0, 1.7fr) minmax(0, 1fr); column-gap: clamp(24px, 3vw, 44px); align-items: end; }
  .mh-fragen .mh-fragen__foto { grid-column: 1; grid-row: 1 / 3; margin: 0 !important; }
  .mh-fragen .rk-wow-gespraech__kopf > .rk-wow-kicker { grid-column: 2; grid-row: 1; }
  .mh-fragen .rk-wow-gespraech__titel { grid-column: 2; grid-row: 2; }
  .mh-fragen .rk-wow-gespraech__sub { grid-column: 3; grid-row: 2; }
  .mh-fragen .rk-wow-gespraech__verlauf { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}

/* ==========================================================================
   Aufruf Nr. 24 „Maserung“ — rk-wow-cta-maserung (Markup bauen_mensa_holzoptik.maserung_cta, Einblenden über referenz-cta.js)
   ========================================================================== */
.rk-cta--maserung .rk-cta__brett { position: relative; overflow: hidden; padding: clamp(24px, 3.4vw, 40px) clamp(18px, 4vw, 48px); border-radius: var(--rk-wow-r-card);
  background: color-mix(in srgb, var(--rk-wow-hl-solid) 16%, var(--rk-wow-card)); box-shadow: var(--ph-erhaben); }
.rk-cta--maserung .rk-cta__maserung { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.rk-cta--maserung .rk-cta__inhalt { position: relative; z-index: 1; display: grid; gap: 10px; }
.rk-cta--maserung .rk-cta__text { margin: 0; max-width: 30ch; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15; color: var(--text-primary); }
.rk-cta--maserung .rk-cta__klein { margin: 0; max-width: 60ch; color: var(--text-secondary); line-height: 1.55; }
.rk-cta--maserung .rk-cta__knopf { justify-self: start; margin-top: 6px; }
@media (min-width: 900px) {
  .rk-cta--maserung .rk-cta__inhalt { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t k" "s k"; column-gap: 40px; align-items: center; }
  .rk-cta--maserung .rk-cta__text { grid-area: t; } .rk-cta--maserung .rk-cta__klein { grid-area: s; } .rk-cta--maserung .rk-cta__knopf { grid-area: k; margin: 0; }
}
.rk-cta--maserung .rk-cta__maserung path { transition: stroke-dashoffset 1.1s var(--rk-wow-ease) calc(var(--i) * 90ms); }
html.rk-cta-bewegt .rk-cta--maserung:not(.is-in) .rk-cta__maserung path { stroke-dashoffset: 1; }
@media (hover: hover) { .rk-cta--maserung:is(:hover, :focus-within) .rk-cta__maserung { opacity: .7; } }

/* ==========================================================================
   Video, Großansicht (wie Gütersloh, Präfix mh-)
   ========================================================================== */
.mh-video { position: relative; overflow: hidden; border-radius: var(--rk-wow-r-md); background: var(--rk-wow-dark-bg); box-shadow: var(--ph-erhaben-stark); }
.mh-video__v { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: var(--rk-wow-dark-bg); }
.mh-video__play { position: absolute; left: 50%; top: 50%; z-index: 2; display: none; place-items: center; width: 60px; height: 60px; margin: -30px 0 0 -30px; padding: 0;
  border: 2px solid var(--rk-wow-dark-gold); border-radius: 50%; background: var(--rk-wow-dark-bg); color: var(--rk-wow-dark-ink); cursor: pointer; transition: transform .2s var(--rk-wow-ease); }
html.mh-js .mh-video__play { display: grid; }
html.mh-js .mh-video--ohne-quelle .mh-video__play { display: none; }
.mh-video__play svg { width: 24px; height: 24px; fill: currentColor; }
.mh-video__play .mh-i-pause, .mh-video.is-laeuft .mh-video__play .mh-i-play { display: none; }
.mh-video.is-laeuft .mh-video__play .mh-i-pause { display: block; }
.mh-video.is-laeuft .mh-video__play { left: auto; top: 8px; right: 8px; width: 48px; height: 48px; margin: 0; opacity: .92; }
@media (hover: hover) { .mh-video__play:hover { transform: scale(1.06); } }
.mh-video__play:focus-visible { outline: 3px solid var(--rk-wow-dark-ink); outline-offset: 3px; }
.mh-video.is-laeuft .mh-video__v { object-fit: contain; }

.mh-gross { width: min(96vw, 1100px); max-height: 94vh; padding: 0; overflow: hidden; border: 1px solid color-mix(in srgb, var(--rk-gold-text) 45%, transparent); border-radius: var(--rk-wow-r-card); background: var(--rk-wow-card); color: var(--text-primary); box-shadow: var(--ph-erhaben-stark); }
.mh-gross::backdrop { background: color-mix(in srgb, var(--rk-wow-dark-bg) 82%, transparent); }
.mh-gross__rahmen { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; max-height: 94vh; padding: 12px; box-sizing: border-box; }
.mh-gross__inhalt { display: grid; place-items: center; min-height: 0; overflow: hidden; border-radius: var(--rk-wow-r-md); background: var(--rk-wow-tint); touch-action: pan-y; }
.mh-gross__inhalt img, .mh-gross__inhalt video { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(94vh - 170px); }
.mh-gross__fuss { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; grid-template-areas: "z t w" ". n ."; gap: 4px 12px; align-items: center; text-align: center; }
.mh-gross__text { grid-area: t; margin: 0; color: var(--text-secondary); font-size: var(--rk-wow-fs-meta); line-height: 1.5; }
.mh-gross__zahl { grid-area: n; color: var(--text-muted); font-size: var(--rk-wow-fs-tag); }
.mh-gross__pfeil[data-mh-gschritt="-1"] { grid-area: z; } .mh-gross__pfeil[data-mh-gschritt="1"] { grid-area: w; }
.mh-gross__pfeil[hidden] { display: grid; visibility: hidden; }
.mh-gross__zu { position: absolute; top: 18px; right: 18px; z-index: 2; }

/* ==========================================================================
   Dunkelmodus: Karten und Fenster heben sich vom Schwarz ab (FLOW §10, §23)
   ========================================================================== */
:root[data-theme="dark"] :is(.mh-stapel, .mh-bruecke, .mh-zahlknopf, .mh-paar__knopf, .rk-cta--maserung .rk-cta__brett) { background: var(--rk-wow-dark-raised); box-shadow: var(--ph-erhaben-stark); }
:root[data-theme="dark"] :is(.mh-etikett, .mh-buehne__marke) { background: var(--rk-wow-dark-raised); border: 1px solid var(--rk-wow-dark-gold); }
:root[data-theme="dark"] :is(.mh-brett__marke, .mh-kette__weg) { background: var(--rk-wow-dark-raised); }
:root[data-theme="dark"] .mh-brett__bild { border-color: var(--rk-wow-dark-raised); }
:root[data-theme="dark"] .mh-brettwand { background: var(--rk-wow-dark-raised); }
:root[data-theme="dark"] .mh-glied { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rk-wow-dark-bg) 25%, transparent), var(--ph-erhaben); }
:root[data-theme="dark"] :is(.mh-gross__pfeil, .mh-gross__zu) { background: var(--rk-wow-dark-bg); color: var(--rk-wow-dark-ink); border: 2px solid var(--rk-wow-dark-gold); }
:root[data-theme="dark"] :is(.mh-gross__pfeil, .mh-gross__zu):is(:hover, :focus-visible) { background: var(--rk-wow-dark-gold); color: var(--rk-wow-dark-bg); }
:root[data-theme="dark"] .mh-gross { background: color-mix(in srgb, var(--rk-wow-dark-text) 9%, var(--rk-wow-dark-bg)); box-shadow: var(--ph-erhaben-stark), 0 0 80px color-mix(in srgb, var(--rk-gold-text) 18%, transparent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) :is(.mh-stapel, .mh-bruecke, .mh-zahlknopf, .mh-paar__knopf, .rk-cta--maserung .rk-cta__brett) { background: var(--rk-wow-dark-raised); box-shadow: var(--ph-erhaben-stark); }
  :root:not([data-theme="light"]) :is(.mh-etikett, .mh-buehne__marke) { background: var(--rk-wow-dark-raised); border: 1px solid var(--rk-wow-dark-gold); }
  :root:not([data-theme="light"]) :is(.mh-brett__marke, .mh-kette__weg) { background: var(--rk-wow-dark-raised); }
  :root:not([data-theme="light"]) .mh-brett__bild { border-color: var(--rk-wow-dark-raised); }
  :root:not([data-theme="light"]) .mh-brettwand { background: var(--rk-wow-dark-raised); }
  :root:not([data-theme="light"]) .mh-glied { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rk-wow-dark-bg) 25%, transparent), var(--ph-erhaben); }
  :root:not([data-theme="light"]) :is(.mh-gross__pfeil, .mh-gross__zu) { background: var(--rk-wow-dark-bg); color: var(--rk-wow-dark-ink); border: 2px solid var(--rk-wow-dark-gold); }
  :root:not([data-theme="light"]) :is(.mh-gross__pfeil, .mh-gross__zu):is(:hover, :focus-visible) { background: var(--rk-wow-dark-gold); color: var(--rk-wow-dark-bg); }
  :root:not([data-theme="light"]) .mh-gross { background: color-mix(in srgb, var(--rk-wow-dark-text) 9%, var(--rk-wow-dark-bg)); box-shadow: var(--ph-erhaben-stark), 0 0 80px color-mix(in srgb, var(--rk-gold-text) 18%, transparent); }
}

/* ==========================================================================
   Reduzierte Bewegung (drei Haken) und Druck
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .mh-brett, .mh-glied, .mh-brettwand__brett, .mh-station, .mh-planke__holz, .mh-paar__vorher, :is(.mh-maser, .mh-bruecke__maser, .rk-cta__maserung) path, .mh-bildknopf img { transition: none !important; }
  .mh-brett, .mh-glied, .mh-brettwand__brett, .mh-station, .mh-planke__holz { opacity: 1 !important; transform: none !important; }
  :is(.mh-maser, .mh-bruecke__maser, .rk-cta__maserung) path { stroke-dashoffset: 0 !important; }
}
:is(html.no-motion, html[data-motion="reduced"]) :is(.mh-brett, .mh-glied, .mh-brettwand__brett, .mh-station, .mh-planke__holz, .mh-paar__vorher, .mh-bildknopf img) { transition: none !important; }
:is(html.no-motion, html[data-motion="reduced"]) :is(.mh-brett, .mh-glied, .mh-brettwand__brett, .mh-station, .mh-planke__holz) { opacity: 1 !important; transform: none !important; }
:is(html.no-motion, html[data-motion="reduced"]) :is(.mh-maser, .mh-bruecke__maser, .rk-cta__maserung) path { transition: none !important; stroke-dashoffset: 0 !important; }
@media print {
  .mh-gross, .mh-video__play, .mh-paar__knopf { display: none !important; }
  html.mh-js .mh-paar__buehne { display: grid !important; overflow: visible; box-shadow: none; }
  html.mh-js .mh-paar__vorher { position: relative !important; transform: none !important; }
  html.mh-js .mh-paar__kante { display: none !important; }
  .mh-brett, .mh-glied, .mh-brettwand__brett, .mh-station, .mh-planke__holz { opacity: 1 !important; transform: none !important; }
}
