/* ============================================================
   SKIMS-KOPF – Astrela (Kevin 24.11.2026, Kopie der FitBloom-Datei, nur Tokens je Marke)
   Gegenstueck zu apps/manreset/assets/mr-skims-kopf.css (dunkel).
   Ansageleiste weiss (Logo | Satz | Pause + Sprache), Menuezeile
   durchsichtig mit weisser Schrift ueber dem Hero, weiss mit dunkler
   Schrift beim Scrollen/Darueberfahren, Mega-Menue in drei Spalten mit zwei
   Bildkacheln, Handy-Schublade mit Suchpille, Kacheln und Sprachwahl.

   Markup: sections/mr-ankuendigung, sections/header, snippets/mr-megamenue,
   snippets/header-drawer, snippets/mr-kopf-kacheln.
   Zustand: mr-kopf-transparent / ist-beruehrt / hat-offenes-menue
   (snippets/mr-kopf, snippets/mr-megamenue) und html.mr-ann-weg
   (sections/mr-ankuendigung). Eingebunden in sections/header.liquid.

   FitBloom hat kein body.mr-nacht – der Anker ist deshalb
   html body :is(#sektion-header, #shopify-section-header)[id][class] (gleiche Staerke wie bei ManReset,
   ohne die Klasse). Farben nur ueber die --sk-* Tokens unten.
   ============================================================ */

html body {
  --sk-grund: #ffffff;
  --sk-grund-rgb: 255, 255, 255;
  --sk-tinte-rgb: 22, 24, 28;
  --sk-linie: rgba(var(--sk-tinte-rgb), .09);
  --sk-text: rgb(var(--sk-tinte-rgb));
  --sk-text-2: rgba(var(--sk-tinte-rgb), .68);
  --sk-akzent: #288071;
  --sk-akzent-rgb: 40, 128, 113;
  --sk-auf-akzent: #ffffff;
  --sk-pille-bild: rgba(var(--sk-grund-rgb), .22);
  --sk-pille-fest: rgba(var(--sk-tinte-rgb), .06);
  --sk-flaeche: rgba(40, 128, 113, .07);
  --sk-rand: 32px;
}

/* ---------------- Ansageleiste ---------------- */
html body #lfdy-announcement-bar.mr-ann-skims {
  display: grid;
  grid-template-columns: 1fr minmax(0, 640px) 1fr;
  align-items: center;
  column-gap: 16px;
  height: 44px;
  padding: 0 var(--sk-rand) !important;
  background: var(--sk-grund) !important;
  color: var(--sk-text) !important;
  border-bottom: 0 !important;
  text-transform: none;
  letter-spacing: 0;
}
html body #lfdy-announcement-bar.mr-ann-skims .lfdy-announcement__viewport {
  grid-column: 2;
  height: 44px;
  padding: 0;
  min-width: 0;
}
html body #lfdy-announcement-bar.mr-ann-skims .lfdy-announcement__msg {
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  color: var(--sk-text) !important;
}
html body #lfdy-announcement-bar.mr-ann-skims .lfdy-announcement__msg[hidden] { display: none; }
html body #lfdy-announcement-bar.mr-ann-skims .lfdy-announcement__msg * { color: inherit !important; }
html body #lfdy-announcement-bar.mr-ann-skims .lfdy-announcement__msg svg { color: var(--sk-akzent) !important; stroke: var(--sk-akzent); }
.mr-ann-logo { grid-column: 1; justify-self: start; display: flex; align-items: center; text-decoration: none; }
html body .mr-ann-logo img { display: block; height: 24px !important; max-height: 24px !important; width: auto !important; filter: none !important; }
html body .mr-ann-logo .mr-app-wort--zeichen { display: none !important; }
.mr-ann-rechts { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 14px; }
.mr-ann-pause {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%;
  background: none; color: inherit; cursor: pointer;
}
.mr-ann-pause:hover { background: var(--sk-pille-fest); }
.mr-ann-pause[hidden] { display: none; }
.mr-ann-pause__los { display: none; }
.mr-ann-pause[aria-pressed="true"] .mr-ann-pause__zu { display: none; }
.mr-ann-pause[aria-pressed="true"] .mr-ann-pause__los { display: block; }
html body .mr-ann-rechts .mr-kopf-sprache > summary { color: var(--sk-text) !important; padding: 0; }
html body .mr-ann-rechts .mr-kopf-sprache__flagge { width: 2.4rem; height: 1.7rem; }

/* ---------------- Menuezeile ---------------- */
html body :is(#sektion-header, #shopify-section-header)[id][class] .header {
  min-height: 72px;
  padding: 0 var(--sk-rand) !important;
  max-width: none;
}
html body :is(#sektion-header, #shopify-section-header)[id][class] .lfdy-header-nav { gap: 26px; }
html body :is(#sektion-header, #shopify-section-header)[id][class] .lfdy-header-nav__link {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  border-bottom-width: 2px;
}
/* Logo im festen Kopf in Originalfarben (schwarz „Fit“ + pink „Bloom“). Die Markenkarte setzt
   --marke-logo-filter auf invert() fuer ein helles Logo – beim farbigen FitBloom-Logo kam dabei
   ein gruenes „FitBloom“ heraus. Ueber dem Hero bleibt es weiss (mr-kopf: brightness(0) invert(1)). */
html body :is(#sektion-header, #shopify-section-header)[id][class] { --marke-logo-filter: none; }
/* mr-megamenue.css dreht es bei ist-beruehrt/hat-offenes-menue fest per invert() – auch ueberstimmen. */
html body :is(#sektion-header, #shopify-section-header)[id][class]:is(:not(.mr-kopf-transparent), .ist-beruehrt, .hat-offenes-menue) .mr-brand-logo img { filter: none !important; }

/* Fester Kopf: weisse Flaeche, dunkle Schrift, feine Linie */
html body :is(#sektion-header, #shopify-section-header)[id][class],
html body :is(#sektion-header, #shopify-section-header)[id][class] :is(.header-wrapper, .header) {
  background-color: var(--sk-ueber-bild, var(--sk-grund)) !important;
}
html body :is(#sektion-header, #shopify-section-header)[id][class] { border-bottom: 1px solid var(--sk-linie); }
html body :is(#sektion-header, #shopify-section-header)[id][class] :is(.lfdy-header-nav__link, .header__menu-item, .header__icon, .header__heading-link) { color: var(--sk-text) !important; }
/* Ueber dem Hero: durchsichtig, weisse Schrift (mr-megamenue.css schaltet bei Hover/Menue auf weiss) */
html body :is(#sektion-header, #shopify-section-header)[id][class].mr-kopf-transparent:not(.ist-beruehrt):not(.hat-offenes-menue) { border-bottom-color: transparent; }
html body :is(#sektion-header, #shopify-section-header)[id][class].mr-kopf-transparent:not(.ist-beruehrt):not(.hat-offenes-menue),
html body :is(#sektion-header, #shopify-section-header)[id][class].mr-kopf-transparent:not(.ist-beruehrt):not(.hat-offenes-menue) :is(.header-wrapper, .header) {
  background-color: transparent !important;
}
html body :is(#sektion-header, #shopify-section-header)[id][class].mr-kopf-transparent:not(.ist-beruehrt):not(.hat-offenes-menue) :is(.lfdy-header-nav__link, .header__menu-item, .header__icon, .header__heading-link) {
  color: var(--sk-ueber-bild, var(--sk-grund)) !important;
}

/* Logo: am Rechner steht es in der Ansageleiste; im Kopf erst, wenn die Leiste weggescrollt ist */
@media screen and (min-width: 990px) {
  html:not(.mr-ann-weg) body :is(#sektion-header, #shopify-section-header)[id][class] .header__heading,
  html:not(.mr-ann-weg) body :is(#sektion-header, #shopify-section-header)[id][class] > .header-wrapper .header > .header__heading-link { display: none !important; }
  html body :is(#sektion-header, #shopify-section-header)[id][class] .header__heading,
  html body :is(#sektion-header, #shopify-section-header)[id][class] .header > .header__heading-link { margin-right: 28px; }
}

/* Suchpille: ueber dem Bild durchscheinend hell, fest zartgrau (Groesse: mr-kopf-schlank) */
html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-suchpille {
  width: 360px !important;
  max-width: 30vw;
  height: 46px;
  padding: 0 20px !important;
  gap: 12px !important;
  font-size: 16px !important;
  font-weight: 500;
  background: var(--sk-pille-fest) !important;
  color: var(--sk-text-2) !important;
  border: 0 !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  margin-right: 14px;
}
html body :is(#sektion-header, #shopify-section-header)[id][class].mr-kopf-transparent:not(.ist-beruehrt):not(.hat-offenes-menue) .mr-suchpille {
  background: var(--sk-pille-bild) !important;
  color: var(--sk-ueber-bild, var(--sk-grund)) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-suchpille:hover { filter: brightness(.97); }
html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-suchpille svg { width: 20px !important; height: 20px !important; stroke: currentColor !important; }
html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-suchpille span { color: inherit !important; }
html body :is(#sektion-header, #shopify-section-header)[id][class] .header__icons { display: flex; align-items: center; gap: 4px; }

/* „Quiz starten“: Pille in Markenpink, auf dem Bild wie auf Weiss gleich */
html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-header-cta.button,
html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-header-cta.button:hover {
  background: var(--sk-akzent) !important;
  background-color: var(--sk-akzent) !important;
  color: var(--sk-auf-akzent) !important;
  border: 0 !important;
  border-radius: 999px !important;
  margin-left: 12px !important;
  padding: 12px 20px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  line-height: 1 !important;
  box-shadow: 0 6px 18px rgba(var(--sk-akzent-rgb), .28) !important;
}
html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-header-cta.button:hover { filter: brightness(1.06); }
html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-header-cta.button * {
  background: transparent !important;
  color: var(--sk-auf-akzent) !important;
}
html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-header-cta.button .mr-header-cta__ikon { display: none !important; }
html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-header-cta.button span { display: inline !important; }

/* Lupe nur, solange die Pille fehlt (unter 990 px; mr-kopf-schlank nimmt sie am Handy ganz raus) */
html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-suchknopf {
  order: 0;
  display: none !important;
  width: 40px; height: 40px; margin: 0;
}
@media screen and (max-width: 989px) {
  html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-suchpille { display: none !important; }
  html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-suchknopf { display: inline-flex !important; }
  html body :is(#sektion-header, #shopify-section-header)[id][class] .header { min-height: 60px; padding: 0 14px !important; }
}
@media screen and (max-width: 749px) {
  html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-header-cta.button {
    padding: 9px 13px !important;
    margin-left: 4px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }
}
@media screen and (max-width: 479px) {
  html body :is(#sektion-header, #shopify-section-header)[id][class] .header__icon--account { display: none !important; }
  html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-brand-logo img { width: 140px !important; max-width: 140px !important; height: auto !important; }
}
@media screen and (max-width: 359px) {
  html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-header-cta.button { padding: 8px 10px !important; font-size: 12px !important; }
}

/* ---------------- Mega-Menue (drei Spalten) ---------------- */
html body :is(#sektion-header, #shopify-section-header)[id][class] .lfdy-megamenue.mr-mega {
  background: var(--sk-grund) !important;
  border-top: 1px solid var(--sk-linie) !important;
  border-bottom: 1px solid var(--sk-linie) !important;
  box-shadow: 0 24px 48px rgba(var(--sk-tinte-rgb), .10);
}
html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-mega .lfdy-megamenue__inner {
  display: block;
  padding: 36px var(--sk-rand) 44px;
}
.mr-mega__raster {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.6fr;
  gap: 48px;
  max-width: 1376px;
}
.mr-mega__gross, .mr-mega__listen { min-width: 0; }
html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-mega a { text-decoration: none; white-space: normal; }
html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-mega__gross a {
  display: block;
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
  text-transform: none;
  color: var(--sk-text) !important;
}
html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-mega__gross a.mr-mega__akzent { color: var(--sk-akzent) !important; }
html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-mega__gross a:hover,
html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-mega__liste a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mr-mega__liste + .mr-mega__liste { margin-top: 22px; }
html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-mega__liste a {
  display: block;
  font-size: 15px;
  line-height: 1.95;
  text-transform: none;
  letter-spacing: 0;
  color: var(--sk-text-2) !important;
}
html body :is(#sektion-header, #shopify-section-header)[id][class] .mr-mega__liste .mr-mega__titel {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sk-text) !important;
}

/* ---------------- Bildkacheln (Mega + Schublade) ---------------- */
.mr-kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; min-width: 0; }
.mr-kacheln--mega { max-width: 620px; width: 100%; justify-self: end; }
html body .mr-kachel { display: block; min-width: 0; text-decoration: none !important; }
.mr-kachel img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 340px;
  object-fit: cover;
  object-position: top;
  border-radius: 14px;
  background: var(--sk-flaeche);
}
html body .mr-kachel b {
  display: block;
  margin: 12px 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--sk-text) !important;
}
html body .mr-kachel span {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.45;
  white-space: normal;
  color: var(--sk-text-2) !important;
}

/* ---------------- Handy ---------------- */
@media screen and (max-width: 989px) {
  html body #lfdy-announcement-bar.mr-ann-skims {
    grid-template-columns: minmax(0, 1fr);
    height: 38px;
    padding: 0 12px !important;
  }
  html body #lfdy-announcement-bar.mr-ann-skims .lfdy-announcement__viewport { grid-column: 1; height: 38px; }
  html body #lfdy-announcement-bar.mr-ann-skims .lfdy-announcement__msg { font-size: 12.5px; }
  .mr-ann-logo, .mr-ann-rechts { display: none !important; }
}

/* Schublade */
.mr-schublade-suche, .mr-kacheln--schublade, .mr-schublade-sprache { display: none; }
@media screen and (max-width: 989px) {
  html body #menu-drawer .menu-drawer__menu-item {
    padding: 10px 24px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.01em;
    text-transform: none;
    color: var(--sk-text) !important;
  }
  html body #menu-drawer .mr-schublade-suche {
    display: flex;
    align-items: center;
    gap: 12px;
    width: calc(100% - 40px);
    height: 48px;
    margin: 18px 20px 8px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--sk-pille-fest);
    color: var(--sk-text-2);
    font: inherit;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
  }
  html body #menu-drawer .mr-schublade-suche span { color: inherit !important; }
  html body #menu-drawer .mr-kacheln--schublade { display: grid; gap: 12px; padding: 18px 20px 10px; }
  html body #menu-drawer .mr-kacheln--schublade .mr-kachel b { font-size: 14px; }
  html body #menu-drawer .mr-kacheln--schublade .mr-kachel span { font-size: 12.5px; }
  html body #menu-drawer .mr-schublade-sprache { display: block; margin: 8px 0 0; border-top: 1px solid var(--sk-linie); }
  html body #menu-drawer .mr-schublade-sprache > summary {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 20px; list-style: none; cursor: pointer;
    font-size: 14px; font-weight: 600; color: var(--sk-text);
  }
  html body #menu-drawer .mr-schublade-sprache > summary::-webkit-details-marker { display: none; }
  .mr-schublade-sprache__jetzt { color: var(--sk-text-2); font-weight: 500; }
  .mr-schublade-sprache__liste { display: grid; grid-template-columns: 1fr 1fr; padding: 0 12px 12px; }
  html body #menu-drawer .mr-schublade-sprache__liste a {
    padding: 10px 8px; font-size: 14px; text-decoration: none; color: var(--sk-text-2) !important;
  }
  html body #menu-drawer .mr-schublade-sprache__liste a[aria-current] { color: var(--sk-akzent) !important; font-weight: 700; }
  html body #menu-drawer .list-social { display: none; }
}
