/* Leitbild page of draft 3 (leitbild.html), variant "Aufbau" chosen by Gianni on 24.09.2026: three principles from
   the Leitbild PDF, each next to a road construction photo. Builds on the kq-* blocks of kern-qualitaet.css.
   The "Grundsätze" alternative (statements with photo) is in git (commit 71784f4). Only loaded by leitbild.html. */

/* ============ principles with photos ============ */
.kl1-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 6vw; align-items: start; max-width: 1320px; margin: 0 auto; }
.kl1-intro { position: sticky; top: 120px; }
.kl1-intro p { margin: 1.3rem 0 2rem; max-width: 26rem; color: rgba(6, 44, 34, .75); }

.kl1-road { list-style: none; margin: 0; padding: 0; border-radius: var(--_sizes---radius--md-radius); overflow: hidden; box-shadow: 0 0 0 1px rgba(4, 56, 42, .1); }
.kl1-layer { display: grid; grid-template-columns: 16rem minmax(0, 1fr); background: #fff; }
.kl1-layer + .kl1-layer .kl1-txt { border-top: 1px solid rgba(4, 56, 42, .1); }
.kl1-txt { padding: 30px 34px 32px; }
.kl1-txt small { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--kq-green); }
.kl1-txt p { margin-top: 10px; font-size: 16px; color: rgba(6, 44, 34, .72); max-width: 32rem; }

/* photo column: one road construction photo per principle, flush so the three read as one strip */
/* site.css gives every li a bottom padding and every img a radius: reset both so the photos sit flush */
.kl1-layer { margin: 0; padding: 0; }
.kl1-mat { margin: 0; position: relative; overflow: hidden; }
.kl1-mat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }

/* the layers are laid one after another when the road scrolls into view (js adds .is-built) */
.kl1-js .kl1-layer { opacity: 0; transform: translateY(26px); transition: opacity .55s ease, transform .7s cubic-bezier(.2, .8, .25, 1); }
.kl1-js .kl1-road.is-built .kl1-layer { opacity: 1; transform: none; }
.kl1-js .kl1-road.is-built .trag { transition-delay: 0s; }
.kl1-js .kl1-road.is-built .binder { transition-delay: .14s; }
.kl1-js .kl1-road.is-built .deck { transition-delay: .28s; }

/* ============ responsive ============ */
@media (max-width: 991px) {
  .kl1-grid { grid-template-columns: 1fr; }
  .kl1-intro { position: static; }
}
@media (max-width: 767px) {
  .kl1-layer { grid-template-columns: 1fr; }
  .kl1-mat { height: 190px; }
  .kl1-layer + .kl1-layer .kl1-txt { border-top: 0; }
  .kl1-txt { padding: 22px 20px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .kl1-js .kl1-layer { opacity: 1; transform: none; transition: none; }
}
