/* SCHMIDTWIRKUNG · Profil V7 · „Fachinformation“ (setzt css/v7.css voraus)
   Die Startseite ist der Beipackzettel, das Profil die Fachinformation zum
   Wirkstoff. Gleiche Welt: rotes Papier, Ton-in-Ton-Druck, Kapsel, Papierbogen. */

/* ================================================================ HERO ====
   Grundgerüst (Grund, Druck, Textblock) steht in v7.css. */
/* der Abzug liegt auf dem Papier, die Kapsel liegt auf dem Abzug */
.hero__photo {
  position: absolute; z-index: 2; margin: 0;
  right: clamp(1rem, 8vw, 9rem); top: calc(var(--bar-h) + 6vh);
  width: min(30vw, 26rem);
  will-change: transform;
}
.hero__photo img {
  width: 100%; height: auto;
  filter: drop-shadow(0 4px 4px rgba(60, 0, 2, 0.28)) drop-shadow(0 26px 30px rgba(60, 0, 2, 0.4));
}
.hero__capsule {
  position: absolute; z-index: 3;
  right: calc(clamp(1rem, 8vw, 9rem) + min(30vw, 26rem) * 0.62);
  top: calc(var(--bar-h) + 6vh + min(30vw, 26rem) * 0.98);
  width: min(17vw, 15rem); max-width: none; height: auto;
  rotate: -14deg;
  filter: drop-shadow(-8px 16px 12px rgba(50, 0, 2, 0.45));
  will-change: transform;
}

@media (max-width: 760px) {
  .hero { height: auto; min-height: 100svh; display: flex; flex-direction: column; padding: calc(var(--bar-h) + 1.25rem) 0 30vw; }
  .hero__photo { position: relative; right: auto; top: auto; width: 60vw; margin: 0 var(--gutter) 0 auto; }
  .hero__capsule { right: auto; left: 7vw; top: calc(var(--bar-h) + 1.25rem + 50vw); width: 34vw; }
  .hero__copy { position: relative; left: auto; right: auto; top: auto; width: auto; padding: 1.75rem var(--gutter) 0; }
  .hero__title { margin-top: 1rem !important; }
  .hero__print { font-size: 25vw; bottom: 1vw; }
}


.ch--lead { padding-bottom: clamp(2.5rem, 5vw, 4rem); }

/* 1 · Zitat neben dem Text */
.pull { margin: clamp(0rem, 6vw, 5rem) 0 0; padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.pull p { font-size: clamp(1.35rem, 1.05rem + 1.1vw, 2rem); line-height: 1.3; font-weight: 500; color: var(--ink); letter-spacing: -0.012em; max-width: 22ch; }

/* 2 · Werte: gepinnte rote Bühne, ein Wert nach dem anderen ------------- */
.values { position: relative; background: var(--red); color: #fff; }
.values__stage {
  height: 100vh; height: 100svh;
  display: grid; place-items: center;
  background:
    radial-gradient(90% 70% at 15% 10%, rgba(255, 90, 40, 0.25), transparent 60%),
    linear-gradient(115deg, #D8240E 0%, #C90A0A 45%, #A50006 100%);
}
.values__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
.value {
  grid-area: 1 / 1;
  --pl: var(--gutter);
  padding: 0 var(--gutter);
  max-width: 76rem; margin: 0 auto; width: 100%;
}
@media (min-width: 1200px) { .value { --pl: max(16rem, calc((100vw - 64rem) / 2)); padding-left: var(--pl); } }
.value__n { font-family: var(--sc-font-display); font-size: 1.2rem; letter-spacing: 0.04em; opacity: 0.8; }
.values .value__word {
  margin-top: 0.4rem; color: #fff;
  font-family: var(--sc-font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3rem, 9.4vw, 10.5rem); line-height: 0.92; letter-spacing: 0.004em;
  white-space: nowrap;
}
/* Das längste Wort (VERANTWORTUNG, 6,35 em) darf nie unter den Blister rechts laufen */
.values .value__word--long { font-size: min(clamp(3rem, 9.4vw, 10.5rem), calc((100vw - max(0px, (100vw - 76rem) / 2) - var(--pl) - var(--gutter) - 6rem) / 6.4)); }
.value__text { margin-top: 1.5rem !important; max-width: 60ch; font-size: clamp(1.1rem, 1rem + 0.6vw, 1.5rem); line-height: 1.4; font-weight: 500; }
/* Blister: vier Kapselmulden, gefüllt im Takt der Werte (liest --sc-p der Engine) */
.values__blister {
  position: absolute; z-index: 2;
  right: var(--gutter); top: 50%; translate: 0 -50%;
  display: grid; gap: 0.9rem;
  padding: 1rem 0.8rem; border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}
.values__blister span {
  position: relative; width: 1.25rem; height: 2.6rem; border-radius: 999px;
  background: rgba(70, 0, 4, 0.28);
  box-shadow: inset 0 2px 4px rgba(60, 0, 2, 0.35);
}
.values__blister span::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(90deg, #fff 0%, #F3F1EE 55%, #D9D5D0 100%);
  box-shadow: 0 2px 4px rgba(60, 0, 2, 0.35);
  opacity: clamp(0, (var(--sc-p, 0) - var(--i) * 0.25 + 0.02) * 30, 1);
}
@media (max-width: 760px) {
  .values__blister { top: auto; bottom: 1.5rem; translate: 0; right: 50%; translate: 50% 0; grid-auto-flow: column; padding: 0.7rem 1rem; }
  .values__blister span { width: 2.2rem; height: 1.05rem; }
}

/* 3 · Arbeitsweise in drei Sätzen -------------------------------------- */
.steps { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 3rem); }
.steps li { border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps__n { font-family: var(--sc-font-display); color: var(--red-ink); font-size: 2.6rem; line-height: 1; }
.steps p { margin-top: 0.6rem !important; font-size: clamp(1.2rem, 1rem + 0.7vw, 1.55rem); line-height: 1.3; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 1.6rem; } }

/* Plakat ------------------------------------------------------------------ */
.poster { background: transparent; border-top: 1px solid var(--rule); padding: clamp(5rem, 11vw, 10rem) var(--gutter); }
.poster__wrap { max-width: 82rem; margin: 0 auto; }
@media (min-width: 1200px) { .poster__wrap { margin-left: max(16rem, calc((100vw - 64rem) / 2)); } }
.poster__line {
  font-family: var(--sc-font-display); text-transform: uppercase; color: var(--ink);
  font-size: clamp(3rem, 1rem + 7.4vw, 9.5rem); line-height: var(--lh-anton); letter-spacing: 0.004em;
}
.poster__line span { display: inline-block; }
.poster__red { color: var(--red); }
.poster__sub { margin-top: clamp(1.5rem, 3vw, 2.5rem) !important; font-size: clamp(1.15rem, 1rem + 0.7vw, 1.6rem); font-weight: 500; color: var(--ink); }

/* 4 · Zusammensetzung ------------------------------------------------------- */
.spec { margin: clamp(2rem, 4vw, 3rem) 0 0; max-width: 56rem; }
.spec > div { display: grid; grid-template-columns: minmax(10rem, 0.34fr) 1fr; gap: 1.5rem; align-items: baseline; padding: 1.2rem 0; border-top: 1px solid var(--rule); }
.spec > div:last-child { border-bottom: 1px solid var(--rule); }
.spec dt { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-ink); }
.spec dd { margin: 0; font-size: 1.12rem; line-height: 1.45; font-weight: 500; color: var(--ink); }
.spec dd b { font-family: var(--sc-font-display); font-weight: 400; font-size: 1.7em; line-height: 0.8; color: var(--red-ink); }
/* „Nicht enthalten“: gibt es hier nicht, also rot durchgestrichen */
.spec__no dd { display: flex; flex-wrap: wrap; gap: 0.2rem 1.4rem; color: var(--ink-soft); }
.spec__no s { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }

/* Entwicklungsgeschichte: eine Kapsel fährt beim Scrollen die Linie entlang,
   die Stationen erscheinen, sobald sie erreicht sind. --sc-p kommt von der
   Engine (Act „flow“), --q ist der Weg der Kapsel von 0 bis 1. */
.history { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(1rem, 3vw, 2rem); --q: clamp(0, (var(--sc-p, 1) - 0.08) / 0.3, 1); }
.history__title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.history__track { position: relative; height: 1.6rem; margin-top: 1.75rem; container-type: inline-size; }
.history__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; translate: 0 -50%; background: var(--rule-strong); }
.history__fill { position: absolute; left: 0; top: 50%; width: 66.667%; height: 3px; translate: 0 -50%; background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--q)); }
.history__dot {
  position: absolute; top: 50%; left: calc(var(--i) * 33.333%); width: 1rem; height: 1rem; translate: 0 -50%;
  --o: clamp(0, (var(--q) - var(--i) * 0.46) * 14, 1);
  border-radius: 50%; border: 2px solid color-mix(in oklab, var(--red) calc(var(--o) * 100%), var(--ink));
  background: color-mix(in oklab, var(--red) calc(var(--o) * 100%), var(--paper));
}
.history__pill {
  position: absolute; left: 0; top: 50%; width: 2.9rem; height: 1.35rem; border-radius: 999px;
  transform: translate(calc(var(--q) * 66.667cqw - 0.6rem), -50%) rotate(-14deg);
  background: linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(60, 0, 2, 0.08) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px)), linear-gradient(90deg, #f8f7f6 0 50%, #fff 50% 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 3px rgba(60, 0, 2, 0.18), 0 2px 3px rgba(60, 0, 2, 0.25), 0 10px 16px -8px rgba(60, 0, 2, 0.4);
  will-change: transform;
}
.history__list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.history__list li {
  padding-right: clamp(1rem, 3vw, 2.5rem);
  --o: clamp(0, (var(--q) - var(--i) * 0.43 + 0.04) * 8, 1);
  opacity: var(--o); translate: 0 calc((1 - var(--o)) * 1.75rem);
}
.history__year { display: block; font-family: var(--sc-font-display); text-transform: uppercase; font-size: clamp(3.2rem, 1.4rem + 5.4vw, 7.2rem); line-height: 1; color: var(--ink); }
.history__list li:last-child .history__year { color: var(--red-ink); }
.history__list p { margin-top: 0.7rem !important; max-width: 24ch; color: var(--ink-body); }
@media (max-width: 760px) {
  .spec > div { grid-template-columns: 1fr; gap: 0.3rem; }
  .history__track { display: none; }
  .history__list { grid-template-columns: 1fr; gap: 2rem; margin-top: 1.25rem; border-left: 2px solid var(--rule-strong); padding-left: 1.25rem; }
}

/* 5 · Inhaber: ein Satz, den man mitnimmt ------------------------------------- */
.saying {
  margin: clamp(0rem, 6vw, 5rem) 0 0 !important; padding-top: 1.1rem; border-top: 2px solid var(--ink);
  font-family: var(--sc-font-display); text-transform: uppercase; color: var(--ink);
  font-size: clamp(2.3rem, 1.2rem + 3.4vw, 4.6rem); line-height: var(--lh-anton); letter-spacing: 0.005em;
}
.saying span { display: block; }
.saying span + span { color: var(--red-ink); }
.stand { margin-top: 1.75rem !important; font-size: 0.82rem; color: var(--ink-soft); font-style: italic; }

/* Schluss: Titel ist kürzer als auf der Startseite */
.page-profil .close__title { max-width: none; font-size: clamp(3.2rem, 1.6rem + 6vw, 8rem); }

/* ------------------------------------------------- reduzierte Bewegung -- */
@media (prefers-reduced-motion: reduce) {
  .values__blister span::after { opacity: 1; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .hero__photo { width: 42vw; }
  .hero__capsule { top: calc(var(--bar-h) + 1.25rem + 30vw); width: 26vw; left: 37vw; }
  .hero__copy { padding-top: 1rem; }
  .hero__sub { margin-top: 0.9rem !important; }
  .hero__copy .btn { margin-top: 1.2rem; }
}

/* SCHMIDT WIRKT.: zwei Zeilen Ton in Ton, linksbündig am Rand, unten angeschnitten */
.hero__print--stack { left: 0; translate: none; bottom: 0.6vw; font-size: 17vw; line-height: 0.92; white-space: normal; }
.hero__print--stack span { display: block; margin-left: -0.02em; }
@media (max-width: 760px) {
  .hero { padding-bottom: 46vw; }
  .hero__print--stack { font-size: 23vw; bottom: 1.5vw; }
}
