/* CONFYRA R126 — concise service-page presentation and smartphone layout.
   Marketing components only. Application runtimes retain their own styles.
   Native details work without JavaScript. */
:is(.r126-page,.r126-home) .r126-detail {
  box-sizing:border-box;
  border:1px solid #d5dfd8;
  border-radius:10px;
  background:#fffefa;
  margin:16px 0;
  padding:0 20px;
  min-width:0;
}
:is(.r126-page,.r126-home) .r126-detail > summary {
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:56px;
  padding:14px 0;
  font-family:inherit;
  font-weight:600;
  font-size:16px;
  line-height:1.45;
  color:#173d3d;
  cursor:pointer;
  list-style:none;
  overflow-wrap:break-word;
}
:is(.r126-page,.r126-home) .r126-detail > summary::-webkit-details-marker {display:none;}
:is(.r126-page,.r126-home) .r126-detail > summary::after {
  content:'+';
  flex:0 0 auto;
  color:#697d6f;
  font-size:24px;
  font-weight:400;
}
:is(.r126-page,.r126-home) .r126-detail[open] > summary::after {content:'−';}
:is(.r126-page,.r126-home) .r126-detail > summary:focus-visible {
  outline:3px solid #ad783c;
  outline-offset:4px;
  border-radius:4px;
}
:is(.r126-page,.r126-home) .r126-detail :is(.r126-detail-body,.r126-detail-content) {
  padding:6px 0 22px;
  min-width:0;
}
:is(.r126-page,.r126-home) .r126-detail :is(.r83-wrap,.offer-wrap,.wrap) {
  width:100%;max-width:none;margin-inline:0;padding-inline:0;
}
.r126-page.r115-page .r126-task {
  border-left:3px solid #6a8a72;
  padding:11px 15px;
  background:#f1f4ec;
  color:#173d3d;
  font-size:15px;
  line-height:1.55;
}
.r126-page.r115-page .r126-outcome {font-size:15px;line-height:1.6;color:#536a64;}

/* Explicit original UI captures: their natural image ratio owns the height.
   This does not change any legacy gallery stage or photo frame. */
body.r126-page.r115-page .r126-proof-image {
  display:block;
  position:static;
  min-width:0;
  width:100%;
  height:auto;
  min-height:0;
  max-height:none;
  aspect-ratio:auto;
  margin:0;
  padding:0;
  background:#fff;
}
body.r126-page.r115-page .r126-proof-image > a {display:block;}
body.r126-page.r115-page .r126-proof-image img {
  display:block;
  position:static;
  inset:auto;
  width:100%;
  height:auto;
  min-height:0;
  max-height:none;
  aspect-ratio:auto;
  object-fit:contain;
  margin:0;
  padding:0;
}
.r126-page .r126-advisor-result {
  display:block;
  width:100%;
  height:auto;
  min-height:0;
  max-height:none;
  padding:0;
  background:#fff;
}
.r126-page .r126-advisor-result img {
  display:block;
  position:static;
  width:100%;
  max-width:350px;
  height:auto;
  min-height:0;
  max-height:none;
  aspect-ratio:auto;
  object-fit:contain;
  margin:0 auto;
  padding:0;
}
body.r126-home.r83-home .r83h-card .r83h-card-media.r126-proof-card {
  display:flex;
  flex-direction:column;
  height:auto;
  min-height:0;
  aspect-ratio:auto;
  padding:0;
  background:#fff;
}
body.r126-home.r83-home .r83h-card .r83h-card-media.r126-proof-card > a {display:block;width:100%;}
body.r126-home.r83-home .r83h-card .r83h-card-media.r126-proof-card img {
  display:block;
  position:static;
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio:auto;
  object-fit:contain;
  margin:0;
  padding:0;
}
body.r126-home.r83-home .r83h-card .r83h-card-media.r126-proof-card figcaption {
  position:static;
  margin:0;
  padding:11px 14px;
  background:#fff;
}

@media (max-width:760px) {
  .r126-page.r115-page main {padding-inline:18px!important;}
  .r126-page.r115-page main > section.offer-demo-section > .offer-wrap {
    width:100%;max-width:none;margin-inline:0;padding-inline:0;
  }
  .r126-page.r115-page :is(.r115-hero,.offer-hero) {
    min-height:0;
    padding-block:22px 25px;
    gap:20px;
  }
  .r126-page.r115-page :is(.r115-hero,.offer-hero) h1 {
    font-size:clamp(29px,8vw,36px)!important;
    line-height:1.12!important;
    margin-block:0 15px!important;
    max-width:100%;
    word-break:normal;
    overflow-wrap:break-word;
    hyphens:auto!important;
  }
  .r126-page.r115-page :is(.r115-intro,.offer-hero-copy>p:not(.offer-kicker):not(.offer-small)) {
    font-size:15px!important;
    line-height:1.6!important;
  }
  .r126-page.r115-page :is(.r115-actions,.offer-hero .offer-actions) {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    align-items:stretch;
  }
  .r126-page.r115-page :is(.r115-actions,.offer-hero .offer-actions) > :is(.r115-button,.offer-button,.r117-inquiry-button) {
    width:100%;min-width:0;max-width:100%;
    min-height:48px;
    padding:11px 12px;
    font-size:13px;
    line-height:1.4;
    gap:8px;
    white-space:normal;
    overflow-wrap:break-word;
    box-sizing:border-box;
  }
  .r126-page.r115-page :is(.r115-actions,.offer-hero .offer-actions) > :is(.r115-plain,.offer-text-link) {
    grid-column:1/-1;
    min-height:44px;
    justify-self:start;
  }
  /* Only duplicate hero evidence; unique notes and disclosures stay visible. */
  .r126-page .r115-proof-strip {display:none;}
  .r126-page .r117-frame-copy {min-height:0;}
  .r126-page .r115-waypoints {gap:4px 18px;padding-block:4px;}
  .r126-page .r115-waypoints a {min-height:44px;font-size:12px;}
  .r126-page .r115-waypoints a:last-child {margin-left:0;}
  .r126-page.r115-page :is(.r83-section,.r83p-section,.c83-section) {
    padding-block:32px;
  }
  :is(.r126-page,.r126-home) .r126-detail {padding-inline:16px;margin-block:12px;}
  :is(.r126-page,.r126-home) .r126-detail > summary {font-size:15px;min-height:54px;}
  .r126-page .r83p-pair {gap:16px;}
  .r126-page .r83p-pair > figure {margin:0;min-width:0;}
  .r126-page .r83p-pair figcaption {min-height:0;padding:13px 15px;}
  .r126-page .r83p-journey {grid-template-columns:minmax(0,1fr);gap:19px;}
  .r126-page .r83p-journey li {position:relative;padding:16px 0 0 34px;min-width:0;}
  .r126-page .r83p-journey li > span {position:absolute;left:0;top:18px;margin:0;}
  .r126-page .r83p-journey h3 {margin-bottom:8px;}
  .r126-page .r83p-facts {grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px;}
  .r126-page .r83p-facts > div {min-width:0;}
  .r126-page .r83p-facts :is(dt,dd) {overflow-wrap:break-word;}
  .r126-page .offer-demo-preview {grid-template-columns:minmax(0,1fr);}
  .r126-page .offer-demo-preview img {
    display:block;width:100%;height:auto;
    max-height:none;aspect-ratio:auto;object-fit:contain;
  }
  .r126-page .offer-demo-preview figcaption {
    display:block;font-size:12px;line-height:1.5;padding:11px 14px;
  }
  .r126-page .offer-demo-preview-copy {padding:22px 18px;min-width:0;}
  .r126-page .r115-contact {padding:24px 18px!important;gap:20px;margin-top:36px!important;}
  .r126-page .r115-contact .cta-fields {grid-template-columns:minmax(0,1fr);gap:14px;}
  .r126-page .r115-contact .cta-field {font-size:14px;line-height:1.45;gap:8px;}
  .r126-page .r115-contact :is(input,textarea) {min-height:48px;font-size:16px;}
  .r126-page .r115-contact textarea {min-height:120px;}
  .r126-page .r115-contact :is(.cta-mail,.cta-form-hint) {font-size:12px!important;line-height:1.6;}
  .r126-page .r115-contact .cta-row {align-items:stretch;}
  .r126-page .r115-contact .cta-row > button {min-height:48px;}
}

/* Homepage changes stay within its entry, service cards and contact section.
   The approved valve illustration and every embedded demo are untouched. */
@media (max-width:760px) {
  body.r126-home.r83-home .r93-hero .r93-lead {
    font-size:16px;
    line-height:1.55;
    max-width:34ch;
  }
  body.r126-home.r83-home .r93-actions {
    gap:10px;
    margin-top:20px;
  }
  body.r126-home.r83-home :is(.r93-button,.r93-secondary) {
    min-height:48px;
    max-width:100%;
    white-space:normal;
    font-size:14px;
    padding:12px 16px;
  }
  body.r126-home.r83-home .r93-entry-service {
    min-height:0;
    padding:16px 14px;
  }
  body.r126-home.r83-home .r93-entry-service h2 {
    min-height:0;
    font-size:16px;
    line-height:1.3;
    hyphens:auto;
    overflow-wrap:break-word;
  }
  body.r126-home.r83-home .r93-entry-service :is(p,.r93-entry-mobile-copy) {
    font-size:14px;
    line-height:1.5;
  }
  body.r126-home.r83-home .r93-entry-service-more {
    min-height:44px;
    font-size:13px;
  }
  body.r126-home.r83-home #kontakt .cta-fields {
    grid-template-columns:minmax(0,1fr);
  }
  body.r126-home.r83-home #kontakt .cta-fields :is(input,textarea) {
    font-size:16px;
    min-height:48px;
  }
}
@media (max-width:600px) {
  .r126-page #calculator-preview .calc-product-pair {grid-template-columns:minmax(0,1fr);}
  .r126-page #calculator-preview .calc-product-pair figure + figure {border-left:0;border-top:1px solid #c9d2ca;}
  .r126-page #calculator-preview .calc-product-pair figure {padding:15px 14px 0;}
  .r126-page #calculator-preview .calc-product-pair img {height:auto;aspect-ratio:auto;object-fit:contain;}
  .r126-page #calculator-preview .calc-product-pair figcaption {min-height:0;font-size:12px;}
}
