body[data-hp="software"][data-hp36] {
  --hp36-accent: var(--main, #126d9e);
  --hp36-line: var(--r33-line, #d4dde5);
  --hp36-soft: color-mix(in srgb, var(--hp36-accent) 8%, var(--panel, #fff));
}
body[data-hp="software"][data-hp36] .hp-layout {
  display: flex;
  flex-direction: column;
  width: min(100% - 32px, 1280px);
  gap: 0;
  margin-inline: auto;
}
body[data-hp="software"][data-hp36] .hp-sidebar {
  position: static;
  width: auto;
  max-height: none;
  padding: 5px 10px;
  margin: 12px 0 0;
  box-shadow: none;
}
body[data-hp="software"][data-hp36] .hp-sidebar-title,
body[data-hp="software"][data-hp36] #hp-nav-toggle { display: none; }
body[data-hp="software"][data-hp36] .hp-global-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 10px;
}
body[data-hp="software"][data-hp36] .hp-global-nav a {
  min-height: 34px;
  margin: 0;
  padding: 5px 10px;
}
body[data-hp="software"][data-hp36] .hp-main-frame { min-width: 0; }
body[data-hp="software"][data-hp36] .hp-sectionbar { z-index: 10; }
body[data-hp="software"][data-hp36] main.hp36 {
  padding: clamp(12px, 2.5vw, 32px);
  line-height: 1.58;
  background: var(--panel, #fff);
}
.hp36 h1, .hp36 h2, .hp36 h3 {
  color: var(--text, #172b40);
  line-height: 1.17;
  margin: 0;
  text-wrap: balance;
}
.hp36 h1 { font-size: clamp(31px, 4.1vw, 60px); font-weight: 800; letter-spacing: -.038em; }
.hp36 h2 { font-size: clamp(23px, 2.5vw, 34px); font-weight: 770; letter-spacing: -.023em; }
.hp36 h3 { font-size: clamp(20px, 2vw, 25px); font-weight: 750; }
.hp36 p { margin: 0; }
.hp36 :is(a, input, button):focus-visible {
  outline: 3px solid var(--hp36-accent);
  outline-offset: 3px;
}
.hp36-hero {
  display: grid;
  grid-template-columns: 74px minmax(0,1fr);
  gap: clamp(14px, 3vw, 38px);
  align-items: center;
  padding: clamp(18px, 3.3vw, 48px);
  background: var(--hp36-soft);
  border: 1px solid var(--hp36-line);
  border-radius: 20px;
}
.hp36-hero:has(.hp36-hero-image) { grid-template-columns: 74px minmax(0, 1.06fr) minmax(0, .94fr); }
.hp36-crest, .hp36-hero-image, .hp36-product-art { margin: 0; min-width: 0; }
.hp36-crest img { display: block; width: 72px; height: 74px; object-fit: contain; }
.hp36-hero-image img { display: block; width: 100%; height: auto; aspect-ratio: 1.58; object-fit: contain; border-radius: 12px; background: var(--panel, #fff); }
.hp36-hero-image figcaption, .hp36-product-art figcaption { font-size: .88rem; color: var(--muted, #43566a); margin-top: 5px; }
.hp36-hero p { margin-top: 16px; max-width: 62ch; font-size: clamp(16px, 1.5vw, 19px); }
.hp36-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hp36-hero .hp36-actions, .hp36-compact .hp36-actions { margin-top: 18px; }
.hp36-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 15px;
  border: 1px solid var(--hp36-line);
  border-radius: 9px;
  background: var(--hp36-accent);
  color: var(--panel, #fff);
  font-weight: 710;
  line-height: 1.22;
  text-decoration: none;
  text-align: center;
}
.hp36 a.hp36-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.hp36 .hp36-quiet { color: var(--text, #172b40); background: var(--panel, #fff); }
.hp36-sections { display: grid; gap: clamp(20px, 3vw, 42px); margin-top: clamp(24px, 4vw, 54px); }
.hp36-section { min-width: 0; }
.hp36-section > h2 { margin: 0 0 14px; }
.hp36-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
  align-items: stretch;
}
.hp36-card, .hp36-panel, .hp36-line {
  min-width: 0;
  background: var(--panel, #fff);
  border: 1px solid var(--hp36-line);
  border-radius: 15px;
}
.hp36-card, .hp36-panel {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: clamp(15px, 2.1vw, 25px);
}
.hp36-card .hp36-actions { margin-top: auto; padding-top: 3px; }
.hp36-card p:not(.hp36-state,.hp36-meta) { max-width: 72ch; }
.hp36-meta { color: var(--muted, #43566a); font-weight: 630; font-size: .92rem; }
.hp36-state {
  align-self: flex-start;
  color: var(--text, #172b40);
  padding: 2px 8px;
  border-left: 3px solid var(--hp36-accent);
  background: var(--hp36-soft);
  font-weight: 700;
  font-size: .9rem;
}
.hp36-product-art img { display: block; width: 100%; height: clamp(150px, 21vw, 280px); object-fit: contain; background: var(--hp36-soft); border-radius: 9px; }
.hp36-list { display: grid; gap: 9px; }
.hp36-line { padding: 14px 17px; display: flex; gap: 12px 20px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.hp36-line .hp36-state { display: inline-block; margin-top: 5px; }
.hp36-compact { padding: clamp(17px, 3vw, 37px); border-top: 5px solid var(--hp36-accent); background: var(--hp36-soft); border-radius: 0 0 16px 16px; }
.hp36-compact .hp36-meta { margin-top: 7px; }
.hp36-compact > p:not(.hp36-meta) { margin-top: 8px; }
.hp36-file {
  display: grid;
  grid-template-columns: max-content minmax(0,1fr) max-content;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--hp36-line);
  padding-top: 12px;
}
.hp36-filename { overflow-wrap: anywhere; font-size: .86rem; color: var(--muted, #43566a); }
.hp36-save { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-weight: 650; white-space: nowrap; }
.hp36-save input { width: 1.2rem; height: 1.2rem; accent-color: var(--hp36-accent); }
.hp36 :is([id="programme"],[id="flyer"],[id="handbuecher"],[id="unterlagen"],[id="programmliste"]) { scroll-margin-top: calc(var(--hp-topbar-height, 64px) + var(--hp-r33-menu-height, 55px) + 16px); }
@media (max-width: 1050px) {
  .hp36-hero:has(.hp36-hero-image) { grid-template-columns: 74px minmax(0,1fr); }
  .hp36-hero-image { grid-column: 2; max-width: 520px; }
}
@media (max-width: 740px) {
  body[data-hp="software"][data-hp36] .hp-layout { width: min(100% - 16px, 1280px); }
  .hp36-grid { grid-template-columns: minmax(0,1fr); }
  .hp36-file { grid-template-columns: minmax(0,1fr) max-content; }
  .hp36-file .hp36-filename { grid-column: 1 / -1; grid-row: 2; }
  .hp36-hero, .hp36-hero:has(.hp36-hero-image) { grid-template-columns: 52px minmax(0,1fr); align-items: start; }
  .hp36-crest img { width: 52px; height: 56px; }
  .hp36-hero-image { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 460px) {
  .hp36 h1 { font-size: 29px; }
  .hp36-hero, .hp36-hero:has(.hp36-hero-image) { grid-template-columns: minmax(0,1fr); }
  .hp36-hero .hp36-crest { grid-column: 1; }
}
@media print {
  .hp36-actions, .hp36-save { display: none; }
  .hp36-card, .hp36-line { break-inside: avoid; }
}
