/*
 * SheEarnsGlobal: die Grundbausteine der Seiten von sheearnsglobal.com, nachgebaut aus den
 * @siteui-Paketen der Onepage-Site (Stand 13.10.2026): title, text, badge und video-frame.
 * Werte unverändert übernommen. Weitere Bausteine kommen dazu, wenn ihre Seiten nachgebaut werden.
 *
 * Die Variablen --font-kit-* und --color-kit-* heißen wie bei Onepage, damit das CSS der
 * Sektionen ohne Umschreiben passt.
 */

:root {
  --font-kit-header-font: 'Playfair Display';
  --font-kit-text-font: 'Public Sans';
  --color-kit-white: #ffffff;
  --color-kit-black: #000000;
  --color-kit-light: #f6f4f0;
  --color-kit-dark: #040441;
  --color-kit-key1: #e04a1e;
  --color-kit-key2: #fbb40d;
}

/* Was Onepage jeder Seite mitgab. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; font-family: var(--font-kit-text-font), 'Helvetica Neue', Arial, sans-serif; font-size: 14px; line-height: 24px; background: #ffffff; }
body a { text-decoration: none; }
img { max-width: 100%; }
/* Was Skripte per hidden aus- und einblenden, bleibt aus, egal welches display die Klasse setzt. */
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* @siteui/title */
.titel { font-family: var(--font-kit-header-font), serif; margin: 0; line-height: 1.2; font-weight: 600; }
.titel--xs { font-size: 18px; }
.titel--sm { font-size: 24px; }
.titel--md { font-size: 32px; }
.titel--lg { font-size: 44px; }
.titel--xl { font-size: 68px; line-height: 1.06; }
.titel--display { font-size: 74px; line-height: 1.04; letter-spacing: -0.01em; }
@media (max-width: 768px) {
  .titel--xl { font-size: 43px; line-height: 1.12; }
  .titel--display { font-size: 44px; line-height: 1.08; }
  .titel--lg { font-size: 27px; }
  .titel--md { font-size: 23px; }
}
@media (max-width: 430px) {
  .titel--xl { font-size: 34px; line-height: 1.16; }
  .titel--lg { font-size: 23px; }
  .titel--md { font-size: 20px; }
}

/* @siteui/text */
.text { font-family: var(--font-kit-text-font), 'Helvetica Neue', Arial, sans-serif; margin: 0; line-height: 1.5; }
.text--xs { font-size: 13px; }
.text--sm { font-size: 15px; }
.text--md { font-size: 17px; }
.text--lg { font-size: 20px; }

/* ==Hervorhebung== aus title und text: gelber Kreis um die Wortgruppe */
mark.markiert { position: relative; white-space: nowrap; padding: 0.04em 0.42em; background: transparent; color: inherit; }
mark.markiert::after { content: ''; position: absolute; inset: -0.12em -0.04em; border: 2.5px solid var(--hl-color, #fbb40d); border-radius: 47% 53% 50% 50% / 54% 47% 53% 46%; transform: rotate(-1.8deg); pointer-events: none; }
.text mark.markiert { padding: 0.04em 0.4em; }
.text mark.markiert::after { inset: -0.1em -0.04em; border-width: 2px; transform: rotate(-1.6deg); }

/* @siteui/badge, Fassung eyebrow */
.abzeichen { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-kit-text-font), 'Helvetica Neue', Arial, sans-serif; font-weight: 700; letter-spacing: 0.04em; border-radius: 999px; white-space: nowrap; background: #ffffff66; color: var(--color-kit-key1, #e04a1e); -webkit-backdrop-filter: blur(7px) saturate(1.2); backdrop-filter: blur(7px) saturate(1.2); border: 1.5px solid var(--color-kit-key1, #e04a1e); box-shadow: 0 6px 20px -12px #04044133, inset 0 1px 0 #ffffffb3; text-transform: uppercase; font-size: 13px; line-height: normal; padding: 8px 17px; }
.abzeichen__punkt { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; animation: abzeichen-puls 1.4s ease-in-out infinite; }
@keyframes abzeichen-puls {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 currentColor; }
  50% { opacity: 0.5; box-shadow: 0 0 0 4px transparent; }
}

/* @siteui/video-frame: Video oder, ohne Link, der Platzhalter */
.videorahmen { position: relative; width: 100%; margin: 0 auto; border-radius: 20px; overflow: hidden; background: #040441; box-shadow: 0 26px 60px -30px #04044166; }
.videorahmen--quer { aspect-ratio: 16 / 9; max-width: 760px; }
.videorahmen--hoch { aspect-ratio: 9 / 16; max-width: 340px; }
.videorahmen--breit { aspect-ratio: 5 / 3; max-width: 760px; }
.videorahmen__medium { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #040441; }
.videorahmen--leer { background: linear-gradient(135deg, #fbe7d6 0%, #f6f4f0 55%, #fdf1e4 100%); border: 1px solid #ede7df; box-shadow: 0 18px 44px -28px #0404412e; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; }
.videorahmen__play { width: 68px; height: 68px; border-radius: 50%; background: var(--vf-accent, #e04a1e); display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -12px #e04a1e99; }
.videorahmen__play svg { width: 28px; height: 28px; fill: #ffffff; margin-left: 4px; }
.videorahmen__hinweis { font-family: var(--font-kit-text-font), 'Helvetica Neue', Arial, sans-serif; font-size: 15px; line-height: 1.45; color: #040441b3; max-width: 400px; }
@media (max-width: 768px) {
  .videorahmen { border-radius: 16px; }
  .videorahmen--leer { gap: 12px; padding: 18px; }
  .videorahmen__play { width: 54px; height: 54px; }
  .videorahmen__play svg { width: 22px; height: 22px; }
  .videorahmen__hinweis { font-size: 13.5px; }
}

/* framer-motion whileInView als data-einblenden, ausgelöst von /_cm/cm.js */
.cm-einblenden [data-einblenden] { opacity: 0; transform: translateY(var(--einblenden-y, 16px)) scale(var(--einblenden-s, 1)); transition: opacity .5s cubic-bezier(.16, 1, .3, 1), transform .5s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--einblenden-verzug, 0s); }
.cm-einblenden [data-einblenden].ist-da { opacity: 1; transform: none; }
