:root{
  --rb-red:#b12b22;
  --rb-bg:#fafbfd;
  --rb-surface:#ffffff;
  --rb-text:#22303d;
  --rb-muted:#6d7d90;
  --rb-line:#e5ebf2;
  --rb-line-strong:#dbe3ed;
  --rb-radius:14px;
  --rb-shadow:0 1px 6px rgba(15,23,42,.035);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color:var(--rb-text);
  background:var(--rb-bg);
  line-height:1.45;
}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}

/* Layout shell */
.rb-page{
  margin-top:64px;
  padding:20px 0 82px;
}
.rb-wrap,
.rb-container{
  width:min(1280px, calc(100% - 28px));
  margin:0 auto;
}
.zl-container,
.zl-form{
  width:min(1040px,100%);
  margin:0 auto;
}

/* Header */
.rb-topbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:4000;
  background:var(--rb-red);
  color:#fff;
  box-shadow:0 1px 6px rgba(0,0,0,.09);
}
.rb-topbar__inner{
  width:min(1120px, calc(100% - 14px));
  margin:0 auto;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:7px;
}
.rb-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.rb-home{
  width:38px;
  height:38px;
  border-radius:12px;
  background:rgba(255,255,255,.14);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  flex:0 0 auto;
}
.rb-home__ic{
  width:20px;
  height:20px;
  fill:none;
  stroke:#fff;
  stroke-width:2.2;
}
.rb-brand{
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.025em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  min-width:0;
}
.rb-brand-short{display:none}
.rb-right{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}
.rb-icbtn{
  width:36px;
  height:36px;
  border-radius:11px;
  background:rgba(255,255,255,.1);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  position:relative;
}
.rb-ic{
  width:20px;
  height:20px;
  fill:none;
  stroke:#fff;
  stroke-width:2.2;
}
.rb-icbadge{
  position:absolute;
  top:-5px;
  right:-5px;
  min-width:20px;
  height:20px;
  padding:0 5px;
  border-radius:999px;
  background:#fff;
  color:var(--rb-red);
  font-size:11px;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Typography + surfaces */
.rb-title,.rb-h1{
  margin:0 0 16px;
  font-size:clamp(23px,4.9vw,31px);
  line-height:1.16;
  letter-spacing:-.02em;
}
.rb-muted{color:var(--rb-muted)}
.rb-empty,.zl-card,.rb-info,.rb-cart__row,.zl-detail-card{
  background:var(--rb-surface);
  border:1px solid var(--rb-line);
  border-radius:var(--rb-radius);
  box-shadow:var(--rb-shadow);
}
.zl-card{padding:16px}

/* Buttons (leading system) */
.rb-btn{
  height:38px;
  padding:0 12px;
  border-radius:10px;
  border:1px solid var(--rb-line);
  background:#fff;
  color:#334355;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:12px;
  font-weight:600;
  line-height:1;
  cursor:pointer;
  transition:background-color .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease;
}
.rb-btn--primary{
  background:var(--rb-red);
  color:#fff;
  border-color:transparent;
}
.rb-btn--ghost{
  background:#fff;
  color:#4d6177;
  border-color:var(--rb-line-strong);
}
.rb-btn--danger{
  background:#fff;
  color:#845049;
  border-color:#e4c8c4;
}
.rb-btn--small{height:40px}
.rb-btn--wide{width:100%}

/* Inputs / forms */
.zl-input,.zl-select,.zl-textarea,.rb-qty,.rb-cart__qty{
  border:1px solid var(--rb-line-strong);
  border-radius:10px;
  background:#fff;
}
.zl-input,.zl-select,.rb-qty,.rb-cart__qty{
  height:40px;
  padding:0 12px;
  font-size:13.5px;
}
.zl-textarea{
  width:100%;
  min-height:126px;
  padding:11px 12px;
  resize:vertical;
}
.zl-title{margin:22px 0 12px;font-size:17px}
.zl-row{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
.zl-row > *{min-width:0}
.zl-field{margin-bottom:14px;min-width:0}
.zl-label{
  display:block;
  margin:0 0 7px;
  font-size:12px;
  font-weight:600;
  color:#56697f;
}
.zl-radio{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  min-width:0;
}
.zl-radio label{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12.5px;
  padding:7px 10px;
  border:1px solid var(--rb-line);
  border-radius:10px;
  background:#fcfdff;
  min-width:0;
}

/* Index / cards / grid */
.zl-welcome{
  display:grid;
  gap:16px;
  margin:18px 0 34px;
  max-width:1040px;
  align-items:start;
}
.zl-welcome__left{
  display:grid;
  gap:10px;
  align-content:start;
  padding-top:2px;
}
.zl-welcome__right{
  display:grid;
  gap:11px;
}
.zl-welcome__carrier-logo{
  width:auto;
  height:62px;
  max-width:min(88vw, 360px);
  object-fit:contain;
  display:block;
}
.zl-welcome__eyebrow{
  margin:0;
  color:#933f37;
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.zl-welcome__title{
  margin:0;
  font-size:clamp(26px,6.4vw,36px);
  line-height:1.12;
  letter-spacing:-.02em;
}
.zl-welcome__text{margin:0;max-width:700px;color:#65758a;line-height:1.64;font-size:13.5px}
.zl-vehicle-hint{
  display:grid;
  gap:12px;
  margin:0 0 18px;
  padding:14px 14px;
  border:1px solid #e6ebf2;
  border-radius:12px;
  background:#fbfdff;
}
.zl-vehicle-hint__text{
  display:grid;
  gap:5px;
  min-width:0;
}
.zl-vehicle-hint__title{
  margin:0;
  font-size:17px;
  line-height:1.3;
  letter-spacing:-.01em;
}
.zl-vehicle-hint__copy{
  margin:0;
  color:#64748b;
  font-size:13px;
  line-height:1.55;
}
.zl-vehicle-hint__cta{
  justify-self:start;
}
.rb-catalog-page .zl-tax-note{
  max-width:660px;
}
.zl-filterbar{
  margin:0 0 18px;
  padding:4px 0;
  border:0;
  border-radius:0;
  background:transparent;
}
.filter-form{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.zl-input{flex:1 1 250px}
.zl-select{flex:0 1 182px;min-width:162px}
.zl-filter-reset{align-self:center}
.rb-catalog-page .zl-filter-reset{
  opacity:.88;
}
.zl-tax-note{
  margin:0 0 20px;
  color:var(--rb-muted);
  font-size:12px;
}
.zl-tax-note--detail{margin:6px 0 12px}

.zl-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
}
.zl-card.zl-item{
  padding:0;
  overflow:hidden;
  border-radius:12px;
  border-color:#e8edf4;
  box-shadow:0 1px 4px rgba(15,23,42,.03);
}
.zl-card-image{
  position:relative;
  aspect-ratio:16/11;
  background:#fff;
  border-bottom:1px solid #f1f4f8;
}
.img-wrapper{position:relative;width:100%;height:100%}
.zl-card-img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:14px;
}
.zl-item__img--placeholder{width:100%;height:100%;background:#fff}
.zl-loc-tag{
  position:absolute;
  top:10px;
  right:10px;
  background:rgba(34,48,61,.58);
  color:#fff;
  font-size:10px;
  font-weight:700;
  border-radius:999px;
  padding:3px 7px;
}
.zl-item__body{padding:15px 15px 14px}
.zl-item__name{
  margin:0 0 7px;
  font-size:14.5px;
  font-weight:650;
  line-height:1.32;
  letter-spacing:-.008em;
}
.zl-item__desc{
  margin:0 0 13px;
  color:#738398;
  font-size:11.25px;
}
.zl-item__price{
  margin:0 0 13px;
  font-size:17.5px;
  font-weight:700;
  letter-spacing:-.008em;
}
.zl-price-tag__suffix,.zl-price-tag__na{
  font-size:11.5px;
  color:var(--rb-muted);
  font-weight:600;
}
.rb-card-actions{
  display:flex;
  gap:8px;
  align-items:stretch;
  flex-wrap:nowrap;
  margin-top:3px;
  padding-top:1px;
}
.rb-qty{
  min-width:68px;
  flex:0 0 auto;
  height:34px;
  padding:0 8px;
  font-size:12px;
}
.rb-card-actions .js-merken-form{
  display:inline-flex;
  flex:1 1 116px;
  min-width:0;
}
.rb-card-actions .js-merken-form .rb-btn,
.rb-card-actions>.rb-btn{
  width:100%;
  flex:1 1 110px;
  min-height:34px;
  height:34px;
  padding:0 10px;
  font-size:11px;
}
.rb-card-actions .rb-btn--primary{
  box-shadow:0 1px 0 rgba(177,43,34,.12);
}
.rb-catalog-page .rb-card-actions .rb-btn{
  letter-spacing:.01em;
}
.rb-catalog-page .zl-card-image .img-wrapper{
  padding:1px;
}
.rb-catalog-page .zl-loc-tag{
  top:12px;
  right:12px;
}

/* Merkliste */
.rb-empty__actions{margin-top:12px}
.rb-cart{
  display:flex;
  flex-direction:column;
  gap:12px;
  max-width:980px;
}
.rb-cart__row{
  padding:13px 14px;
  display:flex;
  flex-direction:column;
  gap:12px;
  border-color:#e7ecf3;
  box-shadow:0 1px 4px rgba(15,23,42,.03);
}
.rb-cart__left{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.rb-cart__img{
  width:58px;
  height:58px;
  border-radius:10px;
  border:1px solid var(--rb-line);
  object-fit:cover;
  background:#fff;
  flex:0 0 auto;
}
.rb-cart__img--empty{display:block}
.rb-cart__name{font-weight:700;line-height:1.28;font-size:14px}
.rb-cart__right{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
}
.rb-cart__qtyform{display:flex;align-items:center;gap:8px}
.rb-cart__label{font-size:11px;color:var(--rb-muted);font-weight:600}
.rb-cart__qty{width:70px}
.rb-cart__actions{
  margin-top:16px;
  display:flex;
  flex-direction:column;
  gap:9px;
  max-width:980px;
}
.rb-cart-page .rb-title{
  margin-bottom:16px;
}
.rb-cart-page .rb-empty{
  padding:16px;
}
.rb-cart-page .rb-title,
.rb-cart-page .rb-empty,
.rb-cart-page .rb-cart,
.rb-cart-page .rb-cart__actions{
  margin-left:auto;
  margin-right:auto;
}

/* Detail */
.zl-detail-wrap{display:grid;gap:14px}
.zl-back-link{
  color:var(--rb-muted);
  text-decoration:none;
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.02em;
}
.zl-detail-card{
  overflow:hidden;
  border-radius:12px;
  border-color:#e8edf4;
  box-shadow:0 1px 5px rgba(15,23,42,.03);
}
.zl-col-img{
  background:#f7f9fc;
  min-height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.zl-col-img img{
  width:100%;
  max-height:400px;
  object-fit:contain;
}
.zl-col-txt{padding:20px}
.rb-detail-page .zl-col-txt{
  display:flex;
  flex-direction:column;
}
.zl-d-title{
  margin:0 0 7px;
  font-size:clamp(23px,5.5vw,30px);
  line-height:1.14;
}
.zl-d-cat{color:var(--rb-muted);margin-bottom:14px;font-size:12.5px}
.zl-price-tag{margin-bottom:10px}
.zl-price-tag__value{
  font-size:23px;
  font-weight:700;
  letter-spacing:-.02em;
}
.rb-detail-page .zl-price-tag,
.rb-detail-page .zl-tax-note--detail,
.rb-detail-page .zl-col-txt > .rb-btn{
  max-width:420px;
}
.zl-col-txt > .rb-btn{
  margin:2px 0 10px;
  align-self:flex-start;
  min-width:220px;
}
.rb-info-grid{display:grid;gap:8px;margin-top:12px}
.rb-info{
  padding:10px 11px;
  border-color:#ebf0f6;
  box-shadow:none;
}
.rb-info__h{
  font-weight:600;
  font-size:11.5px;
  color:#516278;
  margin-bottom:4px;
}
.rb-info__p{
  font-size:13px;
  line-height:1.5;
  color:#2e3c4e;
}
.rb-detail-page .zl-tax-note--detail{
  margin:0 0 12px;
}

/* Mietanfrage */
.zl-form-devices{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:2px 0 20px;
}
.zl-form-devices > div{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 11px;
  border:1px solid var(--rb-line);
  border-radius:10px;
  background:#fdfefe;
  min-width:0;
}
.zl-form-devices > div img,
.zl-form-devices > div > div{
  width:42px;
  height:42px;
  border-radius:9px;
  border:1px solid var(--rb-line);
  background:#fff;
  object-fit:cover;
  flex:0 0 auto;
}
.zl-form-devices > div span{
  font-size:12.5px;
  font-weight:600;
  min-width:0;
  overflow-wrap:anywhere;
}
.zl-karmabox{
  width:100%;
  border:1px solid var(--rb-line);
  border-radius:10px;
  padding:12px;
  background:#fdfefe;
}
.zl-range{width:100%;accent-color:var(--rb-red)}
.rb-karma-readout{margin-top:9px;overflow-wrap:anywhere;font-size:13px}
.zl-hint{
  margin:0;
  color:var(--rb-muted);
  font-size:12px;
  line-height:1.5;
  overflow-wrap:anywhere;
}
.zl-hint--spaced-sm{margin-top:8px}
.zl-hint--spaced{margin-top:12px}
.toggle-wrap{
  display:none;
  margin-top:10px;
  padding:11px;
  border:1px solid var(--rb-line);
  border-radius:10px;
  background:#fdfefe;
}
.toggle-wrap.show{display:block}
.rb-request-card > h1{
  margin:0 0 6px;
  font-size:clamp(23px,5.2vw,29px);
  letter-spacing:-.02em;
}
.rb-request-card > p{
  margin:0 0 18px;
  color:#5d6d80;
  font-size:14px;
}
.rb-request-page{
  width:min(1120px,100%);
}
.rb-request-page .rb-request-card{
  border-radius:12px;
  padding:22px;
}

/* Bottom bar */
.rb-bottombar{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  background:var(--rb-red);
  color:#fff;
  border-top:1px solid rgba(255,255,255,.22);
  box-shadow:0 -4px 12px rgba(15,23,42,.12);
  z-index:5000;
}
.rb-bottombar__inner{
  width:min(1120px, calc(100% - 14px));
  margin:0 auto;
  min-height:42px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}
.rb-bottombar__link{
  color:#fff;
  text-decoration:none;
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-weight:700;
  opacity:.92;
}
.rb-bottombar__link:hover{opacity:1;text-decoration:underline}

/* Responsive */
@media (min-width:700px){
  .rb-wrap,.rb-container{width:min(1280px, calc(100% - 52px))}
  .zl-welcome{
    grid-template-columns:minmax(220px, 28%) 1fr;
    column-gap:28px;
    row-gap:12px;
  }
  .zl-welcome__left{
    gap:12px;
    padding-top:6px;
  }
  .zl-welcome__carrier-logo{
    height:86px;
    max-width:320px;
  }
  .zl-welcome__right{
    gap:12px;
  }
  .zl-welcome__right .zl-filterbar{
    margin-top:4px;
  }
  .zl-vehicle-hint{
    grid-template-columns:1fr auto;
    align-items:center;
    column-gap:16px;
    padding:15px 16px;
  }
  .zl-vehicle-hint__cta{
    justify-self:end;
  }
  .zl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  .rb-cart__row{flex-direction:row;justify-content:space-between;align-items:center}
  .rb-cart__actions{flex-direction:row;justify-content:space-between}
  .zl-row{grid-template-columns:1fr 1fr}
  .zl-detail-card{display:grid;grid-template-columns:minmax(360px,48%) 1fr}
  .rb-info-grid{grid-template-columns:1fr 1fr}
}
@media (min-width:1020px){
  .zl-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
  .filter-form{flex-wrap:nowrap}
  .zl-input{flex:1 1 auto}
  .zl-select{flex:0 0 220px}
  .zl-filter-reset{flex:0 0 auto}
  .rb-cart__actions{
    align-items:center;
  }
  .rb-request-page{
    width:min(1160px,100%);
  }
  .rb-request-page .rb-request-card{
    padding:24px 26px;
  }
}
@media (max-width:699px){
  .rb-wrap,.rb-container{
    width:min(100%, calc(100% - 18px));
  }
  .zl-welcome{
    gap:12px;
  }
  .zl-welcome__carrier-logo{
    height:58px;
    max-width:min(92vw, 300px);
  }
  .zl-vehicle-hint{
    padding:12px;
    margin:0 0 16px;
    gap:10px;
  }
  .zl-vehicle-hint__title{
    font-size:16px;
  }
  .zl-vehicle-hint__copy{
    font-size:12.5px;
  }
  .zl-vehicle-hint__cta{
    width:100%;
  }
  .rb-card-actions{
    flex-wrap:nowrap;
    gap:7px;
  }
  .rb-card-actions .rb-btn{
    flex:1 1 100px;
  }
  .rb-card-actions .js-merken-form{
    flex:1 1 100px;
  }
  .rb-card-actions .rb-qty{
    flex:0 0 64px;
  }
  .zl-col-txt{
    padding:16px;
  }
  .zl-col-txt > .rb-btn{
    width:100%;
  }
  .rb-cart__right{
    width:100%;
    justify-content:flex-start;
    gap:8px;
  }
  .rb-cart__right .rb-btn{
    flex:1 1 calc(50% - 8px);
  }
  .zl-filterbar{
    padding:2px 0 4px;
  }
  .filter-form{
    gap:8px;
  }
  .zl-input,
  .zl-select{
    flex:1 1 100%;
  }
  .zl-filter-reset{
    width:100%;
  }
  .zl-filter-reset .rb-btn,
  .zl-filter-reset.rb-btn{
    width:100%;
  }
  .rb-request-page .rb-request-card{
    padding:18px 14px;
  }
  .zl-grid{
    gap:16px;
  }
  .zl-item__body{
    padding:14px;
  }
}
