/* ============================================================
   Referenzen — seiteneigene Komponenten
   Ergaenzt system.css. Nur was das Design-System nicht abdeckt.
   ============================================================ */

/* ---- Kennzahlen in der Hero-Leiste ---- */
.meta-label {
    font-size: var(--fs-1);
    color: var(--ink-3);
    margin-top: clamp(2.5rem, 6vh, 4.5rem);
}
.meta-label + .hero-meta { margin-top: .9rem; }
.hero-meta .v { color: var(--ink-2); }

/* ---- Bildstrecke: randlose Mosaikwand aus Projekt-Screenshots ---- */
.shots {
    padding-top: calc(var(--sect) * .6);
    overflow: hidden;
}
.shots-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: clamp(150px, 15.5vw, 240px);
    gap: 3px;
    background: var(--ink);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}
.shot {
    position: relative;
    overflow: hidden;
    margin: 0;
    background: var(--paper-2);
}
.shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform .8s var(--ease);
}
.shot:hover img { transform: scale(1.035); }
.shot figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1.6rem clamp(.8rem, 1.4vw, 1.2rem) clamp(.7rem, 1.2vw, 1rem);
    font-size: var(--fs-1);
    font-weight: 500;
    color: #fff;
    line-height: 1.25;
    background: linear-gradient(to top, rgba(12, 12, 14, .78), rgba(12, 12, 14, 0));
}
.shot figcaption span {
    display: block;
    font-size: var(--fs-0);
    font-weight: 400;
    color: rgba(255, 255, 255, .68);
    margin-bottom: .15rem;
}
.shot-a { grid-column: span 5; grid-row: span 2; }
.shot-b { grid-column: span 4; }
.shot-c { grid-column: span 3; }
.shot-d { grid-column: span 4; grid-row: span 2; }

@media (prefers-reduced-motion: reduce) {
    .shot img { transition: none; }
    .shot:hover img { transform: none; }
}
@media (max-width: 880px) {
    .shots-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: clamp(140px, 28vw, 220px);
    }
    .shot-a, .shot-b, .shot-c, .shot-d { grid-column: span 1; grid-row: span 1; }
    .shot-a { grid-column: span 2; }
}
@media (max-width: 460px) {
    .shots-grid { grid-auto-rows: 40vw; }
}

/* ---- Flaggschiff-Projekt im dunklen Band ---- */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.8rem, 4vw, 4rem);
    align-items: center;
    margin-top: clamp(2rem, 5vh, 3.2rem);
}
.band-media {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
}
.band-media img { width: 100%; height: auto; }
.dark-band .check-list { margin-top: 1.4rem; }
.dark-band .check-list li {
    color: rgba(255, 255, 255, .78);
    border-top-color: rgba(255, 255, 255, .16);
}
.dark-band .check-list li::before { color: #fff; }
.dark-band .check-list li strong { color: #fff; font-weight: 500; }
.dark-band .feature-split p strong { color: #fff; font-weight: 500; }

.band-quote {
    margin-top: clamp(2.5rem, 6vh, 4rem);
    padding-top: clamp(1.8rem, 4vh, 2.6rem);
    border-top: 1px solid rgba(255, 255, 255, .16);
    max-width: 74ch;
}
.band-quote p {
    font-size: var(--fs-2);
    line-height: 1.72;
    color: rgba(255, 255, 255, .82);
    margin-bottom: 1.1rem;
}
.band-quote p:last-of-type { margin-bottom: 0; }
.band-quote .band-quote-end { color: #fff; }
.band-quote cite {
    display: block;
    font-style: normal;
    margin-top: 1.6rem;
    font-size: var(--fs-1);
    color: #fff;
}
.band-quote cite span {
    display: block;
    font-size: var(--fs-0);
    color: rgba(255, 255, 255, .55);
    margin-top: .2rem;
}
@media (max-width: 879px) {
    .feature-split { grid-template-columns: 1fr; }
}

/* ---- Branchen-Zusatz in der Definitionsliste ---- */
.deflist dt .tag {
    display: block;
    font-size: var(--fs-0);
    font-weight: 400;
    color: var(--ink-4);
    letter-spacing: 0;
    margin-bottom: .2rem;
}
.deflist dd .res {
    display: block;
    margin-top: .5rem;
    color: var(--ink-3);
    font-size: var(--fs-0);
}

/* ---- Hinweiskasten (Einordnung einer Referenz) ---- */
.side-note {
    margin-top: clamp(2rem, 5vh, 3rem);
    max-width: 68ch;
    background: var(--paper-2);
    border-radius: var(--radius-md);
    padding: clamp(1.2rem, 2.5vw, 1.8rem);
    font-size: var(--fs-1);
    line-height: 1.72;
    color: var(--ink-2);
}

/* ---- Kundenstimmen: Zitat-Quelle unter dem Zitat ---- */
.review-card .review-src {
    font-size: var(--fs-0);
    color: var(--ink-4);
    margin-bottom: 1rem;
}
.review-card .quote-btn {
    background: none;
    border: 0;
    padding: 0 0 3px;
    cursor: pointer;
    font-size: var(--fs-0);
    text-align: left;
}
