/* ============================================================
   DZIP — Startseite (index.html)
   Seitenlokale Ergänzungen (Abgleich mit dem Feedback von Dr. med. Mario
   Krause, Kap. 2.3–2.6). Nutzt nur Tokens und Muster aus dzip.css; die
   Regeln wirken ausschließlich auf index.html. Einbindung NACH dzip.css
   (und dzip-wissen.css).

   Vorher ein <style>-Block direkt in index.html; am 2026-10-01 ausgelagert,
   damit der Browser die Datei wie dzip.css zwischenspeichern kann.
   ============================================================ */

/* 01 Hero — Kategorie und Markenclaim stehen semantisch in EINEM h1 (Kap. 2.4) */
.hero__h1 { margin: 0 0 2rem; font: inherit; }
.hero__h1 > span { display: block; }
.hero__h1 .hero__eyebrow { display: flex; margin-bottom: 1.4rem; }
.hero__h1 .hero__claim { font-size: clamp(2.3rem, 4.6vw, 4rem); max-width: none; margin-bottom: 0; }
.hero__subline { max-width: 62ch; margin-bottom: 1.6rem; }
.hero__subline a { border-bottom: 1px solid var(--gold-soft); transition: color 0.25s ease, border-color 0.25s ease; }
.hero__subline a:hover, .hero__subline a:focus-visible { color: #fff; border-bottom-color: #fff; }
.hero__trustline { display: flex; align-items: center; gap: 0.9rem; margin: 0 0 2.2rem; font-size: 0.95rem; font-weight: 500; letter-spacing: 0.04em; color: var(--on-dark); }
.hero__trustline::before { content: ""; flex: none; width: 2.2rem; height: 1px; background: var(--gold-soft); }
.hero__trust { max-width: 62ch; }
.hero__trust p { margin: 0; color: var(--on-dark-muted); }
.hero__trust .hero__trust-note { margin-top: 0.75rem; }

/* 02 Was wir tun */
.wwt-list .idx { min-width: 6.8rem; }
.wwt-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; margin: 2.2rem 0 0; padding: 0; }

/* 03 Biologische Partitur — Dirigenten-/Partitur-Motiv (Kap. 1.1, 3.2): feine horizontale
   Linien, Knoten und Übergänge, keine Notenillustration. Die sieben Knoten stehen für die im
   Text genannten Systeme; alle Positionen sind prozentual und skalieren mit der Breite. */
.partitur { position: relative; width: 100%; height: 132px; margin: clamp(2.2rem, 4vw, 3.4rem) 0; color: var(--ink); }
.partitur svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* TEMPORÄR ausgeblendet (Wunsch 2026-09-29): Melodie-Grafik in Block 03. Zum Wiedereinblenden diese Zeile entfernen. */
#partitur .partitur { display: none; }
.partitur__staff line { stroke: currentColor; stroke-width: 1; opacity: 0.3; vector-effect: non-scaling-stroke; }
.partitur__melody { fill: none; stroke: var(--gold); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.partitur__node { position: absolute; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border: 1px solid var(--gold); border-radius: 50%; background: var(--cream); }
.partitur__node::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--gold); }
.partitur--dark { height: 84px; margin: 0 0 2.6rem; color: var(--on-dark); }
.partitur--dark .partitur__melody { stroke: var(--gold-soft); }
.partitur--dark .partitur__node { border-color: var(--gold-soft); background: var(--anthracite); }
.partitur--dark .partitur__node::after { background: var(--gold-soft); }
.partitur__text { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); }
.partitur__text p { margin: 0; font-size: 1.1rem; line-height: 1.75; color: var(--ink-muted); }
.partitur__text a { color: var(--ink); border-bottom: 1px solid var(--gold); transition: color 0.25s ease, border-color 0.25s ease; }
.partitur__text a:hover, .partitur__text a:focus-visible { color: var(--ink-muted); border-bottom-color: var(--ink-muted); }
/* Dirigentenbild (uploads/dzip-hannoverlongevity-dirigent.webp): rechts neben Partitur und Text, die Person blickt
   nach links in den Text hinein; mobil steht das Bild über Partitur und Text. */
.partitur-stage { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); grid-template-areas: "copy media"; column-gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; margin-top: clamp(2.2rem, 4vw, 3.4rem); }
.partitur-stage__media { grid-area: media; }
.partitur-stage__media img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--anthracite); box-shadow: 0 28px 56px -30px rgba(28, 31, 38, 0.5); }
.partitur-stage__copy { grid-area: copy; min-width: 0; }
.partitur-stage .partitur { margin-top: 0; }
.partitur-stage .partitur__text { grid-template-columns: 1fr; gap: 1.3rem; }

/* 05 Schwerpunkte — Kategorie als Titel, bisheriger Text als Beschreibung */
.focus-card__text { margin: 0 0 1.5rem; font-size: calc(1.12rem * var(--type-scale)); line-height: 1.55; color: var(--ink-muted); }
.focus-card__title + .focus-card__text { margin-top: -0.45rem; }

/* 07 Ihr Weg — verlinkter Schritt */
.step h3 a { border-bottom: 1px solid var(--gold); transition: color 0.25s ease, border-color 0.25s ease; }
.step h3 a:hover, .step h3 a:focus-visible { color: var(--ink-muted); border-bottom-color: var(--ink-muted); }

/* 08 Medizin statt Trend — Originalquelle */
.ansatz__source { max-width: 72ch; margin: 3rem 0 0; font-size: 0.92rem; line-height: 1.6; color: var(--ink-muted); }
.ansatz__source a { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--gold); transition: color 0.25s ease, border-color 0.25s ease; }
.ansatz__source a:hover, .ansatz__source a:focus-visible { color: var(--ink-muted); border-bottom-color: var(--ink-muted); }
.ansatz__source .ext { margin-left: 0.2em; color: var(--gold); }

/* 10 Für wen DZIP da ist */
.audience__region { max-width: 56ch; margin: 2.2rem 0 0; font-size: calc(1.18rem * var(--type-scale)); line-height: 1.7; color: var(--ink-muted); }

/* 12 Abschluss / Kontakt */
#abschluss .btn-row { justify-content: center; margin-top: 0.4rem; }
#abschluss .closing__micro { color: var(--on-dark-muted); }
.contact__intro .textlink { margin-top: 1.6rem; }

@media (max-width: 940px) {
  .partitur__text { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .partitur-stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "copy"; }
  .partitur-stage__media { max-width: 30rem; }
  .partitur-stage .partitur { margin-top: clamp(2.2rem, 4vw, 3.4rem); }
}
@media (max-width: 600px) {
  .hero__trustline { align-items: flex-start; }
  .hero__trustline::before { margin-top: 0.75em; }
  .wwt-list .idx { min-width: 5.6rem; }
  .partitur { height: 104px; }
  .partitur--dark { height: 72px; }
  .partitur__node { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; }
  .partitur__node::after { inset: 2.5px; }
  #abschluss .btn-row { flex-direction: column; align-items: stretch; }
  #abschluss .btn-row .btn { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__subline a, .partitur__text a, .step h3 a, .ansatz__source a { transition: none; }
}
