/* ===========================================================================
   Product reality — secondary pages
   Authority: PO. Scope: the nine faux mq-os-frame panels retired from
   solutions, use-cases, solutions/merchants and de/loesungen/haendler.

   These pages do not load myqr-naboo1.css, so the homepage's collapse rule
   does not reach them. The carousel slides here laid out `.mq-hc-split` as
   two columns purely to seat the faux stage in the right-hand track. With the
   stage gone that track would be dead space — the exact defect PO rejected on
   the homepage — so the split collapses to a single column and the governed
   photography behind the slide carries the visual.

   Carousel architecture is untouched: same slides, same order, same controls.
   ======================================================================== */
.mq-hc-split { grid-template-columns: minmax(0, 1fr); gap: 0; }

/* `.mq-uc-with-mock` is flex with `flex-wrap`, and the copy column is
   `flex: 1 1 380px`, so removing the mock lets it take the full row on its
   own. Nothing further is needed there. */

/* ===========================================================================
   Naboo-6 — secondary carousel consistency  (merchants EN / Händler DE)
   The same already-approved full-bleed principle as the homepage (§28).

   Both navy strips were the carousel's own `padding: 62px 0` showing its
   background. Unlike the homepage there was no slide shortfall to correct —
   the in-flow slide already equals the carousel's min-height — so removing the
   padding is the whole fix: the `inset: 0` media layer then runs from directly
   beneath the navigation to the bottom of the carousel.

   The controls are already an absolute overlay at `bottom: 18px`; once the
   padding goes they sit over the lower photograph, so they carry their own
   contrast rather than depending on whichever frame is showing. Unlike the
   homepage's mobile composition, the copy here still overlays the photograph
   at every width, so this applies at every width too.
   ======================================================================== */
.mq-hero-carousel { padding: 0; }

.mq-hc-controls { position: absolute; z-index: 4; }
.mq-hc-controls::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 128px;
  background: linear-gradient(180deg, rgba(7, 16, 34, 0) 0%, rgba(7, 16, 34, 0.55) 55%, rgba(7, 16, 34, 0.78) 100%);
  pointer-events: none;
  z-index: -1;
}

/* The first slide is the only one in normal flow; the others are absolutely
   positioned with `inset: 0`, so they already stretch to the carousel.
   `myqr-hero.js` (syncHeight) sizes the carousel to its TALLEST slide with an
   inline min-height. On EN the in-flow first slide happens to be the tallest,
   so nothing shows. On DE the longer German copy makes slide 2 the tallest
   (846px vs 630px), and the first slide's photograph stopped 216px short of
   the carousel bottom — a navy band that exists only in German.

   `inherit` takes the carousel's computed min-height, whatever the script
   sets, so the in-flow slide always fills the carousel in both languages.
   The script is untouched. */
.mq-hc-slide { min-height: inherit; }

/* ===========================================================================
   Naboo-7 — merchant headline breaks only between words

   Removing `licensed&nbsp;institution` / `lizenziertes&nbsp;Institut` fixed
   the English break but not the German one. Measured, the German word is NOT
   too wide: "lizenziertes" is 282px against a 345px column at 50px. The page
   is `lang="de-AT"` and the headline inherits `hyphens: auto`, so the browser
   CHOSE to hyphenate it — "durch ein li- / zenziertes" — to fill the line.

   Automatic hyphenation is right for German running text in narrow columns,
   and body copy keeps it. It is wrong for a four-line display headline, where
   the reader expects each line to end on a whole word. This is a line-breaking
   property only: no wording, no type size and no layout changes.
   ======================================================================== */
/* The rule being overridden is the bundle's German small-screen heading rule,
   `@media (max-width:480px) html[lang^="de"] h2 { hyphens: auto }` — specificity
   (0,1,2). A plain `.mq-hc-slide h2` is only (0,1,1) and would silently lose,
   so the selector is raised to (0,2,1). Scoped to the carousel headline: every
   other German heading keeps its hyphenation. */
.mq-hero-carousel .mq-hc-slide h2 {
  -webkit-hyphens: manual;
  hyphens: manual;
}
