/* SCHMIDTWIRKUNG · Wirkcheck V3
   Eigenständige Seite im Look der V7: Tokens, Kopfleiste, roter Kurzkopf,
   Papier, Schluss und Footer sind aus css/v7.css übernommen (gekürzt auf
   das, was hier vorkommt). Der Bogen folgt css/markencheck-v7.css.
   Unten: Druckansicht für das PDF. */

/* ── Schriften (wie V7, nur Latein und Latein erweitert) ────────────── */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/1Ptgg87LROyAm3K9-C8QSw.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/1Ptgg87LROyAm3Kz-C8.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/QGYsz_wNahGAdqQ43Rh_cqDpp_k.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/QGYsz_wNahGAdqQ43Rh_fKDp.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Für das PDF: statische Schnitte von Work Sans. Die variable Schrift
   würde Edge als Type3 einbetten (größere Datei). Geladen werden sie erst
   vor dem Drucken (js/wirkcheck.js), auf dem Bildschirm nie. */
@font-face { font-family: 'Work Sans Druck'; font-weight: 400; font-display: block; src: url('../fonts/work-sans-druck-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: 'Work Sans Druck'; font-weight: 600; font-display: block; src: url('../fonts/work-sans-druck-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: 'Work Sans Druck'; font-weight: 700; font-display: block; src: url('../fonts/work-sans-druck-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }

:root {
  --red: #DA0009;
  --red-ink: #B80007;          /* rote Schrift auf Papier, 5,9:1 */
  --paper: #F3F3F1;
  --paper-bg: var(--paper) url("../images/papier.webp") 0 0 / 640px 640px repeat;
  --paper-hi: #FCFBF8;
  --ink: #161413;
  --ink-body: #2B2725;
  --ink-soft: #5B5650;
  --rule: rgba(22, 20, 19, 0.14);
  --rule-strong: rgba(22, 20, 19, 0.28);
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-text: "Work Sans", system-ui, sans-serif;
  --gutter: clamp(1rem, 4.6vw, 4.5rem);
  --bar-h: 4rem;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --lh-anton: 1.1;
  --lh-anton-s: 1.18;
  /* Werte: gut, mittel, schwach. Ruhige Töne, alle mindestens 4,5:1 auf Weiß. */
  --gut: #1F6B45;
  --mittel: #8A5A00;
  --schwach: var(--red-ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; height: auto; }
body.v7 {
  background: var(--paper-bg);
  color: var(--ink-body);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.62;
}
.v7 p { margin: 0; }
.v7 h1, .v7 h2, .v7 h3, .v7 h4 { margin: 0; font-weight: 700; color: var(--ink); }
.v7 a { color: inherit; }
.v7 ::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.on-red :focus-visible, .bar[data-tone="red"] :focus-visible, .wc-cta :focus-visible { outline-color: #fff; }

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 999px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 1rem; }

/* ── Buttons: Kapseln wie das Logo ──────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0 1.65rem; border: 0; border-radius: 999px;
  font: 600 1rem/1 var(--font-text);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), transform 500ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.v7 .btn--white { background: #fff; color: var(--red-ink); box-shadow: 0 2px 4px rgba(60, 0, 0, 0.18), 0 10px 24px -8px rgba(60, 0, 0, 0.35); }
.v7 .btn--red { background: var(--red-ink); color: #fff; }
.btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; }
.bar__pill { transition: transform 600ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .v7 .btn--white:hover { background: #FFEDEB; }
  .v7 .btn--red:hover { background: #8F0006; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .bar__mark:hover .bar__pill, .bar__mark:focus-visible .bar__pill { transform: rotate(360deg); }
  .v7 .btn:hover { transform: rotate(-9deg); }
  .v7 .btn:hover:active { transform: rotate(-9deg) scale(0.97); }
}

/* ── Kopfleiste ─────────────────────────────────────────────────────── */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--bar-h);
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 var(--gutter);
  color: #fff;
  transition: background-color 220ms var(--ease), color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.bar[data-tone="paper"] {
  background: color-mix(in oklab, var(--paper) 97%, transparent);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--rule);
}
.bar__mark { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 1.5rem; text-decoration: none; color: inherit; flex: none; }
.bar__pill {
  display: inline-block; width: 2.6rem; height: 1.4rem; background: currentColor;
  -webkit-mask: url("../images/pille-mask.png") center / contain no-repeat;
          mask: url("../images/pille-mask.png") center / contain no-repeat;
}
.bar[data-tone="paper"] .bar__pill { background: var(--red); }
.bar__word { font-family: var(--font-display); text-transform: uppercase; font-size: 1.3rem; letter-spacing: 0.01em; line-height: 1; }
.bar__home { margin-left: auto; text-decoration: none; font-weight: 500; font-size: 0.97rem; padding: 0.4rem 0; background: linear-gradient(currentColor, currentColor) 50% 100% / 0 1px no-repeat; transition: background-size 180ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .bar__home:hover { background-size: 100% 1px; } }
.v7 .btn--bar { min-height: 2.5rem; padding: 0 1.15rem; font-size: 0.92rem; background: #fff; color: var(--red-ink); flex: none; }
.v7 .bar[data-tone="paper"] .btn--bar { background: var(--red-ink); color: #fff; }
.bar__short { display: none; }
@media (max-width: 700px) {
  .bar__home { display: none; }
  .v7 .btn--bar { margin-left: auto; }
  .bar__long { display: none; }
  .bar__short { display: inline; }
}
@media (max-width: 520px) {
  :root { --bar-h: 3.5rem; }
  .bar { gap: 0.75rem; }
  .bar__word { font-size: 1.05rem; }
  .bar__pill { width: 2.1rem; }
  .v7 .btn--bar { min-height: 2.4rem; padding: 0 1rem; }
}

/* ── Roter Kurzkopf ─────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff; background: var(--red);
}
.hero--short { padding: calc(var(--bar-h) + clamp(3rem, 9vh, 6rem)) 0 clamp(2.5rem, 7vh, 4.5rem); }
.hero__ground { position: absolute; inset: -4%; z-index: 0; }
.hero__ground img { width: 100%; height: 100%; max-width: none; object-fit: cover; filter: brightness(0.86) saturate(1.06); }
.hero__print {
  position: absolute; z-index: 1;
  left: 50%; bottom: -5vw; translate: -50% 0;
  margin: 0;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 21vw; line-height: 1; letter-spacing: 0;
  white-space: nowrap; color: rgba(84, 0, 4, 0.34);
  user-select: none; pointer-events: none;
}
.hero__print span { display: inline-block; }
.hero__copy { position: relative; z-index: 4; max-width: 54rem; padding: 0 var(--gutter); }
@media (min-width: 1200px) { .hero__copy { padding-left: max(16rem, calc((100vw - 64rem) / 2)); max-width: none; } }
.hero__kicker {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.35rem 0.8rem; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 999px;
}
.v7 .hero__title {
  margin-top: 1.4rem; font-family: var(--font-display); font-weight: 400; color: #fff;
  text-transform: uppercase; line-height: var(--lh-anton); letter-spacing: 0.004em;
  font-size: clamp(2.6rem, 1.4rem + 4.4vw, 6rem); max-width: 12ch;
}
.v7 .hero__sub { margin-top: 1.4rem; max-width: 34ch; font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.25rem); line-height: 1.45; font-weight: 500; }
.cap { position: absolute; z-index: 2; height: auto; max-width: none; filter: drop-shadow(-10px 22px 16px rgba(50, 0, 2, 0.42)); }
.cap--check { width: min(20vw, 17rem); right: 8vw; top: calc(var(--bar-h) + 5vh); rotate: -32deg; }
@media (max-width: 760px) {
  .hero__print { font-size: 24vw; bottom: -3vw; }
  .cap--check { width: 30vw; right: -3vw; top: calc(var(--bar-h) + 0.5rem); }
  .v7 .hero__title { max-width: 9ch; }
}

/* ── Dokumentleiste und Kapitel ─────────────────────────────────────── */
.docbar {
  display: flex; flex-wrap: wrap; gap: 0.3rem 1.5rem; justify-content: space-between;
  padding: 0.9rem var(--gutter);
  border-bottom: 1px solid var(--rule);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft);
}
.docbar span:last-child { color: var(--red-ink); }
@media (max-width: 640px) { .docbar span:nth-child(2) { display: none; } }

.ch { padding-block: clamp(3rem, 7vw, 6rem); }
.ch__wrap { max-width: 78rem; margin-inline: auto; padding-inline: var(--gutter); }
/* bündig mit dem Kopftext wie im Markencheck */
@media (min-width: 1200px) { .ch__wrap { margin-left: max(16rem, calc((100vw - 64rem) / 2)); margin-right: auto; } }
.ch__sub { font-size: 1.0625rem; line-height: 1.35; }

/* ── Der Bogen ──────────────────────────────────────────────────────── */
.wc__wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.wc-card { position: relative; min-width: 0; background: var(--paper-hi); border: 1px solid var(--rule-strong); border-radius: 0.5rem; padding: 0 clamp(1.1rem, 4vw, 2.75rem) clamp(1.75rem, 4vw, 2.75rem); box-shadow: 0 2px 3px rgba(22, 20, 19, 0.06), 0 26px 50px -30px rgba(22, 20, 19, 0.4); scroll-margin-top: calc(var(--bar-h) + 1rem); }
.wc-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 0.45rem; background: var(--red); border-radius: 0.5rem 0.5rem 0 0; }
.wc-card__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 0 1rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); border-bottom: 2px solid var(--ink); min-height: 4.4rem; }
.wc-card__label { font-family: var(--font-display); text-transform: uppercase; color: var(--red-ink); font-size: 1.5rem; line-height: 1; }

/* Blister: fünf Kapselmulden, eine pro Wirkstoff */
.wc-blister { display: flex; flex: none; gap: 0.45rem; padding: 0.45rem 0.6rem; border-radius: 999px; background: #fff; border: 1px solid var(--rule); box-shadow: inset 0 1px 2px rgba(22, 20, 19, 0.1); }
.wc-blister[hidden] { display: none; }
.wc-blister span { width: 1.9rem; height: 0.9rem; border-radius: 999px; background: rgba(22, 20, 19, 0.07); box-shadow: inset 0 1px 2px rgba(22, 20, 19, 0.18); transition: background-color 260ms var(--ease), box-shadow 260ms var(--ease); }
.wc-blister span.is-on { background: rgba(218, 0, 9, 0.18); }
.wc-blister span.is-done { background: linear-gradient(90deg, #fff 0%, #F1F1F0 55%, #D6D6D4 100%); box-shadow: 0 1px 2px rgba(22, 20, 19, 0.3), inset -0.5rem 0 0 var(--red); }
@media (prefers-reduced-motion: no-preference) {
  .wc-blister span.is-on { animation: wc-puls 1.1s ease-in-out infinite; }
}
@keyframes wc-puls { 50% { background: rgba(218, 0, 9, 0.38); } }
@media (max-width: 420px) {
  .wc-card__label { font-size: 1.3rem; }
  .wc-blister { gap: 0.3rem; padding: 0.35rem 0.45rem; }
  .wc-blister span { width: 1.25rem; height: 0.75rem; }
  .wc-blister span.is-done { box-shadow: 0 1px 2px rgba(22, 20, 19, 0.3), inset -0.35rem 0 0 var(--red); }
}

/* Schritte */
.wc-step { display: none; }
.wc-step.is-active { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .wc-step.is-active { animation: wc-in 360ms var(--ease) both; }
}
@keyframes wc-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wc-question:focus, .wc-result-title:focus { outline: none; } /* bekommen per Skript den Fokus, sind aber keine Bedienelemente */
.wc-question { font-size: clamp(1.35rem, 1.05rem + 1.1vw, 2rem); line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
.v7 .wc-lead { margin-top: 0.9rem; max-width: 60ch; }
.wc-domain { margin-top: 0.4rem; font-weight: 600; color: var(--ink-soft); overflow-wrap: anywhere; }
.wc-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; margin: 1.8rem 0 0; padding: 0.9rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.wc-meta li { color: var(--ink-soft); font-weight: 600; }
.wc-meta b { font-family: var(--font-display); font-weight: 400; color: var(--red-ink); font-size: 1.5rem; margin-right: 0.3rem; }
.v7 .wc-small { margin-top: 1.1rem; font-size: 0.88rem; line-height: 1.5; color: var(--ink-soft); max-width: 60ch; }
.wc-small a, .wc-side__note a { color: var(--red-ink); font-weight: 600; }

/* Formularfelder */
.wc-form { margin-top: 1.5rem; }
.wc-field { display: grid; gap: 0.4rem; min-width: 0; align-content: start; }
.wc-field label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.wc-field input, .wc-url { width: 100%; font: 400 1.02rem/1.45 var(--font-text); color: var(--ink); background: #fff; border: 1px solid var(--rule-strong); border-radius: 0.45rem; transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.wc-field input { padding: 0.8rem 0.95rem; }
.wc-url { display: flex; align-items: stretch; overflow: hidden; }
.wc-url__pre { display: flex; align-items: center; padding: 0 0.3rem 0 0.95rem; color: var(--ink-soft); font-weight: 500; }
.wc-field .wc-url input { flex: 1; min-width: 0; border: 0; border-radius: 0; padding-left: 0.1rem; background: transparent; }
.wc-field input:focus, .wc-url:focus-within { outline: none; border-color: var(--red-ink); box-shadow: 0 0 0 3px rgba(218, 0, 9, 0.16); }
.wc-field .wc-url input:focus { box-shadow: none; }
.wc-field ::placeholder { color: #8C867F; opacity: 1; }
.v7 .wc-hint { font-size: 0.85rem; color: var(--ink-soft); }
.field__err { font-size: 0.85rem; font-weight: 600; color: var(--red-ink); }
.field__err:empty { display: none; }
.wc-field.is-bad input, .wc-field.is-bad .wc-url { border-color: var(--red-ink); background: #FFF6F5; }
.wc-field.is-bad .wc-url input { background: transparent; }
.wc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; margin-top: 1.5rem; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.v7 .wc-status { margin-top: 1.1rem; font-weight: 600; color: var(--ink); }
.wc-status:empty { display: none; }
.wc-status.is-error { color: var(--red-ink); }

.wc-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.6rem; }
.wc-back { background: none; border: 0; padding: 0.4rem 0; cursor: pointer; font: 600 0.95rem var(--font-text); color: var(--ink-soft); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
.wc-back:hover, .wc-back:focus-visible { color: var(--ink); }
.wc-back--neu::before { content: "↺ "; }
@media (max-width: 560px) { .wc-fields { grid-template-columns: 1fr; } .wc-nav .btn { width: 100%; } }

/* Prüfung läuft */
.wc-stoffe-lauf { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.wc-stoffe-lauf li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem 1.1rem; border: 1px solid var(--rule-strong); border-radius: 0.55rem; background: #fff; transition: border-color 200ms var(--ease), background-color 200ms var(--ease); }
.wc-lauf__name { font-weight: 600; color: var(--ink); }
.wc-lauf__st { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.wc-stoffe-lauf li.is-on { border-color: var(--red-ink); }
.wc-stoffe-lauf li.is-on .wc-lauf__st { color: var(--red-ink); }
.wc-stoffe-lauf li.is-done { background: #F7F7F5; }
.wc-stoffe-lauf li.is-done .wc-lauf__st::before { content: "✓ "; color: var(--gut); }

/* ── Befund ─────────────────────────────────────────────────────────── */
.wc-print-head, .wc-print-foot { display: none; }
.wc-stamp { display: inline-block; padding: 0.3rem 0.85rem 0.25rem; rotate: -4deg; border: 3px solid var(--red-ink); border-radius: 0.4rem; font-family: var(--font-display); text-transform: uppercase; color: var(--red-ink); font-size: 1.3rem; line-height: 1.1; letter-spacing: 0.04em; opacity: 0.9; }
@media (prefers-reduced-motion: no-preference) {
  #wcBefund.is-active .wc-stamp { animation: wc-stamp 520ms 180ms cubic-bezier(0.2, 1.4, 0.4, 1) both; }
}
@keyframes wc-stamp { 0% { scale: 1.6; opacity: 0; } 100% { scale: 1; opacity: 0.9; } }
.v7 .wc-result-title { margin-top: 1.1rem; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem); line-height: var(--lh-anton); letter-spacing: 0.004em; }
.v7 .wc-result-url { margin-top: 0.6rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.wc-result-url strong { color: var(--ink); }
.v7 .wc-result-text { margin-top: 1rem; font-size: 1.08rem; line-height: 1.6; max-width: 60ch; }
.v7 .wc-result-text--hinweis { font-size: 0.95rem; color: var(--ink-soft); }
.v7 .wc-score { margin-top: 1.6rem; padding-top: 1rem; border-top: 2px solid var(--ink); color: var(--ink); font-weight: 600; }
.wc-score strong { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; color: var(--red-ink); font-size: 1.75rem; line-height: var(--lh-anton-s); margin-left: 0.3rem; }
.v7 .wc-sub { margin-top: 2.4rem; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-ink); }

.wc-stoffe { list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.wc-stoff { padding: 1rem 1.1rem 1.05rem; border: 1px solid var(--rule-strong); border-radius: 0.55rem; background: #fff; }
.wc-stoff__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.v7 .wc-stoff__name { font-size: 1.05rem; line-height: 1.3; }
.wc-stoff__wert { font-weight: 600; color: var(--ink-soft); white-space: nowrap; font-size: 0.92rem; }
.wc-stoff__wert b { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1; margin-right: 0.25rem; }
.wc-stoff__bar { position: relative; display: block; height: 0.7rem; margin-top: 0.6rem; border-radius: 999px; background: rgba(22, 20, 19, 0.08); overflow: hidden; box-shadow: inset 0 1px 2px rgba(22, 20, 19, 0.12); }
.wc-stoff__bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--schwach); width: 0; transition: width 900ms var(--ease); }
.wc-stoff__befund { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.3rem; }
.wc-stoff__befund li { position: relative; padding-left: 1.1rem; font-size: 0.95rem; line-height: 1.5; color: var(--ink-body); }
.wc-stoff__befund li::before { content: ""; position: absolute; left: 0.1rem; top: 0.55em; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; color: var(--schwach); }
.wc-stoff__befund li.is-ok::before { color: var(--gut); }
.wc-stoff[data-stufe="gut"] .wc-stoff__wert b { color: var(--gut); }
.wc-stoff[data-stufe="gut"] .wc-stoff__bar i { background: var(--gut); }
.wc-stoff[data-stufe="mittel"] .wc-stoff__wert b { color: var(--mittel); }
.wc-stoff[data-stufe="mittel"] .wc-stoff__bar i { background: var(--mittel); }
.wc-stoff:is([data-stufe="gut"], [data-stufe="mittel"]) .wc-stoff__befund li:not(.is-ok)::before { color: var(--mittel); }
.wc-stoff[data-stufe="schwach"] .wc-stoff__wert b { color: var(--schwach); }
.wc-stoff[data-stufe="offen"] .wc-stoff__befund li::before { color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .wc-stoff__bar i { transition: none; } }

.wc-empf { list-style: none; counter-reset: empf; margin: 0.9rem 0 0; padding: 0; display: grid; gap: 1rem; }
.wc-empf__item { counter-increment: empf; display: grid; grid-template-columns: 2.2rem 1fr; column-gap: 0.6rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.wc-empf__item::before { content: counter(empf); grid-row: span 2; font-family: var(--font-display); color: var(--red-ink); font-size: 1.6rem; line-height: 1.1; }
.v7 .wc-empf__item h4 { font-size: 1.05rem; line-height: 1.3; }
.v7 .wc-empf__item p { margin-top: 0.3rem; font-size: 0.97rem; max-width: 58ch; }

.wc-nav--result { margin-top: 2rem; }
.wc-cta { margin-top: 2rem; padding: 1.4rem 1.5rem; border-radius: 0.5rem; background: var(--ink); color: #fff; }
.v7 .wc-cta h3 { color: #fff; font-size: 1.2rem; }
.v7 .wc-cta p { margin-top: 0.6rem; color: rgba(255, 255, 255, 0.85); max-width: 58ch; }
.wc-cta .btn { margin-top: 1.1rem; }
.v7 .wc-cta__alt { font-size: 0.92rem; }
.wc-cta__alt a { color: #fff; font-weight: 600; }
.v7 .wc-beipack { margin-top: 1.6rem; font-size: 0.85rem; line-height: 1.5; color: var(--ink-soft); max-width: 62ch; }
@media (max-width: 560px) { .wc-cta { padding: 1.2rem 1.1rem; } .wc-cta .btn { width: 100%; padding-inline: 1rem; } }

/* ── Seitenspalte ───────────────────────────────────────────────────── */
.wc-side { position: sticky; top: calc(var(--bar-h) + 2rem); }
.wc-levels { list-style: none; padding: 0; margin: 0.9rem 0 0; }
.wc-levels li { display: grid; grid-template-columns: 1.8rem 1fr; gap: 0.6rem; padding: 0.75rem 0; border-top: 1px solid var(--rule); }
.wc-levels li:last-child { border-bottom: 1px solid var(--rule); }
.wc-levels span { font-family: var(--font-display); color: var(--red-ink); font-size: 1.35rem; line-height: 1.15; }
.v7 .wc-levels p { font-size: 0.97rem; }
.wc-levels b { color: var(--ink); }
.v7 .wc-side__note { margin-top: 1.6rem; font-size: 0.92rem; color: var(--ink-soft); }
@media (max-width: 900px) { .wc__wrap { grid-template-columns: minmax(0, 1fr); } .wc-side { position: static; } }

/* ── Dialog für das PDF ─────────────────────────────────────────────── */
.wc-dialog { width: min(36rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 1px solid var(--rule-strong); border-radius: 0.5rem; background: var(--paper-hi); color: var(--ink-body); box-shadow: 0 30px 60px -20px rgba(22, 20, 19, 0.5); overflow: auto; }
.wc-dialog::backdrop { background: rgba(22, 20, 19, 0.6); }
.wc-dialog__form { padding: clamp(1.25rem, 4vw, 2rem); border-top: 0.45rem solid var(--red); }
.v7 .wc-dialog__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; color: var(--ink); font-size: 1.8rem; line-height: var(--lh-anton-s); }
.wc-dialog .wc-fields { grid-template-columns: 1fr; }

/* ── Schluss und Footer (wie V7) ────────────────────────────────────── */
.close { position: relative; isolation: isolate; display: flex; flex-direction: column; color: #fff; }
.close__red { position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 15% 10%, rgba(255, 90, 40, 0.28), transparent 60%), linear-gradient(115deg, #D8240E 0%, #C90A0A 45%, #A50006 100%); }
.close__inner { flex: 1; display: grid; align-items: center; padding: clamp(4.5rem, 12vh, 7rem) var(--gutter) clamp(3rem, 8vh, 5rem); max-width: 88rem; margin-inline: auto; width: 100%; }
@media (min-width: 1200px) { .close__inner { padding-left: max(16rem, calc((100vw - 64rem) / 2)); max-width: none; } }
.v7 .close__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; color: #fff; font-size: clamp(2.6rem, 1.4rem + 4.6vw, 6.2rem); line-height: var(--lh-anton); letter-spacing: 0.005em; text-wrap: balance; }
.v7 .close__sub { margin-top: 1.5rem; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); line-height: 1.45; font-weight: 500; max-width: 38ch; }
.close__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; }
.close__direct { font-weight: 500; }
.close__direct a { font-weight: 700; }
.foot { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; align-items: baseline; padding: 1.5rem var(--gutter) 2rem; border-top: 1px solid rgba(255, 255, 255, 0.28); font-size: 0.85rem; max-width: 88rem; margin-inline: auto; width: 100%; }
.foot__links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 0; padding: 0; }
.foot__links a { padding-block: 0.25rem; }
.v7 .foot__copy { margin-left: auto; opacity: 0.86; }
.foot a, .close__direct a {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in oklab, currentColor 45%, transparent);
}
:is(.foot, .close__direct) a:is(:hover, :focus-visible) { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
@media (max-width: 800px) { .v7 .foot__copy { margin-left: 0; } }

/* ── Satz: Anton in Versalien, Umbruch nach Sinneinheiten ───────────── */
.wc-card__label, .wc-meta b, .wc-stamp, .wc-result-title, .wc-score strong, .wc-levels span, .wc-stoff__wert b, .wc-empf__item::before { text-transform: uppercase; }
:where(.v7) :where(h1, h2, h3, h4) { text-wrap: balance; }
:where(.v7) :where(p, li, dd, label) { text-wrap: pretty; orphans: 3; widows: 3; }
.nobr { white-space: nowrap; }
.v7 .nobr.nobr-off { white-space: normal; }
@media (max-width: 359px) { .nobr { white-space: normal; } }
@media (min-width: 700px) { .v7 .nobr-d { white-space: nowrap; } .v7 .nobr-d.nobr-off { white-space: normal; } }
@media (min-width: 700px) { .v7 :is(p, li, dd):has(> .nobr-d) { text-wrap: wrap; } }

@media (prefers-reduced-motion: reduce) {
  .btn, .bar, .bar__pill { transition: none; }
}

/* ══ Druckansicht = PDF ═══════════════════════════════════════════════
   Nur der Befund, auf A4, in den echten Schriften. Farben bleiben
   (print-color-adjust), Wirkstoffe und Empfehlungen brechen nie mitten
   im Kasten. Hintergrundbilder fallen weg, damit die Datei klein bleibt. */
@page {
  size: A4; margin: 15mm 16mm 17mm;
  @bottom-left { content: "Wirkcheck · SCHMIDTWIRKUNG"; font: 600 7.5pt "Work Sans Druck", "Work Sans", sans-serif; color: #5B5650; }
  @bottom-right { content: "Seite " counter(page) " von " counter(pages); font: 600 7.5pt "Work Sans Druck", "Work Sans", sans-serif; color: #5B5650; }
}
@media print {
  :root { --font-text: "Work Sans Druck", "Work Sans", sans-serif; }
  html { font-size: 9.5pt; }
  body.v7 { background: #fff; color: #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .skip, .bar, .hero, .docbar, .wc-side, .close, .wc-card__head, .wc-nav, .wc-dialog, .wc-cta .btn,
  #wcAuftrag, #wcLauf { display: none !important; }
  .ch { padding: 0; }
  .ch__wrap, .wc__wrap { display: block; max-width: none; padding: 0; margin: 0; }
  .wc-card { border: 0; box-shadow: none; padding: 0; background: none; }
  .wc-card::before { display: none; }
  .wc-step.is-active, #wcBefund.is-active .wc-stamp { animation: none; }
  .v7 .nobr-d { white-space: nowrap; }
  .wc-print-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 2.5mm; margin-bottom: 6mm; border-bottom: 1.2pt solid #000; font-size: 8.5pt; font-weight: 600; color: var(--ink-soft); }
  .wc-print-head__mark { display: inline-flex; align-items: center; gap: 2.2mm; font-family: var(--font-display); text-transform: uppercase; font-size: 15pt; font-weight: 400; color: var(--ink); letter-spacing: 0.01em; }
  .wc-print-head .bar__pill { width: 11mm; height: 6mm; background: var(--red); }
  .wc-stamp { font-size: 11pt; border-width: 2pt; }
  .v7 .wc-result-title { font-size: 26pt; margin-top: 2.5mm; }
  .v7 .wc-result-url { margin-top: 1.5mm; }
  .v7 .wc-result-text { margin-top: 2.5mm; font-size: 10pt; line-height: 1.5; max-width: 160mm; }
  .v7 .wc-score { margin-top: 4mm; padding-top: 2.5mm; }
  .wc-score strong { font-size: 17pt; }
  .v7 .wc-sub { margin-top: 5mm; break-after: avoid; }
  .wc-stoffe { margin-top: 2.5mm; gap: 2mm; }
  .wc-stoff { break-inside: avoid; padding: 2.2mm 3.5mm 2.6mm; border-color: #bbb; }
  .v7 .wc-stoff__name { font-size: 10pt; }
  .wc-stoff__wert b { font-size: 14pt; }
  .wc-stoff__bar { height: 1.8mm; margin-top: 1.4mm; }
  .wc-stoff__bar i { transition: none; }
  .wc-stoff__befund { margin-top: 1.6mm; gap: 0.4mm; }
  .wc-stoff__befund li { font-size: 9pt; line-height: 1.4; }
  [data-wc-empf-titel] { break-before: page; margin-top: 0 !important; }
  .wc-empf__item { break-inside: avoid; padding-top: 3mm; }
  .v7 .wc-empf__item p { font-size: 9.5pt; max-width: 150mm; }
  /* Nächster Schritt: hell statt schwarzer Kasten, Adresse statt Knopf */
  .wc-cta { break-inside: avoid; margin-top: 7mm; padding: 4mm 5mm; background: none; color: var(--ink-body); border: 1pt solid #bbb; border-left: 3pt solid var(--red); border-radius: 1.5mm; }
  .v7 .wc-cta h3 { color: var(--ink); font-size: 11pt; }
  .v7 .wc-cta p { color: var(--ink-body); font-size: 9.5pt; max-width: 150mm; }
  .wc-cta__alt { display: none; }
  .wc-cta::after { content: "Sprechstunde vereinbaren: schmidtwirkung.de/Kontakt.html oder 05651 3207878"; display: block; margin-top: 2mm; font-weight: 700; font-size: 9.5pt; color: var(--red-ink); }
  .v7 .wc-beipack { margin-top: 6mm; font-size: 8pt; max-width: none; }
  .wc-print-foot { display: block; margin-top: 4mm; padding-top: 2.5mm; border-top: 0.6pt solid #999; font-size: 8pt; line-height: 1.5; color: var(--ink-soft); }
  .wc-print-foot span { display: block; }
  a { text-decoration: none; }
}
