/* =========================================================
   Performance Lab — MASTER BRAND (homepage) skin
   Loaded AFTER styles.css. Re-skins everything to a timeless
   black & white identity and adds the holistic-concept
   components (Anlaufstellen network, mono BMS meta-card,
   6-module cycle).
   ========================================================= */

/* ---- PALETTE OVERRIDE: pure black & white ---- */
:root {
  --ink-1:   #0A0A0A;
  --ink-2:   #131313;
  --ink-3:   #1C1C1C;
  --paper:   #FFFFFF;
  --paper-2: #F4F3F1;
  --line:      rgba(10,10,10,.12);
  --line-dark: rgba(255,255,255,.14);

  /* neutralise the accent tokens to monochrome tones */
  --gold-1: #FFFFFF;   /* accents on dark sections */
  --gold-2: #BFBFBF;
  --gold-3: #4A4A4A;   /* accents on light sections (eyebrows, step numbers) */
  --gold-grad: linear-gradient(135deg, #FFFFFF, #BDBDBD);

  --vital: #1A1A1A;
}

/* emphasis text: drop the gradient, become italic in the inherited colour
   (works automatically on both black and white sections) */
.grad {
  background: none !important;
  -webkit-background-clip: border-box !important;
          background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  color: inherit !important;
  font-style: italic;
  font-weight: 400;
}

/* primary button: black on light sections, white on dark sections */
.btn--primary {
  background: #0A0A0A; color: #fff;
  box-shadow: 0 14px 38px -16px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.04) inset;
}
.btn--primary:hover { box-shadow: 0 18px 46px -16px rgba(0,0,0,.6); }
.hero .btn--primary, .cta .btn--primary {
  background: #fff; color: #0A0A0A;
  box-shadow: 0 14px 38px -16px rgba(255,255,255,.3);
}
.hero .btn--primary:hover, .cta .btn--primary:hover {
  box-shadow: 0 18px 48px -16px rgba(255,255,255,.45);
}

/* hero atmosphere → neutral light haze, no colour */
.hero__glow--gold { background: radial-gradient(circle, rgba(255,255,255,.10), transparent 60%); }
.hero__glow--cool { background: radial-gradient(circle, rgba(255,255,255,.05), transparent 60%); }
.logo--brand { filter: none; }
.ribbon__dot { background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.6); }

/* hero stat numbers → solid white */
.hero__meta .num { background: none; -webkit-text-fill-color: #fff; color: #fff; }

/* consortium logos → desaturated to fit the monochrome page */
.strip__logos img { filter: grayscale(1); }
.footer__brands img { filter: grayscale(1); }

/* faq toggle + pillar accents inherit the new tokens automatically */

/* ---- ANLAUFSTELLEN / TOUCHPOINT NETWORK (new) ---- */
.anlauf { background: var(--paper); padding: clamp(4.5rem, 9vw, 7rem) 0; }
.anlauf__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
@media (max-width: 860px) { .anlauf__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .anlauf__grid { grid-template-columns: 1fr; } }

.anlauf-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  background: #fff;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  overflow: hidden;
}
.anlauf-card:hover {
  transform: translateY(-3px);
  border-color: rgba(10,10,10,.4);
  box-shadow: 0 24px 50px -30px rgba(10,10,10,.35);
}
.anlauf-card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: #0A0A0A; color: #fff;
  margin-bottom: 1.2rem;
}
.anlauf-card__icon svg { width: 22px; height: 22px; }
.anlauf-card h3 {
  font-family: var(--serif); font-weight: 500; font-size: 1.2rem;
  margin: 0 0 .4rem; letter-spacing: -.01em; color: var(--ink-1);
}
.anlauf-card p { font-size: .92rem; line-height: 1.55; color: rgba(10,10,10,.62); margin: 0; }
.anlauf-card__tag {
  margin-top: 1rem; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-3); font-weight: 600;
}

/* ---- BMS META-CARD (monochrome) ---- */
.metacard-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  margin-top: clamp(3rem, 6vw, 5rem); text-align: left;
}
@media (max-width: 820px) { .metacard-wrap { grid-template-columns: 1fr; } }
.metacard {
  position: relative;
  background: linear-gradient(160deg, #161616, #0B0B0B);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px; padding: 1.8rem 1.8rem 1.6rem;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
  max-width: 380px; width: 100%; justify-self: center; overflow: hidden;
}
.metacard__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.metacard__brand { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.metacard__brand strong { color: #fff; font-weight: 600; }
.metacard__chip { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; padding: .3rem .55rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.85); }
.metacard__score { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.6rem; }
.metacard__ring {
  --val: 72; width: 92px; height: 92px; border-radius: 999px; flex-shrink: 0;
  background:
    radial-gradient(closest-side, #131313 78%, transparent 79% 100%),
    conic-gradient(#fff calc(var(--val) * 1%), rgba(255,255,255,.14) 0);
  display: grid; place-items: center;
}
.metacard__ring b { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; color: #fff; }
.metacard__score-label { font-size: .8rem; color: rgba(255,255,255,.7); line-height: 1.45; }
.metacard__score-label strong { color: #fff; display: block; font-family: var(--serif); font-size: 1.05rem; font-weight: 500; margin-bottom: .15rem; }
.metacard__bars { display: flex; flex-direction: column; gap: .8rem; }
.metacard__bar-label { display: flex; justify-content: space-between; font-size: .76rem; color: rgba(255,255,255,.65); margin-bottom: .3rem; }
.metacard__bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.metacard__bar span { display: block; height: 100%; border-radius: 999px; background: #fff; }
.metacard__foot { margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .72rem; color: rgba(255,255,255,.5); letter-spacing: .04em; }
.metacard-copy h2 { color: var(--ink-1); }
.metacard-copy .lede { color: rgba(10,10,10,.7); }
.metacard-copy ul { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-direction: column; gap: .9rem; }
.metacard-copy li { display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; line-height: 1.5; color: rgba(10,10,10,.82); }
.metacard-copy li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--ink-1); margin-top: 1px; }

/* the metacard section sits on a LIGHT background on the homepage */
.measure { background: var(--paper); color: var(--ink-1); }
.measure::before { background:
  radial-gradient(60% 50% at 50% 0%, rgba(10,10,10,.05), transparent 60%); }
.measure__eyebrow { color: var(--gold-3); }
.measure__statement { color: var(--ink-1); }
.measure__sub { color: rgba(10,10,10,.7); }
.measure__sub strong { color: var(--ink-1) !important; }
.measure__en { color: rgba(10,10,10,.45); }

/* ---- 8-MODULE CYCLE (override protokoll steps to 8 + loop note) ---- */
.protokoll__steps { grid-template-columns: repeat(4, 1fr); }
.step:nth-child(4n) { border-right: 0; }
.step:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
@media (max-width: 980px) {
  .protokoll__steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .step:nth-child(2n) { border-right: 0 !important; }
  .step:nth-last-child(-n+2) { border-bottom: 0 !important; }
}
@media (max-width: 620px) {
  .protokoll__steps { grid-template-columns: 1fr; }
  .step { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .step:last-child { border-bottom: 0 !important; }
}
.cycle-note {
  display: flex; align-items: center; justify-content: center; gap: .7rem;
  margin: 2.4rem auto 0; max-width: 620px;
  font-size: .85rem; letter-spacing: .04em; color: rgba(10,10,10,.6); text-align: center;
}
.cycle-note__loop { width: 26px; height: 26px; flex-shrink: 0; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--gold-3); color: var(--gold-3); }
.cycle-note__loop svg { width: 15px; height: 15px; }

/* sleep module icon */
.pillar__logo--icon { color: #fff; height: 42px; display: flex; align-items: center; }
.pillar__logo--icon svg { height: 34px; width: auto; }

/* footer tagline keeps it monochrome */
.footer__tag { color: rgba(255,255,255,.6); }
