/* Projektseite 135i (1M Coupé Clone): 3D-Buehne, Teileliste, Baustellen, Wartung, Specs.
   Farben und Schriften kommen aus style.css. */
.p135 { max-width: var(--max-width); margin: 0 auto; padding: 22px 24px 72px; }
.p135-zurueck { font: 500 12px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.p135-zurueck:hover, .p135-zurueck:focus-visible { color: var(--paper); }
.p135-unter { font: 500 13px var(--font-mono); color: var(--muted); letter-spacing: .05em; margin: 0; }
.p135-intro { max-width: 62ch; color: var(--paper); opacity: .86; margin: 0; font-size: 16.5px; line-height: 1.55; }

/* 3D: volle Breite, wie ein Vorschau-Bildschirm im Autospiel */
.p135-held { position: relative; }
.p135-flaeche { position: relative; width: 100%; height: min(74vh, 56vw); min-height: 340px;
  background: radial-gradient(ellipse 58% 42% at 50% 74%, #2f2f3b 0%, #15151c 55%, var(--ink) 100%); }
.p135-flaeche canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.p135-flaeche canvas:active { cursor: grabbing; }
.p135-titel { position: absolute; left: max(24px, calc(50% - var(--max-width) / 2 + 24px)); top: 22px; pointer-events: none; }
.p135-titel a { pointer-events: auto; }
.p135-titel h1 { font-family: var(--font-head); font-size: clamp(32px, 4.6vw, 60px); line-height: 1; letter-spacing: -.02em; margin: 10px 0 6px; }
.p135-baustelle { margin: 0; padding: 9px max(24px, calc(50% - var(--max-width) / 2 + 24px)); font: 500 12.5px/1.4 var(--font-mono); color: var(--paper);
  background: var(--panel); border-bottom: 1px solid var(--line); }
.p135-baustelle b { color: var(--yellow); font-weight: 600; }
.p135-steuer { max-width: var(--max-width); margin: 0 auto; padding: 12px 24px 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.p135-schalter { display: inline-flex; border: 1px solid var(--line); background: var(--panel); }
.p135-schalter button { font: 600 12px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; background: none; color: var(--muted);
  border: 0; padding: 12px 16px; cursor: pointer; min-height: 44px; }
.p135-schalter button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }
.p135-tuer { font: 600 12px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; background: var(--panel); color: var(--paper);
  border: 1px solid var(--line); padding: 12px 16px; min-height: 44px; cursor: pointer; }
.p135-tuer[aria-pressed="true"] { border-color: var(--yellow); color: var(--yellow); }
.p135-tuer:focus-visible, .p135-schalter button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.p135-laden, .p135-tipp { position: absolute; margin: 0; font: 500 11px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.p135-laden { inset: 0; display: grid; place-items: center; }
.p135-laden[hidden] { display: none; }
.p135-tipp { right: 12px; bottom: 10px; }
.p135-kamera { display: grid; grid-template-columns: repeat(7, minmax(58px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-left: auto; }
.p135-kamera button { font: 600 11.5px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; background: var(--panel); color: var(--muted); border: 0; min-height: 44px; cursor: pointer; }
.p135-kamera button:hover { color: var(--paper); }
.p135-kamera button:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.p135-legende { font: 500 12px var(--font-mono); color: var(--muted); margin: 2px 0 0; min-height: 1.4em; width: 100%; }
.p135-legende b { color: var(--yellow); font-weight: 600; }

/* Bloecke */
.p135-block { background: var(--panel); border: 1px solid var(--line); padding: 22px; margin-top: 24px; }
.p135-block h2 { font-family: var(--font-head); font-size: 22px; margin: 0 0 14px; }
.p135-blockkopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; }
.p135-summe { margin: 0; font: 600 14px var(--font-mono); color: var(--paper); }
.p135-summe small { color: var(--muted); font-weight: 500; }
.p135-balken { display: flex; height: 8px; background: var(--panel-raised); margin: 4px 0 8px; }
.p135-balken span { display: block; height: 100%; }
.p135-zahlen { font: 500 12px var(--font-mono); color: var(--muted); margin: 0 0 6px; }
.p135-hinweis { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.p135-zwei { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.p135-zwei .p135-block { margin-top: 24px; }

/* Teile */
.p135-teile { list-style: none; margin: 0; padding: 0; }
.p135-teile li { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 92px; align-items: center; gap: 10px; }
.p135-link { font: 500 12px var(--font-mono); color: var(--cyan); text-decoration: none; justify-self: end; padding: 10px 0; }
.p135-link:hover, .p135-link:focus-visible { text-decoration: underline; }
.p135-link.vorschlag { color: var(--muted); }
.p135-teile li:first-child { border-top: 0; }
.p135-teil { width: 100%; display: grid; grid-template-columns: 22px 1fr auto auto; gap: 12px; align-items: center; padding: 12px 2px;
  background: none; border: 0; color: inherit; text-align: left; font: inherit; }
button.p135-teil { cursor: pointer; }
button.p135-teil:hover .p135-name { color: var(--yellow); }
button.p135-teil:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.p135-auge { width: 18px; height: 18px; border: 2px solid var(--line); border-radius: 50%; position: relative; }
.p135-teil[aria-pressed="true"] .p135-auge { border-color: var(--yellow); background: var(--yellow); box-shadow: inset 0 0 0 3px var(--panel); }
.p135-teil:not(button) .p135-auge { border-style: dotted; }
.p135-name { font-family: var(--font-head); font-weight: 600; font-size: 16px; transition: color .15s; }
.p135-name small { display: block; font: 400 13px var(--font-body); color: var(--muted); margin-top: 2px; }
.p135-preis { font: 500 13px var(--font-mono); color: var(--muted); white-space: nowrap; }
.p135-st { font: 600 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.p135-st.geplant { border-color: var(--cyan); color: var(--cyan); }
.p135-st.bestellt { border-color: var(--yellow); color: var(--yellow); }
.p135-st.verbaut { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

/* Baustellen */
.p135-prob { list-style: none; margin: 0; padding: 0; }
.p135-prob li { display: grid; grid-template-columns: 12px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.p135-prob li:first-child { border-top: 0; }
.p135-prob i { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; background: var(--muted); }
.p135-prob i.rot { background: #ff5d5d; } .p135-prob i.gelb { background: var(--yellow); }
.p135-prob b { display: block; font-family: var(--font-head); font-size: 16px; }
.p135-prob span { color: var(--muted); font-size: 14px; }

/* Wartung */
.p135-zeit { list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 2px solid var(--line); }
.p135-zeit li { position: relative; padding: 0 0 18px; }
.p135-zeit li::before { content: ""; position: absolute; left: -27px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid var(--muted); }
.p135-zeit li.jetzt::before { background: var(--yellow); border-color: var(--yellow); }
.p135-zeit small { font: 500 12px var(--font-mono); color: var(--muted); }
.p135-zeit b { display: block; font-family: var(--font-head); font-size: 16px; }
.p135-zeit span { color: var(--muted); font-size: 14px; }

/* Specs */
.p135-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 0; }
.p135-specs div { background: var(--ink); border: 1px solid var(--line); padding: 16px; }
.p135-specs dt { font: 600 11px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.p135-specs dd { margin: 6px 0 0; font-family: var(--font-head); font-size: 17px; }
.p135-specs dd small { display: block; font: 400 13px var(--font-body); color: var(--muted); margin-top: 3px; }

.p135-drin { columns: 2 320px; column-gap: 28px; }
.p135-drin li { break-inside: avoid; }
.p135-quelle { font-size: 12.5px; color: var(--muted); margin: 28px 0 0; }
.p135-quelle a { color: var(--muted); }

@media (max-width: 800px) {
  .p135 { padding: 20px 16px 56px; }
  .p135-flaeche { height: 54vh; min-height: 320px; }
  .p135-titel { left: 16px; top: 14px; }
  .p135-steuer { padding: 10px 16px 0; }
  .p135-kamera { width: 100%; margin-left: 0; grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .p135-kamera button { font-size: 9.5px; letter-spacing: 0; }
  .p135-zwei { grid-template-columns: 1fr; gap: 0; }
  .p135-block { padding: 18px 16px; }
  .p135-teil { grid-template-columns: 22px 1fr auto; }
  .p135-preis { grid-column: 2; grid-row: 2; margin-top: -6px; }
  .p135-teile li { grid-template-columns: 1fr; gap: 0; }
  .p135-link { justify-self: start; padding: 0 0 12px 36px; margin-top: -4px; }
  .p135-schalter { display: flex; width: 100%; }
  .p135-tuer { margin: 8px 0 0; width: 100%; }
  .p135-schalter button { flex: 1; padding: 12px 8px; }
}
