/* SCHMIDTWIRKUNG · V7 · gemeinsames Grundgerüst
   Schriftdateien, Farben, Schriften, Kopfleiste, Buttons, Kapitel, Falzleiste, Schluss, Footer.
   Seitenspezifisches steht in css/start.css, css/profil-v7.css usw.
   Die Engine (scrollcraft.css/.js) bleibt unverändert. */

/* ── Schriften (lokal, früher in css/site.css) ──────────────────────────
   Work Sans ist eine variable Schrift: eine Datei je Zeichensatz deckt
   alle Stärken von 100 bis 900 ab. */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/1Ptgg87LROyAm3K8-C8QSw.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@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: italic; font-weight: 100 900; font-display: swap; src: url('../fonts/QGYqz_wNahGAdqQ43Rh_eZDkv_1w4A.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Work Sans'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('../fonts/QGYqz_wNahGAdqQ43Rh_eZDlv_1w4A.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: italic; font-weight: 100 900; font-display: swap; src: url('../fonts/QGYqz_wNahGAdqQ43Rh_eZDrv_0.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_c6Dpp_k.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@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; }

:root {
  --red: #DA0009;
  --red-deep: #9E0008;
  --red-ink: #B80007;          /* rote Schrift auf Papier, 5,9:1 */
  --paper: #F3F3F1;
  /* Papiertextur: nahtlose Kachel aus echtem Papierfoto (assets/papier/papier-a.jpg,
     erzeugt mit scrollcraft/builds/schmidtwirkung-v7/paper_tile.py, Stärke 1.275), nur auf dem Seitengrund */
  --paper-tex: url("../images/v7/papier.webp");
  --paper-bg: var(--paper) var(--paper-tex) 0 0 / 640px 640px repeat;
  --paper-hi: #FCFBF8;
  --paper-back: #E9E6DF;
  --ink: #161413;
  --ink-body: #2B2725;
  --ink-soft: #5B5650;
  --rule: rgba(22, 20, 19, 0.14);
  --rule-strong: rgba(22, 20, 19, 0.28);

  --sc-canvas: var(--paper);
  --sc-surface: var(--paper-hi);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--red);
  --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Anton", "Arial Narrow", sans-serif;
  --sc-font-text: "Work Sans", system-ui, sans-serif;
  --sc-font-mono: "Work Sans", system-ui, sans-serif;
  --sc-shadow-color: 8 30% 12%;

  --gutter: clamp(1rem, 4.6vw, 4.5rem);
  --bar-h: 4rem;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  /* Zeilenabstand für mehrzeilige Anton-Zeilen: Luft für die Punkte auf Ä, Ö, Ü */
  --lh-anton: 1.1;
  --lh-anton-s: 1.18; /* kleinere Anton-Zeilen bis etwa 2 rem */
  --lf-w: min(88vw, 44rem);
  --lf-h: min(6.25rem, 11.4svh);
}

html { font-size: 16px; }
body.v7 {
  background: var(--paper-bg);
  color: var(--ink-body);
  font-family: var(--sc-font-text);
  font-size: 1.0625rem;
  line-height: 1.62;
  letter-spacing: 0;
}
body.v7 p { margin: 0; }
.v7 h1, .v7 h2, .v7 h3 { margin: 0; font-weight: 700; color: var(--ink); }
.v7 a { color: inherit; }
.v7 ::selection { background: var(--red); 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; }
/* Nur für Screenreader */
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ------------------------------------------------------------- Buttons --
   Die Buttons sind die einzigen runden Formen: Kapseln, wie das Logo. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0 1.65rem;
  border-radius: 999px;
  font: 600 1rem/1 var(--sc-font-text);
  text-decoration: none; white-space: nowrap;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), transform 500ms var(--ease);
}
.btn:active { transform: scale(0.97); }
/* Wie in V6: die Kapsel im Logo dreht sich einmal, die Buttons kippen leicht. */
.bar__pill { transition: transform 600ms var(--ease); }
@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); }
}
.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; }
@media (hover: hover) and (pointer: fine) {
  .v7 .btn--white:hover { background: #FFEDEB; }
  .v7 .btn--red:hover { background: #8F0006; }
}
.on-red :focus-visible, .pack :focus-visible, .close :focus-visible, .bar[data-tone="red"] :focus-visible { outline-color: #fff; }

/* ------------------------------------------------------------ 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);
}
/* Kein backdrop-filter: Die Unschärfe müsste die Grafik bei jedem Bild neu
   rechnen, auf großen Displays ruckelt dann der ganze Hero. */
.bar__mark { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 1.5rem; text-decoration: none; color: inherit; flex: none; }
.bar__pill {
  width: 2.6rem; height: 1.4rem; background: currentColor;
  -webkit-mask: url("../images/v7/pille-mask.png") center / contain no-repeat;
          mask: url("../images/v7/pille-mask.png") center / contain no-repeat;
}
.bar[data-tone="paper"] .bar__pill { background: var(--red); }
.bar__word { font-family: var(--sc-font-display); font-size: 1.3rem; letter-spacing: 0.01em; line-height: 1; }
.bar__chapter { display: none; }
.bar__nav { margin-left: auto; }
/* Desktop: Logo links, Navigation genau in der Mitte, Erstgespräch rechts */
@media (min-width: 1000px) {
  .bar { display: grid; grid-template-columns: 1fr auto 1fr; }
  .bar__nav { margin-left: 0; grid-column: 2; }
  .v7 .bar .btn--bar { grid-column: 3; justify-self: end; }
}
.bar__nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.bar__nav a { 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; /* Linie wächst aus der Mitte */ transition: background-size 180ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .bar__nav a: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); }
.v7 .bar[data-tone="paper"] .btn--bar { background: var(--red-ink); color: #fff; }
.bar__menu {
  display: none; margin-left: auto;
  background: none; border: 1px solid currentColor; border-radius: 999px;
  height: 2.5rem; padding: 0 1.1rem; font-weight: 600; font-size: 0.92rem; cursor: pointer; color: inherit;
}
.menu {
  position: fixed; inset: var(--bar-h) 0 auto 0; z-index: 59;
  background: var(--paper-bg); color: var(--ink);
  padding: 1rem var(--gutter) 1.75rem;
  box-shadow: 0 1px 0 var(--rule), 0 24px 40px -20px rgba(40, 10, 0, 0.3);
}
.menu[hidden] { display: none; }
.menu ul { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.menu li + li { border-top: 1px solid var(--rule); }
.menu a:not(.btn) { display: block; padding: 0.9rem 0; text-decoration: none; font-weight: 600; font-size: 1.15rem; }
.menu .btn { width: 100%; }

@media (max-width: 999px) {
  .bar__nav, .btn--bar { display: none; }
  .bar__menu { display: inline-flex; align-items: center; }
  .bar[data-tone="paper"] .bar__chapter {
    display: flex; gap: 0.45rem; align-items: baseline; min-width: 0;
    margin-left: 0.25rem; font-size: 0.82rem; color: var(--ink-soft);
  }
  .bar__chapter-n { font-family: var(--sc-font-display); color: var(--red-ink); font-size: 0.95rem; }
  .bar__chapter-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 520px) {
  :root { --bar-h: 3.5rem; }
  .bar { gap: 0.75rem; }
  .bar__word { font-size: 1.05rem; }
  .bar__pill { width: 2.1rem; }
  .bar[data-tone="paper"] .bar__word { display: none; }
}

/* ============================================================== ZETTEL ==== */
.sheet { position: relative; background: transparent; }
.ch { padding-block: clamp(4.5rem, 9vw, 8.5rem); border-top: 1px solid var(--rule); }
.ch:first-child { border-top: 0; }
.ch__wrap {
  max-width: 64rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 1200px) {
  .ch__wrap { margin-left: max(16rem, calc((100vw - 64rem) / 2)); margin-right: auto; }
}
.ch__title {
  font-size: clamp(1.75rem, 1.15rem + 2.3vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.022em;
  max-width: 20ch;
  text-wrap: balance;
}
.ch__n { font-family: var(--sc-font-display); font-weight: 400; color: var(--red); letter-spacing: 0; margin-right: 0.15em; }
.ch__sub { font-size: 1.0625rem; letter-spacing: 0; line-height: 1.35; }
.v7 .sc-stack > * + * { margin-top: 1rem; }
.v7 .sc-stack > .ch__sub { margin-top: 2.4rem; }
.v7 .sc-stack > .ch__title + * { margin-top: 1.75rem; }
.ch p { max-width: 62ch; text-wrap: pretty; }
.v7 .lede { text-wrap: balance; }
.lede { font-size: clamp(1.22rem, 1.02rem + 0.8vw, 1.6rem); line-height: 1.38; font-weight: 500; color: var(--ink); max-width: 36ch !important; letter-spacing: -0.01em; }

.ch__wrap--split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: start; }
/* das Foto darf über die Textkante hinaus Richtung Rand ragen */
.print { margin: clamp(0rem, 3vw, 3rem) calc(-1 * clamp(0rem, 100vw - max(16rem, (100vw - 64rem) / 2) - 64rem - 1.5rem, 6rem)) 0 0; position: sticky; top: calc(var(--bar-h) + 2rem); justify-self: end; }
.print img { width: auto; max-width: 100%; height: auto; max-height: calc(100svh - var(--bar-h) - 7rem); filter: drop-shadow(0 3px 3px rgba(40, 10, 0, 0.14)) drop-shadow(0 22px 26px rgba(40, 10, 0, 0.22)); }
.print figcaption { margin-top: 1rem; font-size: 0.85rem; color: var(--ink-soft); }
.abb { font-weight: 700; color: var(--ink); margin-right: 0.35em; }

.ch__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.ch__cols > .sc-stack > .ch__sub:first-child { margin-top: 0; }
/* ------------------------------------------------------- Falzleiste -- */
.folio {
  position: fixed; z-index: 40;
  left: clamp(1.25rem, 2vw, 2.25rem); top: 50%;
  translate: 0 -50%;
  opacity: 0; visibility: hidden;
  transition: opacity 260ms var(--ease), visibility 0s linear 260ms;
}
.folio.is-on { opacity: 1; visibility: visible; transition: opacity 260ms var(--ease), visibility 0s; }
.folio ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; border-left: 1px solid var(--rule-strong); }
.folio a { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.35rem 0 0.35rem 0.9rem; text-decoration: none; color: var(--ink-soft); margin-left: -1px; border-left: 2px solid transparent; }
.folio__n { font-family: var(--sc-font-display); font-size: 1.05rem; line-height: 1; min-width: 0.8em; }
.folio__t { font-size: 0.8rem; font-weight: 500; line-height: 1.2; max-width: 9rem; }
.folio a[aria-current="true"] { color: var(--ink); border-left-color: var(--red); }
.folio a[aria-current="true"] .folio__n { color: var(--red-ink); }
@media (hover: hover) and (pointer: fine) { .folio a:hover { color: var(--ink); } }
@media (max-width: 1199px) { .folio { display: none; } }

/* =========================================================== SCHLUSS ===== */
.close {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  color: #fff;
  background: transparent;
}
.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; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding: calc(var(--bar-h) + 6vh) var(--gutter) 4vh;
  max-width: 88rem; margin-inline: auto; width: 100%;
}
.close__capsule { width: 100%; max-width: 30rem; height: auto; rotate: -10deg; justify-self: end; filter: drop-shadow(-14px 26px 22px rgba(60, 0, 2, 0.45)); }
.close__title { font-family: var(--sc-font-display); font-weight: 400; text-transform: uppercase; color: #fff !important; font-size: clamp(2.6rem, 1.4rem + 4.6vw, 6.2rem); line-height: var(--lh-anton); max-width: 13ch; text-wrap: balance; letter-spacing: 0.005em; }
.close__sub { margin-top: 1.5rem !important; 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; }
.close__ps { margin-top: 2.25rem !important; font-size: 0.9rem; opacity: 0.86; font-style: italic; max-width: 40ch; }
.foot {
  position: relative;
  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: calc(100% - 0px);
}
.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; } /* Tippfläche 24 px hoch, ändert die Zeile nicht */
.foot__copy { margin-left: auto !important; opacity: 0.86; }
@media (max-width: 800px) {
  .close__inner { grid-template-columns: 1fr; align-content: center; }
  .close__capsule { display: none; }
  .close__inner { padding-top: calc(var(--bar-h) + 4vh); }
  .foot__copy { margin-left: 0 !important; }
}

/* ------------------------------------------------------ allgemein mobil -- */
@media (max-width: 900px) {
  .ch__wrap--split { grid-template-columns: 1fr; }
  .print { position: static; max-width: 32rem; margin: 1rem 0 0; justify-self: start; }
  .print img { max-height: none; width: 100%; }
  .ch__cols { grid-template-columns: 1fr; }
}

/* ------------------------------------------------- reduzierte Bewegung -- */
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

/* ------------------------------------------------ Satz: Anton und Umbruch --
   Anton steht immer in Versalien. Keine Schusterjungen, keine Hurenkinder:
   Überschriften ausgeglichen, Fließtext mit „pretty“; js/start.js bzw. js/v7.js binden
   zusätzlich das letzte Wortpaar, damit auch Browser ohne text-wrap keine
   einzelnen Wörter in die letzte Zeile stellen. */
.ch__n, .lf__n, .lf__brand, .folio__n, .bar__word, .bar__chapter-n, .ingredients strong,
.pack__title, .pack__line, .close__title, .works__end p, .test__name, .dose__group th { text-transform: uppercase; }
/* :where() hält die Spezifität bei null, damit Bauteil-Regeln wie das
   nowrap der Riesenschrift gewinnen. */
:where(.v7) :where(h1, h2, h3, .work__name, .test__name) { text-wrap: balance; }
:where(.v7) :where(p, li, dd, dt, blockquote, figcaption, summary, td) { text-wrap: pretty; orphans: 3; widows: 3; }
.pack__print, .pack__line { white-space: nowrap; }

/* ------------------------------------------------------------ Textlinks --
   Dezent: halbtransparente Unterstreichung, beim Überfahren voll, etwas
   tiefer gesetzt; auf Papier wird der Link rot, auf Rot bleibt er weiß. */
.foot a, .close__direct a, .maker a, .faq details a, .dose__foot a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in oklab, currentColor 45%, transparent);
  transition: color 160ms var(--ease), text-decoration-color 160ms var(--ease), text-underline-offset 160ms var(--ease);
}
:is(.foot, .close__direct, .maker, .faq details, .dose__foot) a:is(:hover, :focus-visible) {
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
.maker a:is(:hover, :focus-visible) { color: var(--red-ink); }
:is(.faq details, .dose__foot) a:is(:hover, :focus-visible) { color: #8F0006; }

/* ------------------------------------------------- Puls der Schluss-Kapsel --
   Ein ruhiger Herzschlag: zwei leichte Schläge, dann Pause. Animiert nur die
   eigene scale-Eigenschaft, damit Drehung (rotate) und das Einblenden der
   Engine (transform) unberührt bleiben. */
@keyframes kapsel-puls {
  0%, 46%, 100% { scale: 1; }
  8%  { scale: 1.045; }
  16% { scale: 1; }
  24% { scale: 1.03; }
  34% { scale: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .close__capsule { animation: kapsel-puls 2.6s cubic-bezier(0.33, 0, 0.2, 1) infinite; transform-origin: 50% 50%; }
}


/* Unterseiten: Kopfleiste auf Rot bekommt beim Scrollen einen eigenen Grund,
   damit Inhalte nicht unter durchsichtiger Schrift hindurchlaufen. */
.bar.is-scrolled[data-tone="red"] {
  background: color-mix(in oklab, #C80A0A 97%, transparent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* ------------------------------------------------------------ FAQ -- */
.faq { margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 48rem; }
.faq .ch__sub { margin-bottom: 0.75rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1rem 0; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 1.4rem; height: 1.4rem; align-self: center;
  background: linear-gradient(var(--red-ink), var(--red-ink)) center / 100% 3px no-repeat,
              linear-gradient(var(--red-ink), var(--red-ink)) center / 3px 100% no-repeat;
  transition: transform 180ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.2rem; color: var(--ink-soft); }
.faq details a { color: var(--red-ink); }

/* ---------------------------------------------- Hero der Unterseiten --
   Rotes Papier, Ton-in-Ton-Riesenwort, Textblock links. Seitenspezifische
   Objekte (Foto, Kapseln) stehen in der jeweiligen Seiten-CSS. */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 38rem;
  color: #fff; background: var(--red);
}
.hero__ground { position: absolute; inset: -4%; z-index: 0; will-change: transform; }
.hero__ground img { width: 100%; height: 100%; max-width: none; object-fit: cover; filter: brightness(0.86) saturate(1.06); }

/* SCHMIDT: wie WIRKUNG auf der Startseite, Ton in Ton aufs Papier gedruckt */
.hero__print {
  position: absolute; z-index: 1;
  left: 50%; bottom: -1.4vw; translate: -50% 0;
  margin: 0;
  font-family: var(--sc-font-display); text-transform: uppercase;
  font-size: 26vw; 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: absolute; z-index: 4;
  left: var(--gutter); top: calc(var(--bar-h) + 8vh);
  width: min(44rem, 50vw);
}
.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;
}
.hero__title { margin-top: 1.4rem !important; font-family: var(--sc-font-display); font-weight: 400; color: #fff !important; text-transform: uppercase; line-height: var(--lh-anton); letter-spacing: 0.004em; }
.hero__name { display: block; font-size: clamp(2.8rem, 1.4rem + 4.6vw, 6.4rem); }
.hero__role { display: block; margin-top: 0.4rem; font-size: clamp(1.5rem, 1rem + 1.7vw, 2.6rem); line-height: 1.02; }
.hero__sub { margin-top: 1.4rem !important; max-width: 34ch; font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.25rem); line-height: 1.45; font-weight: 500; }
.hero__copy .btn { margin-top: 2rem; }

@media (max-width: 760px) {
  .hero__copy { width: auto; right: var(--gutter); }
  .hero__print { font-size: 25vw; bottom: 1vw; }
}

/* --------------------------------------- Dokumentleiste unter dem Hero -- */
.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; } }


/* ------------------------------------------- Kurzer Kopf für Unterseiten --
   Kontakt, Impressum, Datenschutz, AGB: rotes Papier, Ton-in-Ton-Wort,
   Titel unten links. Kein Vollbild, man will hier schnell zum Inhalt. */
.hero--short { height: auto; min-height: 0; padding: calc(var(--bar-h) + clamp(3rem, 9vh, 6rem)) 0 clamp(2.5rem, 7vh, 4.5rem); }
.hero--short .hero__copy { position: relative; left: auto; top: auto; width: auto; max-width: 54rem; padding: 0 var(--gutter); }
@media (min-width: 1200px) { .hero--short .hero__copy { padding-left: max(16rem, calc((100vw - 64rem) / 2)); max-width: none; } }
.hero--short .hero__print { font-size: 21vw; bottom: -5vw; }
.hero--short .hero__title { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 6rem); line-height: var(--lh-anton); }
.hero--short .hero__sub { max-width: 42ch; }
.hero--legal .hero__title { font-size: clamp(2.4rem, 1.3rem + 3.6vw, 4.8rem); }
@media (max-width: 760px) {
  .hero--short .hero__print { font-size: 24vw; bottom: -3vw; }
}

/* Lesetext für Rechtstexte und lange Seiten */
.prose { max-width: 46rem; }
.prose h2 { margin-top: clamp(3rem, 6vw, 4.5rem); font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); line-height: 1.15; letter-spacing: -0.015em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2.2rem; font-size: 1.15rem; line-height: 1.3; }
.prose h4 { margin-top: 1.6rem; font-size: 1rem; line-height: 1.35; color: var(--ink); }
.v7 .prose p, .v7 .prose ul { margin-top: 0.85rem; color: var(--ink-body); }
.v7 .prose :is(h2, h3, h4) + p { margin-top: 0.6rem; }
.v7 .prose > p:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.4rem; }
.prose a { color: var(--red-ink); overflow-wrap: anywhere; }
.prose .caps { font-size: 0.92rem; letter-spacing: 0.01em; }

/* Kapseln als Objekte im roten Kopf (Größe und Lage je Seite) */
.cap { position: absolute; z-index: 2; height: auto; max-width: none; will-change: transform; filter: drop-shadow(-10px 22px 16px rgba(50, 0, 2, 0.42)); }

/* schmaler Schluss */
.close--slim { min-height: 0; }
.close--slim .close__inner { grid-template-columns: 1fr; padding-top: clamp(5rem, 12vh, 8rem); padding-bottom: clamp(3rem, 8vh, 5rem); }
@media (min-width: 1200px) { .close--slim .close__inner { padding-left: max(16rem, calc((100vw - 64rem) / 2)); max-width: none; } }
.close--slim .close__title { max-width: none; }

.hero--short .hero__copy { right: auto; }
.page-legal .hero__title { hyphens: manual; }

/* Körnung der Engine: nur so groß wie der Bildschirm (Engine-Vorgabe ist die
   vierfache Fläche), damit die Grafik beim Scrollen weniger zu mischen hat. */
.sc-grain { contain: strict; }
.sc-grain::before { inset: 0; }

/* Sinneinheiten zusammenhalten: Zeilen brechen nur zwischen den Teilen.
   Auf sehr schmalen Displays darf wieder normal umbrochen werden. */
.nobr { white-space: nowrap; }
.v7 .nobr.nobr-off { white-space: normal; } /* js/satz.js: Einheit breiter als die Zeile */
.page-legal a[href^="http"] { overflow-wrap: anywhere; } /* lange Adressen im Fließtext */
.v7 :has(> .nobr):not(.nobr-d) { text-wrap: wrap; }
.line { display: block; text-wrap: wrap; }
@media (max-width: 359px) { .nobr { white-space: normal; } }
/* größere Einheit, nur ab Tabletbreite zusammengehalten */
@media (min-width: 700px) { .v7 .nobr-d { white-space: nowrap; } .v7 .nobr-d.nobr-off { white-space: normal; } }
/* Lead in festen Zeilen: jede Einheit eine Zeile (Desktop) */
@media (min-width: 700px) { .v7 :is(.lede--lines, .lines) { max-width: none !important; } .v7 :is(.lede--lines, .lines) > .nobr-d { display: block; } }
/* Sinneinheiten im Fließtext: Zeilen füllen sich der Reihe nach, kein Umverteilen */
@media (min-width: 700px) { .v7 :is(p, li, dd):not(.lede):has(> .nobr-d) { text-wrap: wrap; } }
