/* =========================================================
   HUMANUM – Variante B: Bogen-Motiv, Editorial-Hero, Format-Finder
   (ergänzt styles.css)
   ========================================================= */

/* Bogen aus dem Logo */
.arc { position: absolute; left: 0; width: 100%; height: auto; pointer-events: none; overflow: visible; }
.arc path { fill: none; stroke: url(#arcGold); stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
@media (prefers-reduced-motion: no-preference) {
  .js .arc path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1600ms var(--ease-out); }
  .js .arc.drawn path { stroke-dashoffset: 0; }
  .js .hero-b .arc path { animation: draw 1500ms var(--ease-out) 250ms both; transition: none; }
  @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}

/* Hero */
.hero-b { position: relative; padding: var(--s5) 0 var(--s6); text-align: center; overflow: hidden; }
.hero-b .hero-logo { margin-bottom: var(--s5); }
.hero-b .hero-logo img { width: 240px; }
.hero-b .kicker { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--gold-dark); }
.hero-b .title-wrap { position: relative; max-width: 1040px; margin: var(--s3) auto 0; }
.hero-b .title-wrap .arc { top: 50%; transform: translateY(-38%); }
.hero-b h1 { position: relative; font-size: clamp(2.8rem, 7.2vw, 6rem); line-height: 1.0; letter-spacing: -0.025em; }
.hero-b .lead { margin: var(--s4) auto 0; font-size: 1.15rem; max-width: 660px; }
.hero-b .actions { justify-content: center; }
.hero-wide { margin-top: var(--s6); }
.hero-wide .media { aspect-ratio: 21 / 9; }
.hero-wide .caption { text-align: left; }

/* Leitidee */
.manifest { position: relative; overflow: hidden; padding: var(--s8) 0 200px; text-align: center; }
.manifest .arc { bottom: 24px; height: 150px; }
.manifest h2 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.02; letter-spacing: -0.02em; color: #fff; position: relative; }
.manifest p { max-width: 640px; margin: var(--s4) auto 0; font-size: 1.12rem; position: relative; }

/* Haltung Pflege */
.statement h2 { font-size: clamp(2rem, 3.8vw, 3rem); }

/* Format-Finder */
.finder { display: grid; grid-template-columns: 1.25fr .75fr; gap: var(--s5); margin-top: var(--s6); align-items: start; }
.finder-q { border: 0; margin: 0 0 var(--s4); padding: 0; }
.finder-q legend { display: flex; gap: 12px; align-items: baseline; font-family: var(--serif); font-size: 1.35rem; margin-bottom: var(--s2); padding: 0; }
.finder-q legend .n { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  font-size: .95rem; cursor: pointer; user-select: none;
  transition: background-color var(--fast) var(--ease-out), border-color var(--fast) var(--ease-out), color var(--fast) var(--ease-out), transform var(--fast) var(--ease-out);
}
.chip input:checked + span { background: var(--dark); border-color: var(--dark); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.chip input:active + span { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .chip input:not(:checked):hover + span { border-color: var(--gold); } }

.finder-result {
  position: sticky; top: 140px;
  background: var(--dark); color: #f3efe6; border-radius: var(--radius);
  padding: var(--s5) var(--s4); min-height: 340px; display: flex; flex-direction: column;
}
.finder-result .label { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #c9ab86; }
.finder-progress { display: flex; gap: 6px; margin-top: var(--s2); }
.finder-progress i { flex: 1; height: 3px; border-radius: 3px; background: #4a473f; transition: background-color var(--base) var(--ease-out); }
.finder-progress i.on { background: var(--gold); }
.finder-empty { margin-top: var(--s4); color: #d3ccbd; }
.finder-out { margin-top: var(--s4); display: none; flex-direction: column; flex: 1; }
.finder-out.show { display: flex; }
.finder-out h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; color: #fff; line-height: 1.15; }
.finder-out p { color: #d3ccbd; margin-top: var(--s2); }
.finder-out .small { font-size: .82rem; margin-top: var(--s3); }
.finder-out .btn { margin-top: auto; align-self: flex-start; }
@media (prefers-reduced-motion: no-preference) {
  .finder-out.show { animation: rise 420ms var(--ease-out) both; }
}

@media (max-width: 1040px) {
  .finder { grid-template-columns: 1fr; }
  .finder-result { position: static; min-height: 0; }
}
@media (max-width: 760px) {
  .hero-b .hero-logo img { width: 200px; }
  .hero-b .title-wrap { padding-bottom: 28px; }
  .hero-b .title-wrap .arc { top: auto; bottom: -6px; height: 60px; transform: none; }
  .hero-wide .media { aspect-ratio: 4 / 3; }
  .manifest { padding: var(--s7) 0 150px; }
  .manifest .arc { height: 110px; }
  .finder-result { padding: var(--s4) var(--s3); }
}

/* Zahlen mit Quelle */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); margin-top: var(--s5); }
.stat { border-top: 1px solid var(--line-strong); padding-top: var(--s3); }
.stat-num { font-family: var(--serif); font-size: clamp(3rem, 7vw, 4.8rem); line-height: 1; color: var(--gold-dark); letter-spacing: -0.02em; margin-bottom: var(--s2); font-variant-numeric: tabular-nums; }
.stat p + p { margin-top: var(--s1); }
.stat .source { font-size: .8rem; color: var(--muted); }
.statement .checks { margin-top: var(--s3); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }
