/* ========================================
   comanu.de – Ergänzungen nur für produkte.html
   (wird nach seite.css eingebunden)
   ======================================== */

/* Sprungmarken zu den Produkten im Kopfbereich */
.product-jump { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 2.6rem; }
.product-jump a { display: grid; gap: .25rem; padding: 1rem 1.1rem; border-radius: 8px; background: var(--dark-2); border: 1px solid rgba(255,255,255,.08); text-decoration: none; transition: border-color .3s var(--ease), transform .4s var(--ease-out); }
.product-jump a:hover { border-color: rgba(240,179,40,.6); transform: translateY(-3px); }
.product-jump b { font-family: var(--font-display); font-weight: 800; color: var(--on-dark); font-size: 1rem; }
.product-jump span { color: var(--on-dark-mut); font-size: .88rem; line-height: 1.4; }

/* Produkt-Einstieg: Text links, Bild rechts */
.product-head { align-items: start; }
.product-lead { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.3; margin-top: 1.6rem; }
.product-head p:not(.product-lead):not(.kicker) { color: var(--muted); margin-top: 1rem; }
.dark .product-head p:not(.product-lead) { color: var(--on-dark-mut); }
.product-head .tags { margin-top: 1.4rem; }

/* Einsatzbereiche (Nidoa) */
.usecases { display: grid; gap: 10px; margin-top: 1.6rem; }
.usecases div { border-left: 3px solid var(--gold); padding: .2rem 0 .2rem 1rem; }
.usecases b { display: block; font-family: var(--font-display); font-size: .98rem; }
.usecases span { color: var(--muted); font-size: .94rem; }

/* Zwischenüberschrift innerhalb eines Produkts */
.subhead { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 800; text-transform: uppercase; margin-top: clamp(56px, 7vw, 88px); }
.subhead + .subintro { color: var(--muted); margin-top: .6rem; max-width: 62ch; }
.dark .subhead + .subintro { color: var(--on-dark-mut); }
section > .container > .subhead:first-child { margin-top: 0; }
.vs { margin-inline: 0; max-width: none; margin-top: 1.8rem; }

/* Karten mit Häkchen-Liste */
.card .checklist { margin-top: .4rem; }
.card .checklist li { color: var(--muted); font-size: .97rem; }
.card .checklist b { color: var(--text); }
.dark .card .checklist li { color: var(--on-dark-mut); }
.dark .card .checklist b { color: var(--on-dark); }
.dark .checklist li::before { border-color: var(--gold); }

/* Bildschirmfotos: Klick vergrößert */
.shot { margin: 0; }
a.shot-frame { display: block; text-decoration: none; cursor: zoom-in; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
a.shot-frame:hover { transform: translateY(-4px); box-shadow: 0 36px 70px rgba(28,28,26,.18); }
.shot-frame .br-bar span { font-size: .72rem; }
.shot-frame.crop img { aspect-ratio: 880 / 558; object-fit: cover; object-position: top center; }
.dark .shot-frame { border-color: rgba(255,255,255,.08); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.dark .shot-caption { color: var(--on-dark-mut); }
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 28px; margin-top: 2rem; }
.shots.three { grid-template-columns: repeat(3, 1fr); }

/* Fünf Schritte (E-Rechnung) */
.process.five { grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 2.4rem; }
.process.five .step p { font-size: .94rem; }

/* Nachweis aus der Praxis */
.proof { margin-top: 3rem; background: var(--white); border-left: 4px solid var(--gold); border-radius: 0 8px 8px 0; padding: 1.3rem 1.5rem; max-width: 860px; }
.proof strong { font-family: var(--font-display); }
.product-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.btn-outline { border-color: var(--dark); color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); }

/* Nach dem Fest (Helferheft) – Punkte mit Nummer */
.numbered { list-style: none; display: grid; gap: 14px; margin-top: 1.6rem; counter-reset: n; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 2.4rem 1fr; gap: .6rem; color: var(--on-dark-mut); }
.numbered li::before { content: counter(n, decimal-leading-zero); font-family: var(--font-mono); color: var(--gold); font-size: .85rem; padding-top: .15rem; }

/* Beispielrechnung (Vereinseinsatz) */
.example { background: var(--dark); color: var(--on-dark); border-radius: 10px; padding: clamp(24px, 3.5vw, 40px); box-shadow: 0 30px 60px rgba(28,28,26,.18); }
.example .card-label { color: var(--gold); }
.example dl { display: grid; gap: .1rem; margin-top: 1.2rem; }
.example dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.example dt { color: var(--on-dark-mut); }
.example dd { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; }
.example dl div.sum { border-bottom: 0; padding-top: 1rem; }
.example dl div.sum dt { color: var(--on-dark); font-weight: 600; }
.example dl div.sum dd { color: var(--gold); font-size: 1.5rem; }
.example p { color: var(--on-dark-mut); font-size: .86rem; margin-top: 1rem; }

/* Bildvergrößerung */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 92vh; margin: auto; overflow: visible; }
.lightbox::backdrop { background: rgba(20,20,19,.86); }
.lightbox img { max-width: 100%; max-height: 86vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #fff; }
.lightbox p { color: var(--on-dark); font-size: .92rem; margin-top: .7rem; text-align: center; }
.lightbox button { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--gold); color: var(--dark); font: 700 1.1rem var(--font-body); cursor: pointer; }

@media (max-width: 980px) {
  .product-jump { grid-template-columns: 1fr 1fr; }
  .process.five { grid-template-columns: 1fr 1fr; }
  .shots.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .product-jump, .shots, .shots.three, .process.five { grid-template-columns: 1fr; }
  .lightbox button { top: 6px; right: 6px; }
}

/* Untertitel in Karten */
h4.card-label { font-weight: 500; }
.card-sub { font-family: var(--font-display); font-weight: 700; color: var(--text) !important; font-size: 1.02rem !important; line-height: 1.35; }
.dark .card-sub { color: var(--on-dark) !important; }

/* Schmale Bildschirme: nichts darf breiter als die Spalte werden */
.split > *, .shots > * { min-width: 0; }
