/* Pokrycia dachowe — rozbudowana podstrona oparta na systemie Materiałów budowlanych. */
.roof-detailed-page {
  --roof-graphite: #58595b;
  --roof-yellow: #ffdd00;
  --roof-silver: #c7c8ca;
  --roof-ink: #222326;
  --roof-soft: #f3f3f1;
  --roof-line: rgba(88, 89, 91, .16);
  --roof-white: #fff;
}

.roof-detailed-page .materials-hero {
  padding-top: 44px;
  padding-bottom: 48px;
}

.roof-detailed-page .materials-hero-inner {
  grid-template-columns: minmax(0, 1fr);
}

.roof-detailed-page .materials-hero-copy {
  max-width: 890px;
}

.roof-detailed-page .materials-hero-copy > p:not(.materials-kicker) {
  max-width: 810px;
}

.roof-hero-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  width: 100%;
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 4px solid var(--roof-yellow);
  background: var(--roof-soft);
}

.roof-detailed-page .roof-hero-cta p {
  max-width: 710px;
  margin: 0;
  color: var(--roof-graphite);
  font-size: .9rem;
  line-height: 1.72;
}

.roof-hero-actions,
.roof-inline-actions,
.roof-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.roof-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 20px;
  border: 1px solid var(--roof-graphite);
  background: var(--roof-graphite);
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.roof-button:hover,
.roof-button:focus-visible {
  border-color: var(--roof-yellow);
  background: var(--roof-yellow);
  color: var(--roof-ink);
}

.roof-button.is-secondary {
  background: transparent;
  color: var(--roof-ink);
}

.roof-button.is-secondary:hover,
.roof-button.is-secondary:focus-visible {
  background: var(--roof-yellow);
}

.roof-detailed-page .materials-jump-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.roof-section {
  padding: 34px 0;
  background: var(--roof-white);
  scroll-margin-top: 96px;
}

.roof-section.is-soft {
  background: var(--roof-soft);
}

.roof-copy-wide {
  max-width: 1120px;
}

.roof-section-heading {
  max-width: 880px;
  margin-bottom: 24px;
}

.roof-section-number {
  display: block;
  width: fit-content;
  margin-bottom: 11px;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--roof-yellow);
  color: rgba(88, 89, 91, .58);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .15em;
}

.roof-section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--roof-graphite);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.roof-section-heading h2,
.roof-split-copy h2,
.roof-product-copy h2,
.roof-final-cta h2 {
  margin: 0;
  color: var(--roof-ink);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.06;
  text-wrap: balance;
}

.roof-section-heading > p,
.roof-split-copy > p,
.roof-product-copy > p,
.roof-brand-lead > p,
.roof-final-cta p {
  max-width: 840px;
  margin: 18px 0 0;
  color: var(--roof-graphite);
  font-size: .94rem;
  line-height: 1.76;
}

.roof-split {
  display: grid;
  grid-template-columns: minmax(360px, .88fr) minmax(0, 1.12fr);
  gap: clamp(46px, 7vw, 96px);
  align-items: center;
}

.roof-split.is-reversed .roof-split-media {
  order: 2;
}

.roof-split-media {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  background: var(--roof-silver);
}

.roof-split-media::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 64px;
  height: 5px;
  background: var(--roof-yellow);
}

.roof-split-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.roof-check-list,
.roof-system-list,
.roof-decision-list,
.roof-error-list,
.roof-product-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.roof-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  border-top: 1px solid var(--roof-line);
}

.roof-check-list li,
.roof-product-list li,
.roof-decision-list li,
.roof-error-list li {
  position: relative;
  padding: 13px 0 13px 20px;
  border-bottom: 1px solid var(--roof-line);
  color: var(--roof-graphite);
  font-size: .84rem;
  line-height: 1.55;
}

.roof-check-list li::before,
.roof-product-list li::before,
.roof-decision-list li::before,
.roof-error-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 6px;
  height: 6px;
  background: var(--roof-yellow);
}

.roof-benefit-note,
.roof-note,
.roof-warranty-note {
  margin-top: 26px;
  padding: 20px 22px;
  border-left: 4px solid var(--roof-yellow);
  background: var(--roof-soft);
  color: var(--roof-graphite);
  font-size: .86rem;
  line-height: 1.67;
}

.roof-benefit-note strong,
.roof-note strong {
  color: var(--roof-ink);
}

.roof-list-intro {
  margin: 0 0 12px;
  color: var(--roof-ink);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.55;
}

.roof-valuation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(38px, 6vw, 78px);
  align-items: start;
}

.roof-steps {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--roof-line);
}

.roof-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--roof-line);
}

.roof-step > span {
  color: rgba(88, 89, 91, .58);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.roof-step p {
  margin: 0;
  color: var(--roof-graphite);
  font-size: .86rem;
  line-height: 1.58;
}

.roof-valuation-aside {
  padding: 28px;
  background: var(--roof-graphite);
  color: #fff;
}

.roof-valuation-aside h3 {
  margin: 0;
  color: #fff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
}

.roof-valuation-aside p {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: .84rem;
  line-height: 1.68;
}

.roof-valuation-aside .roof-button {
  width: 100%;
  border-color: var(--roof-yellow);
  background: var(--roof-yellow);
  color: var(--roof-ink);
}

.roof-aside-cta {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.roof-aside-cta p {
  margin: 0 0 13px;
  color: #fff;
  font-weight: 600;
}

.roof-valuation-aside .roof-button:hover,
.roof-valuation-aside .roof-button:focus-visible {
  border-color: #fff;
  background: #fff;
}

.roof-comparison-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.roof-comparison-intro article {
  padding: 24px;
  border-top: 3px solid var(--roof-yellow);
  background: var(--roof-soft);
}

.roof-comparison-intro h3,
.roof-surface-card h3,
.roof-brand-card h3,
.roof-feature-card h3,
.roof-choice-panel h3,
.roof-errors-panel h3 {
  margin: 0;
  color: var(--roof-ink);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
}

.roof-comparison-intro p,
.roof-surface-card p,
.roof-brand-card p,
.roof-feature-card p,
.roof-choice-panel p,
.roof-errors-panel p {
  margin: 11px 0 0;
  color: var(--roof-graphite);
  font-size: .82rem;
  line-height: 1.66;
}

.roof-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--roof-line);
  background: #fff;
}

.roof-compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.roof-compare-table th,
.roof-compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--roof-line);
  border-right: 1px solid var(--roof-line);
  vertical-align: top;
  color: var(--roof-graphite);
  font-size: .8rem;
  line-height: 1.55;
}

.roof-compare-table th:last-child,
.roof-compare-table td:last-child {
  border-right: 0;
}

.roof-compare-table thead th {
  background: var(--roof-graphite);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
}

.roof-compare-table thead th:first-child {
  color: var(--roof-yellow);
}

.roof-compare-table tbody th {
  width: 18%;
  color: var(--roof-ink);
  font-weight: 700;
}

.roof-compare-table tr:last-child th,
.roof-compare-table tr:last-child td {
  border-bottom: 0;
}

.roof-warranty-note {
  margin-top: 18px;
  background: #fff;
}

.roof-warranty-note a {
  color: var(--roof-ink);
  font-weight: 700;
}

.roof-decision-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

.roof-decision-lead {
  padding: 30px;
  border-top: 5px solid var(--roof-yellow);
  background: var(--roof-graphite);
  color: #fff;
}

.roof-decision-lead h2 {
  margin: 0;
  color: #fff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.roof-decision-lead p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: .9rem;
  line-height: 1.7;
}

.roof-decision-lead .roof-decision-summary {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  font-size: .86rem;
  line-height: 1.7;
}

.roof-product-section {
  padding: 34px 0;
}

.roof-product-section.is-soft {
  background: var(--roof-soft);
}

.roof-product-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: clamp(38px, 5vw, 66px);
  align-items: start;
}

.roof-product-section.is-soft .roof-product-media {
  order: 2;
}

.roof-product-section.is-soft .roof-product-grid {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.roof-product-media {
  position: relative;
  width: 340px;
  height: 340px;
  min-height: 0;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--roof-silver);
}

.roof-product-media::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 64px;
  height: 5px;
  background: var(--roof-yellow);
}

.roof-product-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: inherit;
}

.roof-product-copy > h3.roof-section-kicker {
  margin-top: 28px;
}

.roof-surface-heading {
  margin-top: 27px;
}

.roof-surface-heading h3 {
  margin: 0;
  color: var(--roof-ink);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.4;
}

.roof-surface-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  background: var(--roof-line);
  border: 1px solid var(--roof-line);
}

.roof-surface-card {
  padding: 23px;
  background: #fff;
}

.roof-product-section.is-soft .roof-surface-card {
  background: var(--roof-white);
}

.roof-practical-tip {
  margin-top: 18px;
  padding: 20px 22px;
  border-left: 4px solid var(--roof-yellow);
  background: var(--roof-soft);
  color: var(--roof-graphite);
  font-size: .84rem;
  line-height: 1.66;
}

.roof-product-section.is-soft .roof-practical-tip {
  background: #fff;
}

.roof-swissporton-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: clamp(26px, 4vw, 46px);
  align-items: start;
}

.roof-brand-lead {
  min-width: 0;
}

.roof-swissporton-banner {
  display: block;
  width: 100%;
  max-width: 440px;
  margin: 0 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--roof-line);
  border-radius: 14px;
  background: #fff;
  line-height: 0;
  transition: border-color .18s ease;
}

.roof-swissporton-banner:hover,
.roof-swissporton-banner:focus-visible {
  border-color: var(--roof-yellow);
}

.roof-swissporton-banner picture,
.roof-swissporton-banner img {
  display: block;
  width: 100%;
}

.roof-swissporton-banner img {
  height: auto;
}

.roof-other-brands-intro {
  margin: 32px 0 0;
  color: var(--roof-ink);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.6;
}

.roof-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.roof-brand-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--roof-line);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}

.roof-brand-highlight:hover,
.roof-brand-highlight:focus-visible,
.roof-brand-card:hover,
.roof-brand-card:focus-visible {
  border-color: var(--roof-yellow);
}

.roof-brand-card:hover,
.roof-brand-card:focus-visible {
  transform: translateY(-2px);
}

.roof-brand-card img {
  display: block;
  width: min(100%, 220px);
  height: 64px;
  margin-bottom: 18px;
  object-fit: contain;
  object-position: left center;
}

.roof-brand-lead h3 {
  margin: 0;
  color: var(--roof-ink);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
}

.roof-brand-card h3 {
  max-width: 620px;
}

.roof-system-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(38px, 6vw, 72px);
  align-items: start;
}

.roof-system-media {
  position: sticky;
  top: 24px;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  background: var(--roof-silver);
}

.roof-system-media::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 64px;
  height: 5px;
  background: var(--roof-yellow);
}

.roof-system-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.roof-system-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  border: 1px solid var(--roof-line);
  background: var(--roof-line);
}

.roof-system-list li {
  position: relative;
  min-height: 78px;
  padding: 18px 18px 18px 39px;
  background: #fff;
  color: var(--roof-graphite);
  font-size: .82rem;
  line-height: 1.55;
}

.roof-system-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 25px;
  width: 7px;
  height: 7px;
  background: var(--roof-yellow);
}

.roof-seven-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--roof-line);
  background: var(--roof-line);
}

.roof-seven-card {
  min-height: 184px;
  padding: 25px;
  background: #fff;
}

.roof-seven-card:last-child {
  grid-column: 1 / -1;
}

.roof-seven-card > span {
  display: block;
  width: fit-content;
  margin-bottom: 14px;
  padding-bottom: 5px;
  border-bottom: 3px solid var(--roof-yellow);
  color: rgba(88, 89, 91, .58);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.roof-seven-card h3 {
  margin: 0;
  color: var(--roof-ink);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.38;
}

.roof-seven-card p {
  margin: 11px 0 0;
  color: var(--roof-graphite);
  font-size: .8rem;
  line-height: 1.62;
}

.roof-errors-panel {
  margin-top: 30px;
  padding: 28px;
  background: var(--roof-graphite);
}

.roof-errors-panel h3 {
  color: #fff;
}

.roof-errors-panel .roof-error-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

.roof-errors-panel .roof-error-list li {
  border-color: rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .84);
}

.roof-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--roof-line);
  background: var(--roof-line);
}

.roof-feature-card {
  min-height: 220px;
  padding: 26px;
  background: #fff;
}

.roof-feature-card > span {
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--roof-yellow);
}

.roof-feature-card:last-child {
  grid-column: span 2;
}

.roof-story-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  margin-top: 30px;
  padding: 28px;
  border-left: 5px solid var(--roof-yellow);
  background: #fff;
}

.roof-story-cta p {
  max-width: 820px;
  margin: 0;
  color: var(--roof-graphite);
  font-size: .9rem;
  line-height: 1.72;
}

.roof-mid-cta {
  background: var(--roof-soft);
}

.roof-mid-cta .materials-cta-kicker {
  color: var(--roof-graphite);
}

.roof-mid-cta .materials-cta-copy h2 {
  color: var(--roof-ink);
}

.roof-mid-cta .materials-cta-button {
  border-color: var(--roof-yellow);
  background: var(--roof-yellow);
  color: var(--roof-ink);
}

.roof-mid-cta .materials-cta-button:hover,
.roof-mid-cta .materials-cta-button:focus-visible {
  border-color: #fff;
  background: #fff;
}

.roof-faq-list {
  border-top: 1px solid var(--roof-line);
}

.roof-faq-item {
  border-bottom: 1px solid var(--roof-line);
}

.roof-faq-item summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 18px 0;
  color: var(--roof-ink);
  cursor: pointer;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: .96rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
}

.roof-faq-item summary::-webkit-details-marker {
  display: none;
}

.roof-faq-item summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--roof-soft);
  color: var(--roof-ink);
  font-size: 1.15rem;
  font-weight: 400;
}

.roof-faq-item[open] summary::after {
  content: "–";
  background: var(--roof-yellow);
}

.roof-faq-answer {
  max-width: 960px;
  padding: 0 60px 22px 0;
}

.roof-faq-answer p {
  margin: 0;
  color: var(--roof-graphite);
  font-size: .86rem;
  line-height: 1.72;
}

.roof-final-cta {
  padding: 0;
  background: var(--roof-yellow);
}

.roof-final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  min-height: 150px;
  padding-top: 35px;
  padding-bottom: 38px;
}

.roof-final-cta p {
  max-width: 760px;
  margin-top: 12px;
  font-size: .86rem;
  line-height: 1.6;
}

.roof-final-actions {
  margin-top: 0;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .roof-split,
  .roof-valuation-grid,
  .roof-decision-grid,
  .roof-system-grid,
  .roof-final-cta-inner {
    grid-template-columns: 1fr;
  }

  .roof-product-grid,
  .roof-product-section.is-soft .roof-product-grid {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 34px;
  }

  .roof-product-section.is-soft .roof-product-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .roof-product-media {
    width: 300px;
    height: 300px;
  }

  .roof-system-media {
    position: relative;
    top: auto;
  }

  .roof-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roof-final-actions {
    justify-content: flex-start;
  }

  .roof-swissporton-feature {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
  }
}

@media (max-width: 860px) {
  .roof-detailed-page .materials-hero {
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .roof-section,
  .roof-product-section {
    padding: 30px 0;
  }

  .roof-swissporton-feature {
    grid-template-columns: 1fr;
  }

  .roof-swissporton-banner {
    max-width: 440px;
    margin: 0;
  }
}

@media (max-width: 760px) {
  .roof-detailed-page .materials-jump-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roof-detailed-page .materials-jump-card:nth-child(5) {
    grid-column: 1 / -1;
  }

  .roof-section,
  .roof-product-section {
    padding: 30px 0;
  }

  .roof-section-heading {
    margin-bottom: 22px;
  }

  .roof-hero-cta,
  .roof-story-cta {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .roof-product-grid,
  .roof-product-section.is-soft .roof-product-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .roof-product-section.is-soft .roof-product-media {
    order: 0;
  }

  .roof-product-media {
    width: min(100%, 420px);
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
  }

  .roof-split-media,
  .roof-split-media img,
  .roof-system-media,
  .roof-system-media img {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .roof-check-list,
  .roof-comparison-intro,
  .roof-surface-grid,
  .roof-brand-grid,
  .roof-system-list,
  .roof-seven-grid,
  .roof-errors-panel .roof-error-list,
  .roof-feature-grid {
    grid-template-columns: 1fr;
  }

  .roof-seven-card:last-child,
  .roof-feature-card:last-child {
    grid-column: auto;
  }

  .roof-compare-table {
    min-width: 680px;
  }

  .roof-valuation-aside,
  .roof-decision-lead,
  .roof-errors-panel {
    padding: 23px;
  }

  .roof-seven-card,
  .roof-feature-card {
    min-height: 0;
  }

  .roof-faq-item summary {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 16px;
    min-height: 66px;
    font-size: .9rem;
  }

  .roof-faq-item summary::after {
    width: 28px;
    height: 28px;
  }

  .roof-faq-answer {
    padding-right: 0;
  }

  .roof-swissporton-banner {
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .roof-detailed-page .materials-jump-grid {
    grid-template-columns: 1fr;
  }

  .roof-detailed-page .materials-jump-card:nth-child(5) {
    grid-column: auto;
  }

  .roof-hero-actions,
  .roof-inline-actions,
  .roof-final-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .roof-button {
    width: 100%;
  }

  .roof-product-media {
    width: 100%;
    max-width: 360px;
    border-radius: 14px;
  }

  .roof-story-cta {
    padding: 23px;
  }

  .roof-surface-card,
  .roof-brand-card,
  .roof-seven-card,
  .roof-feature-card {
    padding: 21px;
  }
}

@media (max-width: 620px) {
  .roof-detailed-page .materials-hero {
    padding-top: 34px;
    padding-bottom: 38px;
  }

  .roof-section,
  .roof-product-section {
    padding: 27px 0;
  }

  .roof-final-cta-inner {
    min-height: 0;
    padding-top: 27px;
    padding-bottom: 29px;
  }
}
