/* ---------- LEISTUNGEN-ENTWURF (.bm-leistungen-entwurf; inhalte/leistungen-entwurf.html) ----------
   Stand 25.11.2026: Gegenentwurf zu /leistungen/ nach impeccable-Kritik, private Seite /leistungen-entwurf/.
   Alle Regeln unter .bm-leistungen-entwurf, damit keine andere Seite betroffen ist. Farben aus theme.json,
   Systemschrift wie theme.json. Keine Dachzeilen, keine Pillen-Leiste, kein dunkler Verlauf auf Bildern.
   Rueckweg: Datei loeschen (Seite faellt auf ungestaltete Bloecke zurueck, sonst keine Wirkung). */

.bm-leistungen-entwurf {
  --le-tinte: #1c2420; --le-text: #33403a; --le-grau: #5e6b64; --le-linie: #e2e6e2; --le-papier: #f6f7f4;
  --le-hell: #eef3ee; --le-gruen: #278039; --le-gruen-d: #1f6e2f; --le-gruen-dd: #17552a; --le-blau: #296598;
  color: var(--le-tinte);
}
.bm-leistungen-entwurf .bm-wrap { box-sizing: border-box; max-width: var(--bm-inhalt-breite); margin-inline: auto; padding-inline: var(--bm-inhalt-rand); padding-bottom: 32px; }
.bm-leistungen-entwurf ::selection { background: #cfe5d2; color: var(--le-tinte); }
.bm-leistungen-entwurf a { color: var(--le-blau); text-underline-offset: .18em; }
.bm-leistungen-entwurf a:hover { color: var(--le-gruen-d); }
.bm-leistungen-entwurf a:focus-visible, .bm-leistungen-entwurf button:focus-visible { outline: 3px solid #e0a400; outline-offset: 2px; border-radius: 4px; }
.bm-leistungen-entwurf h1, .bm-leistungen-entwurf h2, .bm-leistungen-entwurf h3 { color: var(--le-tinte); letter-spacing: -.01em; text-wrap: balance; }
.bm-leistungen-entwurf p, .bm-leistungen-entwurf li, .bm-leistungen-entwurf dd { text-wrap: pretty; }
.bm-leistungen-entwurf h2 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.18; margin: 0 0 10px; }
.bm-leistungen-entwurf h3 { font-size: 21px; line-height: 1.28; margin: 0 0 6px; }
.bm-leistungen-entwurf :is(.bmle-kopf, .bmle-leistung, .bmle-leistung-kopf, .bmle-leistung-inhalt, .bmle-ablauf, .bmle-ende, .bmle-ende-text, .bmle-ende-aktion, .bmle-brauchen) > * { margin-block: 0; }
.bm-leistungen-entwurf .bmle-sec { padding: 56px 0; border-top: 1px solid var(--le-linie); scroll-margin-top: 20px; }
.bm-leistungen-entwurf p.bmle-sub { color: var(--le-grau); font-size: 17px; line-height: 1.5; margin: 0 0 26px; max-width: 46em; }
.bm-leistungen-entwurf p.bmle-klein { font-size: 14.5px; color: var(--le-grau); margin: 14px 0 0; }

/* Knoepfe */
.bm-leistungen-entwurf .bmle-knoepfe { gap: 10px; margin: 0; }
.bm-leistungen-entwurf .bmle-btn .wp-block-button__link,
.bm-leistungen-entwurf a.bmle-link-btn { display: inline-flex; align-items: center; min-height: 46px; box-sizing: border-box; padding: 10px 22px; border-radius: 6px; border: 1px solid transparent; font-size: 15.5px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background-color .15s ease-out, border-color .15s ease-out; }
.bm-leistungen-entwurf .bmle-btn-gruen .wp-block-button__link, .bm-leistungen-entwurf a.bmle-link-btn-gruen { background: var(--le-gruen-d); color: #fff; }
.bm-leistungen-entwurf .bmle-btn-gruen .wp-block-button__link:hover, .bm-leistungen-entwurf a.bmle-link-btn-gruen:hover { background: var(--le-gruen-dd); color: #fff; }
.bm-leistungen-entwurf .bmle-btn-hell .wp-block-button__link, .bm-leistungen-entwurf a.bmle-link-btn-hell { background: #fff; color: var(--le-tinte); border-color: #c9d0c9; }
.bm-leistungen-entwurf .bmle-btn-hell .wp-block-button__link:hover, .bm-leistungen-entwurf a.bmle-link-btn-hell:hover { border-color: var(--le-tinte); color: var(--le-tinte); }

/* Kopf: Text links, Foto rechts */
.bm-leistungen-entwurf .bmle-kopf { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding: 48px 0 52px; }
.bm-leistungen-entwurf .bmle-kopf h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; margin: 0 0 18px; }
.bm-leistungen-entwurf p.bmle-lead { font-size: 19px; line-height: 1.55; color: var(--le-text); margin: 0 0 26px; max-width: 34em; }
.bm-leistungen-entwurf p.bmle-kopf-hinweis { margin: 18px 0 0; font-size: 15px; line-height: 1.5; color: var(--le-grau); max-width: 34em; }
.bm-leistungen-entwurf figure.bmle-kopf-bild { margin: 0; border-radius: 12px; overflow: hidden; background: var(--le-hell); }
.bm-leistungen-entwurf figure.bmle-kopf-bild img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; }

/* Vier Leistungen als Zeilen */
/* 25.11. nach Max: zwei mal zwei Bloecke statt langer Zeilen, Listen ohne Trennlinien */
.bm-leistungen-entwurf .bmle-leistungen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 56px; }
.bm-leistungen-entwurf .bmle-leistungen > * { margin-block: 0; }
.bm-leistungen-entwurf .bmle-leistung { display: flex; flex-direction: column; padding-top: 22px; border-top: 2px solid var(--le-tinte); scroll-margin-top: 20px; }
.bm-leistungen-entwurf .bmle-leistung-kopf { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; }
.bm-leistungen-entwurf .bmle-leistung-kopf > p.bmle-leistung-satz { grid-column: 1 / -1; }
.bm-leistungen-entwurf .bmle-icon { box-sizing: border-box; width: 44px; height: 44px; padding: 9px; border-radius: 10px; background: var(--le-hell); color: var(--le-gruen-d); }
.bm-leistungen-entwurf .bmle-leistung-kopf h3 { font-size: 23px; margin: 0; }
.bm-leistungen-entwurf p.bmle-leistung-satz { font-size: 16.5px; line-height: 1.5; color: var(--le-text); margin: 14px 0 0; }
.bm-leistungen-entwurf .bmle-leistung-inhalt { display: flex; flex-direction: column; flex: 1; }
.bm-leistungen-entwurf ul.bmle-punkte { list-style: none; margin: 12px 0 0; padding: 0; }
.bm-leistungen-entwurf ul.bmle-punkte > li { position: relative; padding: 4px 0 4px 20px; margin: 0; font-size: 16px; line-height: 1.5; }
.bm-leistungen-entwurf ul.bmle-punkte > li::before { content: ""; position: absolute; left: 1px; top: calc(4px + .75em - 3.5px); width: 7px; height: 7px; border-radius: 2px; background: var(--le-gruen); }
.bm-leistungen-entwurf p.bmle-weiter { margin: 14px 0 0; font-size: 15.5px; font-weight: 600; }
.bm-leistungen-entwurf .bmle-leistung p.bmle-weiter { margin-top: auto; padding-top: 14px; }

/* Haken-Liste */
.bm-leistungen-entwurf ul.bmle-haken { list-style: none; margin: 0; padding: 0; }
.bm-leistungen-entwurf ul.bmle-haken > li { position: relative; padding: 6px 0 6px 30px; margin: 0; font-size: 16px; line-height: 1.5; }
.bm-leistungen-entwurf ul.bmle-haken > li::before {
  content: ""; position: absolute; left: 0; top: calc(6px + .75em - 10px); width: 20px; height: 20px; border-radius: 50%; background-color: var(--le-gruen-d);
}
.bm-leistungen-entwurf ul.bmle-haken > li::after {
  content: ""; position: absolute; left: 6px; top: calc(6px + .75em - 5px); width: 8px; height: 4.5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}

/* Zielgruppen: Reiter (mit Skript), sonst Abschnitte untereinander */
.bm-leistungen-entwurf .bmle-reiter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--le-linie); }
.bm-leistungen-entwurf .bmle-reiter[hidden] { display: none; }
.bm-leistungen-entwurf .bmle-reiter button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin: 0 0 -1px; padding: 14px 18px 13px; background: none; border: 0; border-bottom: 3px solid transparent; border-radius: 8px 8px 0 0; font: inherit; color: var(--le-grau); text-align: left; cursor: pointer; transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out; }
.bm-leistungen-entwurf .bmle-reiter button strong { font-size: 18px; line-height: 1.3; font-weight: 700; color: inherit; }
.bm-leistungen-entwurf .bmle-reiter button span { font-size: 14px; line-height: 1.35; }
.bm-leistungen-entwurf .bmle-reiter button:hover { background: var(--le-papier); color: var(--le-tinte); }
.bm-leistungen-entwurf .bmle-reiter button[aria-selected="true"] { color: var(--le-tinte); border-bottom-color: var(--le-gruen-d); }
.bm-leistungen-entwurf .bmle-reiter button[aria-selected="true"] span { color: var(--le-grau); }
.bm-leistungen-entwurf .bmle-panel { padding: 28px 0 0; }
.bm-leistungen-entwurf .bmle-panel[hidden] { display: none; }
.bm-leistungen-entwurf .bmle-rollen:not(.ist-aktiv) .bmle-panel + .bmle-panel { margin-top: 28px; border-top: 1px solid var(--le-linie); }
.bm-leistungen-entwurf .bmle-panel-titel { font-size: 21px; margin: 0 0 14px; }
.bm-leistungen-entwurf .ist-aktiv .bmle-panel-titel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bm-leistungen-entwurf .bmle-panel-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; align-items: start; }
.bm-leistungen-entwurf p.bmle-panel-kopf { font-size: 15px; font-weight: 700; color: var(--le-tinte); margin: 0 0 8px; }
.bm-leistungen-entwurf .bmle-panel-schritt { background: var(--le-hell); border-radius: 12px; padding: 22px 24px 24px; }
.bm-leistungen-entwurf .bmle-panel-schritt > p:not(.bmle-panel-kopf) { font-size: 16.5px; line-height: 1.5; margin: 0 0 18px; }
.bm-leistungen-entwurf .bmle-link-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }

/* Ablauf: Schritte senkrecht, daneben die Angaben fuer die Anfrage */
.bm-leistungen-entwurf .bmle-ablauf { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 18px; }
.bm-leistungen-entwurf ol.bmle-schritte { list-style: none; margin: 0; padding: 0; }
.bm-leistungen-entwurf ol.bmle-schritte > li { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 18px; padding: 0 0 26px; margin: 0; }
.bm-leistungen-entwurf ol.bmle-schritte > li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--le-linie); }
.bm-leistungen-entwurf .bmle-nr { grid-row: 1 / 3; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--le-tinte); color: #fff; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.bm-leistungen-entwurf ol.bmle-schritte strong { display: block; font-size: 18.5px; line-height: 1.3; padding-top: 6px; margin-bottom: 4px; }
.bm-leistungen-entwurf ol.bmle-schritte span:not(.bmle-nr) { font-size: 16px; line-height: 1.5; color: var(--le-text); }
.bm-leistungen-entwurf .bmle-brauchen { box-sizing: border-box; background: var(--le-papier); border: 1px solid var(--le-linie); border-radius: 12px; padding: 24px 26px; }
.bm-leistungen-entwurf .bmle-brauchen h3 { font-size: 19px; margin: 0 0 10px; }

/* Gut zu wissen */
.bm-leistungen-entwurf dl.bmle-wissen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 16px 0 0; }
.bm-leistungen-entwurf dl.bmle-wissen > div { border-top: 2px solid var(--le-tinte); padding-top: 14px; }
.bm-leistungen-entwurf dl.bmle-wissen dt { font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.bm-leistungen-entwurf dl.bmle-wissen dd { margin: 0; font-size: 16px; line-height: 1.55; color: var(--le-text); }

/* Ausgefuehrte Projekte */
.bm-leistungen-entwurf ul.bmle-ref { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 18px 0 0; padding: 0; }
.bm-leistungen-entwurf ul.bmle-ref > li { margin: 0; max-width: none; }
.bm-leistungen-entwurf ul.bmle-ref a { display: block; color: var(--le-tinte); text-decoration: none; }
.bm-leistungen-entwurf ul.bmle-ref img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--le-hell); transition: filter .2s ease-out; }
.bm-leistungen-entwurf ul.bmle-ref span { display: block; margin-top: 10px; font-size: 17px; font-weight: 700; }
.bm-leistungen-entwurf ul.bmle-ref a:hover img { filter: brightness(1.06) saturate(1.08); }
.bm-leistungen-entwurf ul.bmle-ref a:hover span { color: var(--le-gruen-d); text-decoration: underline; }

/* Abschluss */
.bm-leistungen-entwurf .bmle-sec-ende { border-top: 0; padding-top: 8px; }
.bm-leistungen-entwurf .bmle-ende { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: center; background: var(--le-hell); border-radius: 16px; padding: 38px 42px; }
.bm-leistungen-entwurf .bmle-ende-text p { font-size: 17px; line-height: 1.5; color: var(--le-text); margin: 0; }
.bm-leistungen-entwurf p.bmle-direkt { margin: 16px 0 0; font-size: 15.5px; line-height: 1.7; color: var(--le-text); }
.bm-leistungen-entwurf p.bmle-stand { font-size: 13px; color: var(--le-grau); margin: 8px 0 0; }

/* Lesbare Zeilen (wie 39-inhaltsrand.css) */
.bm-leistungen-entwurf .bm-wrap :where(p, li) { max-width: var(--bm-zeile); }

@media (max-width: 900px) {
  .bm-leistungen-entwurf .bmle-kopf { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 40px; }
  .bm-leistungen-entwurf figure.bmle-kopf-bild img { aspect-ratio: 16 / 9; }
  .bm-leistungen-entwurf .bmle-leistungen { grid-template-columns: 1fr; gap: 36px; }
  .bm-leistungen-entwurf .bmle-panel-grid, .bm-leistungen-entwurf .bmle-ablauf, .bm-leistungen-entwurf .bmle-ende { grid-template-columns: 1fr; gap: 24px; }
  .bm-leistungen-entwurf dl.bmle-wissen { grid-template-columns: 1fr; gap: 22px; }
  .bm-leistungen-entwurf ul.bmle-ref { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .bm-leistungen-entwurf .bmle-sec { padding: 44px 0; }
}
@media (max-width: 600px) {
  .bm-leistungen-entwurf p.bmle-lead { font-size: 17.5px; }
  .bm-leistungen-entwurf .bmle-reiter button { padding: 12px 10px 11px; }
  .bm-leistungen-entwurf .bmle-reiter button strong { font-size: 15.5px; }
  .bm-leistungen-entwurf .bmle-reiter button span { display: none; }
  .bm-leistungen-entwurf ul.bmle-ref { grid-template-columns: 1fr; gap: 12px; }
  .bm-leistungen-entwurf ul.bmle-ref a { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 16px; align-items: center; }
  .bm-leistungen-entwurf ul.bmle-ref span { margin-top: 0; }
  .bm-leistungen-entwurf .bmle-ende { padding: 26px 22px; }
  .bm-leistungen-entwurf .bmle-knoepfe .wp-block-button { flex: 1 1 100%; }
  .bm-leistungen-entwurf .bmle-knoepfe .wp-block-button__link { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .bm-leistungen-entwurf * { transition: none !important; }
}
