/* ==========================================================================
   Reparatur-Assistent (javascript/wizard.js): auf allen Seiten ausser der Kasse.
   Ersetzt Warenkorb, Kasse und Suchleiste. Geraeteangaben-Formular: css/site.css "rpf".
   ========================================================================== */
:root { --hm-ease: cubic-bezier(.2, .8, .2, 1); }
.fa-arrow-left::before { content: "\f060"; }
.fa-arrow-right::before { content: "\f061"; }
.fa-circle-check::before { content: "\f058"; }
.fa-circle-info::before { content: "\f05a"; }
.fa-screwdriver-wrench::before { content: "\f7d9"; }
.fa-truck-fast::before { content: "\f48b"; }
.fa-shop::before { content: "\f54e"; }
.fa-house-chimney-user::before { content: "\e065"; }
.fa-ticket::before { content: "\f145"; }
.fa-lock::before { content: "\f023"; }
.fa-check::before { content: "\f00c"; }
.fa-mobile-screen-button::before { content: "\f3cd"; }
.fa-tablet-screen-button::before { content: "\f3fa"; }
.fa-tablet-button::before { content: "\f10a"; }
.fa-laptop::before { content: "\f109"; }
.fa-clock::before { content: "\f017"; }
.fa-stopwatch::before { content: "\f2f2"; }
.fa-gamepad::before { content: "\f11b"; }

.fa-xmark::before { content: "\f00d"; }
.fa-chevron-right::before { content: "\f054"; }
.fa-magnifying-glass::before { content: "\f002"; }
/* ==========================================================================
   Reparatur-Assistent (Vollbild-Dialog)
   ========================================================================== */
html.wz-lock { overflow: hidden; }
dialog.wz {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0f1724;
}
dialog.wz::backdrop { background: rgba(10, 30, 60, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wz__shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, #fff 0, #f3f7fb 280px);
  animation: wz-up .55s var(--hm-ease);
}
@keyframes wz-up { from { opacity: 0; transform: translateY(40px); } }
.wz__top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px clamp(14px, 3vw, 32px);
  border-bottom: 1px solid #e1e6ed;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.wz__back, .wz__close {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #f3f7fb;
  color: #0f1724;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s ease;
}
.wz__back { left: clamp(14px, 3vw, 32px); }
.wz__close { right: clamp(14px, 3vw, 32px); width: 44px; padding: 0; justify-content: center; font-size: 18px; }
.wz__back:hover, .wz__close:hover { background: #e8f4fd; }
.wz__back[hidden] { display: none; }
@media (max-width: 640px) { .wz__back span { display: none; } .wz__back { width: 44px; padding: 0; justify-content: center; } }
.wz__steps { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.wz__steps li { display: flex; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #8a97a8; transition: color .3s ease, background .3s ease; }
.wz__steps li button { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px 6px 6px; border: 0; border-radius: inherit; background: none; font: inherit; color: inherit; cursor: default; transition: background .2s ease; }
.wz__steps li button:not(:disabled) { cursor: pointer; }
.wz__steps li button:not(:disabled):hover { background: #eef6fd; }
.wz__steps li button:focus-visible { outline: 2px solid #1a89da; outline-offset: 2px; }
.wz__steps li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #eef2f7; font-size: 12px; transition: background .3s ease, color .3s ease; }
.wz__steps li.is-now { background: #e8f4fd; color: #195097; }
.wz__steps li.is-now span { background: linear-gradient(180deg, #2a98e8, #1476c4); color: #fff; }
.wz__steps li.is-done { color: #195097; }
.wz__steps li.is-done span { background: #d3ecff; color: #195097; }
.wz__steps li.is-done button:hover span { background: #1a89da; color: #fff; }
@media (max-width: 520px) { .wz__steps li { font-size: 0; } .wz__steps li button { gap: 0; padding: 4px; } .wz__steps li span { font-size: 12px; } }

.wz__body { flex: 1; overflow-y: auto; width: 100%; max-width: 1080px; margin: 0 auto; padding: clamp(24px, 5vh, 56px) clamp(16px, 3vw, 32px) 40px; }
.wz__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 20px; margin: 0 0 10px; font-size: 13.5px; font-weight: 600; color: #1a89da; }
.wz__crumbs i { font-size: 9px; color: #9aa7b8; }
.layout_wrap .wz__title, .wz__title { margin: 0 0 22px; font-size: clamp(26px, 3.4vw, 42px); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; color: #0f1724; }
.wz__search { position: relative; display: block; margin: 0 0 28px; }
.wz__search i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #1a89da; font-size: 17px; pointer-events: none; }
.wz__search input[type="search"] {
  width: 100%;
  height: 60px;
  padding: 0 20px 0 52px;
  border: 1.5px solid #e1e6ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px -30px rgba(15, 23, 36, .5);
  color: #0f1724;
  font: inherit;
  font-size: 17px;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.wz__search input[type="search"]:focus { border-color: #1a89da; box-shadow: 0 0 0 4px rgba(26, 137, 218, .15), 0 16px 40px -30px rgba(15, 23, 36, .5); }

.wz__view.is-in > * { animation: wz-view .45s var(--hm-ease); }
@keyframes wz-view { from { opacity: 0; transform: translateY(14px); } }

.wz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.wz-grid--types { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.wz-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 150px;
  padding: 18px 14px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px #e1e6ed;
  color: #0f1724;
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: transform .35s var(--hm-ease), box-shadow .3s ease;
  animation: wz-tile .5s var(--hm-ease) calc(var(--i, 0) * 25ms) both;
}
@keyframes wz-tile { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.wz-tile:hover, .wz-tile:focus-visible { transform: translateY(-4px); box-shadow: 0 0 0 2px #1a89da, 0 22px 40px -26px rgba(25, 80, 151, .6); outline: 0; }
.wz-tile__vis { display: grid; place-items: center; width: 100%; height: 72px; }
.wz-tile__vis img { max-width: 80%; max-height: 72px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.wz-tile__vis i { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(180deg, #e8f4fd, #d3ecff); color: #195097; font-size: 28px; transition: background .3s ease, color .3s ease; }
.wz-tile:hover .wz-tile__vis i { background: linear-gradient(180deg, #2a98e8, #1476c4); color: #fff; }
.wz-tile__vis b { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #e8f4fd; color: #195097; font-size: 22px; }
.wz-tile__name { font-size: 15px; font-weight: 600; line-height: 1.3; }
.wz-tile__path { font-size: 12.5px; color: #8a97a8; }
.wz-tile--skel { min-height: 150px; background: linear-gradient(90deg, #eef2f7 0, #f7f9fc 50%, #eef2f7 100%) 0 0 / 200% 100%; box-shadow: none; animation: wz-skel 1.2s linear infinite; cursor: default; }
@keyframes wz-skel { to { background-position: -200% 0; } }

.wz-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.wz-list li { animation: wz-tile .5s var(--hm-ease) calc(var(--i, 0) * 35ms) both; }
a.wz-repair {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px #e1e6ed;
  color: #0f1724;
  text-decoration: none;
  transition: transform .35s var(--hm-ease), box-shadow .3s ease;
}
a.wz-repair:hover, a.wz-repair:focus-visible { color: #0f1724; transform: translateX(4px); box-shadow: 0 0 0 2px #1a89da, 0 18px 34px -26px rgba(25, 80, 151, .6); outline: 0; }
.wz-repair__img { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: #f3f7fb; overflow: hidden; color: #1a89da; }
.wz-repair__img img { max-width: 80%; max-height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.wz-repair__img--ico { background: linear-gradient(180deg, #f1f8fe, #e3f0fb); color: #1869b3; box-shadow: inset 0 0 0 1px #d6e8f7; transition: background .25s ease, box-shadow .25s ease, color .25s ease; }
.wz-repair__img--ico .rp-ico { width: 68%; height: 68%; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.wz-pick:hover .wz-repair__img--ico .rp-ico { transform: scale(1.08) rotate(-4deg); }
.wz-pick:has(input:checked) .wz-repair__img--ico { background: linear-gradient(180deg, #e3f1fd, #cfe6fa); box-shadow: inset 0 0 0 1.5px #1a89da; color: #195097; }
@media (prefers-reduced-motion: reduce) { .wz-repair__img--ico .rp-ico { transition: none; } .wz-pick:hover .wz-repair__img--ico .rp-ico { transform: none; } }
.wz-repair__name { font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.wz-repair__price { font-size: 16px; font-weight: 700; color: #195097; white-space: nowrap; }
.wz-repair__go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #f3f7fb; color: #0f1724; font-size: 12px; transition: background .3s ease, color .3s ease; }
a.wz-repair:hover .wz-repair__go { background: linear-gradient(180deg, #2a98e8, #1476c4); color: #fff; }
@media (max-width: 560px) {
  a.wz-repair { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "img name go" "img price go"; row-gap: 2px; }
  .wz-repair__img { grid-area: img; width: 48px; height: 48px; }
  .wz-repair__name { grid-area: name; font-size: 14.5px; }
  .wz-repair__price { grid-area: price; font-size: 14.5px; }
  .wz-repair__go { grid-area: go; }
}
.wz-empty { padding: 32px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #e1e6ed; text-align: center; color: #44546a; }
.wz-empty i { font-size: 26px; color: #1a89da; }
.wz-empty p { max-width: 30em; margin: 12px auto 18px; }
a.wz-empty__btn { display: inline-flex; padding: 12px 22px; border-radius: 999px; background: linear-gradient(180deg, #2a98e8, #1476c4); color: #fff; font-weight: 700; }
a.wz-empty__btn:hover { color: #fff; }
.wz__foot { padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid #e1e6ed; background: #fff; text-align: center; font-size: 14px; color: #6c7d94; }
.wz__foot a { font-weight: 700; color: #195097; }

@media (prefers-reduced-motion: reduce) {
  .wz__shell, .wz-tile, .wz-list li, .hd-start, .wz__view.is-in > * { animation: none; }
}

.wz ul.wz-list { margin: 0; padding: 0; }
.wz__inner { width: 100%; }
.wz__sub { margin: -10px 0 24px; font-size: 15.5px; line-height: 1.55; color: #6c7d94; }
.wz__sub[hidden], .wz__search[hidden] { display: none; }
.wz__alert { margin: 0 0 18px; padding: 12px 16px; border-radius: 14px; background: #fef2f2; color: #b91c1c; font-size: 14.5px; font-weight: 600; }
.wz__alert.is-ok { background: #ecfdf3; color: #128c4a; }
.wz__alert[hidden] { display: none; }
.wz__help { margin: 28px 0 0; text-align: center; font-size: 13.5px; color: #8a97a8; }
.wz__help a { font-weight: 700; color: #195097; }

/* Aktionsleiste unten */
.wz__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 3vw, 32px) calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid #e1e6ed;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: wz-bar .35s var(--hm-ease);
}
.wz__bar[hidden] { display: none; }
@keyframes wz-bar { from { transform: translateY(100%); } }
.wz__bar-info { min-width: 0; font-size: 14.5px; color: #44546a; }
.wz__bar-info strong { display: block; font-size: 17px; color: #0f1724; }
.wz__next {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #2a98e8, #1476c4);
  box-shadow: 0 12px 24px -12px rgba(20, 118, 196, .9);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .3s var(--hm-ease), opacity .2s ease;
}
.wz__next:hover { transform: translateY(-2px); }
.wz__next[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.wz__next.is-final { background: linear-gradient(180deg, #1f9d55, #15803d); box-shadow: 0 12px 24px -12px rgba(21, 128, 61, .9); }
@media (max-width: 560px) { .wz__next { padding: 0 20px; } .wz__bar-info { font-size: 13px; } .wz__bar-info strong { font-size: 15px; } }

/* Arbeitsanzeige */
.wz__busy { position: absolute; inset: 0; z-index: 20; display: grid; place-content: center; justify-items: center; gap: 16px; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.wz__busy[hidden] { display: none; }
.wz__busy span { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #d3ecff; border-top-color: #1a89da; animation: wz-spin .8s linear infinite; }
.wz__busy p { margin: 0; font-weight: 600; color: #195097; }
@keyframes wz-spin { to { transform: rotate(360deg); } }
.wz__shell { position: relative; }

/* Reparaturen mehrfach waehlen */
.wz-pick { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto 28px; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #e1e6ed; cursor: pointer; transition: box-shadow .25s ease, transform .3s var(--hm-ease); }
.wz-pick:hover { transform: translateX(3px); box-shadow: 0 0 0 1.5px #9fd4fa; }
.wz-pick input { position: absolute; opacity: 0; pointer-events: none; }
.wz-pick__check { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 2px #cfd8e3; color: transparent; font-size: 12px; transition: background .2s ease, box-shadow .2s ease, color .2s ease; }
.wz-pick:has(input:checked) { box-shadow: 0 0 0 2px #1a89da, 0 18px 34px -28px rgba(25, 80, 151, .6); }
.wz-pick:has(input:checked) .wz-pick__check { background: linear-gradient(180deg, #2a98e8, #1476c4); box-shadow: none; color: #fff; }
.wz-pick:has(input:focus-visible) { outline: 2px solid #1a89da; outline-offset: 2px; }
@media (max-width: 560px) {
  .wz-pick { grid-template-columns: 48px minmax(0, 1fr) 28px; grid-template-areas: "img name check" "img price check"; row-gap: 2px; }
  .wz-pick .wz-repair__img { grid-area: img; width: 48px; height: 48px; }
  .wz-pick .wz-repair__name { grid-area: name; font-size: 14.5px; }
  .wz-pick .wz-repair__price { grid-area: price; font-size: 14.5px; }
  .wz-pick__check { grid-area: check; }
}

/* Service-Weg */
.wz-ways { display: grid; gap: 12px; }
@media (min-width: 760px) { .wz-ways { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wz-way { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #e1e6ed; cursor: pointer; transition: box-shadow .25s ease, transform .3s var(--hm-ease); }
.wz-way:hover { transform: translateY(-3px); }
.wz-way input { position: absolute; opacity: 0; pointer-events: none; }
.wz-way > i { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 10px; border-radius: 16px; background: linear-gradient(180deg, #e8f4fd, #d3ecff); color: #195097; font-size: 22px; }
.wz-way strong { font-size: 18px; font-weight: 700; color: #0f1724; }
.wz-way small { font-size: 14px; line-height: 1.5; color: #6c7d94; }
.wz-way:has(input:checked) { box-shadow: 0 0 0 2px #1a89da, 0 22px 40px -28px rgba(25, 80, 151, .6); }
.wz-way:has(input:checked) > i { background: linear-gradient(180deg, #2a98e8, #1476c4); color: #fff; }
.wz-way:has(input:focus-visible) { outline: 2px solid #1a89da; outline-offset: 2px; }
.wz-way.is-off { opacity: .45; pointer-events: none; }
.wz-branches { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 760px) { .wz-branches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wz-branch { position: relative; display: grid; gap: 2px; padding: 14px 16px 14px 46px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #e1e6ed; cursor: pointer; font-size: 14px; color: #44546a; }
.wz-branch input { position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; margin: 0; accent-color: #1a89da; }
.wz-branch strong { font-size: 15px; color: #0f1724; }
.wz-branch small { font-size: 12.5px; color: #8a97a8; }
.wz-branch:has(input:checked) { box-shadow: 0 0 0 2px #1a89da; }
.wz-block-title { margin: 26px 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6c7d94; }

/* Formulare */
.wz-card { padding: clamp(18px, 3vw, 28px); border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #e1e6ed; }
.wz .rpf { margin: 0; box-shadow: 0 0 0 1px #e1e6ed; }
.wz-tabs { display: inline-flex; gap: 4px; margin-bottom: 18px; padding: 4px; border-radius: 999px; background: #eef2f7; }
.wz-tabs button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: #44546a; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.wz-tabs button.is-on { background: #fff; color: #0f1724; box-shadow: 0 4px 12px -6px rgba(15, 23, 36, .3); }
.wz-grid2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .wz-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wz-grid2 .is-wide { grid-column: 1 / -1; } }
.wz-field { display: grid; gap: 6px; margin: 0; }
.wz-field > span { font-size: 13px; font-weight: 700; color: #0f1724; }
.wz-field input, .wz-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid #e1e6ed;
  border-radius: 12px;
  background: #fff;
  color: #0f1724;
  font: inherit;
  font-size: 15.5px;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.wz-field textarea { min-height: 84px; resize: vertical; line-height: 1.5; }
.wz-field input:focus, .wz-field textarea:focus { border-color: #1a89da; box-shadow: 0 0 0 4px rgba(26, 137, 218, .15); }
.wz-field input[readonly] { background: #f3f7fb; color: #6c7d94; }
.wz-field.has-error input, .wz-field.has-error textarea { border-color: #fca5a5; }
.wz-field em { font-style: normal; font-size: 12.5px; font-weight: 600; color: #dc2626; }
.wz-note { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: #6c7d94; }
.wz-note a { font-weight: 700; color: #195097; }
.wz-me { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 18px; padding: 14px 16px; border-radius: 14px; background: #e8f4fd; font-size: 14.5px; color: #195097; }
.wz-me a { font-weight: 700; color: #195097; }

/* Zahlarten */
.wz-pays { display: grid; gap: 10px; }
.wz-pay { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #e1e6ed; cursor: pointer; }
.wz-pay input { width: 20px; height: 20px; margin: 0; accent-color: #1a89da; }
.wz-pay strong { font-size: 16px; color: #0f1724; }
.wz-pay small { grid-column: 2; font-size: 13px; line-height: 1.45; color: #6c7d94; }
.wz-pay:has(input:checked) { box-shadow: 0 0 0 2px #1a89da; }
.wz-coupon { display: flex; gap: 8px; }
.wz-coupon input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 1.5px solid #e1e6ed; border-radius: 12px; font: inherit; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.wz-coupon button { flex: none; min-height: 48px; padding: 0 18px; border: 0; border-radius: 12px; background: #0f1724; color: #fff; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.wz-coupon-msg { margin: 8px 0 0; font-size: 13.5px; font-weight: 600; }
.wz-coupon-msg.is-ok { color: #128c4a; }
.wz-coupon-msg.is-err { color: #dc2626; }

/* Pruefen */
.wz-review { display: grid; gap: 14px; }
@media (min-width: 900px) { .wz-review { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: start; } }
.wz-rows { margin: 0; padding: 0; list-style: none; }
.wz-rows li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #edf1f6; font-size: 15px; color: #0f1724; }
.wz-rows li:last-child { border-bottom: 0; }
.wz-rows li span:last-child { flex: none; font-weight: 600; white-space: nowrap; }
.wz-facts { display: grid; gap: 12px; margin: 0; }
.wz-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a97a8; }
.wz-facts dd { margin: 2px 0 0; font-size: 14.5px; line-height: 1.5; color: #0f1724; }
.wz-facts a { font-size: 13px; font-weight: 700; color: #1a89da; cursor: pointer; }
.wz-totals { margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid #e1e6ed; list-style: none; }
.wz-totals li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 14px; color: #44546a; }
.wz-totals li.is-total { padding-top: 10px; font-size: 18px; font-weight: 800; color: #0f1724; }
.wz-legal { margin: 18px 0 0; font-size: 13.5px; line-height: 1.55; color: #6c7d94; }
.wz-legal a { font-weight: 700; color: #195097; }
.wz-legal label { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; color: #0f1724; }
.wz-legal input { width: 18px; height: 18px; margin-top: 2px; accent-color: #1a89da; }

/* Bestaetigung */
.wz-done { max-width: 640px; margin: 0 auto; text-align: center; }
.wz-done__ok { display: grid; place-items: center; width: 96px; height: 96px; margin: 8px auto 24px; border-radius: 50%; background: linear-gradient(180deg, #2fbf71, #15803d); box-shadow: 0 0 0 12px rgba(31, 174, 91, .12), 0 24px 50px -20px rgba(21, 128, 61, .8); color: #fff; font-size: 42px; animation: wz-pop .7s var(--hm-ease); }
@keyframes wz-pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } }
.layout_wrap .wz-done h2 { margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -.03em; color: #0f1724; }
.wz-done > p { margin: 0 0 26px; font-size: 16px; line-height: 1.6; color: #44546a; }
.wz-done ol { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; counter-reset: wzd; text-align: left; }
.wz-done ol li { position: relative; padding: 14px 16px 14px 56px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #e1e6ed; font-size: 14.5px; line-height: 1.5; color: #0f1724; counter-increment: wzd; }
.wz-done ol li::before { content: counter(wzd); position: absolute; left: 16px; top: 14px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e8f4fd; color: #195097; font-size: 13px; font-weight: 800; }
.wz-done__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 26px; font-size: 14px; color: #6c7d94; }
.wz-done__meta strong { color: #0f1724; }
.wz-done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.wz-done__actions button { min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.wz-done__actions .is-primary { background: linear-gradient(180deg, #2a98e8, #1476c4); color: #fff; }
.wz-done__actions .is-ghost { background: #eef2f7; color: #0f1724; }

/* Kopfzeile: Button des Assistenten an Stelle des Warenkorbs */
@media (min-width: 1100px) { .layout_wrap #cart_short > a.rp-head-wz::after { content: "Reparatur buchen"; } }
.hm-devices__find { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #e1e6ed, 0 16px 34px -26px rgba(15, 23, 36, .45); color: #0f1724; font: inherit; font-size: 15.5px; font-weight: 600; cursor: pointer; justify-self: start; }
.hm-devices__find i { color: #1a89da; }
@media (min-width: 960px) { .hm-devices__find { justify-self: end; } }
button.rp-book { border: 0; font: inherit; cursor: pointer; }
.rp-book--lg { min-height: 54px; font-size: 16.5px; }

@media (prefers-reduced-motion: reduce) { .wz__bar, .wz-done__ok, .wz__busy span { animation: none; } }

/* Reparaturauswahl: eine ruhige Flaeche mit Trennlinien statt vieler Rahmen */
.wz ul.wz-list--pick { gap: 0; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 36, .05), 0 14px 34px -22px rgba(25, 80, 151, .35); overflow: hidden; }
.wz-list--pick li + li .wz-pick::before { content: ""; position: absolute; top: 0; left: 84px; right: 18px; height: 1px; background: #edf1f5; }
.wz-list--pick .wz-pick { border-radius: 0; box-shadow: none; background: transparent; padding: 14px 18px 14px 16px; transition: background .2s ease; }
.wz-list--pick .wz-pick:hover { transform: none; box-shadow: none; background: #f7fafd; }
.wz-list--pick .wz-pick:has(input:checked) { box-shadow: none; background: #eef6fe; }
.wz-list--pick li:has(input:checked) + li:has(input:checked) .wz-pick::before { background: #d6e7f7; }
.wz-list--pick .wz-pick:has(input:focus-visible) { outline-offset: -3px; border-radius: 14px; }
.wz-list--pick .wz-repair__img--ico { box-shadow: none; background: #f0f6fc; }
.wz-list--pick .wz-pick:has(input:checked) .wz-repair__img--ico { box-shadow: none; background: #fff; color: #1476c4; }
.wz-list--pick .wz-pick__check { width: 26px; height: 26px; box-shadow: inset 0 0 0 1.5px #d3dbe5; }
.wz-list--pick .wz-pick:hover .wz-pick__check { box-shadow: inset 0 0 0 1.5px #9fcdf2; }
.wz-list--pick .wz-pick:has(input:checked) .wz-pick__check { box-shadow: none; animation: wz-check .3s cubic-bezier(.2, .8, .2, 1.4); }
.wz-list--pick .wz-pick:has(input:checked) .wz-repair__name { color: #0f2a4d; }
@keyframes wz-check { from { transform: scale(.6); } to { transform: scale(1); } }
@media (max-width: 640px) { .wz-list--pick li + li .wz-pick::before { left: 74px; right: 14px; } .wz-list--pick .wz-pick { padding: 12px 14px 12px 12px; } }
@media (prefers-reduced-motion: reduce) { .wz-list--pick .wz-pick:has(input:checked) .wz-pick__check { animation: none; } }

.fa-pen::before { content: "\f304"; }
.fa-rotate-left::before { content: "\f2ea"; }

/* Kopf-Button: Zaehler, wenn eine Buchung angefangen ist */
#cart_short > a.rp-head-wz { position: relative; }
#cart_short > a.rp-head-wz[data-count]::before {
  content: attr(data-count);
  position: absolute; top: -4px; right: -4px; z-index: 2;
  display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: #fff; color: #1476c4;
  font-size: 11.5px; font-weight: 800; line-height: 1;
  box-shadow: 0 0 0 2px #1a89da, 0 4px 10px -2px rgba(15, 23, 36, .35);
  animation: wz-badge .4s cubic-bezier(.2, .8, .2, 1.4) both;
}
@keyframes wz-badge { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* "Willkommen zurueck": angefangene Buchung fortsetzen oder neu starten */
.wz-resume { display: grid; gap: 18px; max-width: 620px; }
.wz-resume__card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; padding: 20px; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 36, .05), 0 18px 40px -26px rgba(25, 80, 151, .45); animation: wz-tile .5s var(--hm-ease) both; }
.wz-resume__dev { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 16px; background: #f0f6fc; color: #1869b3; font-size: 28px; overflow: hidden; }
.wz-resume__dev img { max-width: 84%; max-height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.wz-resume__body { min-width: 0; }
.wz-resume__where { display: inline-block; margin-bottom: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #1a89da; }
.wz-resume__model { display: block; margin-bottom: 10px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: #0f1724; }
.wz .wz-resume__list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.wz-resume__list li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; font-size: 14.5px; color: #2b3a4f; }
.wz-resume__list li + li { border-top: 1px solid #edf1f5; }
.wz-resume__list b { font-weight: 700; color: #195097; white-space: nowrap; }
.wz-resume__ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #f0f6fc; color: #1869b3; }
.wz-resume__ico .rp-ico { width: 20px; height: 20px; }
.wz-resume__sum { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0 0; padding-top: 10px; border-top: 1px solid #dfe7f0; font-size: 15px; color: #0f1724; }
.wz-resume__sum b { color: #195097; }
.wz-resume__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.wz-resume__actions[hidden] { display: none; }
.wz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; font: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.wz-btn:focus-visible { outline: 2px solid #1a89da; outline-offset: 3px; }
.wz-btn--primary { background: linear-gradient(180deg, #2a98e8, #1476c4); color: #fff; box-shadow: 0 12px 24px -12px rgba(20, 118, 196, .7); }
.wz-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 16px 28px -12px rgba(20, 118, 196, .75); }
.wz-btn--ghost { background: #eef2f7; color: #0f1724; }
.wz-btn--ghost:hover { background: #e3e9f1; }
.wz-btn--danger { background: #dc2626; color: #fff; }
.wz-btn--danger:hover { background: #c81e1e; }
@media (max-width: 640px) {
  .wz-resume__card { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .wz-resume__dev { width: 52px; height: 52px; border-radius: 12px; }
  .wz-resume__model { font-size: 18px; }
  .wz-resume__actions .wz-btn { flex: none; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .wz-resume__card, dialog.wz-confirm[open] { animation: none; } }
/* Desktop: Aktionen rechts, Hauptaktion ganz aussen (wie "Weiter" in der Leiste) */
@media (min-width: 641px) {
  .wz-resume { max-width: none; }
  .wz-resume__actions { justify-content: flex-end; }
}
/* Mobil: Hauptaktion oben */
@media (max-width: 640px) { .wz-resume__actions { flex-direction: column-reverse; } }

/* Rueckfrage "Wirklich neu starten?" als Dialog */
dialog.wz-confirm {
  width: min(420px, calc(100vw - 32px)); margin: auto; padding: 28px 26px 22px;
  border: 0; border-radius: 22px; background: #fff; color: #0f1724; text-align: center;
  box-shadow: 0 30px 70px -20px rgba(10, 30, 60, .45), 0 0 0 1px rgba(15, 23, 36, .04);
}
dialog.wz-confirm[open] { animation: wz-confirm-in .32s cubic-bezier(.2, .8, .2, 1) both; }
dialog.wz-confirm::backdrop { background: rgba(10, 30, 60, .35); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@keyframes wz-confirm-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.wz-confirm__icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: #fdecec; color: #dc2626; font-size: 22px; }
.layout_wrap .wz-confirm__title, .wz-confirm__title { margin: 0 0 8px; font-size: 21px; font-weight: 700; letter-spacing: -.01em; color: #0f1724; }
.wz-confirm__text { margin: 0 0 22px; font-size: 15px; line-height: 1.55; color: #5b6878; }
.wz-confirm__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wz-confirm__actions .wz-btn { padding: 0 16px; }
@media (max-width: 400px) { .wz-confirm__actions { grid-template-columns: 1fr; } .wz-confirm__actions [data-wz-restart-yes] { order: -1; } }

/* Kopfzeile: Suchleiste gibt es nicht mehr, der Platzhalter schiebt die Symbole auf allen Seiten nach rechts */
.layout_wrap .flex_header_row .col_filler { display: block; flex: 1; }

/* ==========================================================================
   Sprachauswahl in der Kopfzeile (index.html, Plugin rp_languages)
   ========================================================================== */
.fa-globe::before { content: "\f0ac"; }
.col_lang { position: relative; display: flex; align-items: center; }
.rp-lang { position: relative; }
.rp-lang > summary { list-style: none; }
.rp-lang > summary::-webkit-details-marker { display: none; }
.rp-lang__btn {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 13px; margin-right: 8px;
  border-radius: 999px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; cursor: pointer; user-select: none;
  transition: background .2s ease, color .2s ease;
}
.rp-lang__btn i { font-size: 15px; }
.rp-lang__btn:hover, .rp-lang[open] .rp-lang__btn { background: #fff; color: #195097; }
.rp-lang__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.rp-lang__menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 1000; min-width: 220px; padding: 8px;
  border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 36, .08), 0 24px 48px -16px rgba(15, 40, 80, .45);
  animation: rp-lang-in .2s cubic-bezier(.2, .8, .2, 1);
}
@keyframes rp-lang-in { from { opacity: 0; transform: translateY(-6px); } }
.rp-lang__title { margin: 4px 10px 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a97a8; }
.rp-lang__menu a.rp-lang__item, .rp-lang__menu a.rp-lang__item:link, .rp-lang__menu a.rp-lang__item:visited {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 11px;
  background: transparent; color: #0f1724; font-size: 15px; font-weight: 600; text-decoration: none;
}
.rp-lang__menu a.rp-lang__item:hover { background: #f3f7fb; }
.rp-lang__menu a.rp-lang__item.is-active { background: #eef6fd; color: #195097; }
.rp-lang__code { display: grid; place-items: center; width: 32px; height: 24px; border-radius: 6px; background: #eef2f7; color: #44546a; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; }
.rp-lang__item.is-active .rp-lang__code { background: #1a89da; color: #fff; }
.rp-lang__name { flex: 1; }
.rp-lang__item .fa-check { color: #1a89da; font-size: 12px; }
@media (max-width: 600px) {
  .rp-lang__btn { height: 36px; padding: 0 10px; margin-right: 4px; gap: 5px; }
  .rp-lang__menu { position: fixed; top: auto; left: 12px; right: 12px; bottom: 12px; min-width: 0; }
}
/* Sprachmenue offen: WhatsApp-Button ausblenden (lag auf dem Handy ueber den unteren Eintraegen) */
body:has(.rp-lang[open]) .whatsapp-float { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 600px) {
  .rp-lang__menu { bottom: max(16px, env(safe-area-inset-bottom)); z-index: 10050; }
}
