/* RePhone Premium Design Refinement 2.0 · Mint Atelier */
:root{
  --mint-50:#f2fbf9;
  --mint-100:#e4f8f5;
  --mint-200:#c9eee9;
  --mint-300:#91ddd6;
  --mint-500:#00aaa2;
  --cyan-400:#25d8cf;
  --petrol-900:#062d31;
  --petrol-800:#084347;
  --ink-900:#071d21;
  --ink-600:#4d6669;
  --paper:#ffffff;
  --line:#d5e9e6;
  --shadow-soft:0 14px 40px rgba(5,67,69,.08);
  --shadow-lift:0 24px 64px rgba(5,67,69,.13);
}

html{scroll-behavior:smooth}
body{background:linear-gradient(180deg,#fff 0,#f8fcfb 48%,#fff 100%);color:var(--ink-900)}
.home-page .home-section,.home-page .process-section,.home-page .reviews-placeholder,.home-page .closing-cta{margin-block:clamp(2.6rem,5vw,5.25rem)}
.home-page .category-section,.home-page .path-section,.home-page .popular-section{padding-block:clamp(2.75rem,4.8vw,5rem)}
.section-heading{max-width:760px}.section-heading p{line-height:1.7}
.light-hero .home-hero-inner{gap:clamp(1.75rem,3.8vw,4.25rem)}
.light-hero .hero-copy h1{letter-spacing:-.055em;text-wrap:balance}.hero-lead{max-width:60ch;line-height:1.7}

/* Compact und Full Wizard */
.local-estimator-form{
  border:1px solid rgba(0,170,162,.25);
  border-radius:30px;
  background:radial-gradient(circle at 95% 0,rgba(37,216,207,.13),transparent 31%),linear-gradient(155deg,rgba(255,255,255,.995),rgba(237,250,247,.98));
  box-shadow:0 28px 80px rgba(4,62,65,.13);
}
.local-estimator-form .estimator-top h2{letter-spacing:-.035em}
.step-count strong{background:linear-gradient(135deg,var(--mint-100),#d8f7f3);box-shadow:inset 0 0 0 1px rgba(0,170,162,.08)}
.estimator-stepper{gap:8px;padding-top:5px}
.estimator-stepper:before,.estimator-stepper:after{display:none}
.estimator-stepper li{min-height:54px;padding:7px 4px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.76);transition:border-color .18s ease,background .18s ease,transform .18s ease}
.estimator-stepper li>span{width:25px;height:25px;border:0;background:#e3f2f0;box-shadow:none}
.estimator-stepper li.is-active,.estimator-stepper li.is-complete{border-color:#98ddd6;background:#e9faf7}
.estimator-stepper li.is-active{transform:translateY(-1px);box-shadow:0 7px 18px rgba(0,128,122,.08)}
.estimator-stepper li.is-active>span,.estimator-stepper li.is-complete>span{background:linear-gradient(135deg,var(--mint-500),var(--cyan-400));box-shadow:none}
.estimator-stage{scrollbar-width:thin;scrollbar-color:#9adbd5 transparent}

.brand-card{min-height:118px!important;border-radius:22px!important;background:linear-gradient(145deg,#fff,#f0faf8)!important}
.brand-mark{position:relative;overflow:hidden;flex-basis:68px!important;width:68px!important;height:68px!important;border-radius:20px!important;background:#e3f7f4!important;font-size:0!important}
.brand-mark:before{content:"";width:23px;height:40px;border:2px solid #0a6263;border-radius:7px;box-shadow:9px 5px 0 -4px #82d8d1}
.brand-mark:after{position:absolute;bottom:7px;content:"iPhone";color:#087d77;font-size:.48rem;font-weight:900;letter-spacing:.02em}
.samsung-mark:before{width:40px;height:29px;border-radius:5px;box-shadow:inset -9px 0 0 #b7e8e4}
.samsung-mark:after{content:"Galaxy"}

.condition-card{border-radius:18px;background:linear-gradient(180deg,#fff,#f8fcfb)}
.condition-visual{border-radius:13px;background:linear-gradient(145deg,#edf9f7,#f9fdfc)}
.condition-copy b{color:var(--ink-900)}
.condition-card:has(input:checked){border-color:var(--mint-500);box-shadow:0 0 0 3px rgba(0,170,162,.12),0 12px 24px rgba(5,86,85,.1)}

.issue-groups{gap:10px}
.issue-groups>section{border-color:var(--line);border-radius:16px;background:rgba(255,255,255,.82)}
.issue-groups h3{color:#31585a}
.issue-card{border-radius:13px;background:#fff}
.issue-card:has(input:checked){background:#e9faf7;box-shadow:inset 0 0 0 1px rgba(0,170,162,.08)}
.security-box{border-color:#bce3de;border-radius:17px;background:linear-gradient(145deg,#f1fbf9,#e7f7f4)}
.security-box label{padding:5px 7px;border-radius:10px;transition:background .18s ease}
.security-box label:hover{background:rgba(255,255,255,.72)}
.estimator-actions .button{min-height:48px;border-radius:13px}
.estimator-assurance{color:#526d70}

.result-summary{position:relative;overflow:hidden;border:1px solid #bde7e1!important;border-radius:25px!important;background:linear-gradient(135deg,#fff 5%,#e1f8f4 100%)!important;box-shadow:0 20px 48px rgba(0,128,122,.13)!important}
.result-summary:after{content:"";position:absolute;right:-55px;bottom:-70px;width:180px;height:180px;border-radius:50%;background:rgba(37,216,207,.12)}
.result-price{position:relative;z-index:1;color:#007d78;letter-spacing:-.045em}
.result-badge{position:relative;z-index:1;box-shadow:0 10px 28px rgba(0,170,162,.23)}
.result-local{border-color:var(--line);border-radius:17px;box-shadow:0 8px 24px rgba(5,67,69,.05)}

/* Desktop: ruhige Außenhöhe ohne internen Scroll im häufigsten Ablauf */
@media(min-width:769px){
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form{height:800px}
  .local-estimator[data-estimator-mode="compact"] .estimator-stage{overflow:hidden}
  .local-estimator[data-estimator-mode="compact"] .conditions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .local-estimator[data-estimator-mode="compact"] .condition-card{grid-template-rows:62px auto;min-height:118px;padding:6px;gap:4px}
  .local-estimator[data-estimator-mode="compact"] .condition-visual{height:62px}
  .local-estimator[data-estimator-mode="compact"] .condition-copy{padding:0 2px 2px}
  .local-estimator[data-estimator-mode="compact"] .condition-copy b{font-size:.74rem}
  .local-estimator[data-estimator-mode="compact"] .condition-copy small{font-size:.59rem;line-height:1.15}
  .local-estimator[data-estimator-mode="compact"] .issue-groups{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .local-estimator[data-estimator-mode="compact"] .issue-groups>section{padding:7px}
  .local-estimator[data-estimator-mode="compact"] .issue-groups h3{min-height:2.4em;margin-bottom:6px;font-size:.65rem;line-height:1.2}
  .local-estimator[data-estimator-mode="compact"] .issue-groups .check-grid{grid-template-columns:1fr;gap:5px}
  .local-estimator[data-estimator-mode="compact"] .issue-card{grid-template-columns:17px minmax(0,1fr);min-height:38px;padding:5px 6px;gap:5px}
  .local-estimator[data-estimator-mode="compact"] .issue-card .check-control{width:17px;height:17px;border-radius:5px}
  .local-estimator[data-estimator-mode="compact"] .issue-card b{font-size:.65rem;line-height:1.12}
  .local-estimator[data-estimator-mode="compact"] .issue-card small{display:none}
  .local-estimator[data-estimator-mode="compact"] .details-grid{margin-bottom:8px}
  .local-estimator[data-estimator-mode="compact"] .field{gap:4px;font-size:.77rem}
  .local-estimator[data-estimator-mode="compact"] .field select{min-height:42px}
  .local-estimator[data-estimator-mode="compact"] .security-box{gap:4px;padding:8px 10px}
  .local-estimator[data-estimator-mode="compact"] .security-box label{min-height:27px;font-size:.7rem}
  .local-estimator[data-estimator-mode="compact"] .estimator-result{grid-template-columns:1fr 1fr;gap:8px 10px}
  .local-estimator[data-estimator-mode="compact"] .result-summary{grid-column:1/-1;padding:10px 12px!important}
  .local-estimator[data-estimator-mode="compact"] .result-summary h3{font-size:.9rem}
  .local-estimator[data-estimator-mode="compact"] .result-price{font-size:2.35rem}
  .local-estimator[data-estimator-mode="compact"] .result-summary p:last-child{display:-webkit-box;overflow:hidden;margin-top:3px;font-size:.66rem;line-height:1.3;-webkit-box-orient:vertical;-webkit-line-clamp:3}
  .local-estimator[data-estimator-mode="compact"] .result-badge{flex-basis:42px;width:42px;height:42px}
  .local-estimator[data-estimator-mode="compact"] .result-local{grid-column:1;padding:9px 10px}
  .local-estimator[data-estimator-mode="compact"] .prep-list{grid-column:2;grid-template-columns:1fr;padding:8px 8px 8px 24px;border:1px solid var(--line);border-radius:14px;background:#fff}
  .local-estimator[data-estimator-mode="compact"] .estimator-wide-note{grid-column:1/-1;margin-top:3px}
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form:has(.estimator-result:not([hidden])){grid-template-rows:minmax(0,1fr) auto auto}
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form:has(.estimator-result:not([hidden]))>.estimator-top,
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form:has(.estimator-result:not([hidden]))>.estimator-stepper,
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form:has(.estimator-result:not([hidden]))>.estimator-error{display:none!important}
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form:has(.estimator-result:not([hidden]))>.estimator-stage{display:flex;grid-row:1;align-items:center}
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form:has(.estimator-result:not([hidden])) .estimator-result{width:100%}
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form:has(.estimator-result:not([hidden]))>.estimator-actions{grid-row:2}
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form:has(.estimator-result:not([hidden]))>.estimator-assurance{grid-row:3}
  .local-estimator[data-estimator-mode="full"] .local-estimator-form{height:735px}
}

/* Gerätekategorien und Marken */
.category-grid{gap:clamp(.85rem,1.5vw,1.35rem)}
.category-card{min-height:292px;border:1px solid rgba(8,75,78,.12);border-radius:28px;background:linear-gradient(165deg,#fff 28%,#eaf9f6);box-shadow:var(--shadow-soft)}
.category-card .category-product{height:168px;transition:transform .25s ease}.category-card strong{letter-spacing:-.015em}
.category-card.is-live{background:linear-gradient(155deg,#ddfaf6,#fff 60%)}
.brand-feature-card{min-height:270px;border:1px solid rgba(8,75,78,.12)!important;border-radius:28px!important;background:linear-gradient(145deg,#fff,#edf9f7)!important;box-shadow:var(--shadow-soft)}
.brand-feature-card>img{max-height:245px;transition:transform .25s ease}
.manufacturer-card{border-radius:24px;background:linear-gradient(155deg,#fff,#eefaf8);box-shadow:0 10px 30px rgba(5,67,69,.06)}
.manufacturer-card[href] .manufacturer-glyph{position:relative;border-radius:18px;background:#e3f7f4;font-size:0}
.manufacturer-card[href] .manufacturer-glyph:before{content:"";width:19px;height:34px;border:2px solid #0a6263;border-radius:6px}
.manufacturer-card[href] .manufacturer-glyph:after{content:"";position:absolute;width:4px;height:4px;bottom:7px;border-radius:50%;background:#0a6263}

/* Vier klar verbundene Schritte */
.premium-process .process-steps{gap:1rem}
.premium-process .process-steps:before{top:48px;left:9%;right:9%;height:2px;opacity:.22}
.premium-process .process-steps li{min-height:252px;padding:1.35rem 1.1rem 1.4rem;border-radius:27px;background:linear-gradient(180deg,#fff,#f5fcfa);box-shadow:var(--shadow-soft)}
.premium-process .process-steps li>i{width:62px;height:62px;border:2px solid #72d6ce;border-radius:50%;background:#fff;color:#008f88;box-shadow:0 10px 28px rgba(0,170,162,.13)}
.premium-process .process-steps li>span{top:.85rem;right:.9rem;padding:.25rem .4rem;border-radius:999px;background:var(--mint-100);color:#087d77}
.premium-process .process-steps h3{letter-spacing:-.02em}

/* Standort, Vertrauen, FAQ und Footer */
.city-illustration{min-height:330px;border-radius:25px;background:#eaf9f7 url('/assets/aschaffenburg-johannisburg-main.svg') center/cover no-repeat;box-shadow:inset 0 0 0 1px rgba(8,75,78,.1)}
.city-illustration:before,.city-sun,.city-castle,.city-river{display:none}
.city-illustration small{background:rgba(255,255,255,.92);box-shadow:0 7px 18px rgba(5,67,69,.09)}
.inspection-section{background:linear-gradient(140deg,#06272b,#0b4849)}
.home-faq details{border-color:var(--line);background:rgba(255,255,255,.9);box-shadow:0 7px 22px rgba(5,67,69,.04)}
.home-faq summary{min-height:50px}
.reviews-placeholder,.closing-cta{border-radius:26px}
.premium-footer{border-top:1px solid rgba(145,221,214,.13)}

@media(hover:hover){
  .category-card:hover,.manufacturer-card[href]:hover,.brand-feature-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lift)}
  .category-card:hover .category-product,.brand-feature-card:hover>img{transform:translateY(-3px) scale(1.025)}
}

@media(max-width:1024px){
  .category-card{min-height:265px}
  .category-card .category-product{height:150px}
  .premium-process .process-steps li{min-height:238px}
}

@media(max-width:768px){
  .home-page .home-section,.home-page .process-section,.home-page .reviews-placeholder,.home-page .closing-cta{margin-block:2.6rem}
  .local-estimator-form{border-radius:22px}
  .estimator-stage{overflow:visible}
  .estimator-stepper{gap:4px}
  .estimator-stepper li{min-height:50px;padding:5px 2px}
  .condition-card{min-height:176px}
  .premium-process .process-steps li{min-height:220px}
}

@media(max-width:600px){
  .home-page .category-section,.home-page .path-section,.home-page .popular-section{padding-block:2.6rem}
  .estimator-stepper{gap:3px}
  .estimator-stepper li{min-height:47px;padding:5px 1px;border-radius:11px}
  .estimator-stepper li small{font-size:.5rem}
  .estimator-stepper li>span{width:24px;height:24px}
  .brand-card{min-height:88px!important;border-radius:17px!important}
  .brand-mark{flex-basis:56px!important;width:56px!important;height:56px!important;border-radius:15px!important}
  .brand-mark:before{width:18px;height:32px}.brand-mark:after{font-size:.42rem;bottom:5px}
  .condition-card{min-height:158px;border-radius:15px}.condition-visual{height:80px;border-radius:11px}
  .security-box{padding:10px;border-radius:14px}
  .category-card{min-height:225px;padding:.78rem;border-radius:21px}
  .category-card .category-product{height:128px}
  .premium-process .process-steps li{min-height:0;padding:1.1rem 1rem 1.1rem 5.2rem;border-radius:20px}
  .premium-process .process-steps li>i{width:50px;height:50px}
  .premium-process .process-steps li>span{top:.65rem;right:.75rem}
  .brand-feature-card{grid-template-columns:84px minmax(0,1fr);min-height:210px;padding:.9rem;border-radius:21px!important}
  .city-illustration{min-height:225px;border-radius:20px}
  .reviews-placeholder,.closing-cta{border-radius:20px}
  .local-estimator-form:has(.estimator-result:not([hidden]))>.estimator-actions{display:block}
  .local-estimator-form:has(.estimator-result:not([hidden]))>.estimator-actions .button{width:100%}
}

@media(max-width:390px){
  .local-estimator-form{padding:14px 11px}
  .estimator-stepper li small{font-size:.47rem}
  .condition-card{min-height:152px}
  .category-card{min-height:215px}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .category-card,.manufacturer-card,.brand-feature-card,.category-product,.brand-feature-card>img,.estimator-stepper li{transition:none!important}
}

/* Compact Wizard Premium UX Refinement 3.0 · Variante B: interaktiv & komfortabel */
.local-estimator[data-estimator-mode="compact"]{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;scroll-margin-top:96px}
.local-estimator[data-estimator-mode="compact"] .local-estimator-form{grid-template-rows:auto 6px auto auto minmax(0,1fr) auto auto;gap:10px;padding:18px;border:1px solid rgba(0,170,162,.22);border-radius:24px;background:radial-gradient(circle at 95% 0,rgba(37,216,207,.12),transparent 28%),linear-gradient(155deg,#fff,#effaf8);box-shadow:0 20px 50px rgba(5,67,69,.12)}
.local-estimator[data-estimator-mode="compact"] .estimator-top{align-items:center;gap:16px}.local-estimator[data-estimator-mode="compact"] .estimator-top h2{margin:1px 0 2px;font-size:1.55rem}.local-estimator[data-estimator-mode="compact"] .estimator-top .eyebrow{font-size:.64rem}.local-estimator[data-estimator-mode="compact"] .estimator-top p:not(.eyebrow){font-size:.76rem}
.local-estimator[data-estimator-mode="compact"] .step-count{gap:8px;font-size:.72rem}.local-estimator[data-estimator-mode="compact"] .step-count strong{min-width:50px;padding:6px 9px}
.local-estimator[data-estimator-mode="compact"] .compact-meter{grid-row:2;overflow:hidden;height:6px;border-radius:999px;background:#d7ece9;box-shadow:inset 0 1px 2px rgba(5,67,69,.08)}
.local-estimator[data-estimator-mode="compact"] .compact-meter span{display:block;width:var(--wizard-progress);height:100%;border-radius:inherit;background:linear-gradient(90deg,#008f89,#2dd8ce);box-shadow:0 0 10px rgba(37,216,207,.35);transition:width .24s ease}
.local-estimator[data-estimator-mode="compact"] .estimator-stepper{grid-row:3;gap:6px;padding:0}.local-estimator[data-estimator-mode="compact"] .estimator-stepper li{grid-template-columns:22px auto;justify-content:center;align-items:center;gap:5px;min-height:34px;padding:4px 6px;border:0;border-radius:11px;background:rgba(255,255,255,.7)}.local-estimator[data-estimator-mode="compact"] .estimator-stepper li>span{width:22px;height:22px;font-size:.64rem}.local-estimator[data-estimator-mode="compact"] .estimator-stepper li small{font-size:.6rem;white-space:nowrap}.local-estimator[data-estimator-mode="compact"] .estimator-stepper li.is-active{background:#e5f8f5;box-shadow:inset 0 0 0 1px #b9e6e1,0 5px 14px rgba(0,128,122,.07);transform:none}
.local-estimator[data-estimator-mode="compact"] .estimator-error{grid-row:4}.local-estimator[data-estimator-mode="compact"] .estimator-stage{grid-row:5;padding:2px;overflow:hidden}.local-estimator[data-estimator-mode="compact"] .estimator-actions{grid-row:6}.local-estimator[data-estimator-mode="compact"] .estimator-assurance{grid-row:7;font-size:.67rem}.local-estimator[data-estimator-mode="compact"] .wizard-inquiry-cta{display:none}
.local-estimator[data-estimator-mode="compact"] legend{font-size:1.12rem}.local-estimator[data-estimator-mode="compact"] .step-help{margin:4px 0 9px;font-size:.75rem}
.local-estimator[data-estimator-mode="compact"] .brand-grid{gap:10px}.local-estimator[data-estimator-mode="compact"] .brand-card{min-height:88px!important;padding:11px 13px!important;border-radius:18px!important}.local-estimator[data-estimator-mode="compact"] .brand-mark{flex-basis:54px!important;width:54px!important;height:54px!important;border-radius:15px!important}.local-estimator[data-estimator-mode="compact"] .brand-mark:before{width:18px;height:31px}.local-estimator[data-estimator-mode="compact"] .brand-mark:after{font-size:.41rem;bottom:5px}.local-estimator[data-estimator-mode="compact"] .brand-card b{font-size:.92rem}.local-estimator[data-estimator-mode="compact"] .brand-card small{font-size:.68rem}
.local-estimator[data-estimator-mode="compact"] .model-grid{gap:10px}.local-estimator[data-estimator-mode="compact"] .field{gap:4px;font-size:.74rem}.local-estimator[data-estimator-mode="compact"] .field select{min-height:42px}.local-estimator[data-estimator-mode="compact"] .unlisted-link{margin-top:9px;padding:8px 0;font-size:.74rem}.local-estimator[data-estimator-mode="compact"] .unlisted-contact{margin-top:8px;padding:9px 11px;font-size:.72rem}
.local-estimator[data-estimator-mode="compact"] .conditions{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.local-estimator[data-estimator-mode="compact"] .condition-card{grid-template-rows:68px auto;min-height:126px;padding:6px;gap:4px;border-radius:15px;transition:transform .18s ease,box-shadow .18s ease}.local-estimator[data-estimator-mode="compact"] .condition-card:hover{transform:translateY(-2px)}.local-estimator[data-estimator-mode="compact"] .condition-visual{height:68px;border-radius:10px}.local-estimator[data-estimator-mode="compact"] .condition-copy b{font-size:.7rem}.local-estimator[data-estimator-mode="compact"] .condition-copy small{font-size:.55rem;line-height:1.12}
.local-estimator[data-estimator-mode="compact"] .issue-groups{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.local-estimator[data-estimator-mode="compact"] .issue-groups>section{padding:7px;border-radius:14px}.local-estimator[data-estimator-mode="compact"] .issue-groups h3{min-height:0;margin:0 0 5px;font-size:.62rem}.local-estimator[data-estimator-mode="compact"] .issue-groups .check-grid{grid-template-columns:1fr;gap:4px}.local-estimator[data-estimator-mode="compact"] .issue-card{grid-template-columns:16px minmax(0,1fr);min-height:34px;padding:4px 6px;gap:5px;border-radius:9px}.local-estimator[data-estimator-mode="compact"] .issue-card .check-control{width:16px;height:16px;border-radius:5px}.local-estimator[data-estimator-mode="compact"] .issue-card b{font-size:.61rem}.local-estimator[data-estimator-mode="compact"] .issue-card small{display:none}
.local-estimator[data-estimator-mode="compact"] .details-grid{margin-bottom:7px}.local-estimator[data-estimator-mode="compact"] .security-box{gap:4px;padding:8px 10px;border-radius:14px}.local-estimator[data-estimator-mode="compact"] .security-box h3{font-size:.76rem}.local-estimator[data-estimator-mode="compact"] .security-box label{min-height:26px;padding:4px 6px;font-size:.65rem}
.local-estimator[data-estimator-mode="compact"] .estimator-actions .button{min-height:44px;padding-block:9px;font-size:.78rem}.local-estimator[data-estimator-mode="compact"] .result-summary{padding:11px 13px!important;border-radius:18px!important}.local-estimator[data-estimator-mode="compact"] .result-local{padding:9px 10px;font-size:.7rem}.local-estimator[data-estimator-mode="compact"] .prep-list{font-size:.66rem}
@media(min-width:769px){
  .light-hero .home-hero-inner{min-height:645px;padding-top:2.25rem;padding-bottom:2.25rem;gap:clamp(1.75rem,3.4vw,3.4rem)}
  .home-hero-inner>.local-estimator{min-height:0}
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form{height:595px}
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form:has(.estimator-result:not([hidden]))>.compact-meter{display:none}
}
@media(max-width:768px){
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form{gap:9px;padding:15px;border-radius:20px}
  .local-estimator[data-estimator-mode="compact"] .compact-meter{order:2}.local-estimator[data-estimator-mode="compact"] .estimator-stepper{order:3}.local-estimator[data-estimator-mode="compact"] .estimator-stage{order:5}.local-estimator[data-estimator-mode="compact"] .estimator-actions{order:6}.local-estimator[data-estimator-mode="compact"] .estimator-assurance{order:7}
  .local-estimator[data-estimator-mode="compact"] .conditions{grid-template-columns:repeat(3,minmax(0,1fr))}.local-estimator[data-estimator-mode="compact"] .issue-groups{grid-template-columns:1fr}
}
@media(max-width:520px){
  .local-estimator[data-estimator-mode="compact"] .estimator-top p:not(.eyebrow){display:block;font-size:.68rem}.local-estimator[data-estimator-mode="compact"] .step-count span{display:inline}
  .local-estimator[data-estimator-mode="compact"] .estimator-stepper li{grid-template-columns:20px;gap:0}.local-estimator[data-estimator-mode="compact"] .estimator-stepper li small{display:none}
  .local-estimator[data-estimator-mode="compact"] .conditions{grid-template-columns:repeat(2,minmax(0,1fr))}.local-estimator[data-estimator-mode="compact"] .condition-card{grid-template-rows:82px auto;min-height:149px}.local-estimator[data-estimator-mode="compact"] .condition-visual{height:82px}
}

/* Wizard Premium Final Refinement 3.1 */
.local-estimator[data-estimator-mode="compact"] .local-estimator-form{
  position:relative;
  margin-top:18px;
  border-color:rgba(0,170,162,.24);
  background:radial-gradient(circle at 95% 0,rgba(37,216,207,.13),transparent 29%),linear-gradient(155deg,#fff,#effaf8);
  box-shadow:inset 0 4px 0 #19bfb7,0 20px 50px rgba(5,67,69,.12);
}
.local-estimator[data-estimator-mode="compact"] .local-estimator-form::before{
  content:"ONLINE BEWERTEN";
  position:absolute;
  z-index:3;
  top:0;
  left:22px;
  padding:5px 13px 6px;
  border-radius:0 0 10px 10px;
  background:linear-gradient(135deg,#00a9a1,#28d5cb);
  color:#fff;
  font-size:.58rem;
  font-weight:900;
  letter-spacing:.105em;
  line-height:1;
  box-shadow:0 7px 16px rgba(0,146,139,.18);
  transform:translateY(-1px);
}
.local-estimator[data-estimator-mode="compact"] .estimator-top{padding-top:15px}
.local-estimator[data-estimator-mode="compact"] .compact-meter{height:7px;background:#d5ebe8}
.local-estimator[data-estimator-mode="compact"] .compact-meter span{background:linear-gradient(90deg,#008f88 0%,#00b9ae 55%,#42ddd3 100%);box-shadow:0 0 12px rgba(0,185,174,.4)}
.local-estimator[data-estimator-mode="compact"] .condition-card{grid-template-rows:78px auto;min-height:139px}
.local-estimator[data-estimator-mode="compact"] .condition-visual{height:78px;background:linear-gradient(145deg,#e8f8f6,#fff)}
.local-estimator[data-estimator-mode="compact"] .condition-visual img{filter:contrast(1.035) saturate(1.04);transform:scale(1.04)}
.local-estimator[data-estimator-mode="compact"] .no-known-damage{display:grid;grid-template-columns:18px minmax(0,1fr);width:max-content;max-width:100%;min-height:36px;margin:0 0 7px;padding:5px 10px;border-color:#9fded8;background:#eaf9f7}
.local-estimator[data-estimator-mode="compact"] .no-known-damage .check-control{width:18px;height:18px}
.local-estimator[data-estimator-mode="compact"] .no-known-damage b{font-size:.66rem}.local-estimator[data-estimator-mode="compact"] .no-known-damage small{display:inline;margin-left:6px;font-size:.58rem}
.local-estimator[data-estimator-mode="compact"] .details-grid:has(.part-origin:not([hidden])):not(:has(.s-pen:not([hidden]))){grid-template-columns:repeat(3,minmax(0,1fr))}
.local-estimator[data-estimator-mode="compact"] .security-box{position:relative;z-index:1}
.local-estimator[data-estimator-mode="compact"] .security-box label{min-height:27px}
.local-estimator[data-estimator-mode="compact"] .result-summary{box-shadow:0 13px 32px rgba(0,128,122,.11)!important}
.local-estimator[data-estimator-mode="compact"] .result-price{text-shadow:0 1px 0 rgba(255,255,255,.7)}
@media(min-width:769px){
  .local-estimator[data-estimator-mode="compact"] .no-known-damage{min-height:29px;margin-bottom:4px;padding:3px 8px}
  .local-estimator[data-estimator-mode="compact"] .issue-groups{gap:5px}
  .local-estimator[data-estimator-mode="compact"] .issue-groups>section{padding:4px 5px}
  .local-estimator[data-estimator-mode="compact"] .issue-groups h3{margin-bottom:3px;font-size:.58rem}
  .local-estimator[data-estimator-mode="compact"] .issue-groups .check-grid{gap:2px}
  .local-estimator[data-estimator-mode="compact"] .issue-card{min-height:27px;padding:2px 5px}
  .local-estimator[data-estimator-mode="compact"] .estimator-result[data-status="individual"] .result-price{font-size:1.85rem;line-height:.92}
  .local-estimator[data-estimator-mode="compact"] .estimator-result[data-status="individual"] .result-summary{padding-block:8px!important}
}
@media(max-width:768px){
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form{margin-top:15px}
  .local-estimator[data-estimator-mode="compact"] .estimator-top{padding-top:13px}
  .local-estimator[data-estimator-mode="compact"] .estimator-top>div:first-child>p:last-child{display:block;font-size:.68rem}
  .local-estimator[data-estimator-mode="compact"] .condition-card{grid-template-rows:88px auto;min-height:154px}
  .local-estimator[data-estimator-mode="compact"] .condition-visual{height:88px}
  .local-estimator[data-estimator-mode="compact"] .details-grid:has(.part-origin:not([hidden])):not(:has(.s-pen:not([hidden]))){grid-template-columns:1fr}
}
@media(max-width:520px){
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form::before{left:14px;padding-inline:10px}
  .local-estimator[data-estimator-mode="compact"] .estimator-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .local-estimator[data-estimator-mode="compact"] .estimator-top>div:first-child{min-width:0}
  .local-estimator[data-estimator-mode="compact"] .step-count{gap:4px;font-size:.66rem}
  .local-estimator[data-estimator-mode="compact"] .no-known-damage{width:100%}
  .local-estimator[data-estimator-mode="compact"] .no-known-damage small{display:block;margin:2px 0 0}
}

/* Wizard 3.2: Zustandsvergleich und Premium-Ergebnis */
.local-estimator{scroll-margin-top:96px}
.condition-card{position:relative;isolation:isolate;overflow:hidden}
.condition-card .condition-choice{display:contents;cursor:pointer}
.condition-card .condition-choice>input{position:absolute;opacity:0;pointer-events:none}
.condition-card .condition-visual{border:1px solid #c9e8e4;background:linear-gradient(145deg,#dff7f4,#fff)}
.condition-card .condition-visual img{width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;transform:none!important;filter:contrast(1.04) saturate(1.03)}
.condition-card .condition-copy{min-height:0!important;padding:3px 5px 4px!important;background:transparent!important;border:0!important}
.condition-card .condition-choice>input:focus-visible+.condition-visual{outline:3px solid #ffbf47;outline-offset:2px}
.condition-card:has(.condition-choice>input:checked){border-color:#00aaa2;box-shadow:0 0 0 3px rgba(0,170,162,.13),0 14px 28px rgba(5,86,85,.12)}
.condition-card:has(.condition-choice>input:checked) .condition-visual{border-color:#00aaa2}
.condition-detail-trigger{position:absolute;z-index:3;top:11px;right:11px;display:flex;align-items:center;gap:4px;min-height:28px;padding:4px 8px;border:1px solid rgba(0,97,93,.22);border-radius:999px;background:rgba(255,255,255,.93);box-shadow:0 4px 12px rgba(3,62,61,.12);color:#075a57;font:700 .64rem/1 inherit;cursor:pointer;backdrop-filter:blur(8px)}
.condition-detail-trigger:hover{border-color:#00aaa2;color:#007f79;transform:translateY(-1px)}
.condition-detail-trigger:focus-visible{outline:3px solid #ffbf47;outline-offset:2px}
.condition-dialog{width:min(880px,calc(100vw - 30px));max-height:min(820px,calc(100dvh - 30px));padding:0;overflow:hidden;border:1px solid #9fdcd6;border-radius:26px;background:#fff;box-shadow:0 28px 80px rgba(3,43,45,.28);color:#07181b}
.condition-dialog::backdrop{background:rgba(4,28,31,.68);backdrop-filter:blur(4px)}
.condition-dialog[open]{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(250px,.92fr)}
.condition-dialog-media{min-height:560px;background:linear-gradient(145deg,#dff8f5,#f8fcfb)}
.condition-dialog-media img{display:block;width:100%;height:100%;max-height:760px;object-fit:contain}
.condition-dialog-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(24px,4vw,48px)}
.condition-dialog-copy h3{margin:5px 0 8px;font-size:clamp(1.65rem,3vw,2.6rem);line-height:1.05}
.condition-dialog-copy>p:not(.eyebrow){margin:0 0 18px;color:#425e61;font-size:1.02rem;line-height:1.55}
.condition-dialog-copy small{padding-top:18px;border-top:1px solid #d7e9e7;color:#617477;line-height:1.5}
.condition-dialog-close{position:absolute;z-index:4;top:14px;right:14px;display:grid;width:42px;height:42px;place-items:center;border:1px solid #b8dcd8;border-radius:50%;background:#fff;color:#123638;font:400 1.8rem/1 inherit;cursor:pointer;box-shadow:0 5px 18px rgba(5,73,72,.16)}
.condition-dialog-close:focus-visible{outline:3px solid #ffbf47;outline-offset:2px}

.estimator-result{gap:11px}
.estimator-result .result-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:clamp(18px,2.5vw,30px)!important;border:1px solid #9dded8!important;border-radius:24px!important;background:radial-gradient(circle at 91% 16%,rgba(42,220,208,.2),transparent 31%),linear-gradient(135deg,#fff 8%,#e6faf7 100%)!important;box-shadow:0 18px 44px rgba(0,128,122,.13)!important}
.result-heading{min-width:0}
.result-device{margin:0 0 8px;color:#164d4c;font-size:clamp(.76rem,1.4vw,.92rem);font-weight:800;letter-spacing:.02em}
.result-summary .eyebrow{margin:0;color:#087a75}
.result-summary .result-price{display:block;margin:7px 0 8px;color:#008f88;font-size:clamp(3.8rem,7vw,6.2rem);font-weight:950;line-height:.86;letter-spacing:-.065em;text-shadow:0 2px 0 rgba(255,255,255,.85)}
.estimator-result[data-status="individual"] .result-price,.estimator-result[data-status="blocked"] .result-price{max-width:700px;font-size:clamp(2.15rem,4.8vw,4.1rem);line-height:.96;letter-spacing:-.045em}
.result-message{max-width:760px;margin:0!important;color:#35575a!important;font-size:clamp(.78rem,1.3vw,.94rem)!important;line-height:1.45!important}
.result-disclaimer{margin:7px 0 0!important;color:#607477!important;font-size:.72rem!important;font-weight:650;line-height:1.4!important}
.result-badge{display:grid;flex:0 0 54px;height:54px;place-items:center;border-radius:50%;background:linear-gradient(135deg,#009d96,#29d9cf);box-shadow:0 12px 24px rgba(0,157,150,.24);color:#fff;font-size:1.35rem}
.result-contact-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(220px,.65fr);gap:11px}
.result-local{display:grid;gap:3px;margin:0;padding:14px 16px;border:1px solid #cae5e2;border-radius:17px;background:#fff;font-size:.78rem}
.result-local .eyebrow{margin:0 0 2px;color:#008f88;font-size:.65rem}
.result-local>strong{font-size:.94rem}
.result-local>span{color:#597174}
.result-map-actions{display:flex!important;flex-wrap:wrap;gap:7px!important;margin-top:8px!important}
.result-map-actions .button{min-height:38px;padding:8px 11px!important;font-size:.68rem!important}
.result-map-actions .button-secondary{border:1px solid #8fd3ce;background:#fff;color:#076d68}
.result-map-actions .button-primary{border:1px solid #073f42;background:#073f42;color:#fff}
.result-phone{display:flex;align-items:center;gap:13px;padding:16px;border:1px solid #aee0dc;border-radius:17px;background:linear-gradient(145deg,#e8faf8,#fff);color:#073b3d;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}
.result-phone:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(0,128,122,.12)}
.result-phone:focus-visible{outline:3px solid #ffbf47;outline-offset:2px}
.result-phone svg{width:34px;height:34px;flex:0 0 34px;padding:7px;border-radius:11px;background:#00aaa2;color:#fff;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.result-phone span{display:grid;gap:2px;min-width:0}
.result-phone small{color:#517174;font-size:.67rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.result-phone strong{font-size:clamp(1.08rem,2vw,1.42rem);line-height:1.1;white-space:nowrap}
.prep-section{display:grid;grid-template-columns:minmax(170px,.42fr) minmax(0,1.58fr);gap:12px;align-items:start;padding:13px 15px;border:1px solid #d0e8e5;border-radius:17px;background:linear-gradient(135deg,#f8fdfc,#effaf8)}
.prep-section>.eyebrow,.prep-section>div>.eyebrow{margin:0;color:#008f88;font-size:.64rem}
.prep-section h4{margin:3px 0 0;font-size:1rem;line-height:1.2}
.prep-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0!important;padding:0!important;list-style:none;color:#405c5f;font-size:.7rem}
.prep-list li{display:flex;gap:8px;align-items:flex-start;min-width:0;padding:8px 9px;border:1px solid #d7e9e7;border-radius:12px;background:rgba(255,255,255,.9)}
.prep-list li>span:last-child{display:grid;gap:2px;min-width:0}
.prep-list strong{color:#173e40;font-size:.72rem}
.prep-list small{color:#607477;font-size:.64rem;line-height:1.3}
.prep-icon{display:grid;flex:0 0 26px;width:26px;height:26px;place-items:center;border-radius:9px;background:#def6f3;color:#008f88}
.prep-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

@media (min-width:769px){
  .local-estimator[data-estimator-mode="compact"] .condition-card{grid-template-rows:118px auto;min-height:184px}
  .local-estimator[data-estimator-mode="compact"] .condition-visual{height:118px}
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form:has(.estimator-result:not([hidden])){height:auto!important;min-height:620px}
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form:has(.estimator-result:not([hidden])) .estimator-stage{overflow:visible;align-items:flex-start}
  .local-estimator[data-estimator-mode="compact"] .estimator-result{display:grid;grid-template-columns:1fr;gap:9px}
  .local-estimator[data-estimator-mode="compact"] .result-summary{grid-column:auto;padding:15px 17px!important}
  .local-estimator[data-estimator-mode="compact"] .result-summary .result-price{font-size:clamp(3.6rem,5.8vw,5.3rem)}
  .local-estimator[data-estimator-mode="compact"] .result-message{font-size:.76rem!important}
  .local-estimator[data-estimator-mode="compact"] .result-contact-grid{grid-template-columns:minmax(0,1.28fr) minmax(220px,.72fr)}
  .local-estimator[data-estimator-mode="compact"] .prep-section{grid-template-columns:minmax(150px,.38fr) minmax(0,1.62fr)}
}

@media (max-width:768px){
  .local-estimator[data-estimator-mode="compact"] .condition-card{grid-template-rows:132px auto;min-height:198px}
  .local-estimator[data-estimator-mode="compact"] .condition-visual{height:132px}
  .condition-dialog[open]{grid-template-columns:1fr;overflow:auto}
  .condition-dialog-media{min-height:0;height:min(58vh,560px)}
  .condition-dialog-copy{padding:22px}
  .result-contact-grid,.prep-section{grid-template-columns:1fr}
  .result-summary .result-price{font-size:clamp(3.5rem,15vw,5.25rem)}
  .estimator-result[data-status="individual"] .result-price,.estimator-result[data-status="blocked"] .result-price{font-size:clamp(2rem,9vw,3.4rem)}
}

@media (max-width:520px){
  .local-estimator{scroll-margin-top:82px}
  .local-estimator[data-estimator-mode="compact"] .condition-card{grid-template-rows:124px auto;min-height:190px}
  .local-estimator[data-estimator-mode="compact"] .condition-visual{height:124px}
  .condition-detail-trigger{top:8px;right:8px;padding:4px 7px;font-size:.6rem}
  .condition-dialog{width:calc(100vw - 18px);max-height:calc(100dvh - 18px);border-radius:20px}
  .condition-dialog-media{height:min(55vh,470px)}
  .condition-dialog-copy{padding:18px}
  .condition-dialog-close{top:10px;right:10px;width:38px;height:38px}
  .estimator-result .result-summary{padding:16px!important}
  .result-badge{display:none}
  .result-device{font-size:.72rem}
  .result-message{font-size:.76rem!important}
  .result-disclaimer{font-size:.66rem!important}
  .result-map-actions{display:grid!important;grid-template-columns:1fr}
  .result-map-actions .button{width:100%;text-align:center}
  .result-phone{padding:14px}
  .prep-list{grid-template-columns:1fr}
}

/* Wizard 3.4: finaler Hersteller-, Funktions- und Bearbeitungsfluss */
.wizard-34 .estimator-top .eyebrow{letter-spacing:.12em}
.wizard-34 .compact-meter{height:8px;border-radius:999px;background:#d9efec;box-shadow:inset 0 1px 2px rgba(5,77,75,.09)}
.wizard-34 .compact-meter>span{height:100%;border-radius:inherit;background:linear-gradient(90deg,#00a79f,#21d2c6);box-shadow:0 2px 8px rgba(0,167,159,.26)}
.wizard-34 .brand-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.wizard-34 .brand-card-34{min-width:0;min-height:112px;padding:11px 8px;grid-template-columns:42px minmax(0,1fr);gap:8px}
.wizard-34 .brand-card-34>span:nth-of-type(2){min-width:0}
.wizard-34 .brand-card-34 b{font-size:.78rem}
.wizard-34 .brand-card-34 small{font-size:.58rem;line-height:1.25}
.brand-device{display:grid;width:40px;height:48px;place-items:center;border-radius:13px;background:linear-gradient(145deg,#fff,#dff7f4);color:#008f88;box-shadow:inset 0 0 0 1px #b9e5e0}
.brand-device svg{width:24px;height:32px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.brand-device.apple{color:#223437}.brand-device.samsung{color:#1644a2}.brand-device.pixel{color:#2c7a67}.brand-device.xiaomi{color:#e46922}.brand-device.other{color:#486467}
.individual-device[hidden],.color-picker[hidden]{display:none!important}
.individual-device{align-items:end}
.individual-device>p{grid-column:1/-1;margin:0;padding:9px 11px;border:1px solid #bfe4df;border-radius:12px;background:#effaf8;color:#365d5f;font-size:.7rem;line-height:1.4}
.color-picker{margin:10px 0 0!important;padding:0!important;border:0!important}
.color-picker>legend{margin-bottom:7px!important;font-size:.74rem!important;font-weight:800!important}
.color-picker>legend small{color:#637779;font-size:.62rem;font-weight:650}
.color-picker>[data-color-options]{display:flex;flex-wrap:wrap;gap:6px}
.color-option{position:relative;display:flex;align-items:center;gap:6px;min-height:34px;padding:5px 9px;border:1px solid #c7dfdc;border-radius:999px;background:#fff;color:#23494b;font-size:.65rem;font-weight:750;cursor:pointer}
.color-option input{position:absolute;opacity:0;pointer-events:none}
.color-option:has(input:checked){border-color:#00a79f;box-shadow:0 0 0 2px rgba(0,167,159,.14);background:#effbf9}
.color-option:has(input:focus-visible){outline:3px solid #ffbf47;outline-offset:2px}
.color-swatch{display:block;width:18px;height:18px;border:1px solid rgba(0,0,0,.16);border-radius:50%;background:var(--swatch);box-shadow:inset 0 1px 2px rgba(255,255,255,.6)}
.color-picker>[data-color-note]{margin:6px 0 0;color:#687b7d;font-size:.59rem}
.function-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:7px}
.function-toolbar .step-help{margin:0}
.function-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.function-card{display:grid!important;grid-template-columns:1fr 1fr;gap:5px;min-width:0;margin:0!important;padding:8px!important;border:1px solid #c9e4e1!important;border-radius:13px!important;background:#fff}
.function-card>legend{grid-column:1/-1;display:flex;align-items:center;gap:6px;width:100%;margin:0 0 3px!important;padding:0!important;color:#173f41;font-size:.67rem!important;font-weight:800!important;line-height:1.2}
.function-card>legend>span{display:grid;width:24px;height:24px;place-items:center;border-radius:8px;background:#e4f8f5;font-size:.78rem}
.function-card label{position:relative;display:block;min-width:0;cursor:pointer}
.function-card input{position:absolute;opacity:0;pointer-events:none}
.function-card label span{display:block;padding:5px 7px;border:1px solid #d7e8e6;border-radius:8px;background:#f9fcfb;color:#50686a;text-align:center;font-size:.62rem;font-weight:800}
.function-card label:has(input:checked) span{border-color:#00a79f;background:#dff8f4;color:#006d68;box-shadow:0 0 0 1px rgba(0,167,159,.12)}
.function-card label:has(input:focus-visible) span{outline:3px solid #ffbf47;outline-offset:2px}
.extra-problems{margin-top:8px;padding:7px 9px;border:1px solid #d2e6e3;border-radius:12px;background:#f9fcfb}
.extra-problems>summary{cursor:pointer;color:#075e5a;font-size:.7rem;font-weight:850}
.extra-problems>p{margin:5px 0;color:#66797b;font-size:.6rem}
.extra-problems .check-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.extra-problems .issue-card{min-height:40px;padding:5px 6px}
.extra-problems .issue-card b{font-size:.62rem}.extra-problems .issue-card small{font-size:.55rem}
.wizard-34 .result-device-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:7px;align-items:stretch;margin-top:9px}
.wizard-34 .result-device-summary>span{display:grid;gap:2px;padding:7px 9px;border:1px solid #c9e5e2;border-radius:10px;background:rgba(255,255,255,.72);color:#435f61;font-size:.61rem;line-height:1.3}
.wizard-34 .result-device-summary b{color:#0e5553;font-size:.58rem;text-transform:uppercase;letter-spacing:.06em}
.wizard-34 .result-device-summary .text-link{align-self:center;min-height:36px;padding:6px 9px;white-space:nowrap}
.summary-dialog{width:min(460px,100vw);height:100dvh;max-height:100dvh;margin:0 0 0 auto;padding:28px 24px;border:0;border-left:1px solid #9bd8d3;border-radius:24px 0 0 24px;background:#f9fdfc;box-shadow:-22px 0 60px rgba(3,43,45,.24);color:#092c2e}
.summary-dialog::backdrop{background:rgba(4,28,31,.54);backdrop-filter:blur(3px)}
.summary-dialog[open]{display:block}
.summary-dialog>.eyebrow{margin:0;color:#008f88}.summary-dialog>h3{margin:5px 0 18px;font-size:1.6rem}
.summary-dialog-close{position:absolute;top:16px;right:16px;display:grid;width:38px;height:38px;place-items:center;border:1px solid #b9deda;border-radius:50%;background:#fff;color:#17484a;font-size:1.55rem;cursor:pointer}
.summary-dialog [data-summary-content]{display:grid;gap:9px}
.summary-dialog [data-summary-content]>section{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid #d0e6e3;border-radius:14px;background:#fff}
.summary-dialog [data-summary-content] strong{font-size:.75rem}.summary-dialog [data-summary-content] p{margin:3px 0 0;color:#526d6f;font-size:.68rem;line-height:1.4}
.summary-dialog .text-link{min-height:34px}
@media(min-width:769px){
  .wizard-34 .conditions{gap:7px}
  .wizard-34 .details-grid:has(.part-origin:not([hidden])){grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1100px){.wizard-34 .brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.function-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:768px){
  .wizard-34 .brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wizard-34 .brand-card-34{min-height:94px}
  .function-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .extra-problems .check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wizard-34 .result-device-summary{grid-template-columns:1fr 1fr}.wizard-34 .result-device-summary .text-link{grid-column:1/-1}
  .summary-dialog{width:min(100vw,560px);height:auto;max-height:88dvh;margin:auto 0 0;border-left:0;border-top:1px solid #9bd8d3;border-radius:22px 22px 0 0;padding:24px 18px;overflow:auto}
}
@media(max-width:520px){
  .wizard-34 .brand-grid{grid-template-columns:1fr 1fr;gap:6px}.wizard-34 .brand-card-34{grid-template-columns:34px minmax(0,1fr);min-height:82px;padding:8px 7px}.brand-device{width:32px;height:40px}.brand-device svg{width:20px;height:28px}
  .wizard-34 .brand-card-34:last-child{grid-column:1/-1}.function-grid{gap:6px}.function-card{padding:6px!important}.function-card>legend{font-size:.6rem!important}.function-card>legend>span{display:none}.function-card label span{padding:5px 4px;font-size:.59rem}
  .function-toolbar{align-items:flex-start}.function-toolbar .text-link{flex:0 0 auto;font-size:.61rem}
  .extra-problems .check-grid{grid-template-columns:1fr 1fr}
  .wizard-34 .result-device-summary{grid-template-columns:1fr}.wizard-34 .result-device-summary .text-link{grid-column:auto}
}

/* Wizard 3.3: kompakte Bildlupe und Ergebnisansicht */
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.condition-detail-trigger{top:8px;right:auto;left:8px;width:36px;height:36px;min-height:36px;padding:0;justify-content:center;border-color:rgba(0,97,93,.24);background:rgba(255,255,255,.9)}
.condition-detail-trigger svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.condition-detail-trigger:hover{background:#fff;box-shadow:0 7px 18px rgba(3,62,61,.16)}

.estimator-result{display:grid;gap:8px}
.estimator-result .result-summary{min-height:0;padding:15px 18px!important;border-radius:20px!important;box-shadow:0 12px 30px rgba(0,128,122,.11)!important}
.result-device{margin-bottom:4px;font-size:.76rem}
.result-summary .eyebrow{font-size:.64rem}
.result-summary .result-price{margin:4px 0 7px;font-size:clamp(3.25rem,6vw,5rem);line-height:.88}
.estimator-result[data-status="individual"] .result-price,.estimator-result[data-status="blocked"] .result-price{font-size:clamp(1.9rem,4vw,3.15rem);line-height:1}
.result-note{max-width:780px;margin:0!important;color:#4d686b!important;font-size:.72rem!important;line-height:1.38!important}
.local-estimator[data-estimator-mode="compact"] .result-summary .result-note{display:block!important;overflow:visible!important;white-space:normal!important;-webkit-box-orient:initial!important;-webkit-line-clamp:none!important}
.result-badge{flex-basis:44px;width:44px;height:44px;font-size:1.08rem}
.result-contact{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(205px,.65fr);grid-template-areas:"address phone" "actions actions";gap:8px 12px;align-items:center;padding:11px 13px;border:1px solid #cae5e2;border-radius:16px;background:#fff}
.result-address{grid-area:address;display:grid;gap:2px;min-width:0}
.result-address .eyebrow{margin:0;color:#008f88;font-size:.62rem}
.result-address strong{font-size:.83rem;line-height:1.25}
.result-address span{color:#597174;font-size:.7rem}
.result-contact .result-phone{grid-area:phone;gap:9px;padding:7px 9px;border:0;border-left:1px solid #d5e9e7;border-radius:0;background:transparent;box-shadow:none}
.result-contact .result-phone:hover{transform:none;color:#007f79;box-shadow:none}
.result-contact .result-phone svg{width:30px;height:30px;flex-basis:30px;padding:6px;border-radius:9px}
.result-contact .result-phone small{font-size:.57rem}
.result-contact .result-phone strong{font-size:1.04rem}
.result-contact .result-map-actions{grid-area:actions;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important;margin:1px 0 0!important}
.result-contact .result-map-actions .button{min-height:34px;padding:7px 10px!important;font-size:.65rem!important}
.prep-section{display:grid;grid-template-columns:minmax(145px,.34fr) minmax(0,1.66fr);gap:9px;align-items:center;padding:10px 12px;border-radius:16px}
.prep-heading .eyebrow{margin:0;color:#008f88;font-size:.6rem}
.prep-heading h4{margin:2px 0 0;font-size:.9rem;line-height:1.15}
.prep-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.local-estimator[data-estimator-mode="compact"] .prep-section{grid-template-columns:1fr}
.local-estimator[data-estimator-mode="compact"] .prep-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.local-estimator[data-estimator-mode="compact"] .prep-list{grid-column:auto;grid-template-columns:repeat(2,minmax(0,1fr));padding:0;border:0;border-radius:0;background:transparent}
.prep-list li{align-items:center;min-height:48px;padding:6px 8px;border-radius:11px}
.prep-list details{min-width:0}
.prep-list summary{position:relative;display:block!important;width:auto!important;min-height:0;padding:0 16px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#173e40;font-size:.68rem;font-weight:800;line-height:1.2;cursor:pointer;list-style:none}
.prep-list summary::-webkit-details-marker{display:none}
.prep-list summary:after{content:"+";position:absolute;right:0;top:-1px;color:#008f88;font-size:.85rem}
.prep-list details[open] summary:after{content:"−"}
.prep-list details p{margin:4px 0 0;color:#607477;font-size:.61rem;line-height:1.3}
.prep-list summary:focus-visible{outline:2px solid #ffbf47;outline-offset:2px;border-radius:3px}
.prep-icon{flex-basis:24px;width:24px;height:24px;border-radius:8px}
.prep-icon svg{width:14px;height:14px}

@media (min-width:769px){
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form:has(.estimator-result:not([hidden])){height:auto!important;min-height:0!important;padding:14px 16px}
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form:has(.estimator-result:not([hidden]))>.estimator-stage{display:block;overflow:visible}
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form:has(.estimator-result:not([hidden]))>.estimator-actions{margin-top:1px}
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form:has(.estimator-result:not([hidden]))>.estimator-assurance{display:none}
}

@media (max-width:768px){
  .local-estimator-form:has(.estimator-result:not([hidden]))>.estimator-assurance{display:none}
  .result-contact{grid-template-columns:1fr;grid-template-areas:"address" "phone" "actions";align-items:stretch}
  .result-contact .result-phone{border-left:0;border-top:1px solid #d5e9e7;padding:8px 0 0}
  .prep-section{grid-template-columns:1fr}
  .prep-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:520px){
  .condition-detail-trigger{top:7px;left:7px;width:34px;height:34px;min-height:34px;padding:0}
  .estimator-result .result-summary{padding:13px 14px!important}
  .result-summary .result-price{font-size:clamp(3rem,15vw,4.5rem)}
  .estimator-result[data-status="individual"] .result-price,.estimator-result[data-status="blocked"] .result-price{font-size:clamp(1.75rem,8vw,2.65rem)}
  .result-contact{padding:10px 11px}
  .result-contact .result-map-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .result-contact .result-map-actions .button{width:auto}
  .prep-section{padding:9px 10px}
  .prep-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .local-estimator[data-estimator-mode="compact"] .prep-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .prep-list li{align-items:flex-start;min-height:54px;padding:6px}
  .prep-icon{display:none}
  .prep-list summary{font-size:.64rem}
  .prep-list details p{font-size:.59rem}
}

/* Wizard 3.4 final polish: kompakte Karte ohne gequetschte Inhalte */
.local-estimator[data-estimator-mode="compact"] .wizard-34 .brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.wizard-34 .function-toolbar [data-all-functions],
.wizard-34 .result-device-summary .text-link{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 11px;border:1px solid #79cec7;border-radius:999px;background:#fff;color:#006d68;font:800 .65rem/1.2 inherit;text-decoration:none;box-shadow:0 5px 14px rgba(0,135,128,.08);cursor:pointer}
.wizard-34 .function-toolbar [data-all-functions]:hover,
.wizard-34 .result-device-summary .text-link:hover{border-color:#00a79f;background:#e9faf7}
.wizard-34 .function-toolbar [data-all-functions]:focus-visible,
.wizard-34 .result-device-summary .text-link:focus-visible{outline:3px solid #ffbf47;outline-offset:2px}
.local-estimator[data-estimator-mode="compact"] .wizard-34 .result-device-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
.local-estimator[data-estimator-mode="compact"] .wizard-34 .result-device-summary .text-link{grid-column:1/-1}
@media(max-width:768px){.local-estimator[data-estimator-mode="compact"] .wizard-34 .brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.local-estimator[data-estimator-mode="compact"] .wizard-34 .brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.local-estimator[data-estimator-mode="compact"] .wizard-34 .brand-card-34:last-child{grid-column:1/-1}}

/* Wizard 3.5: Premium Layout Refinement */
.local-estimator .wizard-35,
.local-estimator[data-estimator-mode="compact"] .wizard-35,
.local-estimator[data-estimator-mode="full"] .wizard-35{height:auto!important;min-height:595px}
.local-estimator .wizard-35>.estimator-stage{overflow:visible!important}
.wizard-35 .brand-grid,
.local-estimator[data-estimator-mode="compact"] .wizard-35 .brand-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.wizard-35 .brand-card-34{grid-template-columns:52px minmax(0,1fr);min-height:104px;padding:12px;gap:10px;border-color:#c7e3df;background:linear-gradient(145deg,#fff 12%,#effaf8)}
.wizard-35 .brand-card-34:hover{transform:translateY(-2px);border-color:#7bcfc7;box-shadow:0 12px 24px rgba(4,91,88,.1)}
.wizard-35 .brand-card-34:has(input:checked){border-color:#00aaa2;background:linear-gradient(145deg,#fff,#e0f8f4);box-shadow:0 0 0 3px rgba(0,170,162,.12),0 13px 26px rgba(4,91,88,.12)}
.wizard-35 .brand-card-34 b{font-size:.82rem;line-height:1.14}
.wizard-35 .brand-card-34 small{margin-top:4px;font-size:.61rem;line-height:1.28}
.wizard-35 .brand-device{width:50px;height:58px;border-radius:16px;background:linear-gradient(145deg,#fff,#dbf5f1);box-shadow:inset 0 0 0 1px #b6dfda,0 7px 16px rgba(8,103,99,.08)}
.wizard-35 .brand-device svg{width:34px;height:42px;stroke-width:1.8}
.wizard-35 .brand-device.ipad{color:#355d60}.wizard-35 .brand-device.other{color:#526f72}

@media(min-width:769px){
  .wizard-35 .conditions,.local-estimator[data-estimator-mode="compact"] .wizard-35 .conditions,.local-estimator[data-estimator-mode="full"] .wizard-35 .conditions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
  .wizard-35 .conditions>.condition-card{grid-column:span 2;grid-template-rows:112px auto;min-height:178px}
  .wizard-35 .conditions>.condition-card:nth-last-child(2){grid-column:2/span 2}
  .wizard-35 .conditions>.condition-card:last-child{grid-column:4/span 2}
  .wizard-35 .condition-visual{height:112px}
}
.wizard-35 .condition-card{border-color:#c8e3df;background:linear-gradient(180deg,#fff,#f3fbfa)}
.wizard-35 .condition-card:has(input:checked){border-color:#00aaa2;box-shadow:0 0 0 3px rgba(0,170,162,.14),0 13px 25px rgba(4,91,88,.11)}
.wizard-35 .condition-card:has(input:checked) .selected-tick{display:grid!important;background:#169b62;color:#fff;box-shadow:0 5px 14px rgba(22,155,98,.24)}
.wizard-35 .condition-detail-trigger{top:7px;left:7px;width:32px;height:32px;min-height:32px;background:rgba(255,255,255,.92)}
.wizard-35 .condition-detail-trigger svg{width:16px;height:16px}

.wizard-35 .function-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.wizard-35 .function-card{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) 92px;gap:6px;align-items:center;min-height:62px;padding:9px 8px!important;border-color:#c8e3df!important;border-radius:14px!important;background:linear-gradient(145deg,#fff,#f5fbfa)}
.wizard-35 .function-card[hidden]{display:none!important}
.wizard-35 .function-copy{display:grid;grid-template-columns:28px minmax(0,1fr) 20px;gap:4px;align-items:center;min-width:0}
.wizard-35 .function-icon{display:grid;width:28px;height:28px;place-items:center;border-radius:9px;background:#e1f7f3;color:#007c76}
.wizard-35 .function-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wizard-35 .function-label{min-width:0;color:#173f41;font-size:.63rem;font-weight:820;line-height:1.12;overflow-wrap:anywhere}
.wizard-35 .function-help{position:relative}
.wizard-35 .function-help>summary{display:grid;width:20px;height:20px;place-items:center;border:1px solid #a8d8d3;border-radius:50%;background:#fff;color:#007c76;font-size:.63rem;font-weight:900;cursor:pointer;list-style:none}
.wizard-35 .function-help>summary::-webkit-details-marker{display:none}
.wizard-35 .function-help>summary:focus-visible{outline:3px solid #ffbf47;outline-offset:2px}
.wizard-35 .function-help>p{position:absolute;z-index:8;top:28px;right:0;width:230px;margin:0;padding:9px 10px;border:1px solid #b9deda;border-radius:11px;background:#fff;color:#405f61;font-size:.63rem;line-height:1.35;box-shadow:0 12px 28px rgba(3,54,55,.18)}
.wizard-35 .function-choice{display:grid;grid-template-columns:repeat(2,44px);gap:4px}
.wizard-35 .function-card label{position:relative;display:block;cursor:pointer}
.wizard-35 .function-card input{position:absolute;opacity:0;pointer-events:none}
.wizard-35 .function-card label span{display:grid;min-height:34px;place-items:center;padding:6px 8px;border:1px solid #cfe3e0;border-radius:9px;background:#fff;color:#526a6c;font-size:.65rem;font-weight:850}
.wizard-35 .function-card label:has(input:checked) span{border-color:#00a79f;background:#dcf7f3;color:#006c67;box-shadow:0 0 0 1px rgba(0,167,159,.12)}
.wizard-35 .function-card label:has(input:focus-visible) span{outline:3px solid #ffbf47;outline-offset:2px}
.wizard-35 .result-device-summary{display:block;margin-top:8px}
.local-estimator[data-estimator-mode="compact"] .wizard-35 .result-device-summary{display:block}
.wizard-35 .result-device-summary .text-link,
.local-estimator[data-estimator-mode="compact"] .wizard-35 .result-device-summary .text-link{display:inline-flex;min-height:34px;padding:6px 13px}

@media(max-width:768px){
  .wizard-35 .brand-grid,.local-estimator[data-estimator-mode="compact"] .wizard-35 .brand-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .wizard-35 .brand-card-34{min-height:92px;padding:9px;grid-template-columns:42px minmax(0,1fr)}
  .wizard-35 .brand-device{width:40px;height:48px}.wizard-35 .brand-device svg{width:28px;height:35px}
  .wizard-35 .conditions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .wizard-35 .conditions>.condition-card:last-child{grid-column:1/-1;width:calc(50% - 4px);justify-self:center}
  .wizard-35 .function-grid{grid-template-columns:1fr}
  .wizard-35 .function-card{min-height:58px}
}
@media(max-width:430px){
  .wizard-35 .brand-card-34:last-child,.local-estimator[data-estimator-mode="compact"] .wizard-35 .brand-card-34:last-child{grid-column:auto}
  .wizard-35 .brand-card-34{min-height:88px;grid-template-columns:36px minmax(0,1fr);padding:8px 7px;gap:7px}
  .wizard-35 .brand-device{width:36px;height:43px;border-radius:12px}.wizard-35 .brand-device svg{width:25px;height:32px}
  .wizard-35 .brand-card-34 b{font-size:.72rem}.wizard-35 .brand-card-34 small{font-size:.56rem}
  .wizard-35 .function-card{grid-template-columns:minmax(0,1fr) 92px;padding:8px!important}
  .wizard-35 .function-copy{grid-template-columns:29px minmax(0,1fr) 22px;gap:6px}
  .wizard-35 .function-icon{width:29px;height:29px}.wizard-35 .function-icon svg{width:17px;height:17px}
  .wizard-35 .function-label{font-size:.66rem}
  .wizard-35 .function-choice{grid-template-columns:repeat(2,45px)}
  .wizard-35 .function-help>p{right:-102px;width:218px}
}

/* Wizard 3.6: einheitliche Desktop-Höhe, lineare Technikprüfung und direkte Navigation */
.wizard-36 .estimator-stepper li{padding:0!important;overflow:hidden}
.wizard-36 .estimator-stepper li>button{display:grid;width:100%;height:100%;min-height:34px;grid-template-columns:22px auto;justify-content:center;align-items:center;gap:5px;padding:4px 6px;border:0;border-radius:inherit;background:transparent;color:inherit;font:inherit;cursor:pointer}
.wizard-36 .estimator-stepper li>button>span{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;background:#dcefed;color:#345e60;font-size:.64rem;font-weight:900}
.wizard-36 .estimator-stepper li>button>small{font-size:.6rem;font-weight:800;white-space:nowrap}
.wizard-36 .estimator-stepper li>button:disabled{cursor:not-allowed;opacity:.52}
.wizard-36 .estimator-stepper li.is-complete>button:not(:disabled){cursor:pointer;opacity:1}
.wizard-36 .estimator-stepper li.is-complete>button>span{background:#c9f1eb;color:#006d68}
.wizard-36 .estimator-stepper li.is-active>button>span{background:#00a79f;color:#fff;box-shadow:0 4px 12px rgba(0,167,159,.24)}
.wizard-36 .estimator-stepper li>button:focus-visible{outline:3px solid #ffbf47;outline-offset:-3px}

.wizard-36 .brand-grid,.local-estimator[data-estimator-mode="compact"] .wizard-36 .brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.wizard-36 .brand-card-34{height:104px;min-height:104px}

.wizard-36 .function-grid{display:grid;grid-template-columns:1fr;gap:3px}
.wizard-36 .function-card{grid-template-columns:minmax(0,1fr) 104px;min-height:44px;padding:5px 8px!important;border-radius:11px!important}
.wizard-36 .function-copy{grid-template-columns:30px minmax(230px,1fr) 24px;gap:8px}
.wizard-36 .function-icon{width:30px;height:30px}
.wizard-36 .function-label{font-size:.7rem;line-height:1.18;overflow-wrap:normal;word-break:normal;hyphens:none}
.wizard-36 .function-help>summary{width:22px;height:22px}
.wizard-36 .function-choice{grid-template-columns:repeat(2,48px);gap:5px}
.wizard-36 .function-card label span{min-height:32px;padding:5px 8px}
.wizard-36 .extra-problems{margin-top:6px;padding:6px 9px}
.wizard-36 .function-toolbar{margin-bottom:5px}
.wizard-36 .function-toolbar [data-all-functions]{min-height:34px;padding:6px 12px;white-space:nowrap}

.wizard-36 .estimator-actions [data-return-details]{min-width:210px}
.wizard-36.is-result .estimator-actions{justify-content:space-between}
.wizard-36.is-result .result-summary{padding-block:12px!important}
.wizard-36.is-result .result-contact{padding-block:9px}
.wizard-36.is-result .prep-section{padding-block:8px}
.local-estimator[data-estimator-mode="compact"] .wizard-36.is-result .estimator-result{width:100%;grid-template-columns:1fr!important}
.local-estimator[data-estimator-mode="compact"] .wizard-36.is-result .estimator-result>.result-summary,
.local-estimator[data-estimator-mode="compact"] .wizard-36.is-result .estimator-result>.result-contact,
.local-estimator[data-estimator-mode="compact"] .wizard-36.is-result .estimator-result>.prep-section{grid-column:1/-1;width:100%;box-sizing:border-box}

@media(min-width:769px){
  .local-estimator .wizard-36,.local-estimator[data-estimator-mode="compact"] .wizard-36,.local-estimator[data-estimator-mode="full"] .wizard-36{height:780px!important;min-height:780px!important;max-height:780px}
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form.wizard-36.is-result,.local-estimator[data-estimator-mode="full"] .local-estimator-form.wizard-36.is-result{height:780px!important;min-height:780px!important;max-height:780px!important}
  .local-estimator .wizard-36.is-result{grid-template-rows:minmax(0,1fr) auto!important}
  .local-estimator .wizard-36.is-result>.estimator-top,
  .local-estimator .wizard-36.is-result>.compact-meter,
  .local-estimator .wizard-36.is-result>.estimator-stepper,
  .local-estimator .wizard-36.is-result>.estimator-error,
  .local-estimator .wizard-36.is-result>.estimator-assurance{display:none!important}
  .local-estimator .wizard-36.is-result>.estimator-stage{grid-row:1!important}
  .local-estimator .wizard-36.is-result>.estimator-actions{grid-row:2!important}
  .wizard-36>.estimator-stage{display:flex;min-height:0;align-items:flex-start;overflow:visible!important}
  .wizard-36>.estimator-stage>[data-step],.wizard-36>.estimator-stage>.estimator-result{width:100%}
  .wizard-36>.estimator-actions{margin-top:auto}
  .wizard-36 .function-card{height:40px!important;min-height:40px!important;max-height:40px;box-sizing:border-box}
  .wizard-36 .conditions>.condition-card{grid-template-rows:102px auto;min-height:166px}
  .wizard-36 .condition-visual{height:102px}
  .wizard-36.is-result>.estimator-stage{display:flex!important;overflow:visible!important}
}
@media(max-width:768px){
  .local-estimator .wizard-36,.local-estimator[data-estimator-mode="compact"] .wizard-36,.local-estimator[data-estimator-mode="full"] .wizard-36{height:auto!important;min-height:0!important;max-height:none}
  .wizard-36 .estimator-stepper li>button{grid-template-columns:20px;gap:0;padding:4px 2px}
  .wizard-36 .estimator-stepper li>button>small{display:none}
  .wizard-36 .function-copy{grid-template-columns:29px minmax(0,1fr) 22px;gap:6px}
  .wizard-36 .function-card{grid-template-columns:minmax(0,1fr) 96px;min-height:54px;padding:7px 8px!important}
  .wizard-36 .function-label{font-size:.67rem}
  .wizard-36 .estimator-actions [data-return-details]{min-width:0}
}
@media(max-width:430px){
  .wizard-36 .function-card{grid-template-columns:minmax(0,1fr) 92px}
  .wizard-36 .function-choice{grid-template-columns:repeat(2,43px)}
  .wizard-36.is-result .estimator-actions{display:grid;grid-template-columns:1fr}
}

/* Wizard 3.7: kompakter Desktop-Rhythmus und stabil aufklappbare Ergebnisdetails */
.wizard-37{gap:8px;padding:16px}
.wizard-37 .estimator-top{gap:14px}
.wizard-37 .estimator-top h2{margin-block:0 1px}
.wizard-37 .estimator-stepper{gap:6px;padding-top:1px}
.wizard-37 .estimator-stepper li>button{min-height:30px;padding:3px 5px}
.wizard-37 .estimator-stepper li>button>span{width:21px;height:21px}
.wizard-37>.estimator-stage{padding:0 2px 2px}
.wizard-37 [data-step]>legend{margin-bottom:6px}
.wizard-37 [data-step]>.step-help{margin:0 0 7px}
.wizard-37 .brand-grid{gap:7px}
.wizard-37 .brand-card-34{height:96px;min-height:96px;padding:10px}
.wizard-37 .model-grid{gap:10px}
.wizard-37 .color-picker{margin-top:9px;padding-top:8px}
.wizard-37 .color-picker>[data-color-note]{margin-top:4px}
.wizard-37 .unlisted-link{padding-block:6px}
.wizard-37 .conditions{gap:7px}
.wizard-37 .conditions>.condition-card{grid-template-rows:94px auto;min-height:154px;gap:4px;padding:6px}
.wizard-37 .condition-visual{height:94px}
.wizard-37 .condition-copy{padding:1px 3px 3px}
.wizard-37 .condition-copy b{line-height:1.2}
.wizard-37 .condition-copy small{line-height:1.22}
.wizard-37 .function-toolbar{margin-bottom:4px}
.wizard-37 .function-toolbar .step-help{display:none}
.wizard-37 .function-toolbar [data-all-functions]{min-height:30px;padding:4px 11px}
.wizard-37 .function-grid{gap:1px}
.wizard-37 .function-card{height:32px!important;min-height:32px!important;max-height:32px;grid-template-columns:minmax(0,1fr) 102px;padding:1px 7px!important;border-radius:9px!important}
.wizard-37 .function-copy{grid-template-columns:28px minmax(220px,1fr) 23px;gap:7px}
.wizard-37 .function-icon{width:26px;height:26px}
.wizard-37 .function-help>summary{box-sizing:border-box;width:22px;height:22px;padding:0}
.wizard-37 .function-choice{grid-template-columns:repeat(2,47px);gap:4px}
.wizard-37 .function-card label span{min-height:26px;padding:2px 7px}
.wizard-37 .extra-problems{margin-top:5px;padding:5px 9px;border-radius:10px}
.wizard-37 .extra-problems>summary{min-height:22px;display:flex;align-items:center}
.wizard-37 .details-grid{margin-bottom:6px}
.wizard-37 .security-box{gap:3px;padding:7px 9px}
.wizard-37 .security-box h3{margin-bottom:0}
.wizard-37 .security-box label{min-height:25px;padding:3px 6px}
.wizard-37 .estimator-actions .button{min-height:44px}
.wizard-37 .estimator-assurance{margin-block:0;font-size:.64rem}
.wizard-37.is-result .estimator-result{gap:6px}
.wizard-37.is-result .result-summary{padding:9px 14px!important}
.wizard-37.is-result .result-summary .result-price{margin:2px 0 5px;font-size:clamp(3rem,5.2vw,4.45rem)}
.wizard-37.is-result .result-note{max-width:880px;font-size:.68rem!important;line-height:1.32!important}
.wizard-37.is-result .result-device-summary{margin-top:6px}
.wizard-37.is-result .result-contact{gap:6px 10px;padding:7px 11px}
.wizard-37.is-result .result-contact .result-map-actions .button{min-height:32px;padding-block:6px!important}
.wizard-37.is-result .prep-section{gap:7px;padding:7px 10px}
.wizard-37.is-result .prep-list{gap:4px}
.wizard-37.is-result .prep-list li{min-height:42px;padding:5px 7px}
.wizard-37.is-result .prep-list details p{margin-top:3px}

@media(min-width:769px){
  .local-estimator .wizard-37,
  .local-estimator[data-estimator-mode="compact"] .wizard-37,
  .local-estimator[data-estimator-mode="full"] .wizard-37,
  .local-estimator[data-estimator-mode="compact"] .local-estimator-form.wizard-37.is-result,
  .local-estimator[data-estimator-mode="full"] .local-estimator-form.wizard-37.is-result{height:690px!important;min-height:690px!important;max-height:690px!important}
  .local-estimator .wizard-37:has(.extra-problems[open]),
  .local-estimator[data-estimator-mode="compact"] .wizard-37:has(.extra-problems[open]),
  .local-estimator[data-estimator-mode="full"] .wizard-37:has(.extra-problems[open]),
  .local-estimator .wizard-37.is-result:has(.prep-list details[open]),
  .local-estimator[data-estimator-mode="compact"] .wizard-37.is-result:has(.prep-list details[open]),
  .local-estimator[data-estimator-mode="full"] .wizard-37.is-result:has(.prep-list details[open]){height:auto!important;min-height:690px!important;max-height:none!important;overflow:visible}
  .local-estimator .wizard-37:has(.extra-problems[open])>.estimator-stage,
  .local-estimator .wizard-37.is-result:has(.prep-list details[open])>.estimator-stage{overflow:visible!important}
  .wizard-37 .conditions>.condition-card{grid-template-rows:94px auto;min-height:154px}
  .wizard-37 .condition-visual{height:94px}
}

@media(max-width:768px){
  .wizard-37{gap:9px;padding:15px}
  .wizard-37 .brand-card-34{height:auto;min-height:90px}
  .wizard-37 .conditions>.condition-card{grid-template-rows:94px auto;min-height:158px}
  .wizard-37 .function-card{height:auto!important;min-height:52px!important;max-height:none;grid-template-columns:minmax(0,1fr) 96px;padding:6px 7px!important}
  .wizard-37 .function-copy{grid-template-columns:28px minmax(0,1fr) 22px;gap:6px}
  .wizard-37 .security-box label{min-height:30px}
}

@media(max-width:430px){
  .wizard-37{padding:13px 11px}
  .wizard-37 .conditions>.condition-card{min-height:158px}
  .wizard-37 .function-card{grid-template-columns:minmax(0,1fr) 92px}
  .wizard-37.is-result .result-summary .result-price{font-size:clamp(2.75rem,14vw,4.1rem)}
  .wizard-37.is-result .prep-list{grid-template-columns:1fr 1fr}
}

/* Wizard 3.7.1: verbindlicher Techniklayout-Bugfix */
.wizard-37 .function-grid{gap:6px}
.wizard-37 .function-card{
  height:auto!important;
  min-height:48px!important;
  max-height:none;
  grid-template-columns:minmax(0,1fr) 104px;
  gap:8px;
  align-items:center;
  padding:5px 8px!important;
  overflow:visible;
  box-sizing:border-box;
}
.wizard-37 .function-copy{height:36px;min-height:36px;grid-template-columns:32px minmax(0,1fr) 34px;gap:8px;align-items:center}
.wizard-37 .function-icon{width:32px;height:32px}
.wizard-37 .function-label{line-height:1.25;overflow-wrap:anywhere}
.wizard-37 .function-help{width:34px;height:34px;align-self:center}
.wizard-37 .function-help>summary{position:absolute;inset:0;width:34px;height:34px;min-height:34px;margin:0;padding:0;box-sizing:border-box}
.wizard-37 .function-choice{grid-template-columns:repeat(2,48px);gap:6px;align-items:center}
.wizard-37 .function-card label span{min-height:36px;padding:6px 8px;box-sizing:border-box}

.wizard-37 .extra-problems{margin-top:8px;padding:0;overflow:hidden;border-radius:11px}
.wizard-37 .extra-problems>summary{
  box-sizing:border-box;
  display:flex;
  width:100%;
  height:42px;
  min-height:42px;
  align-items:center;
  justify-content:space-between;
  padding:0 12px;
  list-style:none;
}
.wizard-37 .extra-problems>summary::-webkit-details-marker{display:none}
.wizard-37 .extra-problems>summary:after{content:"+";display:grid;width:24px;height:24px;place-items:center;border-radius:50%;background:#e0f7f3;color:#007b75;font-size:1rem;font-weight:900}
.wizard-37 .extra-problems[open]>summary{border-bottom:1px solid #d2e6e3}
.wizard-37 .extra-problems[open]>summary:after{content:"−"}
.wizard-37 .extra-problems>p{margin:8px 12px 5px}
.wizard-37 .extra-problems>.check-grid{padding:0 10px 10px}

@media(min-width:769px){
  .local-estimator .wizard-37:has([data-step="4"]:not([hidden])),
  .local-estimator[data-estimator-mode="compact"] .wizard-37:has([data-step="4"]:not([hidden])),
  .local-estimator[data-estimator-mode="full"] .wizard-37:has([data-step="4"]:not([hidden])){height:auto!important;min-height:820px!important;max-height:none!important;overflow:visible}
  .local-estimator .wizard-37:has([data-step="4"]:not([hidden]))>.estimator-stage{overflow:visible!important}
}

@media(max-width:768px){
  .wizard-37 .function-card{min-height:58px!important;grid-template-columns:minmax(0,1fr) 104px;padding:7px 8px!important}
  .wizard-37 .function-copy{height:auto;min-height:36px}
  .wizard-37 .function-copy{grid-template-columns:32px minmax(0,1fr) 34px}
}

@media(max-width:430px){
  .wizard-37 .function-card{grid-template-columns:minmax(0,1fr) 102px;gap:6px}
  .wizard-37 .function-copy{gap:6px}
  .wizard-37 .function-choice{grid-template-columns:repeat(2,48px);gap:4px}
}

/* Wizard 3.7.2: finale Ausrichtung und kompakte Technikpruefung */
.wizard-37 .brand-device{
  display:grid!important;
  width:42px;
  height:48px;
  place-items:center;
  border-radius:0;
  background:transparent;
  color:#007c76;
  box-shadow:none;
}
.wizard-37 .brand-device.apple,
.wizard-37 .brand-device.samsung,
.wizard-37 .brand-device.pixel,
.wizard-37 .brand-device.xiaomi,
.wizard-37 .brand-device.ipad,
.wizard-37 .brand-device.other{color:#007c76}
.wizard-37 .brand-device svg{display:block;width:29px;height:35px;align-self:center;justify-self:center;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.wizard-37 [data-step="4"]>.visually-hidden{position:absolute!important}
.wizard-37 .function-toolbar{display:flex;min-height:36px;align-items:center;justify-content:space-between;gap:12px;margin:0 0 2px}
.wizard-37 .function-toolbar h3{margin:0;color:#031f23;font-size:1rem;line-height:1.15}
.wizard-37 .function-toolbar [data-all-functions]{min-height:36px;padding:5px 11px;white-space:nowrap}
.wizard-37 .function-grid{gap:3px}
.wizard-37 .function-card{
  min-height:40px!important;
  height:auto!important;
  max-height:none;
  grid-template-columns:minmax(0,1fr) 100px;
  gap:7px;
  align-items:center;
  padding:1px 7px!important;
  border-radius:9px!important;
  overflow:visible;
  box-sizing:border-box;
}
.wizard-37 .function-copy{display:flex!important;height:36px;min-height:36px;gap:7px;align-items:center}
.wizard-37 .function-icon{width:24px;height:24px;place-items:center;border-radius:0;background:transparent;color:#007c76}
.wizard-37 .function-icon svg{display:block;width:20px;height:20px;stroke-width:1.8}
.wizard-37 .function-label{flex:1;min-width:0;font-size:.68rem;line-height:1.15;overflow-wrap:normal;word-break:normal}
.wizard-37 .function-help{position:relative;width:36px;height:36px;align-self:center;transform:none}
.wizard-37 .function-help>summary{position:absolute;inset:0;display:grid;width:36px;height:36px;min-height:36px;margin:0;padding:0;place-items:center;border:0;background:transparent;font-size:0;box-sizing:border-box}
.wizard-37 .function-help>summary:before{content:"?";display:grid;width:28px;height:28px;place-items:center;border:1px solid #9fd4cf;border-radius:50%;background:#fff;color:#007c76;font-size:.62rem;font-weight:900;box-sizing:border-box}
.wizard-37 .function-help>p{top:36px}
.wizard-37 .function-choice{grid-template-columns:repeat(2,47px);gap:4px;align-items:center}
.wizard-37 .function-card label span{min-height:32px;padding:4px 7px;box-sizing:border-box}

.wizard-37 .extra-problems{margin-top:3px;padding:0;border-radius:9px}
.wizard-37 .extra-problems>summary{height:32px;min-height:32px;padding:0 10px}
.wizard-37 .extra-problems>summary:after{width:22px;height:22px;font-size:.9rem}

@media(min-width:769px){
  .local-estimator .wizard-37:has([data-step="4"]:not([hidden])),
  .local-estimator[data-estimator-mode="compact"] .wizard-37:has([data-step="4"]:not([hidden])),
  .local-estimator[data-estimator-mode="full"] .wizard-37:has([data-step="4"]:not([hidden])){height:690px!important;min-height:690px!important;max-height:690px!important;overflow:visible}
  .local-estimator .wizard-37:has([data-step="4"]:not([hidden]))>.estimator-stage{overflow:visible!important}
  .local-estimator .wizard-37:has([data-step="4"]:not([hidden])):has(.extra-problems[open]),
  .local-estimator[data-estimator-mode="compact"] .wizard-37:has([data-step="4"]:not([hidden])):has(.extra-problems[open]),
  .local-estimator[data-estimator-mode="full"] .wizard-37:has([data-step="4"]:not([hidden])):has(.extra-problems[open]){height:auto!important;min-height:690px!important;max-height:none!important}
}

@media(max-width:768px){
  .wizard-37 .brand-device{width:38px;height:44px}
  .wizard-37 .brand-device svg{width:27px;height:33px}
  .wizard-37 .function-toolbar{align-items:center}
  .wizard-37 .function-card{min-height:52px!important;grid-template-columns:minmax(0,1fr) 104px;padding:6px 7px!important}
  .wizard-37 .function-copy{height:40px;min-height:40px}
  .wizard-37 .function-icon{width:26px;height:26px}.wizard-37 .function-icon svg{width:20px;height:20px}
  .wizard-37 .function-help{width:40px;height:40px}.wizard-37 .function-help>summary{width:40px;height:40px;min-height:40px}
  .wizard-37 .function-help>summary:before{width:28px;height:28px}
  .wizard-37 .function-choice{grid-template-columns:repeat(2,48px)}
  .wizard-37 .function-card label span{min-height:40px}
  .wizard-37 .extra-problems>summary{height:40px;min-height:40px}
}

@media(max-width:430px){
  .wizard-37 .function-toolbar{align-items:center;gap:8px}
  .wizard-37 .function-toolbar h3{font-size:.92rem}
  .wizard-37 .function-toolbar [data-all-functions]{min-height:38px;padding-inline:9px}
  .wizard-37 .function-card{grid-template-columns:minmax(0,1fr) 100px;gap:5px}
  .wizard-37 .function-copy{gap:5px}
  .wizard-37 .function-help{width:38px;height:40px}.wizard-37 .function-help>summary{width:38px;height:40px;min-height:40px}
  .wizard-37 .function-choice{grid-template-columns:repeat(2,48px);gap:4px}
}
