/* QUAMARO – Hero-Feinschliff.
   Die verbindliche Unterseiten-Lage kommt aus quamaro-subpage-layout-v4.css
   und wird nach den Runtime-Patches geladen – hier nicht erneut importieren. */
:root{
  --qu-hero-ink:#102a47;
  --qu-hero-text:#536877;
  --qu-hero-line:rgba(16,42,71,.10);
  --qu-hero-media:#f2f5f3;
  --qu-hero-shadow:0 18px 42px rgba(16,42,71,.08);
}

/* Startseite bleibt die Referenz und wird nicht umgebaut. */
body.home-page .hero-section .hero-grid{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;gap:clamp(28px,4vw,48px)!important;align-items:center!important;min-height:0!important;overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.home-page .hero-section .hero-copy{position:relative!important;inset:auto!important;width:auto!important;max-width:none!important;min-width:0!important;padding:0!important;background:transparent!important;color:inherit!important}
body.home-page .hero-section .hero-photo{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;border-radius:28px!important;overflow:hidden!important;background:var(--qu-hero-media)!important;box-shadow:var(--qu-hero-shadow)!important}
body.home-page .hero-section .hero-photo picture,body.home-page .hero-section .hero-photo img{display:block!important;width:100%!important;height:auto!important;min-height:0!important;object-fit:contain!important;object-position:center!important}
body.home-page .hero-section .hero-copy h1{color:var(--qu-hero-ink)!important;text-shadow:none!important}

/* Unterseiten-Hero: Foto füllt die Medienfläche (cover), Crop kommt aus der Registry. */
.qu-page-hero{width:min(1180px,calc(100% - 32px))!important;margin:clamp(22px,3vw,40px) auto clamp(28px,4vw,52px)!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
.qu-page-hero__grid{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;gap:clamp(28px,4vw,48px)!important;align-items:center!important;min-height:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.qu-page-hero__copy{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;max-width:680px!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--qu-hero-ink)!important}
.qu-page-hero__copy>*{max-width:100%!important}
.qu-page-hero__copy :is(.eyebrow,.rg-list-kicker,[class*="eyebrow"],[class*="kicker"]){margin:0 0 .65rem!important;color:var(--q-theme-accent-dark,#0a8c99)!important;font-size:.76rem!important;font-weight:900!important;letter-spacing:.075em!important;text-transform:uppercase!important;line-height:1.3!important;text-shadow:none!important}
.qu-page-hero__copy h1{margin:0!important;color:var(--qu-hero-ink)!important;font-size:clamp(2.35rem,4.6vw,4.5rem)!important;line-height:1.00!important;letter-spacing:-.045em!important;text-wrap:balance!important;hyphens:none!important;word-break:normal!important;overflow-wrap:normal!important;text-shadow:none!important}
.qu-page-hero__copy :is(p,.lead,.rg-lead){margin:.95rem 0 0!important;max-width:66ch!important;color:var(--qu-hero-text)!important;font-size:clamp(.98rem,1.25vw,1.08rem)!important;line-height:1.58!important;text-shadow:none!important}
.qu-page-hero__copy :is(.crumb,.breadcrumb,.category-breadcrumb,.rg-breadcrumb,.qg-breadcrumb){order:-2!important;margin:0 0 1rem!important;padding:0!important;color:#6c7c83!important;font-size:.82rem!important;line-height:1.4!important;background:transparent!important;border:0!important}
.qu-page-hero__copy :is(.crumb,.breadcrumb,.category-breadcrumb,.rg-breadcrumb,.qg-breadcrumb) a{color:inherit!important}
.qu-page-hero__copy :is(.hero-actions,.garden-master-hero__actions,.qsys-hero-actions,.beet-hero__actions,.pool-hero__actions,.q-terrace-hero__actions,.q-infra-hero__actions,.category-hero__actions,.qg-hero-actions,.qh-hero-actions,.trust-row){display:flex!important;flex-wrap:wrap!important;gap:.7rem!important;margin-top:1.1rem!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.qu-page-hero__copy :is(.garden-master-hero__points,.garden-master-hero__meta,.hero-meta,.hero-pills){display:flex!important;flex-wrap:wrap!important;gap:.55rem!important;margin-top:1rem!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.qu-page-hero__media{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;border-radius:28px!important;background:var(--qu-hero-media)!important;box-shadow:var(--qu-hero-shadow)!important;aspect-ratio:16/10!important;max-height:420px!important}
.qu-page-hero__media picture{display:block!important;width:100%!important;margin:0!important;padding:0!important}
.qu-page-hero__media img{display:block!important;width:100%!important;height:100%!important;max-height:none!important;margin:0!important;padding:0!important;object-fit:cover!important;object-position:var(--q-hero-object-position,center center)!important;opacity:1!important;visibility:visible!important;border:0!important;background:var(--qu-hero-media)!important}
.qu-page-hero__media img[width][height]{aspect-ratio:auto!important}
.qu-page-hero-source{display:none!important}

/* Historische Hero-Klone werden nicht mehr erzeugt. all:unset zerstörte
   verschachtelte Inhalte und bleibt deshalb bewusst entfernt. */

@media(max-width:900px){
 body.home-page .hero-section .hero-grid{grid-template-columns:1fr!important;gap:1.1rem!important}
 body.home-page .hero-section .hero-photo{order:-1!important;border-radius:22px!important}
 .qu-page-hero{width:calc(100% - 24px)!important;margin:16px auto 30px!important}
 .qu-page-hero__grid{grid-template-columns:1fr!important;gap:1.15rem!important}
 .qu-page-hero__copy{order:1!important;max-width:none!important;padding:0 2px!important}
 .qu-page-hero__media{order:2!important;border-radius:22px!important}
 .qu-page-hero__media img{max-height:none!important;width:100%!important;height:100%!important;object-fit:cover!important}
 .qu-page-hero__copy h1{font-size:clamp(2rem,9.2vw,3rem)!important;line-height:1.03!important}
 .qu-page-hero__copy :is(p,.lead,.rg-lead){font-size:.94rem!important;line-height:1.52!important;margin-top:.75rem!important}
}

@media(max-width:520px){
 .qu-page-hero{width:calc(100% - 20px)!important;margin-top:12px!important}
 .qu-page-hero__media{border-radius:18px!important}
 .qu-page-hero__copy h1{font-size:clamp(1.9rem,10vw,2.65rem)!important}
}
