.pf-ppf-planner {
  grid-column: 1 / -1;
  min-width: 0;
  padding: clamp(16px, 3vw, 30px);
  background: #f1f3ef;
  border: 1px solid #d9e0da;
  border-radius: 10px;
}
.pf-ppf-intro h2 {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
}
.pf-ppf-intro p { margin: 0; }
.pf-ppf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 26px);
  margin-top: 18px;
  align-items: start;
}
.pf-ppf-figure {
  margin: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #d4dcd5;
  border-radius: 8px;
}
.pf-ppf-orientation { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 650; }
.pf-ppf-car { display: block; width: 100%; height: auto; }
.pf-ppf-body { fill: #aab9bd; stroke: #405058; stroke-width: 2.5; }
.pf-ppf-glass { fill: #52666f; stroke: #405058; stroke-width: 2; }
.pf-ppf-zones { fill: transparent; stroke: #6b7c84; stroke-width: 1.5; }
.pf-ppf-figure[data-mode="front"] [data-zone="front"],
.pf-ppf-figure[data-mode="sills"] [data-zone="sills"],
.pf-ppf-figure[data-mode="full"] .pf-ppf-zones {
  fill: #f4ae80;
  stroke: #994535;
  stroke-width: 2.5;
}
.pf-ppf-figure[data-mode="full"] .pf-ppf-body { fill: #f4ae80; stroke: #994535; }
.pf-ppf-figure figcaption { color: #4e5957; font-size: .83rem; line-height: 1.45; }
.pf-ppf-options { display: grid; gap: 6px; margin: 0; border: 0; padding: 0; }
.pf-ppf-options legend { padding: 0 0 7px; font-weight: 700; }
.pf-ppf-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid #bac6be;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}
.pf-ppf-options label:has(input:checked) { border-color: #563d39; background: #fbeadd; font-weight: 650; }
.pf-ppf-options input { width: 1rem; height: 1rem; margin: 0; accent-color: #a64547; }
.pf-ppf-detail { margin: 10px 0; min-height: 3em; }
.pf-ppf-planner .pf-ppf-cta {
  display: inline-block;
  padding: 10px 13px;
  background: #a23e42;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 650;
}
.pf-ppf-cta:focus-visible { outline: 2px solid #263731; outline-offset: 3px; }
.pf-ppf-enquiry { grid-column: 1 / -1; }
.pf-ppf-enquiry[hidden] { display: none; }
.pf-ppf-enquiry select { width: 100%; }
@media (max-width: 720px) {
  .pf-ppf-grid { grid-template-columns: minmax(0, 1fr); }
  .pf-ppf-detail { min-height: 0; }
}

.pf-ppf-planner .pf-ppf-inline-quote {
  margin: 24px 0 0;
  scroll-margin-top: 110px;
}
#quote-service[hidden], label[for="quote-service"][hidden] { display: none !important; }
.pf-quote-layout { display:grid; grid-template-columns:minmax(0,1.9fr) minmax(240px,1fr); gap:clamp(16px,3vw,40px); align-items:start; grid-column:1/-1; margin-top:24px; }
.pf-quote-layout > #quote-form { width:100%; min-width:0; margin:0; box-sizing:border-box; }
.pf-layer-panel { background:#303839; color:white; border-radius:8px; padding:20px; }
.pf-layer-panel summary { cursor:pointer; font-weight:700; color:white; }
.pf-layer-panel figure { margin:24px 0 0; }
.pf-layer-stack > div { display:grid; grid-template-columns:32% 1fr; align-items:center; gap:14px; min-height:44px; font-size:0.94rem; }
.pf-layer-stack i { display:block; background:#d8eff1; height:24px; transform:skewY(-10deg); border-radius:4px; border-bottom:4px solid #90b4b8; }
.pf-layer-stack div:nth-child(2) i { background:#accaca; }
.pf-layer-stack div:nth-child(3) i { background:#ede1cb; border-color:#bba886; }
.pf-layer-stack div:last-child i { background:#cf4b58; border-color:#94303a; }
.pf-layer-panel figcaption { color:#e0e6e5; font-size:.9rem; margin-top:18px; }
@media(max-width:849px) { .pf-quote-layout {grid-template-columns:minmax(0,1fr);} .pf-layer-panel {grid-row:1;} }
#leistungen:has(> .pf-ppf-planner) { width:100%; max-width:1600px; box-sizing:border-box; margin-inline:auto; padding-inline:clamp(16px,3vw,48px); }
#leistungen > .pf-ppf-planner { width:100%; max-width:none; box-sizing:border-box; margin:0 0 32px; }
.pf-quote-layout > .pf-layer-panel { min-width:0; padding:clamp(18px,2.2vw,36px); }
.pf-layer-panel summary { font-size:clamp(1.1rem,1.6vw,1.55rem); }
.pf-layer-panel figcaption { font-size:1rem; line-height:1.5; }
@media(min-width:850px) {
  .pf-quote-layout { grid-template-columns:minmax(0,3fr) minmax(0,2fr); }
  .pf-layer-stack > div { grid-template-columns:37% 1fr; min-height:clamp(55px,5vw,78px); font-size:clamp(1rem,1.3vw,1.2rem); }
  .pf-layer-stack i { height:clamp(28px,2.8vw,40px); }
  .pf-ppf-options label { font-size:1.1rem; min-height:50px; }
}

.pf-ppf-figure[data-mode="full"] .pf-ppf-body { fill:#f4ae80 !important; }
.pf-quote-layout > .pf-layer-panel { position:sticky; top:var(--pf-header-gap,96px); z-index:3; max-height:calc(100dvh - var(--pf-header-gap,96px) - 12px); overflow:auto; box-sizing:border-box; }
.pf-layer-panel summary { position:sticky; top:0; background:#303839; line-height:1.3; }
.pf-fold-action { display:block; color:#d6e6e5; font:500 .9rem/1.5 sans-serif; }
.pf-sheet-diagram { display:grid; grid-template-columns:52% 48%; height:clamp(235px,34vh,345px); }
.pf-sheet-diagram svg { width:100%; height:100%; }
.pf-sheet-diagram ol { list-style:none; margin:0; padding:0 0 0 6px; display:grid; grid-template-rows:repeat(6,1fr); }
.pf-sheet-diagram li { align-self:center; line-height:1.2; font-size:clamp(.84rem,1.15vw,1.08rem); overflow-wrap:anywhere; }
@media(max-width:849px) { .pf-quote-layout:has(> .pf-layer-panel) { display:flex; flex-direction:column; align-items:stretch; } .pf-quote-layout > .pf-layer-panel { order:-1; max-height:min(54dvh,calc(100dvh - var(--pf-header-gap,96px) - 12px)); padding:12px 16px; } }
#quote-form { scroll-margin-top: 110px; }
