/* Service4Handys – Reparaturseite neu (Vorschau 02.12.2026) – nur body.s4h-rpd */
body.s4h-rpd{--rp-o:#ff6e00;--rp-o-d:#e65f00;--rp-ink:#28333f;--rp-text:#4a5562;--rp-mute:#6b7682;--rp-line:#e4e7eb;--rp-panel:#f4f6f8;--rp-ok:#1f8a4c}

.s4h-rpd-stub{display:none!important}
/* Sticky braucht einen Elternblock ohne Scroll-Container */
body.s4h-rpd .page-wrapper{overflow:visible!important;overflow-x:clip!important}

/* ---------- Kopfbereich: links Inhalt, rechts Kaufbox ---------- */
body.s4h-rpd .product-top.container{display:grid!important;grid-template-columns:minmax(0,1fr) 420px;gap:0 56px;align-items:start;margin-bottom:72px!important}
body.s4h-rpd .product-top>.s4h-rpd-main{grid-column:1;grid-row:1;min-width:0}
body.s4h-rpd .product-top>.product-info-main{grid-column:2;grid-row:1;width:auto!important;max-width:none!important;margin:0!important;flex:none!important;display:block!important;position:sticky;top:24px;padding:28px 28px 24px;border:1px solid var(--rp-line);border-radius:20px;background:#fff;box-shadow:0 18px 40px -28px rgba(40,51,63,.35)}

body.s4h-rpd.s4h-rpd-tall .product-top>.product-info-main{position:static}
.s4h-rpd-main .s4h-rp-why{margin:0 0 48px!important;max-width:680px}

/* Bild */
body.s4h-rpd .s4h-rpd-main>.product.media{width:auto!important;max-width:none!important;margin:0 0 40px!important;padding:28px;border-radius:20px;background:var(--rp-panel);float:none!important}
body.s4h-rpd .s4h-rpd-main>.product.media .gallery-placeholder{width:100%;max-width:400px;margin:0 auto}
body.s4h-rpd .s4h-rpd-main>.product.media .gallery-placeholder__image{mix-blend-mode:multiply}

/* Kaufbox */
body.s4h-rpd .product-info-main h1{font-size:30px!important;line-height:1.18!important;margin:0 0 10px!important;letter-spacing:-.01em}
body.s4h-rpd .product-info-main .s4h-pdp-rating{margin:0 0 18px!important}
body.s4h-rpd .product-info-main .product-info-price{margin:0 0 18px!important;padding:0 0 18px;border-bottom:1px solid var(--rp-line);align-items:baseline;gap:8px}
body.s4h-rpd .product-info-main .product-info-price .price-box{display:flex!important;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
body.s4h-rpd .product-info-main .product-info-price .price{font-size:36px!important;line-height:1!important;font-weight:700!important;letter-spacing:-.02em}
body.s4h-rpd .product-info-main .custom-field>.label{margin:0 0 10px!important;font-size:15px!important;text-transform:none!important;letter-spacing:0!important}
body.s4h-rpd .product-info-main .s4h-addon-native-row{margin:0 0 10px!important}
body.s4h-rpd .product-info-main .s4h-addon-label{padding:13px 14px 12px 48px!important;border-radius:14px!important;font-size:15px!important;line-height:1.4!important}
body.s4h-rpd .product-info-main .s4h-addon-native-text{font-size:13.5px!important;line-height:1.4!important}
body.s4h-rpd .product-info-main .product-options-bottom{margin:0!important}
body.s4h-rpd .product-info-main .product-options-wrapper,body.s4h-rpd .product-info-main .custom-options-container>.field{margin-bottom:0!important;padding-bottom:0!important}
body.s4h-rpd .product-info-main .s4h-addon-native-head{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:space-between;align-items:baseline;gap:12px}
body.s4h-rpd .product-info-main .s4h-addon-native-price{flex:none;white-space:nowrap}
body.s4h-rpd .product-info-main .s4h-repair-booking-status,body.s4h-rpd .product-info-main .s4h-repair-order-note{display:none!important}

body.s4h-rpd .s4h-rpd-checks{list-style:none;margin:16px 0 20px!important;padding:0!important;display:grid;gap:9px}
body.s4h-rpd .s4h-rpd-checks li{position:relative;margin:0!important;padding:0 0 0 30px;font:14.5px/1.45 Inter-Regular,Arial,sans-serif;color:var(--rp-ink)}
body.s4h-rpd .s4h-rpd-checks li::before{content:"";position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:50%;background:#e6f4ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231f8a4c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat}
body.s4h-rpd .s4h-rpd-checks a{color:var(--rp-ink)!important;text-decoration:underline;text-decoration-color:#c5ccd3;text-underline-offset:3px}
body.s4h-rpd .s4h-rpd-checks a:hover{text-decoration-color:var(--rp-o)}

body.s4h-rpd .product-info-main .box-tocart,body.s4h-rpd .product-info-main .box-tocart .fieldset,body.s4h-rpd .product-info-main .box-tocart .actions{display:block!important;width:100%!important;margin:0!important;padding:0!important}
body.s4h-rpd #product-addtocart-button{display:flex!important;align-items:center;justify-content:center;width:100%!important;height:56px!important;margin:0!important;padding:0 20px!important;border:0!important;border-radius:14px!important;background:var(--rp-o)!important;color:#fff!important;font-size:17px!important;font-weight:700!important;letter-spacing:.005em;box-shadow:0 10px 22px -12px rgba(255,110,0,.8);transition:background .15s}
body.s4h-rpd #product-addtocart-button:hover{background:var(--rp-o-d)!important}
body.s4h-rpd #product-addtocart-button:focus-visible{outline:3px solid var(--rp-ink);outline-offset:3px}
body.s4h-rpd .product-info-main .s4h-wg-repair-link{margin:14px 0 0!important}
body.s4h-rpd .product-info-main .s4h-wg-repair-card{width:100%!important;box-sizing:border-box}

/* Inhalt links */
body.s4h-rpd .s4h-rpd-h2,body.s4h-rpd .s4h-rpd-main .s4h-pdp-box h3{display:block;margin:0 0 18px!important;font:800 24px/1.25 S4H-Heading,Inter-Bold,Arial,sans-serif!important;letter-spacing:-.01em!important;text-transform:none!important;color:var(--rp-ink)!important}
body.s4h-rpd .s4h-rpd-main .product.attribute.overview{margin:0 0 48px!important;max-width:680px}
body.s4h-rpd .s4h-rpd-main .product.attribute.overview p{font-size:16.5px!important;line-height:1.65!important;color:var(--rp-text)!important}
body.s4h-rpd .s4h-rpd-main .s4h-pdp-box{margin:0 0 48px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;max-width:680px}

/* Ablauf als Zeitleiste */
body.s4h-rpd .s4h-rpd-main .s4h-pdp-steps{display:block!important;margin:0!important;padding:0!important;list-style:none}
body.s4h-rpd .s4h-rpd-main .s4h-pdp-steps li{position:relative;display:grid!important;grid-template-columns:44px 1fr;column-gap:16px;margin:0!important;padding:0 0 26px!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.s4h-rpd .s4h-rpd-main .s4h-pdp-steps li::after{content:"";position:absolute;left:21px;top:46px;bottom:6px;width:2px;background:var(--rp-line)}
body.s4h-rpd .s4h-rpd-main .s4h-pdp-steps li:last-child{padding-bottom:0!important}
body.s4h-rpd .s4h-rpd-main .s4h-pdp-steps li:last-child::after{display:none}
body.s4h-rpd .s4h-rpd-main .s4h-pdp-steps li>i{grid-row:1/span 2;display:flex!important;align-items:center;justify-content:center;width:44px!important;height:44px!important;margin:0!important;border-radius:50%;background:#fff3ea!important;color:var(--rp-o)!important;font:800 18px/1 S4H-Heading,Inter-Bold,Arial,sans-serif!important;font-style:normal!important;box-shadow:inset 0 0 0 2px var(--rp-o)}
body.s4h-rpd .s4h-rpd-main .s4h-pdp-steps li>b{display:block;margin:10px 0 4px!important;font:600 17px/1.35 Inter-SemiBold,Arial,sans-serif!important;color:var(--rp-ink)!important}
body.s4h-rpd .s4h-rpd-main .s4h-pdp-steps li>span{display:block;font:15.5px/1.6 Inter-Regular,Arial,sans-serif!important;color:var(--rp-text)!important}
body.s4h-rpd .s4h-rpd-main .s4h-pdp-more{margin:18px 0 0 60px!important}
body.s4h-rpd .s4h-rpd-main .s4h-pdp-more a{color:var(--rp-ink)!important;font-weight:600;text-decoration:underline;text-decoration-color:var(--rp-o);text-underline-offset:4px}

/* Fragen */
body.s4h-rpd .s4h-rpd-main .s4h-pdp-faq details{border-top:1px solid var(--rp-line)}
body.s4h-rpd .s4h-rpd-main .s4h-pdp-faq details:last-of-type{border-bottom:1px solid var(--rp-line)}
body.s4h-rpd .s4h-rpd-main .s4h-pdp-faq summary{padding:17px 36px 17px 0!important;font:600 16.5px/1.4 Inter-SemiBold,Arial,sans-serif!important;color:var(--rp-ink)!important;cursor:pointer}
body.s4h-rpd .s4h-rpd-main .s4h-pdp-faq details p{margin:0 0 18px!important;padding-right:36px;font:15.5px/1.6 Inter-Regular,Arial,sans-serif!important;color:var(--rp-text)!important}
body.s4h-rpd .s4h-rpd-main .s4h-product-trust{margin:0!important;max-width:680px}
body.s4h-rpd .s4h-rpd-main .s4h-product-note{max-width:680px}

/* neuere Reparaturangebote: Modellwahl, „Warum bei uns“, weitere Informationen */
body.s4h-rpd .product-info-main .s4h-model-switch{margin:0 0 18px!important}
body.s4h-rpd .s4h-rpd-main details.s4h-repair-offer-description{margin:-36px 0 48px!important;max-width:680px}
body.s4h-rpd .s4h-rpd-main details.s4h-repair-offer-description>summary{display:inline-block;cursor:pointer;font:600 15px/1.4 Inter-SemiBold,Arial,sans-serif!important;color:var(--rp-ink)!important;text-decoration:underline;text-decoration-color:var(--rp-o);text-underline-offset:4px}
body.s4h-rpd .s4h-rpd-main details.s4h-repair-offer-description[open]>summary{margin-bottom:12px}
body.s4h-rpd .s4h-rpd-main .s4h-repair-offer-why{margin:0 0 48px!important;padding:0!important;border:0!important;background:none!important;max-width:680px}
body.s4h-rpd .s4h-rpd-main .s4h-repair-offer-why h2{margin:0 0 18px!important;font:800 24px/1.25 S4H-Heading,Inter-Bold,Arial,sans-serif!important;letter-spacing:-.01em!important;text-transform:none!important;color:var(--rp-ink)!important}
body.s4h-rpd .s4h-rpd-main .s4h-repair-offer-why ul{display:grid!important;grid-template-columns:1fr 1fr;gap:14px!important;margin:0!important;padding:0!important}
body.s4h-rpd .s4h-rpd-main .s4h-repair-offer-why li{margin:0!important;padding:16px 16px 16px 46px!important;border:1px solid var(--rp-line);border-radius:14px;background:#fff;font:14.5px/1.5 Inter-Regular,Arial,sans-serif!important;color:var(--rp-text)!important;background-position:16px 18px!important}
body.s4h-rpd .s4h-rpd-main .s4h-repair-offer-why li strong{display:block;margin:0 0 3px;font:600 15.5px/1.35 Inter-SemiBold,Arial,sans-serif!important;color:var(--rp-ink)!important}
body.s4h-rpd .s4h-rpd-main .s4h-repair-offer-support{margin:0!important;padding:0!important;border:0!important;background:none!important;width:auto!important}

/* ---------- Band „Reparatur buchen / Fragen“ ---------- */
body.s4h-rpd .guarantee-questions{background:var(--rp-panel)!important;padding:64px 0!important;margin:0 0 72px!important}
body.s4h-rpd .guarantee-questions .inner-wrapper{display:grid!important;grid-template-columns:minmax(0,1fr) 440px;gap:32px 56px;align-items:start}
body.s4h-rpd .s4h-order-context{grid-column:1;max-width:640px}
body.s4h-rpd .s4h-order-context h2{font:800 26px/1.25 S4H-Heading,Inter-Bold,Arial,sans-serif!important;margin:0 0 14px!important}
body.s4h-rpd .s4h-order-context p{font-size:16px!important;line-height:1.65!important}
body.s4h-rpd .guarantee-questions .guarantee-block{grid-column:1;display:block!important;width:auto!important;max-width:none!important;float:none!important;margin:0!important;padding:0!important;background:none!important}
body.s4h-rpd .guarantee-questions .guarantee-block_left{display:none!important}
body.s4h-rpd .guarantee-questions .guarantee-block_right{max-width:none!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:10px;width:auto!important;margin:0!important;padding:0!important}
body.s4h-rpd .guarantee-questions .guarantee-block_right p{margin:0!important;line-height:1!important;width:auto!important;flex:none!important}
body.s4h-rpd .guarantee-questions .guarantee-block_right a{display:inline-flex!important;align-items:center;gap:8px;padding:9px 14px;border:1px solid var(--rp-line);border-radius:999px;background:#fff;color:var(--rp-ink)!important;font:600 14px/1.2 Inter-SemiBold,Arial,sans-serif!important;text-decoration:none!important}
body.s4h-rpd .guarantee-questions .guarantee-block_right .checkmark{color:var(--rp-ok)!important;font-size:13px!important}
body.s4h-rpd .guarantee-questions .guarantee-block_right .text{font:inherit!important;color:inherit!important}
body.s4h-rpd .have-questions{grid-column:2;grid-row:1/span 2;width:auto!important;margin:0!important;padding:32px!important;border-radius:20px!important;background:var(--rp-ink)!important;color:#d5dbe1!important;box-shadow:none!important}
body.s4h-rpd .have-questions h2{color:#fff!important;font:800 24px/1.25 S4H-Heading,Inter-Bold,Arial,sans-serif!important;margin:0 0 10px!important}
body.s4h-rpd .have-questions p{color:#d5dbe1!important;font-size:16px!important;line-height:1.6!important}
body.s4h-rpd .have-questions p a[href^="#"]{color:#ffb27a!important}
body.s4h-rpd .have-questions p:last-child{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 0!important}
body.s4h-rpd .have-questions p:last-child a{display:inline-flex!important;align-items:center;height:46px;padding:0 18px;border-radius:12px;background:#fff;color:var(--rp-ink)!important;font:600 15px/1 Inter-SemiBold,Arial,sans-serif!important;text-decoration:none!important}
body.s4h-rpd .have-questions p:last-child a.s4h-chat-open{background:var(--rp-o);color:#fff!important}
body.s4h-rpd .have-questions p:last-child a span{color:inherit!important;font:inherit!important}
body.s4h-rpd .have-questions p:last-child a span::before{filter:none}

/* ---------- Vor-Ort-Reparatur ---------- */
body.s4h-rpd .onsite-repair{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:0 56px;align-items:center;padding-bottom:72px!important}
body.s4h-rpd .onsite-repair .s4h-rpd-photo{margin:0!important}
body.s4h-rpd .onsite-repair .s4h-rpd-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:20px}
body.s4h-rpd .onsite-repair .service4handys-info{width:auto!important;padding:0!important;margin:0!important}
body.s4h-rpd .onsite-repair .service4handys-info h3{font:800 30px/1.2 S4H-Heading,Inter-Bold,Arial,sans-serif!important;margin:0 0 12px!important}
body.s4h-rpd .onsite-repair .service4handys-info>p{font-size:16px!important;line-height:1.65!important;color:var(--rp-text)!important}
body.s4h-rpd .onsite-repair .workingtime-address{grid-template-columns:1fr 1fr!important;margin:22px 0 0!important;font-size:15px!important;line-height:1.5!important;gap:24px!important}
body.s4h-rpd .onsite-repair .workingtime-address p{margin:0!important}
body.s4h-rpd .onsite-repair .workingtime-address h4{margin:0 0 6px!important;font:600 14px/1.3 Inter-SemiBold,Arial,sans-serif!important;color:var(--rp-ink)!important}
body.s4h-rpd .onsite-repair .s4h-rpd-actions{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 0}
body.s4h-rpd .onsite-repair .store-route{margin:0!important}
body.s4h-rpd .onsite-repair .btn-orange{width:auto!important;white-space:nowrap;height:46px;padding:0 20px!important;border-radius:12px!important;font-size:15px!important;align-items:center}
body.s4h-rpd .onsite-repair .service4handys-location{width:100%!important;height:auto!important;aspect-ratio:auto!important;margin:18px 0 0!important}
body.s4h-rpd .onsite-repair .s4h-map-ph{height:auto!important;min-height:0!important;aspect-ratio:auto!important;flex-direction:row!important;flex-wrap:wrap;align-items:center;justify-content:flex-start!important;gap:6px 14px;padding:14px 16px!important;border-radius:14px!important;text-align:left!important}
body.s4h-rpd .onsite-repair .s4h-map-ph svg,body.s4h-rpd .onsite-repair .s4h-map-ph strong,body.s4h-rpd .onsite-repair .s4h-map-ph>span{display:none!important}
body.s4h-rpd .onsite-repair .s4h-map-ph .s4h-map-load{margin:0!important;order:0}
body.s4h-rpd .onsite-repair .s4h-map-ph small{order:2;flex-basis:100%;margin:0!important;font-size:12px!important}
body.s4h-rpd .onsite-repair .s4h-map-ph a{order:1;margin:0!important}
body.s4h-rpd .onsite-repair .service4handys-location iframe{display:block;width:100%;height:320px;border:0;border-radius:14px}

/* ---------- feste Buchen-Leiste (Handy/Tablet) ---------- */
.s4h-rpd-bar{display:none}
@media (max-width:1023px){
  body.s4h-rpd .product-top.container{display:flex!important;flex-direction:column;gap:0;margin-bottom:48px!important}
  body.s4h-rpd .product-top>.s4h-rpd-main,body.s4h-rpd .product-top>.product-info-main{display:contents!important}
  body.s4h-rpd .product-top>*,body.s4h-rpd .s4h-rpd-main>*,body.s4h-rpd .product-info-main>*{order:6}
  body.s4h-rpd .product-info-main h1{order:1;font-size:27px!important}
  body.s4h-rpd .product-info-main .s4h-pdp-rating{order:2}
  body.s4h-rpd .product-info-main .page.messages{order:2}
  body.s4h-rpd .s4h-rpd-main>.product.media{order:3;width:100%!important;box-sizing:border-box;margin:0 0 20px!important;padding:16px}
  body.s4h-rpd .s4h-rpd-main>.product.media .gallery-placeholder{max-width:210px}
  body.s4h-rpd .product-info-main .s4h-model-switch{order:4;margin:0 0 16px!important}
  body.s4h-rpd .product-info-main .product-add-form{order:5;margin:0 0 40px!important;padding:20px 18px;border:1px solid var(--rp-line);border-radius:18px;background:#fff}
  body.s4h-rpd .product-info-main .product-social-links{order:20}
  body.s4h-rpd .product-info-main .s4h-addon-native-head{display:block!important}
  body.s4h-rpd .product-info-main .s4h-addon-native-price{display:block;margin-top:2px}
  body.s4h-rpd .product-info-main .product-info-price .price{font-size:32px!important}
  body.s4h-rpd .s4h-rpd-main .product.attribute.overview,body.s4h-rpd .s4h-rpd-main .s4h-pdp-box,body.s4h-rpd .s4h-rpd-main .s4h-repair-offer-why{margin-bottom:40px!important}
  body.s4h-rpd .s4h-rpd-main .s4h-repair-offer-why ul{grid-template-columns:1fr!important}
  body.s4h-rpd .s4h-rpd-h2,body.s4h-rpd .s4h-rpd-main .s4h-pdp-box h3{font-size:22px!important}
  body.s4h-rpd .guarantee-questions{padding:44px 0!important;margin-bottom:48px!important}
  body.s4h-rpd .guarantee-questions .inner-wrapper,body.s4h-rpd .onsite-repair{display:flex!important;flex-direction:column;gap:24px}
  body.s4h-rpd .have-questions{padding:26px 22px!important}
  body.s4h-rpd .onsite-repair{align-items:stretch}
  body.s4h-rpd .onsite-repair .service4handys-info h3{font-size:26px!important}

  body.s4h-rpd .s4h-rpd-bar{position:fixed;left:0;right:0;bottom:var(--rp-bar-bottom,0px);z-index:880;display:flex;align-items:center;gap:12px;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px) * var(--rp-bar-safe,1));background:#fff;border-top:1px solid var(--rp-line);box-shadow:0 -10px 24px -16px rgba(40,51,63,.45);transform:translateY(130%);transition:transform .22s ease}
  body.s4h-rpd.s4h-rpd-bar-on .s4h-rpd-bar{transform:none}
  body.s4h-rpd .s4h-rpd-bar__price{display:flex;flex-direction:column;min-width:0;line-height:1.1}
  body.s4h-rpd .s4h-rpd-bar__price b{font:700 21px/1.1 S4H-Form,Inter-SemiBold,Arial,sans-serif;color:var(--rp-ink);white-space:nowrap}
  body.s4h-rpd .s4h-rpd-bar__price small{font:12px/1.3 Inter-Regular,Arial,sans-serif;color:var(--rp-mute)}
  body.s4h-rpd .s4h-rpd-bar__btn{flex:1;height:48px;border:0;border-radius:12px;background:var(--rp-o);color:#fff;font:700 16px/1 S4H-Form,Inter-SemiBold,Arial,sans-serif;cursor:pointer}
  body.s4h-rpd .s4h-rpd-bar__btn:focus-visible{outline:3px solid var(--rp-ink);outline-offset:2px}
  body.s4h-rpd.s4h-rpd-bar-on .s4h-chat-entry{transform:translateY(calc(-1 * var(--rp-bar-h,68px)));transition:transform .22s ease}
  body.s4h-rpd.s4h-rpd-bar-on .page-footer{padding-bottom:var(--rp-bar-h,68px)}
}
@media (max-width:1023px) and (prefers-reduced-motion:reduce){body.s4h-rpd .s4h-rpd-bar,body.s4h-rpd.s4h-rpd-bar-on .s4h-chat-entry{transition:none}}
