/* ==========================================================================
   115° · GLT-Modernisierung — Unterseite /bau-digital/glt-modernisierung/
   Ergänzt prisma.css. Ohne JavaScript vollständig nutzbar.
   ========================================================================== */
.glt-seite { --ok: #1f7a4d; --warn: #b7791f; --bad: #c2301f; }

/* ---------- Einstieg ---------- */
.glt-seite .aktion.umriss { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.glt-seite .aktion.umriss::after { background: var(--nacht); }
.glt-kopf h1 { max-width: 13ch !important; }
.glt-gedimmt { color: #7d8893; }
.glt-motiv { position: absolute; right: 0; top: 50%; width: min(36vw, 520px); transform: translateY(-46%); pointer-events: none; }
.fx .glt-motiv { animation: sanft-rein 1.4s var(--weich) .3s both; }
@media (max-width: 1000px) { .glt-motiv { display: none; } }

/* Leitstand-Motiv */
.lm{width:100%;height:auto;overflow:visible}
.lm .kanal{fill:rgba(249,246,241,.03);stroke:#f9f6f1;stroke-width:1.6}
.lm .fluss{fill:none;stroke-width:2.4;stroke-dasharray:14 12;stroke-linecap:round;animation:lm-fluss 1.4s linear infinite}
.lm .zu{stroke:#6fd3ff}
.lm .ab{stroke:#ffb21a;opacity:.85}
.lm .wrg{fill:rgba(8,14,21,.9);stroke:#8b7bff;stroke-width:1.6}
.lm .wrg-x{stroke:#8b7bff;stroke-width:1.4}
.lm .ring{fill:#080e15;stroke:#f9f6f1;stroke-width:1.6}
.lm .blatt{fill:#f9f6f1}
.lm .rad{animation:lm-dreh 1.6s linear infinite}
.lm .chip rect{fill:#080e15;stroke:rgba(249,246,241,.4)}
.lm .chip text{font:400 15px ui-monospace,Menlo,Consolas,monospace;fill:#f9f6f1}
.lm .chip.alarm rect{stroke:#ff4419}
.lm .chip.alarm text{fill:#ffb1a0}
.lm .chip.alarm{animation:lm-blink 2.4s ease-in-out infinite}
.lm .lbl{font:400 13px Arial,Helvetica,sans-serif;fill:#8b96a1;letter-spacing:.12em}
@keyframes lm-fluss{to{stroke-dashoffset:-26}}
@keyframes lm-dreh{to{transform:rotate(360deg)}}
@keyframes lm-blink{0%,100%{opacity:1}50%{opacity:.45}}

/* ---------- Film ---------- */
.film-rahmen { margin: clamp(32px, 3.4vw, 56px) 0 0; background: var(--nacht); box-shadow: 0 40px 90px -40px rgba(8,14,21,.55); }
.film-rahmen video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--nacht); }
.film-rahmen figcaption { padding: 12px 16px; font-size: 14px; color: var(--hell-gedaempft); border-top: 1px solid #1d2731; }
.film-rahmen video a { color: #fff; }

/* ---------- Vorher / nachher ---------- */
.glt-vergleich h2 { font-size: clamp(30px, 3.05vw, 54px); }
.glt-vergleich .eyebrow { margin-bottom: 14px; }
.glt-liste { list-style: none; margin: clamp(22px, 2.2vw, 34px) 0 0; padding: 0; display: grid; gap: 0; }
.glt-liste li { position: relative; padding: 14px 0 14px 30px; border-top: 1px solid var(--linie-fein); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.45; color: var(--gedaempft); }
.glt-liste li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 10px; height: 10px; }
.glt-liste.vorher li::before { border: 1.5px solid var(--grad); border-radius: 50%; }
.glt-liste.nachher li::before { background: var(--tinte); border-radius: 50%; }
.glt-liste.hell li { color: #c7ccd2; border-top-color: #1f2a35; }
.glt-liste.hell li::before { background: #f9f6f1; }

/* ---------- Ansichten der Live-Demo ---------- */
.glt-seite #referenz .kapitel-kopf .aktion { margin-top: 30px; }
.ansichten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--abstand); margin-top: clamp(40px, 4vw, 72px); }
.ansicht { display: flex; flex-direction: column; color: var(--tinte); }
.ansicht:hover { text-decoration: none; }
.ansicht img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--nacht); transition: transform .9s var(--weich), box-shadow .9s var(--weich); }
.ansicht:hover img { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(8,14,21,.6); }
.ansicht-text { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--linie); margin-top: 16px; }
.ansicht .nr { font: 700 14px/1 var(--marke); color: var(--grad); }
.ansicht-titel { font: 700 clamp(22px, 1.7vw, 28px)/1.1 var(--marke); letter-spacing: -.03em; }
.ansicht:hover .ansicht-titel { text-decoration: underline; text-underline-offset: .14em; }
.ansicht-info { font-size: clamp(15px, 1.05vw, 17px); color: var(--gedaempft); line-height: 1.45; }

/* ---------- Leistungen: optionaler KI-Baustein ---------- */
.glt-seite .leistung.optional .nr { color: #6b5cf0; }
.glt-seite .leistung.optional { border-top-color: #8b7bff; }

/* ---------- KI: dunkles Band ---------- */
.glt-ki { background: var(--nacht); color: #fff; padding-block: clamp(56px, 6vw, 110px); }
.glt-ki-raster { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--abstand); align-items: center; }
.glt-ki .eyebrow { color: #b7aeff; margin-bottom: 18px; }
.glt-ki h2 { font-size: clamp(36px, 4vw, 70px); }
.glt-ki-text > p:not(.eyebrow) { margin-top: 22px !important; color: #dfe3e7; max-width: 46ch; }
.bericht { margin: 0; background: #0e161f; border: 1px solid rgba(249,246,241,.16); box-shadow: 0 40px 100px rgba(0,0,0,.45); color: #f9f6f1; }
.bericht .kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid rgba(249,246,241,.1); }
.bericht .bericht-titel { margin: 0; font: 700 clamp(17px, 1.3vw, 21px)/1.2 var(--marke); letter-spacing: -.02em; }
.bericht .kopf span { font: 400 12px ui-monospace, Menlo, monospace; color: #8b7bff; letter-spacing: .12em; white-space: nowrap; }
.bericht .kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 18px 22px 4px; }
.bericht .kpi { background: #121c26; padding: 12px 14px; }
.bericht .kpi .l { font-size: 11px; letter-spacing: .1em; color: #8b96a1; text-transform: uppercase; }
.bericht .kpi .v { font: 700 clamp(26px, 2.2vw, 36px)/1.1 var(--marke); letter-spacing: -.03em; margin-top: 4px; }
.bericht ol { list-style: none; margin: 0; padding: 14px 22px 22px; display: grid; gap: 10px; }
.bericht li { display: grid; grid-template-columns: 30px minmax(0, 1fr); padding: 12px 14px 12px 12px; background: #111b25; border-left: 3px solid var(--c); }
.bericht li .n { font: 700 14px/1.5 var(--marke); color: var(--c); }
.bericht li p { margin: 0; font-size: clamp(15px, 1.05vw, 17px) !important; line-height: 1.45; color: #dcdfe3; }
.bericht li p b { color: #f9f6f1; }
.bericht li em { grid-column: 2; font-style: normal; font-size: clamp(14px, .95vw, 15px); color: #34d399; margin-top: 4px; }
.bericht figcaption { padding: 0 22px 16px; font-size: 13px; color: #8b96a1; }

/* ---------- Vorgehen ---------- */
.glt-seite #vorgehen h2 + p { margin-top: 20px; }
.glt-seite .schritt h3 small { display: inline-block; margin-left: .5em; font: 400 14px var(--schrift); letter-spacing: 0; color: #6b5cf0; vertical-align: middle; }
.protokolle { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px !important; }
.protokolle span { font: 400 14px/1 ui-monospace, Menlo, Consolas, monospace; padding: 9px 12px; border: 1px solid var(--linie); color: var(--tinte); }

/* ---------- Abschluss ---------- */
.glt-cta h2 { font-size: clamp(36px, 4vw, 68px) !important; max-width: 14ch; }
.cta-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px !important; }
.cta-aktionen .textlink { margin-top: 0; font-size: 17px; }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) { .ansichten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .glt-ki-raster { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .ansichten { grid-template-columns: 1fr; gap: 36px; }
  .bericht .kpis { grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding-inline: 14px; }
  .bericht .kpi { padding: 10px; }
  .bericht .kpi .l { font-size: 10px; }
  .bericht ol, .bericht .kopf { padding-inline: 14px; }
  .bericht figcaption { padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .lm .fluss, .lm .rad, .lm .chip.alarm { animation: none; }
  .ansicht img { transition: none; }
}
