/* R35: stable service-card hit areas and content-sized photographic dialogs. */
html{scrollbar-gutter:stable}
#individuell .cf-service-panel[open]:not(.cf-service-panel-support){grid-column:auto}
/* Readable native-details fallback, without expanding into a different grid row. */
#individuell details.cf-service-panel[open]>summary{display:flex;flex-direction:column;padding:0 22px 22px;gap:0}
#individuell details.cf-service-panel[open] .cf-service-image{width:calc(100% + 44px);height:auto;min-height:0;aspect-ratio:1.7;margin:0 -22px 18px;align-self:stretch}
#individuell details.cf-service-panel[open] .cf-service-title{font-size:clamp(21px,1.75vw,28px)}
#individuell details .cf-service-detail{display:grid;grid-template-columns:minmax(0,1fr);padding:22px;gap:20px}
#individuell .cf-service-panel .r32-service-extra>summary{display:list-item;min-height:44px;padding:10px 0;background:transparent;font-size:15px}
#individuell details .cf-service-actions{display:flex;flex-wrap:wrap;gap:10px}
#individuell .r32-service-card{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #bdcbc3;border-radius:9px;background:#fffdf8;transform:none;transition:border-color .15s}
#individuell .r32-service-card:hover{border-color:#6b8b80}
#individuell .r32-service-card>.cf-service-image{margin:0;width:100%;height:auto;min-height:0;aspect-ratio:1.7;align-self:stretch;overflow:hidden}
#individuell .r32-service-copy{display:flex;flex:1;flex-direction:column;align-items:stretch;padding:22px;min-width:0}
#individuell .r32-service-copy>.cf-service-no{margin:0 0 10px;font-size:13px;color:#805322}
#individuell .r32-service-copy>.cf-service-title{margin:0 0 14px;overflow-wrap:break-word}
#individuell .r32-service-copy>.cf-service-short{margin:0 0 20px;padding:0;color:#4b6263}
#individuell .r32-service-trigger{position:static;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:44px;width:100%;margin-top:auto;padding:8px 0;border:0;background:transparent;color:#173f43;font:inherit;font-size:16px;font-weight:700;text-align:left;cursor:pointer;box-shadow:none;transform:none;transition:color .15s}
/* A transformed button would shrink the stretched hit area to its own bounds. */
#individuell .r32-service-trigger:is(:hover,:active,:focus-visible){transform:none}
#individuell .r32-service-trigger::after{content:"";position:absolute;inset:0;z-index:1}
#individuell .r32-service-trigger>span{display:grid;place-items:center;width:34px;height:34px;flex:none;border:1px solid #9ab1a5;border-radius:50%;font-size:19px}
#individuell .r32-service-card:hover .r32-service-trigger>span{background:#173f43;border-color:#173f43;color:#fffdf8}
#individuell .r32-service-card:focus-within{outline:3px solid #805322;outline-offset:4px}
#individuell .r32-service-trigger:focus-visible{outline:none}
#individuell .r32-service-card.cf-service-panel-support{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;padding:20px}
#individuell .r32-service-card.cf-service-panel-support>.cf-service-image-sales{grid-column:auto;grid-row:auto;aspect-ratio:auto;margin:0;width:auto;height:auto;min-height:0;align-self:stretch}
#individuell .cf-service-panel-support.r32-service-card>.r32-service-copy{padding:0}
#individuell .cf-service-panel-support.r32-service-card .cf-service-short{margin-bottom:8px}
#cf-service-dialog{position:fixed;inset:0;width:min(1000px,calc(100vw - 48px));max-width:none;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);height:fit-content;min-height:0;margin:auto;padding:0;border:1px solid #9bb0a4;border-radius:16px;background:#fffdf8;color:#173f43;font:inherit;box-shadow:0 24px 90px #0e29294d;overflow:hidden;overscroll-behavior:contain}
#cf-service-dialog:not([open]){display:none}
#cf-service-dialog::backdrop{background:#142f38a6}
#cf-service-dialog *{box-sizing:border-box}
#cf-service-dialog .r32-dialog-layout{display:flex;flex-direction:column;max-height:calc(100vh - 50px);max-height:calc(100dvh - 50px);min-height:0}
#cf-service-dialog .r32-dialog-header{position:static;display:flex;flex:none;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px 28px;background:#eaf0e8;border:0;border-bottom:1px solid #c4d2c7;box-shadow:none;transform:none;width:auto;height:auto;min-height:0;backdrop-filter:none}
#cf-service-dialog .r32-dialog-header p{margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.07em;color:#805322}
#cf-service-dialog .r32-dialog-header>div{flex:1;min-width:0}
#cf-service-dialog h2{margin:0;max-width:none;font-size:clamp(24px,2.5vw,30px);line-height:1.2;letter-spacing:-.02em;color:#173f43}
#cf-service-dialog .r32-dialog-close{display:flex;align-items:center;gap:12px;flex:none;width:auto;height:44px;min-height:44px;margin:0;padding:8px 14px;border:1px solid #9bb0a4;border-radius:7px;background:#fffdf8;color:#173f43;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
#cf-service-dialog .r32-dialog-close span{font-size:24px;line-height:1;background:transparent;color:inherit}
#cf-service-dialog .r32-dialog-close{transform:none;transition:background-color .15s,border-color .15s}
#cf-service-dialog .r32-dialog-close:hover{background:#f2f5ef;border-color:#173f43}
#cf-service-dialog .r32-dialog-body{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:28px;flex:0 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:26px 28px;scrollbar-gutter:stable}
#cf-service-dialog .r35-dialog-visual{display:block;align-self:start;margin:0;min-width:0;border:1px solid #d4ded4;border-radius:10px;overflow:hidden;background:#eef1e9}
#cf-service-dialog .r35-dialog-visual picture{display:block;line-height:0;background:#deded4}
#cf-service-dialog .r35-dialog-visual img{display:block;width:100%;height:auto;aspect-ratio:1140/660;object-fit:cover;max-width:100%;margin:0}
#cf-service-dialog .r35-dialog-visual figcaption{padding:16px 18px;border-top:1px solid #d4ded4}
#cf-service-dialog .r35-dialog-visual .r31-result-document{padding:22px 18px;background:#fffdf8}
#cf-service-dialog .cf-service-detail{display:block;min-width:0;margin:0;padding:0;background:transparent;border:0}
#cf-service-dialog .cf-service-detail>div+div{margin-top:18px}
#cf-service-dialog .cf-service-category{display:none}
#cf-service-dialog p,#cf-service-dialog li{font-size:16px;line-height:1.55;color:#173f43}
#cf-service-dialog p{margin:0}
#cf-service-dialog .cf-service-application{font-size:14px;color:#4b6263;margin-bottom:0}
#cf-service-dialog h4{font-size:15px;line-height:1.4;margin:0 0 10px;color:#173f43}
#cf-service-dialog ul{margin:0;padding:0;list-style:none}
#cf-service-dialog li{position:relative;padding-left:22px;font-size:15px}
#cf-service-dialog li::before{content:'✓';position:absolute;left:0;top:0;font-weight:700;color:#47705d}
#cf-service-dialog li+li{margin-top:8px}
#cf-service-dialog .r32-service-extra{margin-top:18px;border-top:1px solid #c4d2c7;padding-top:8px}
.r32-service-extra>summary{min-height:44px;padding:10px 0;cursor:pointer;font-weight:600;color:#173f43}
#cf-service-dialog .r32-service-extra p{font-size:14px;margin:8px 0 0;color:#4b6263}
#cf-service-dialog .r32-dialog-footer{position:static;flex:none;width:auto;height:auto;min-height:0;margin:0;background:#f4f5ee;padding:16px 28px;border:0;border-top:1px solid #c4d2c7;color:#173f43}
#cf-service-dialog .cf-service-actions{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
#cf-service-dialog .cf-service-actions>a{flex:none;white-space:nowrap}
.r32-button{display:inline-flex;justify-content:center;align-items:center;gap:18px;min-height:46px;max-width:100%;padding:12px 18px;border:1px solid #173f43;border-radius:6px;background:#173f43;color:#fffdf8;font:inherit;font-size:14px;font-weight:700;line-height:1.4;text-decoration:none;text-align:center;cursor:pointer}
.r32-button:hover{background:#28574f;color:#fffdf8}
.r32-button-secondary{background:#fffdf8;color:#173f43;border-color:#9bb0a4}
.r32-button-secondary:hover{background:#eaf0e8;color:#173f43}
#cf-service-dialog :is(a,button,summary):focus-visible,.r32-button:focus-visible,.r32-case>summary:focus-visible,.r32-showroom-details>summary:focus-visible{outline:3px solid #805322;outline-offset:3px}
#cf-service-dialog .r32-dialog-body:focus-visible{outline:2px solid #805322;outline-offset:-3px}
#konfiguratortypen #cf-simulation-examples{margin-top:64px;padding-top:28px}
#konfiguratortypen #digital-showrooms.r32-showroom{margin:64px 0 0;padding:28px 0 0!important;border-top:1px solid #a7b8b2;background:transparent;color:#173f43;content-visibility:visible;contain-intrinsic-size:none;scroll-margin-top:100px}
#digital-showrooms.r32-showroom>#cf-showroom-examples{margin:0 0 24px;padding:0;border:0}
#digital-showrooms.r32-showroom .cf-home-showroom-card{overflow:hidden}
#digital-showrooms.r32-showroom .r32-showroom-offer{display:flex;align-items:center;justify-content:space-between;gap:20px 40px;padding:26px 0 20px}
#digital-showrooms.r32-showroom .r32-showroom-offer h3{font-size:21px;line-height:1.3;margin:0 0 8px}
#digital-showrooms.r32-showroom .r32-showroom-offer p{font-size:16px;line-height:1.6;max-width:65ch;margin:0;color:#4b6263}
#digital-showrooms.r32-showroom .r32-showroom-offer>a{flex:none}
.r32-showroom-details{border-top:1px solid #c4d2c7;border-bottom:1px solid #c4d2c7}
.r32-showroom-details>summary{padding:17px 0;min-height:48px;color:#173f43;cursor:pointer;font-weight:600;font-size:16px}
.r32-showroom-details>p{max-width:90ch;margin:0 0 18px;color:#4b6263;font-size:15px;line-height:1.65}
.r32-showroom-functions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 28px;padding:0 0 20px 20px;margin:0;color:#173f43;font-size:15px;line-height:1.6}
#konfiguratortypen #schulungssoftware.cf-training-home{margin-top:64px;padding:28px 0 0!important;border-top:1px solid #a7b8b2}
#schulungssoftware .ct-home-head h2{font-size:clamp(26px,2.4vw,34px);line-height:1.2}
#nutzen.r32-value{padding:48px 0!important;background:#eaf0e8;color:#173f43;border-block:1px solid #c4d2c7;content-visibility:visible;contain-intrinsic-size:none}
#nutzen.r32-value h2{font-size:clamp(27px,2.5vw,36px);line-height:1.2;margin:10px 0 28px}
#nutzen.r32-value .r32-value-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;margin:0;padding:0}
#nutzen.r32-value .r32-value-steps li{display:flex;align-items:flex-start;gap:16px;padding:20px 0;border-top:1px solid #adbfb3;min-width:0}
#nutzen.r32-value .r32-value-steps svg{display:block;width:34px;height:34px;flex:none;color:#28574f;fill:none}
#nutzen.r32-value .r32-value-steps h3{font-size:20px;line-height:1.3;margin:0 0 8px;color:#173f43}
#nutzen.r32-value .r32-value-steps p{font-size:16px;line-height:1.6;color:#4b6263;max-width:34ch;margin:0}
#nutzen.r32-value .r32-value-benefits{font-size:14px;line-height:1.8;margin:8px 0 24px;color:#28574f;font-weight:600}
.r32-value-benefits span{margin:0 8px}
.r32-case{border-top:1px solid #adbfb3}
.r32-case>summary{font-size:16px;line-height:1.5;padding:18px 0 0;cursor:pointer;font-weight:600;color:#173f43;min-height:44px}
#beispielprojekt.r32-case-detail{padding:24px 0 0;background:transparent;border:0;scroll-margin-top:100px}
#beispielprojekt.r32-case-detail h3{margin:8px 0;font-size:23px;line-height:1.3;color:#173f43}
#beispielprojekt.r32-case-detail>p:not(.cf-home-kicker){max-width:75ch;margin:8px 0 12px;font-size:16px;line-height:1.6;color:#4b6263}
@media(max-width:800px){
 #cf-service-dialog .r32-dialog-body{gap:22px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
 #digital-showrooms.r32-showroom .r32-showroom-offer{align-items:flex-start;flex-direction:column;gap:16px}
 #nutzen.r32-value .r32-value-steps{gap:16px}
 #nutzen.r32-value .r32-value-steps li{flex-direction:column;gap:12px}
}
@media(max-width:680px){
 #individuell .r32-service-copy{padding:20px}
 #individuell .r32-service-card.cf-service-panel-support{grid-template-columns:minmax(0,1fr);gap:20px;padding:20px}
 #individuell .r32-service-card.cf-service-panel-support>.cf-service-image-sales{height:auto;width:100%;aspect-ratio:auto}
 #konfiguratortypen #cf-simulation-examples{margin-top:40px;padding-top:24px}
 #konfiguratortypen #digital-showrooms.r32-showroom,#konfiguratortypen #schulungssoftware.cf-training-home{margin-top:40px;padding-top:24px!important}
 #digital-showrooms.r32-showroom .r32-showroom-offer{padding:22px 0}
 .r32-showroom-functions{grid-template-columns:1fr}
 #nutzen.r32-value{padding:36px 0!important}
 #nutzen.r32-value .r32-value-steps{grid-template-columns:1fr;gap:0}
 #nutzen.r32-value .r32-value-steps li{flex-direction:row;gap:16px;padding:18px 0}
 #nutzen.r32-value .r32-value-steps p{max-width:none}
 #cf-service-dialog{width:calc(100vw - 16px);max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);border-radius:10px}
 #cf-service-dialog .r32-dialog-layout{max-height:calc(100vh - 18px);max-height:calc(100dvh - 18px)}
 #cf-service-dialog .r32-dialog-header{position:relative;padding:18px;gap:12px;flex-direction:row}
 #cf-service-dialog .r32-dialog-header>div{min-width:0}
 #cf-service-dialog .r32-dialog-header p{font-size:10px;letter-spacing:.04em;min-height:28px;padding-right:52px;margin-bottom:12px}
 #cf-service-dialog .r32-dialog-close{position:absolute;right:14px;top:12px;width:44px;min-width:44px;height:44px;justify-content:center;gap:0;padding:0;font-size:0}
 #cf-service-dialog .r32-dialog-close span{font-size:26px}
 #cf-service-dialog h2{font-size:23px;overflow-wrap:break-word}
 #cf-service-dialog .r32-dialog-body{grid-template-columns:minmax(0,1fr);gap:20px;padding:18px}
 #cf-service-dialog .r35-dialog-visual img{aspect-ratio:760/475;max-height:210px;object-fit:cover}
 #cf-service-dialog .r35-dialog-visual figcaption{padding:12px 14px}
 #cf-service-dialog .cf-service-detail>div+div,#cf-service-dialog .r32-service-extra{margin-top:16px}
 #cf-service-dialog .r32-dialog-footer{padding:12px 18px max(12px,env(safe-area-inset-bottom))}
 #cf-service-dialog .cf-service-actions{display:grid;grid-template-columns:1fr;gap:8px}
 #cf-service-dialog .cf-service-actions>a{white-space:normal}
 #cf-service-dialog .r32-button{min-height:44px;padding:10px 12px}
}
@media(max-width:380px){#cf-service-dialog h2{font-size:21px}}
@media(max-height:500px){
 #cf-service-dialog .r32-dialog-header{padding:12px 18px;flex-direction:row}
 #cf-service-dialog .r32-dialog-header p{display:none}
 #cf-service-dialog .r32-dialog-close{position:static}
 #cf-service-dialog h2{font-size:22px}
 #cf-service-dialog .r32-dialog-footer{padding:10px 18px}
 #cf-service-dialog .cf-service-actions{display:flex;flex-wrap:wrap;gap:8px}
}
@media(prefers-reduced-motion:reduce){#individuell .r32-service-card{transition:none}}
