@font-face{font-family:'Open Sans';src:url(https://memoryz.de/wp-content/plugins/memoryz-local-fonts/assets/fonts/OpenSans-wdth-wght.ttf) format('truetype');font-style:normal;font-weight:300 800;font-display:swap}
@font-face{font-family:'Open Sans';src:url(https://memoryz.de/wp-content/plugins/memoryz-local-fonts/assets/fonts/OpenSans-Italic-wdth-wght.ttf) format('truetype');font-style:italic;font-weight:300 800;font-display:swap}
/* The homepage has three text sizes. New components must use these roles.
   Embedded memorial pages retain their original, independent design. */
:root {
  --type-title: 48px;
  --type-text: 18px;
  --type-small: 14px;
  /* One role for every leaf eyebrow and create-page invitation.
     Components may change layout, never define their own type size. */
  --type-eyebrow: var(--type-small);
  --eyebrow-weight: 400;
  --eyebrow-leading: 1.6;
  --eyebrow-tracking: .08em;
  --font-text: 'Open Sans', Arial, sans-serif;
  --font-title: var(--font-text);
}
body,
body :is(#inhalt, header, footer, .announcement, .scroll-ribbon),
body :is(#inhalt, header, footer, .announcement, .scroll-ribbon) * {
  font-size: var(--type-text) !important;
  font-family: var(--font-text) !important;
  font-weight: 300 !important;
}
body :is(#inhalt, header, footer, .announcement, .scroll-ribbon) :is(h1, h2),
body :is(#inhalt, header, footer, .announcement, .scroll-ribbon) :is(h1, h2) * {
  font-size: var(--type-title) !important;
  font-family: var(--font-title) !important;
  font-weight: 400 !important;
  line-height: 1.15;
  letter-spacing: -.02em;
}
body :is(#inhalt, header, footer, .announcement, .scroll-ribbon) h3 {
  font-weight: 700 !important;
  line-height: 1.4;
  letter-spacing: 0;
}
body :is(#inhalt, header, footer, .announcement, .scroll-ribbon) :is(
  .eyebrow, .caption, .label, .illustration-label, .illustration-foot,
  .hero-video-caption, .hero-video-toolbar, .voice-copy>span, .voice-progress,
  .hero-free div>span, .book-note, .memorial-browser-bar,
  .memorial-browser-hint, .preview-disclosure, .background-caption,
  .background-demo-text>span, .background-gallery figcaption>span,
  .audience>div>span, .closing-note, .qr-instruction, .qr-optional,
  .footer-bottom, .nav-cta
),
body :is(#inhalt, header, footer, .announcement, .scroll-ribbon) :is(
  .eyebrow, .caption, .label, .illustration-label, .illustration-foot,
  .hero-video-caption, .hero-video-toolbar, .voice-copy>span, .voice-progress,
  .hero-free div>span, .book-note, .memorial-browser-bar,
  .memorial-browser-hint, .preview-disclosure, .background-caption,
  .background-demo-text>span, .background-gallery figcaption>span,
  .audience>div>span, .closing-note, .qr-instruction, .qr-optional,
  .footer-bottom, .nav-cta
) * {
  font-size: var(--type-small) !important;
  font-family: var(--font-text) !important;
  font-weight: 300 !important;
}
body :is(#inhalt, header, footer, .announcement, .scroll-ribbon):is(.announcement, .scroll-ribbon),
body :is(#inhalt, header, footer, .announcement, .scroll-ribbon):is(.announcement, .scroll-ribbon) * {
  font-size: var(--type-small) !important;
  font-family: var(--font-text) !important;
  font-weight: 300 !important;
}
body #qr-preview-dialog .qr-dialog-heading h2,
body #qr-preview-dialog .qr-dialog-heading button {
  font-size: var(--type-text) !important;
  font-family: var(--font-text) !important;
  font-weight: 300 !important;
  letter-spacing: 0;
}
.qr-layout>div:first-child>p { line-height: 1.7; }
.qr-layout { padding-block: 72px; }
.qr-layout>div:first-child>.button { margin-top: 4px; }
.qr-layout>div:first-child>.qr-optional { margin: 16px 0 0; }
.qr-scene-footer { padding: 20px 24px; gap: 14px 24px; align-items: center; }
.qr-scene-footer .qr-instruction { margin: 0; text-align: left; flex: 1 1 220px; }
.qr-scene-footer #qr-enlarge { min-height: 44px; white-space: normal; }
.feature h3 { margin-block: 0; }
.footer-slogan { font-weight: 700 !important; }
.nav-cta .nav-short { display: none; }
@media (max-width:760px) {
  :root { --type-title: 36px; }
  .nav-cta { white-space: nowrap; }
  .nav-cta .nav-arrow { display: none; }
  .qr-layout { padding-block: 48px; }
  .qr-scene-footer { padding: 18px; gap: 8px; }
  .qr-scene-footer .qr-instruction { flex-basis: 100%; }
  .qr-scene-footer #qr-enlarge { align-self: flex-start; }
  .scroll-ribbon>span { flex-basis: auto; }
  .scroll-ribbon { gap: 4px 12px; }
}
@media (max-width:380px) {
  .nav-cta .nav-full { display: none; }
  .nav-cta .nav-short { display: inline; }
}

/* Shared leaf-eyebrow role: same size, weight and tracking in every section. */
@layer memoryzTypography{
 body:is(.mzh-modern,.mzd-desktop) #inhalt p.eyebrow.eyebrow{
  font-family:var(--font-text)!important;
  font-size:var(--type-eyebrow)!important;
  font-weight:var(--eyebrow-weight)!important;
  line-height:var(--eyebrow-leading)!important;
  letter-spacing:var(--eyebrow-tracking)!important;
  text-transform:uppercase!important
 }
}
/* Bold has one weight across all body components. Display titles remain unchanged. */
body :is(#inhalt,header,footer,.announcement,.scroll-ribbon) :is(h3,h4,h5,h6,strong,b),
body :is(#inhalt,header,footer,.announcement,.scroll-ribbon) :is(h3,h4,h5,h6,strong,b) *{font-family:var(--font-text)!important;font-weight:700!important}
