/* Exposé 2.0 – Feinschliff der Projektseiten (body.fein): gleiche Farben und Schriften, aber ohne die
   üblichen Baukasten-Teile. Inhalte stehen direkt auf der Seite, getrennt durch Weißraum und feine Linien.
   Keine Kästen, keine Pillen, keine Pastellflächen; Status über Schrift; große Bilder mit Bildunterschrift. */
.fein [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
.fein .btn, .fein .cta-float, .fein .nav-toggle { border-radius: 2px; }
.fein .btn { letter-spacing: .01em; }
.fein .cta-float { box-shadow: none; }
/* Überzeile: leise und kursiv statt gesperrter Großbuchstaben */
.fein main .kicker, .fein .ps-label, .fein .pj-dialog .kicker { font: italic 400 20px/1.2 var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink-soft); display: block; }
.fein .x-contact .kicker, .fein .ps-muster .ps-label { color: rgba(255,255,255,.8); }
.fein .x-tint, .fein .ps-preise { background: none; }
.fein .x-section, .fein .ps-vorher, .fein .ps-stage, .fein .ps-mehr, .fein .ps-ablauf, .fein .ps-preise, .fein .ps-tipp { border-top: 1px solid var(--line); }
.fein .x-card { background: none; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: 22px 0 0; }
.fein .x-features li { padding-left: 0; }
.fein .x-features li::before { display: none; }
.fein .x-trust li::before { display: none; }
.fein .x-trust li { padding-left: 0; }
.fein .x-meta { font: italic 400 19px/1.3 var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink-soft); }

/* Kontakt: kein Milchglas, Felder mit Linie */
.fein .x-form { background: none; border: 0; border-radius: 0; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.fein form.req input, .fein form.req textarea, .fein form.req select { border-radius: 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.5); background-color: transparent; padding: 14px 0; }
.fein form.req select { background-position: calc(100% - 8px) 52%, calc(100% - 2px) 52%; }
.fein form.req input:focus, .fein form.req textarea:focus, .fein form.req select:focus { outline: 0; border-bottom-color: #fff; }
.fein .x-form .btn-solid { margin-top: 12px; }
.fein .a-form { background: none; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: 22px 0 0; }
.fein .a-form input { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 14px 0; }
.fein .a-form input:focus { outline: 0; border-bottom-color: var(--ink); }
.fein .agent-photo { border-radius: 2px; }
.fein .form-note { border-radius: 2px; }

/* ---------- Status über Schrift ---------- */
.fein .pj-status { background: none !important; padding: 0; border-radius: 0; font: 400 15px/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.fein .pj-status.s-frei::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.fein .pj-status.s-reserviert { font-style: italic; color: var(--ink-soft); }
.fein .pj-status.s-verkauft { color: var(--ink-soft); text-decoration: line-through; }
.fein .pj-status b { font-weight: 600; }
.fein .pj-legend { gap: 6px 22px; }
.fein .pj-filter { gap: 4px 22px; }
.fein .pj-filter button { border: 0; border-radius: 0; background: none; padding: 6px 0; font: 400 15px/1.2 var(--sans); color: var(--ink-soft); border-bottom: 1px solid transparent; }
.fein .pj-filter button[aria-pressed="true"] { background: none; color: var(--ink); border-bottom-color: var(--ink); }

/* Wohnungsspiegel als feine Ansicht des Hauses */
.fein .pj-haus { background: none; padding: 0; gap: 0; border-radius: 0; }
.fein .pj-etage { grid-template-columns: 170px 1fr; gap: 0; }
.fein .pj-etage-name { font: italic 400 18px/1.2 var(--serif); letter-spacing: 0; text-transform: none; }
.fein .pj-etage-row { gap: 0; border: 1px solid var(--ink); border-bottom: 0; }
.fein .pj-etage:last-child .pj-etage-row { border-bottom: 1px solid var(--ink); box-shadow: 0 6px 0 -5px var(--ink); }
.fein .pj-etage:first-child .pj-etage-row { padding: 0; margin: 0 10%; }
.fein .pj-we { border-radius: 0; border: 0; background: none !important; color: var(--ink); padding: 14px 16px 13px; transition: background .15s; }
.fein .pj-we + .pj-we { border-left: 1px solid var(--ink); }
.fein .pj-we b { font: 500 24px/1 var(--serif); color: inherit; }
.fein .pj-we-d { font-size: 13.5px; color: var(--ink-soft); }
.fein .pj-we i { font: 400 13.5px/1.2 var(--sans); letter-spacing: 0; text-transform: none; }
.fein .pj-we.s-frei i { color: var(--ink); }
.fein .pj-we.s-frei i::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 7px; vertical-align: 1px; }
.fein .pj-we.s-reserviert i { font-style: italic; color: var(--ink-soft); }
.fein .pj-we.s-verkauft { color: var(--ink-soft); }
.fein .pj-we.s-verkauft b { text-decoration: line-through; text-decoration-thickness: 1px; color: var(--ink-soft); }
.fein .pj-we.s-verkauft .pj-we-d, .fein .pj-we.s-verkauft i { color: var(--ink-soft); opacity: .8; }
.fein .pj-we:hover { transform: none; box-shadow: none; background: color-mix(in srgb, var(--accent) 8%, transparent) !important; }
.fein .pj-we.dim { opacity: .25; }
.fein .ps-we-on { outline: 0; background: color-mix(in srgb, var(--accent) 12%, transparent) !important; }

.fein .pj-table-wrap { background: none; border-radius: 0; margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--ink); }
.fein .pj-table thead th { font: italic 400 16px var(--serif); letter-spacing: 0; text-transform: none; }
.fein .pj-table td:first-child b { font: 500 21px/1 var(--serif); }
.fein .pj-more { border: 0; padding: 0; background: none; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; border-radius: 0; }
.fein .pj-more:hover { background: none; color: var(--accent); }

/* Wohnung im Detail */
.fein .pj-sheet { border-radius: 3px; }
.fein .pj-close { border: 0; background: none; border-radius: 0; font-size: 34px; font-weight: 300; }
.fein .x-plan { background: none; border-radius: 0; padding: 0; }
.fein .pj-unit-plan { padding: 0; }
.fein .x-plan rect { fill: none; stroke-width: .4; }

/* Wohnungstypen: Zeichnung und Text, ohne Kasten */
.fein .pj-typen { gap: clamp(40px, 6vw, 90px) clamp(30px, 5vw, 80px); }
.fein .pj-typ-card { background: none; border-radius: 0; overflow: visible; }
.fein .pj-typ-plan { background: none; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.fein .pj-typ-body { padding: 18px 0 0; }
.fein .pj-typ-body h3 { font-size: clamp(30px, 3.2vw, 42px); }

/* Bilder zwischen den Abschnitten */
.pj-bild { margin: 0; padding: 0 var(--gutter) clamp(60px, 8vw, 120px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px clamp(14px, 2vw, 28px); align-items: end; }
.pj-bild img { width: 100%; display: block; object-fit: cover; }
.pj-bild figcaption { font: italic 400 18px/1.35 var(--serif); color: var(--ink-soft); }
.pj-bild.a img { grid-column: 1 / 10; aspect-ratio: 16 / 9; }
.pj-bild.a figcaption { grid-column: 10 / 13; padding-bottom: 6px; }
.pj-bild.b { padding-top: clamp(60px, 8vw, 120px); }
.pj-bild.b img:nth-of-type(1) { grid-column: 2 / 7; aspect-ratio: 4 / 5; }
.pj-bild.b img:nth-of-type(2) { grid-column: 7 / 13; aspect-ratio: 4 / 3; margin-bottom: clamp(30px, 6vw, 90px); }
.pj-bild.b figcaption { grid-column: 2 / 7; }
@media (max-width: 760px) { .pj-bild { display: block; } .pj-bild img { margin: 0 0 10px !important; aspect-ratio: 4 / 3 !important; } }

/* Lage, Zeitachse */
.fein .pj-karte img { border-radius: 0; }
.fein .pj-zeit-dot { width: 9px; height: 9px; top: -5px; border-width: 1px; }
.fein .pj-zeit li { border-top-width: 1px; }
.fein .pj-zeit li.z-aktuell .pj-zeit-dot { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.fein .pj-zeit-date, .fein .pj-zeit-state { font: italic 400 16px/1.2 var(--serif); letter-spacing: 0; text-transform: none; }
.fein .pj-demo { border-radius: 2px; }
.fein .pj-inv-form input { border-radius: 2px; }
@media (max-width: 1000px) { .fein .pj-zeit-dot { top: 2px; left: -5px; } }
@media (max-width: 760px) {
  .fein .pj-etage { grid-template-columns: 1fr; }
  .fein .pj-etage-name { margin: 12px 0 6px; font-size: 16px; }
  .fein .pj-etage-row, .fein .pj-etage:last-child .pj-etage-row { border: 1px solid var(--ink); box-shadow: none; }
  .fein .pj-etage:first-child .pj-etage-row { margin: 0; }
  .fein .pj-we { padding: 10px 8px 9px; }
  .fein .pj-we b { font-size: 19px; }
  .fein .pj-we i { font-size: 12px; }
  .fein .pj-table tr { padding: 16px 0; }
  .fein .pj-table td::before { font: italic 400 14px var(--serif); letter-spacing: 0; text-transform: none; }
  .fein .pj-sheet { border-radius: 3px 3px 0 0; }
}

/* ========== Seite für Projektentwickler ========== */
.fein .ps-stage { background: none; color: inherit; }
.fein .ps-stage .ps-lead { color: var(--ink-soft); }
.fein .ps-tool { --accent: #3d5a4c; border-radius: 0; box-shadow: none; background: none; overflow: visible; gap: clamp(24px, 4vw, 64px); align-items: start; }
.fein .ps-tool-bar { display: none; }
.fein .ps-tool-haus { padding: 0; }
.fein .ps-tool-haus .pj-etage { grid-template-columns: 46px 1fr; }
.fein .ps-tool-haus .pj-etage-name { font-size: 15px; }
.fein .ps-tool-unit { background: none; border: 0; border-top: 1px solid var(--ink); padding: 18px 0 0; }
.fein .ps-tool-unit .x-plan { background: none; padding: 0; }
.fein .ps-tool-hint { color: var(--ink-soft); text-align: left; }
@media (max-width: 700px) { .fein .ps-tool-haus .pj-etage { grid-template-columns: 1fr; } }

/* Funktionen: Bild und Text im Wechsel, danach eine ruhige Liste */
.ps-feat { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px clamp(20px, 3vw, 44px); align-items: center; margin-top: clamp(50px, 8vw, 120px); }
.ps-feat img { width: 100%; display: block; object-fit: cover; }
.ps-feat h3 { font: 500 clamp(32px, 3.6vw, 52px)/1.05 var(--serif); margin: 0 0 14px; }
.ps-feat p { margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.7; max-width: 34em; }
.ps-feat a { color: inherit; text-underline-offset: 4px; }
.ps-feat .more { display: inline-block; margin-top: 18px; font-size: 15px; }
.ps-feat.eins img { grid-column: 1 / 9; aspect-ratio: 16 / 10; }
.ps-feat.eins div { grid-column: 9 / 13; }
.ps-feat.zwei img { grid-column: 7 / 13; grid-row: 1; aspect-ratio: 4 / 3; }
.ps-feat.zwei div { grid-column: 2 / 6; grid-row: 1; }
.ps-feat.drei img { grid-column: 1 / 7; aspect-ratio: 3 / 2; }
.ps-feat.drei div { grid-column: 8 / 13; }
.ps-feat .ps-zeit { padding: 0; margin-top: 20px; max-width: 26em; }
.ps-feat .ps-zeit li::before { border-radius: 50%; width: 9px; height: 9px; left: -5.5px; border-width: 1px; }
.ps-feat .ps-zeit li { border-left-width: 1px; }
.ps-rest { list-style: none; margin: clamp(60px, 9vw, 130px) 0 0; padding: 0; border-top: 1px solid var(--ink); }
.ps-rest li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px clamp(20px, 5vw, 90px); padding: clamp(20px, 2.4vw, 32px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ps-rest b { font: 500 clamp(26px, 2.8vw, 38px)/1.1 var(--serif); }
.ps-rest span { color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
@media (max-width: 800px) { .ps-feat { display: block; } .ps-feat img { margin-bottom: 18px; aspect-ratio: 4 / 3 !important; } .ps-rest li { grid-template-columns: 1fr; } }

.fein .ps-stempel { border-width: 1px; gap: 1px; }
.fein .ps-muster-note { background: rgba(10,9,8,.5); }
/* Ablauf als ruhige Tabelle */
.fein .ps-plan { border-radius: 0; border: 0; border-top: 1px solid var(--ink); background: none; }
.fein .ps-plan > * { border-color: var(--line); padding: 18px 18px 18px 0; }
.fein .ps-plan > :nth-child(3n+1) { background: none; }
.fein .ps-plan > :nth-child(3n) { border-bottom: 1px solid var(--line); }
.fein .ps-plan > :nth-child(n+4) { padding-left: 18px; }
.fein .ps-plan-lab, .fein .ps-plan-head span { font: italic 400 17px var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink-soft); }
.fein .ps-bar, .fein .ps-bar.sie, .fein .ps-bar.wir { background: none; color: inherit; border: 0; border-radius: 0; padding: 0; font-size: 16px; }
.fein .ps-bar::before { font: italic 400 15px var(--serif) !important; letter-spacing: 0 !important; text-transform: none !important; }
/* Preisliste ohne Kasten */
.fein .ps-pl { border-radius: 0; border: 0; border-top: 1px solid var(--ink); background: none; }
.fein .ps-pl .col, .fein .ps-pl .col.top { background: none; border-left: 0; text-align: right; }
.fein .ps-pl thead th:first-child { font: italic 400 17px var(--serif); letter-spacing: 0; text-transform: none; }
.fein .ps-ja { color: var(--ink); font-weight: 400; font-size: 16px; }
.fein .ps-pl tfoot .btn { width: auto; }
.fein .ps-betreuung { background: none; color: inherit; border-radius: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: clamp(20px, 2.6vw, 32px) 0; margin-top: clamp(30px, 4vw, 50px); }
.fein .ps-betreuung p { opacity: 1; color: var(--ink-soft); }
.fein .ps-betreuung .ps-pl-zusatz { opacity: 1; color: var(--ink-soft); }
.fein mark.l-todo { border-radius: 0; }
.fein .pj-we b { white-space: nowrap; }
@media (max-width: 760px) { .fein .pj-we b { font-size: 17px; } }

/* ---------- Mehr Bild, weniger Text ---------- */
.pj-galerie-sec { padding: 0 var(--gutter) clamp(70px, 9vw, 130px); }
.pj-galerie { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); }
.pj-galerie figure { margin: 0; position: relative; overflow: hidden; grid-column: span 4; aspect-ratio: 4 / 3; }
.pj-galerie figure:nth-child(6n+1) { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; }
.pj-galerie figure:nth-child(6n+5) { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; }
.pj-galerie figure:nth-child(6n+4) { grid-column: 1 / span 4; }
.pj-galerie img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pj-galerie figcaption { position: absolute; left: 14px; bottom: 10px; color: #fff; font: italic 400 19px/1.2 var(--serif); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.pj-typ-bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.fein .pj-typ-bilder .pj-typ-plan { border: 0; padding: 0; }
.pj-typ-bilder img { width: 100%; display: block; mix-blend-mode: multiply; }
@media (max-width: 760px) { .pj-galerie figure, .pj-galerie figure:nth-child(n) { grid-column: span 6; grid-row: auto; aspect-ratio: 4 / 3; } .pj-galerie figure:nth-child(3n+1) { grid-column: span 12; aspect-ratio: 16 / 10; } .pj-galerie figcaption { font-size: 16px; left: 10px; bottom: 7px; } }

/* Projektseite */
.ps-band { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(6px, .8vw, 12px); }
.ps-band img { width: 100%; height: clamp(240px, 38vw, 560px); object-fit: cover; display: block; }
.ps-vier { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px) clamp(24px, 4vw, 60px); margin-top: clamp(60px, 9vw, 130px); }
.ps-vier figure { margin: 0; }
.ps-vier .bild { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); display: flex; align-items: flex-start; justify-content: center; }
.ps-vier .bild img { width: 100%; display: block; }
.ps-vier .bild.handys { align-items: center; gap: 5%; padding: 5% 14%; }
.ps-vier .bild.handys img { width: 34%; box-shadow: 0 14px 40px rgba(0,0,0,.2); }
.ps-vier .bild.mitte { align-items: center; }
.ps-vier figcaption { margin-top: 16px; }
.ps-vier b { display: block; font: 500 clamp(26px, 2.6vw, 34px)/1.1 var(--serif); }
.ps-vier span { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 16px; line-height: 1.55; max-width: 34em; }
.ps-schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 36px); margin-top: clamp(30px, 4vw, 56px); counter-reset: s; }
.ps-schritte figure { margin: 0; counter-increment: s; }
.ps-schritte img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ps-schritte img.oben { object-position: top; }
.ps-schritte figcaption { margin-top: 14px; }
.ps-schritte i { font: italic 400 18px var(--serif); color: var(--ink-soft); }
.ps-schritte i::before { content: "Schritt " counter(s); }
.ps-schritte b { display: block; font: 500 clamp(24px, 2.4vw, 32px)/1.1 var(--serif); margin: 2px 0 6px; }
.ps-schritte span { color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
@media (max-width: 800px) { .ps-band { grid-template-columns: 1fr 1fr; } .ps-band img:first-child { grid-column: 1 / -1; } .ps-vier, .ps-schritte { grid-template-columns: 1fr; } }

/* ---------- Handy: Bild vor Text ---------- */
.pj-liste-btn { display: none; }
/* Entfernungen als große Zahlen */
.fein .pj-dist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: none; margin-top: 26px; border-top: 1px solid var(--ink); }
.fein .pj-dist li { display: block; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); }
.fein .pj-dist li::before { display: none; }
.fein .pj-dist b { display: block; font: 500 clamp(30px, 3vw, 42px)/1 var(--serif); white-space: nowrap; }
.fein .pj-dist span { display: block; margin-top: 6px; font-size: 15px; }
.fein .pj-dist small { display: block; color: var(--ink-soft); font-size: 13px; }
/* Nutzen mit Bild */
.ps-nutzen-b { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 36px); margin-top: clamp(40px, 6vw, 80px); }
.ps-nutzen-b figure { margin: 0; }
.ps-nutzen-b img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; display: block; border: 1px solid var(--line); }
.ps-nutzen-b b { display: block; font: 500 clamp(24px, 2.4vw, 32px)/1.1 var(--serif); margin: 14px 0 6px; }
.ps-nutzen-b span { color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
@media (max-width: 760px) {
  /* Wohnungsspiegel als Fassade: nur Nummer und Status */
  .fein .pj-we-d { display: none; }
  .fein .pj-we { padding: 12px 8px 11px; gap: 5px; }
  .fein .pj-we i { font-size: 12.5px; }
  .fein .pj-we.s-reserviert i, .fein .pj-we.s-verkauft i { font-size: 11.5px; }
  .fein .pj-etage-name { margin: 8px 0 4px; }
  .pj-liste-btn { display: flex; width: 100%; justify-content: center; margin-top: 22px; }
  .fein .pj-table-wrap { display: none; margin-top: 14px; }
  .fein .pj-table-wrap.open { display: block; }
  /* Lage: Karte zuerst, Entfernungen zweispaltig, Einzellisten weg */
  .pj-lage { display: flex; flex-direction: column; }
  .pj-lage .pj-karte { order: -1; margin-bottom: 22px; }
  .fein .pj-dist { grid-template-columns: 1fr 1fr; }
  .pj-pois { display: none; }
  #lageText { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  #lageText.ganz { display: block; -webkit-line-clamp: none; overflow: visible; }
  .pj-mehr { margin: -6px 0 14px; }
  /* Nutzen: seitlich wischen */
  .ps-nutzen-b { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-left: 0; margin-right: 0; padding: 0; scroll-padding: 0; scrollbar-width: none; } /* bleibt im Satzspiegel, die nächste Karte schaut rechts heraus */
  .ps-nutzen-b figure { scroll-snap-align: start !important; }
  .ps-nutzen-b::-webkit-scrollbar { display: none; }
  .ps-nutzen-b figure { flex: 0 0 78%; scroll-snap-align: center; }
  .ps-tool-unit dl { display: none; }
  .ps-pdf-box { max-height: 200px; }
}

/* ---------- Lage, Baustand, Ausstattung, Energie als Bild ---------- */
.pj-legende { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 14.5px; }
.pj-legende i, .pj-pois .x-h3::before { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 8px; }
.pj-pois .x-h3::before { content: ""; background: var(--f, var(--ink)); vertical-align: 3px; }
.pj-legende b { font-weight: 600; }
.fein .pj-pois .x-h3 { font-size: 22px; }
.pj-bau { margin: 0 0 clamp(30px, 4vw, 50px); display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: 20px; align-items: end; }
.pj-bau svg { width: 100%; height: auto; display: block; overflow: visible; }
.pj-bau rect { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.pj-bau .e-fertig rect { fill: var(--ink); }
.pj-bau .e-laeuft rect { fill: url(#schraff); stroke: var(--accent); stroke-width: 1.6; }
.pj-bau pattern line { stroke: var(--accent); stroke-width: 2; }
.pj-bau .e-offen rect { stroke-dasharray: 4 4; stroke: var(--ink-soft); stroke-width: 1; }
.pj-bau text { font: 400 11px var(--sans); fill: var(--ink-soft); }
.pj-bau .e-laeuft text { fill: var(--ink); font-weight: 600; }
.pj-bau .boden { stroke: var(--ink); stroke-width: 1.5; }
.pj-bau figcaption { font: italic 400 clamp(22px, 2.4vw, 30px)/1.2 var(--serif); padding-bottom: 12px; }
.pj-ausst.mit-bild { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 30px); }
.pj-ausst.mit-bild figure { margin: 0; }
.pj-ausst.mit-bild > * + * { margin-top: 0; }
.pj-ausst.mit-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.pj-ausst.mit-bild h3 { font: 500 clamp(26px, 2.6vw, 34px)/1.1 var(--serif); margin: 14px 0 8px; }
.pj-ausst.mit-bild p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }
.fein #ausstattung .x-split { display: block; }
.fein #ausstattung .x-aside { position: static; margin-bottom: clamp(26px, 4vw, 50px); }
.pj-e { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 5vw, 70px); align-items: center; margin-top: 10px; }
.pj-e-zahl b { display: block; font: 500 clamp(110px, 16vw, 220px)/1.15 var(--serif); color: var(--accent); margin: 0; font-variant-numeric: lining-nums; }
.pj-e-zahl span { display: block; margin-top: 0; font: italic 400 22px var(--serif); }
.pj-e-balken { display: grid; gap: 16px; }
.pj-e-balken div { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.pj-e-balken span { grid-column: 1 / -1; font-size: 14.5px; color: var(--ink-soft); }
.pj-e-balken i { height: 16px; background: var(--line); display: block; }
.pj-e-balken .wir i { background: var(--accent); }
.pj-e-balken .wir span { color: var(--ink); font-weight: 600; }
.pj-e-balken em { font: 500 22px var(--serif); font-style: normal; }
.pj-e-balken small { color: var(--ink-soft); font-size: 13px; }
.pj-e-kurz { margin: 24px 0 0; font: 400 clamp(19px, 2vw, 24px)/1.4 var(--serif); }
@media (max-width: 760px) {
  .pj-bau { grid-template-columns: 1fr; gap: 10px; }
  .pj-bau text { font-size: 12px; }
  .fein .pj-zeit.kurz { grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .fein .pj-zeit.kurz li { border: 0; padding: 0; }
  .fein .pj-zeit.kurz .pj-zeit-dot, .fein .pj-zeit.kurz p { display: none; }
  .fein .pj-zeit.kurz h3 { font-size: 22px; }
  .fein .pj-zeit.kurz li.z-aktuell h3 { color: var(--accent); }
  .pj-ausst.mit-bild { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scrollbar-width: none; }
  .pj-ausst.mit-bild::-webkit-scrollbar { display: none; }
  .pj-ausst.mit-bild figure { flex: 0 0 80%; scroll-snap-align: center; }
  .pj-e { grid-template-columns: 1fr; }
  .pj-e-zahl { display: flex; align-items: baseline; gap: 14px; }
}

/* Dunkles Design: der Projekt-Baustein übernimmt die Farben der Seite (sonst dunkle Schrift auf dunklem Grund) */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fein .ps-tool { --bg: inherit; --surface: inherit; --surface-2: inherit; --ink: inherit; --ink-soft: inherit; --line: inherit; --accent: inherit; --accent-ink: inherit; --frei: inherit; --frei-bg: inherit; --res: inherit; --res-bg: inherit; --verk: inherit; --verk-bg: inherit; color: var(--ink); } }
:root[data-theme="dark"] .fein .ps-tool { --bg: inherit; --surface: inherit; --surface-2: inherit; --ink: inherit; --ink-soft: inherit; --line: inherit; --accent: inherit; --accent-ink: inherit; --frei: inherit; --frei-bg: inherit; --res: inherit; --res-bg: inherit; --verk: inherit; --verk-bg: inherit; color: var(--ink); }
