
:root{
  --bg:#02090d;
  --panel:#07171d;
  --panel2:#0b2028;


  --turq:#00dfe5;
  --turq2:#10b8c0;
  --text:#f5fbff;
  --muted:#9ab1bb;
  --line:rgba(0,223,229,.22);
  --white:#f7fbfc;
  --dark:#071116;
  --orange:#ffc857;
  --blue:#53bfff;
  --green:#6ced93;
  --red:#ff6b78;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  color:var(--text);
  min-height:100vh;
  background:
    radial-gradient(circle at 20% 8%,rgba(0,223,229,.22),transparent 26%),
    radial-gradient(circle at 85% 82%,rgba(0,223,229,.15),transparent 28%),
    linear-gradient(135deg,#02070a,#071016 60%,#02070a);
}
.phone{
  max-width:430px;
  min-height:100vh;
  margin:0 auto;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 70% 10%,rgba(0,223,229,.20),transparent 26%),
    linear-gradient(180deg,#061116,#02070a);
  border-left:1px solid rgba(255,255,255,.06);
  border-right:1px solid rgba(255,255,255,.06);
  padding-bottom:86px;
}
.phone.light{
  color:#111827;
  background:
    radial-gradient(circle at 95% 95%,rgba(0,223,229,.16),transparent 25%),
    linear-gradient(180deg,#f8fbfc,#eef4f5);
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:.3px;
}
.bubbles{
  width:38px;height:38px;border-radius:50%;
  background:rgba(0,223,229,.72);
  box-shadow:24px 8px 0 rgba(220,220,220,.72),0 0 28px rgba(0,223,229,.4);
  flex:0 0 auto;
}
.header{
  padding:24px 22px 12px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.iconBtn{
  width:42px;height:42px;border-radius:16px;border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.06);color:inherit;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 12px 30px rgba(0,0,0,.25);
}
.light .iconBtn{background:white;border-color:#e9eef0;color:#111827}
h1{font-size:28px;margin:18px 22px 4px}
h2{font-size:22px;margin:0;font-weight:850}
.sub{color:var(--muted);margin:0 22px 22px}
.light .sub{color:#6b7280}
.screenTitle{
  padding:28px 22px 16px;
  display:flex;align-items:center;gap:16px;justify-content:space-between;
}
.screenTitle .left{display:flex;align-items:center;gap:14px}
.card{
  margin:14px 18px;
  padding:17px;
  border-radius:22px;
  background:linear-gradient(145deg,rgba(12,31,39,.92),rgba(5,13,18,.94));
  border:1px solid var(--line);
  box-shadow:0 18px 45px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05);
}
.light .card{
  background:rgba(255,255,255,.88);
  border:1px solid #e7eef0;
  color:#111827;
  box-shadow:0 14px 30px rgba(0,0,0,.08);
}
.loginHero{
  padding:48px 30px 0;
  min-height:100vh;
  background:
    radial-gradient(circle at 18% 9%,rgba(0,223,229,.55),transparent 15%),
    radial-gradient(circle at 32% 13%,rgba(230,230,230,.6),transparent 12%);
}
.claim{
  margin-top:120px;
  font-size:34px;
  line-height:1.25;
  font-weight:900;
  letter-spacing:.5px;
}
.claim span{color:var(--turq)}
.loginPanel{
  margin-top:38px;
  padding:22px;
  border-radius:24px;
  background:rgba(10,28,35,.80);
  border:1px solid rgba(0,223,229,.24);
  box-shadow:0 20px 60px rgba(0,0,0,.45);
  backdrop-filter:blur(16px);
}
label{display:block;font-size:12px;font-weight:800;letter-spacing:.7px;text-transform:uppercase;margin:10px 0 7px;color:#d7fbff}
.light label{color:#111827}
input,select,textarea{
  width:100%;
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  padding:15px;
  background:rgba(255,255,255,.06);
  color:inherit;
  font-size:16px;
  outline:none;
}
.light input,.light select,.light textarea{background:white;border-color:#e3eaed;color:#111827}
textarea{min-height:110px;resize:vertical}
.btn{
  border:none;
  border-radius:16px;
  padding:16px 18px;
  min-height:54px;
  background:linear-gradient(135deg,var(--turq),#07aab3);
  color:white;
  font-weight:850;
  font-size:16px;
  box-shadow:0 0 28px rgba(0,223,229,.35);
  cursor:pointer;
}
.btn.full{width:100%}
.btn.ghost{
  background:transparent;
  border:1px dashed rgba(0,223,229,.55);
  color:var(--turq2);
  box-shadow:none;
}
.dashboardGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  padding:0 18px;
}
.tile{
  min-height:138px;
  border-radius:38px;
  padding:20px;
  background:linear-gradient(145deg,rgba(10,31,40,.95),rgba(2,10,14,.95));
  border:1px solid var(--line);
  box-shadow:0 18px 40px rgba(0,0,0,.35);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  gap:12px;
  cursor:pointer;
}
.tile.primary{
  background:linear-gradient(145deg,#00dfe5,#048b95);
}
.tile.purple{
  background:linear-gradient(145deg,#422999,#171129);
  border-color:rgba(140,105,255,.45);
}
.tileIcon{font-size:38px;color:var(--turq)}
.tile.primary .tileIcon{color:white}
.stats{
  margin:18px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
}
.stat{
  border-radius:18px;
  padding:12px 8px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  text-align:center;
}
.stat b{color:var(--turq);font-size:20px}
.productRow,.requestRow{
  display:flex;
  align-items:center;
  gap:14px;
}
.prodIcon{
  width:52px;height:52px;border-radius:16px;
  background:rgba(0,223,229,.13);
  display:flex;align-items:center;justify-content:center;font-size:24px;
}
.qty{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:14px;
  background:rgba(255,255,255,.08);
  border-radius:16px;
  padding:8px 10px;
}
.light .qty{background:#f2f6f7}
.qty button{
  width:28px;height:28px;border:none;border-radius:10px;background:transparent;color:inherit;font-size:18px;font-weight:900;
}
.qty b{min-width:22px;text-align:center}
.badge{
  margin-left:auto;
  border-radius:12px;
  padding:8px 11px;
  font-size:12px;
  font-weight:850;
}
.bOffen{background:rgba(255,255,255,.10);color:#d8e4e8}
.bBestellt{background:rgba(255,200,87,.16);color:var(--orange)}
.bZustellung{background:rgba(83,191,255,.17);color:var(--blue)}
.bErhalten{background:rgba(108,237,147,.18);color:var(--green)}
.bStorniert{background:rgba(255,107,120,.16);color:var(--red)}
.bottomNav{
  position:fixed;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:100%;
  max-width:430px;
  height:76px;
  display:flex;
  justify-content:space-around;
  align-items:center;
  background:rgba(4,12,17,.93);
  border-top:1px solid var(--line);
  backdrop-filter:blur(18px);
  z-index:10;
}
.bottomNav button{
  background:none;border:none;color:#8da1aa;font-size:12px;text-align:center;
}
.bottomNav button.active{color:var(--turq);font-weight:850;text-shadow:0 0 15px rgba(0,223,229,.9)}
.bottomNav span{display:block;font-size:23px;margin-bottom:4px}
.detailHero{
  margin:18px;
  padding:22px;
  border-radius:24px;
  background:
    radial-gradient(circle at 85% 0%,rgba(0,223,229,.22),transparent 35%),
    rgba(255,255,255,.06);
  border:1px solid var(--line);
}
.timeline{
  margin-top:18px;
  border-left:2px solid rgba(0,223,229,.45);
  padding-left:16px;
}
.timeline div{margin:0 0 18px;position:relative;color:var(--muted)}
.timeline div:before{
  content:"";position:absolute;left:-23px;top:3px;width:10px;height:10px;border-radius:50%;background:var(--turq);box-shadow:0 0 12px var(--turq);
}
.package{
  margin:20px auto;
  width:190px;height:190px;border-radius:50%;
  background:
    radial-gradient(circle,rgba(0,223,229,.22),transparent 58%),
    linear-gradient(145deg,rgba(0,223,229,.18),rgba(255,255,255,.04));
  border:1px solid rgba(0,223,229,.28);
  display:flex;align-items:center;justify-content:center;font-size:82px;
  box-shadow:0 0 35px rgba(0,223,229,.24);
}
.desktopHint{
  max-width:900px;
  margin:0 auto;
}
@media(min-width:760px){
  body{padding:0}
  .phone{min-height:100vh}
}
.material-success{
  min-height:100vh;
  background:
    radial-gradient(circle at 50% 18%, rgba(24,214,203,.22), transparent 32%),
    linear-gradient(180deg,#020b0d 0%,#031b1f 54%,#02090b 100%);
  color:#fff;
}

.material-success__main{
  width:min(100%,430px);
  min-height:100vh;
  margin:0 auto;
  padding:54px 26px 42px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.material-success__check{
  width:92px;
  height:92px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#18d6cb;
  font-size:54px;
  font-weight:900;
  border:1px solid rgba(24,214,203,.45);
  box-shadow:0 0 50px rgba(24,214,203,.28);
  margin-bottom:34px;
  animation:successPop .7s ease both;
}

.material-success__road{
  position:relative;
  width:100%;
  height:190px;
  margin-bottom:36px;
  overflow:hidden;
}

.material-success__road::after{
  content:"";
  position:absolute;
  left:10%;
  right:10%;
  bottom:30px;
  height:5px;
  border-radius:999px;
  background:linear-gradient(90deg,transparent,#18d6cb,transparent);
  box-shadow:0 0 28px rgba(24,214,203,.75);
}

.material-success__truck{
  position:absolute;
  left:50%;
  bottom:42px;
  width:210px;
  height:92px;
  transform:translateX(-50%);
  animation:truckDriveIn 1.1s ease-out both;
}

.material-success__box{
  position:absolute;
  left:0;
  top:6px;
  width:138px;
  height:70px;
  border-radius:10px 8px 8px 10px;
  background:linear-gradient(135deg,#f7fbfb,#b9c7c9);
  box-shadow:0 18px 35px rgba(0,0,0,.35);
}

.material-success__cab{
  position:absolute;
  right:8px;
  top:24px;
  width:70px;
  height:52px;
  border-radius:10px 24px 10px 8px;
  background:linear-gradient(135deg,#ffffff,#c9d5d7);
  box-shadow:0 18px 35px rgba(0,0,0,.35);
}

.material-success__cab::after{
  content:"";
  position:absolute;
  right:13px;
  top:10px;
  width:26px;
  height:18px;
  border-radius:5px;
  background:#083236;
}

.material-success__wheel{
  position:absolute;
  bottom:0;
  width:26px;
  height:26px;
  border-radius:50%;
  background:#071518;
  border:5px solid #98abad;
}

.material-success__wheel.wheel-left{ left:38px; }
.material-success__wheel.wheel-right{ right:38px; }

.material-success__content h1{
  margin:0;
  font-size:52px;
  line-height:1;
  letter-spacing:-.05em;
}

.material-success__content p{
  margin:18px 0 24px;
  font-size:22px;
  color:rgba(255,255,255,.86);
}

.material-success__divider{
  display:flex;
  align-items:center;
  gap:16px;
  margin:8px 0 28px;
  color:#18d6cb;
  font-size:26px;
}

.material-success__divider span{
  width:110px;
  height:1px;
  background:linear-gradient(90deg,transparent,#18d6cb);
}

.material-success__divider span:last-child{
  background:linear-gradient(90deg,#18d6cb,transparent);
}

.material-success__content h2{
  margin:0;
  font-size:28px;
  font-style:italic;
  color:#fff;
}

.material-success__content h3{
  margin:8px 0 44px;
  font-size:34px;
  font-style:italic;
  color:#18d6cb;
}

.material-success__button{
  width:100%;
  min-height:72px;
  border:0;
  border-radius:24px;
  background:#18d6cb;
  color:#031b1f;
  font-size:22px;
  font-weight:900;
  box-shadow:0 22px 50px rgba(24,214,203,.28);
}

@keyframes truckDriveIn{
  from{
    opacity:0;
    transform:translateX(-120%);
  }
  to{
    opacity:1;
    transform:translateX(-50%);
  }
}

@keyframes successPop{
  from{
    opacity:0;
    transform:scale(.7);
  }
  to{
    opacity:1;
    transform:scale(1);
  }
}
/* =========================================
   CUSTOMER DETAIL PREMIUM V1
========================================= */

.customer-detail {
  min-height: 100vh;
  background: #f8fafb;
  padding: 20px 18px 100px;
}


.customer-detail__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}


.customer-detail__back {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: none;
  background: white;
  font-size: 28px;
  cursor: pointer;
}


.customer-detail__title {
  flex: 1;
}


.customer-detail__title small {
  color: #64748b;
  font-size: 13px;
}


.customer-detail__title h1 {
  margin: 2px 0 0;
  font-size: 20px;
  color: #0f172a;
}


.customer-detail__status {
  display: flex;
}


.customer-detail__customer {
  background: white;
  border-radius: 24px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
}


.customer-detail__avatar {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #0ea5a4;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}


.customer-detail__customer h2 {
  margin: 0 0 4px;
  font-size: 18px;
}


.customer-detail__customer p {
  margin: 0 0 6px;
  color: #475569;
}


.customer-detail__customer small {
  color: #64748b;
}


.customer-detail__section {
  margin-bottom: 24px;
}


.customer-detail__section h2 {
  font-size: 18px;
  margin: 0 0 12px;
  color: #0f172a;
}


.customer-detail__products {
  display: flex;
  flex-direction: column;
  gap: 12px;
}


.customer-detail__product {
  background: white;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 6px 20px rgba(15,23,42,.05);
}


.customer-detail__product-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #ecfeff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}


.customer-detail__product strong {
  display: block;
  color: #0f172a;
}


.customer-detail__product small {
  display: block;
  margin-top: 4px;
  color: #64748b;
}


.customer-detail__timeline {
  background: white;
  border-radius: 24px;
  padding: 20px;
}


.customer-detail__timeline-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}


.customer-detail__timeline-item:last-child {
  margin-bottom: 0;
}


.customer-detail__timeline-item span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0ea5a4;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}


.customer-detail__timeline-item strong {
  display: block;
}


.customer-detail__timeline-item small {
  color: #64748b;
}
/* =========================================
   CUSTOMER REQUESTS PREMIUM V1
   Mobile First
========================================= */

.customer-requests {
  min-height: 100vh;
  background: #f8fafb;
  padding: 20px 18px 110px;
}


/* Header */

.customer-requests__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}


.customer-requests__back {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: none;
  background: #ffffff;
  font-size: 28px;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}


.customer-requests__header small {
  color: #64748b;
  font-size: 13px;
}


.customer-requests__header h1 {
  margin: 2px 0 0;
  font-size: 24px;
  color: #0f172a;
  line-height: 1.2;
}


/* Liste */

.customer-requests__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}


/* Anliegen Karte */

.customer-requests__card {
  background: #ffffff;
  border-radius: 26px;
  padding: 20px;
  min-height: 120px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
  cursor: pointer;
  transition: transform .15s ease;
}


.customer-requests__card:active {
  transform: scale(.98);
}


/* Status */

.customer-requests__status {
  flex-shrink: 0;
}


/* Inhalt */

.customer-requests__content {
  flex: 1;
}


.customer-requests__content h2 {
  margin: 0 0 8px;
  font-size: 17px;
  color: #0f172a;
  word-break: break-word;
}


.customer-requests__content p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}


/* Pfeil */

.customer-requests__arrow {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: #ecfeff;
  color: #0f766e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}


/* Lade / Fehler */

.customer-requests__empty {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  color: #64748b;
}


/* Kleine Smartphones */

@media (max-width: 380px) {

  .customer-requests {
    padding-left: 14px;
    padding-right: 14px;
  }

  .customer-requests__card {
    padding: 16px;
  }

  .customer-requests__content h2 {
    font-size: 15px;
  }

}
/* =========================================
   CUSTOMER REQUESTS MOBILE FRAME
========================================= */

.phone.customer-requests {
  background:
    linear-gradient(
      180deg,
      #f8fbfc 0%,
      #ffffff 100%
    );
  color:#0f172a;
}
/* =====================================
   MOBILE APP MODE
   Customer Screens
   ===================================== */

body {
  background:#f8fbfc;
}

.phone.customer-requests {
  width:100%;
  max-width:430px;
  margin:0 auto;
  min-height:100vh;
  background:#f8fbfc;
}
/* =====================================
   CUSTOMER DETAIL V2
   Smartphone Optimierung
   ===================================== */

.customer-detail {

  width:100%;
  max-width:430px;
  min-height:100vh;

  margin:0 auto;

  background:#f8fbfc;
  color:#0f172a;

  padding:
    20px
    18px
    100px;

  box-sizing:border-box;
}


/* Header */

.customer-detail__header {

  display:flex;
  align-items:center;
  justify-content:space-between;

  margin-bottom:22px;

}


.customer-detail__back {

  width:42px;
  height:42px;

  border-radius:50%;

  border:none;

  background:#ffffff;

  font-size:28px;

  box-shadow:
    0 8px 20px rgba(15,23,42,.08);

}


.customer-detail__title small {

  color:#64748b;
  font-size:13px;

}


.customer-detail__title h1 {

  margin:3px 0 0;

  font-size:22px;

  color:#0f172a;

}



/* Kunde */

.customer-detail__customer {

  display:flex;

  align-items:center;

  gap:16px;

  background:white;

  border-radius:24px;

  padding:20px;

  margin-bottom:28px;

  box-shadow:
    0 10px 30px rgba(15,23,42,.06);

}


.customer-detail__avatar {

  width:56px;
  height:56px;

  border-radius:18px;

  background:#16b8b1;

  color:white;

  display:flex;

  align-items:center;
  justify-content:center;

  font-size:26px;
  font-weight:700;

}


.customer-detail__customer h2 {

  margin:0;

  font-size:18px;

}


.customer-detail__customer p {

  margin:5px 0;

  color:#475569;

}



/* Überschriften */

.customer-detail__section h2 {

  font-size:18px;

  margin:
    24px
    0
    12px;

}



/* Produkte */

.customer-detail__product {

  background:white;

  border-radius:20px;

  padding:16px;

  margin-bottom:12px;

  box-shadow:
    0 8px 22px rgba(15,23,42,.05);

}


.customer-detail__product strong {

  font-size:16px;

}


.customer-detail__product small {

  display:block;

  margin-top:6px;

  color:#64748b;

}



/* Timeline */

.customer-detail__timeline {

  background:white;

  border-radius:22px;

  padding:20px;

}


.timeline-item {

  display:flex;

  gap:14px;

  position:relative;

  padding-bottom:22px;

}


.timeline-item:last-child {

  padding-bottom:0;

}


.timeline-item span {

  width:14px;
  height:14px;

  border-radius:50%;

  background:#d7e5e8;

  margin-top:5px;

  flex:none;

}


.timeline-item.active span {

  background:#16b8b1;

}


.timeline-item strong {

  display:block;

}


.timeline-item small {

  color:#64748b;

}
.customer-detail__product{
  display:flex;
  align-items:center;
  gap:14px;
  background:#ffffff;
  border-radius:22px;
  padding:16px;
  margin-bottom:14px;
  box-shadow:0 8px 24px rgba(15,23,42,.06);
}


.customer-detail__product-image{
  width:46px;
  height:46px;
  border-radius:14px;
  background:#e9fbfb;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  flex-shrink:0;
}


.customer-detail__product-info{
  display:flex;
  flex-direction:column;
  gap:5px;
}


.customer-detail__product-info strong{
  font-size:15px;
  color:#0f172a;
}


.customer-detail__product-info small{
  font-size:13px;
  color:#64748b;
}
/* Produktbilder in Bedarf-Detailansicht */

.customer-detail__product {
  display:flex;
  align-items:center;
  gap:14px;
}


.customer-detail__product-image {
  width:56px;
  height:56px;
  border-radius:14px;
  overflow:hidden;
  background:#eefafa;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
}


.customer-detail__product-image img {
  width:100%;
  height:100%;
  object-fit:contain;
  padding:6px;
}


.customer-detail__product-image-placeholder {
  font-size:24px;
}

/* RC1 – Warenerhalt auf allen Bildschirmgrößen */
.customer-detail__product--receive {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.customer-detail__product--receive .customer-detail__product-image {
  grid-column: 1;
  grid-row: 1;
}

.customer-detail__product--receive .customer-detail__product-info {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.customer-detail__product--receive > div:last-child {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 14px;
}

/* RC1 – Übersicht Lieferung prüfen */
.receive-overview {
  min-height: 100vh;
  padding: 24px 18px 110px;
  background:
    radial-gradient(circle at top right, rgba(14,165,164,.10), transparent 28%),
    #f8fafc;
}

.receive-overview__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.receive-overview__back {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 0;
  border-radius: 14px;
  background: #ffffff;
  color: #0f172a;
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
  cursor: pointer;
}

.receive-overview__header small {
  display: block;
  margin-bottom: 3px;
  color: #64748b;
  font-weight: 700;
}

.receive-overview__header h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.05;
}

.receive-overview__summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 30px rgba(15,23,42,.05);
}

.receive-overview__summary-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: #e6fffb;
  font-size: 26px;
}

.receive-overview__summary strong {
  display: block;
  color: #0f172a;
  font-size: 18px;
}

.receive-overview__summary p {
  margin: 5px 0 0;
  color: #64748b;
  line-height: 1.45;
}

.receive-overview__list {
  display: grid;
  gap: 16px;
}

.receive-overview__card,
.receive-overview__empty {
  padding: 18px;
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15,23,42,.055);
}

.receive-overview__card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.receive-overview__card-top small {
  display: block;
  margin-bottom: 4px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.receive-overview__card-top h2 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
}

.receive-overview__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 14px 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.receive-overview__positions {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
}

.receive-overview__positions > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.receive-overview__positions span {
  min-width: 0;
  overflow: hidden;
  color: #334155;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.receive-overview__positions strong {
  color: #0f172a;
}

.receive-overview__positions small {
  color: #64748b;
  font-weight: 700;
}

.receive-overview__empty {
  text-align: center;
  padding: 30px 20px;
}

.receive-overview__empty > div {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #e6fffb;
  color: #0f766e;
  font-size: 28px;
  font-weight: 900;
}

.receive-overview__empty h2 {
  margin: 0;
  color: #0f172a;
}

.receive-overview__empty p {
  margin: 10px 0 20px;
  color: #64748b;
  line-height: 1.5;
}

@media (min-width: 760px) {
  .receive-overview {
    max-width: 760px;
    margin: 0 auto;
    padding: 34px 28px 120px;
  }

  .receive-overview__card {
    padding: 22px;
  }
}

@media (max-width: 480px) {
  .receive-overview {
    padding-inline: 14px;
  }

  .receive-overview__summary {
    align-items: flex-start;
  }

  .receive-overview__card-top {
    gap: 10px;
  }
}

/* ==========================================================
   RC2 Final – durchsuchbare Vorgangslisten
   ========================================================== */

.customer-request-list-screen {
  background:
    radial-gradient(
      circle at 10% 0%,
      rgba(32, 214, 199, .13),
      transparent 28%
    ),
    #f5f8f8;
}

.customer-request-search {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  margin-bottom: 14px;
  border: 1px solid rgba(7,31,33,.06);
  border-radius: 20px;
  background: #fff;
  padding: 0 14px;
  box-shadow:
    0 14px 34px
    rgba(7,31,33,.08);
}

.customer-request-search > span {
  color: #10aaa1;
  font-size: 22px;
  font-weight: 900;
}

.customer-request-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #071f21;
  font: inherit;
  font-size: 14px;
}

.customer-request-search input::placeholder {
  color: #8a999b;
}

.customer-request-search button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #edf5f4;
  color: #5e7072;
  font-size: 21px;
  cursor: pointer;
}

.customer-request-list-summary {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 3px 13px;
  color: #718184;
  font-size: 13px;
}

.customer-request-list-summary strong {
  color: #071f21;
  font-size: 18px;
}

.customer-request-card-list {
  display: grid;
  gap: 14px;
}

.customer-request-card {
  position: relative;
  overflow: hidden;
  min-height: 192px;
  border: 1px solid rgba(7,31,33,.05);
  border-radius: 25px;
  background: #fff;
  padding: 18px 18px 66px;
  color: #071f21;
  cursor: pointer;
  box-shadow:
    0 17px 40px
    rgba(7,31,33,.09);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.customer-request-card:active {
  transform: scale(.987);
}

.customer-request-card:focus-visible {
  outline:
    3px solid
    rgba(18,189,178,.35);
  outline-offset: 3px;
}

.customer-request-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.customer-request-card__top > strong {
  min-width: 0;
  color: #718184;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .25px;
  overflow-wrap: anywhere;
}

.customer-request-card__top > span {
  flex: 0 0 auto;
  max-width: 145px;
  border-radius: 999px;
  background: #e7f8f6;
  color: #087a73;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

.customer-request-card h3 {
  margin: 0;
  color: #071f21;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -.25px;
}

.customer-request-card__more {
  margin: 6px 0 0;
  color: #5e7072;
  font-size: 13px;
  font-weight: 750;
}

.customer-request-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin-top: 15px;
  color: #718184;
  font-size: 12px;
}

.customer-request-card__delivery {
  margin-top: 15px;
  border-radius: 17px;
  background: #f4f8f8;
  padding: 11px 13px;
}

.customer-request-card__delivery small {
  display: block;
  margin-bottom: 4px;
  color: #718184;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .45px;
  text-transform: uppercase;
}

.customer-request-card__delivery strong {
  color: #071f21;
  font-size: 14px;
}

.customer-request-card__partial {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(234, 88, 12, .18);
  border-radius: 16px;
  background: #fff7ed;
  color: #7c2d12;
}

.customer-request-card__partial strong {
  font-size: 14px;
}

.customer-request-card__partial span {
  font-size: 13px;
  line-height: 1.45;
}

.customer-request-card__arrow {
  position: absolute;
  display: grid;
  place-items: center;
  right: 16px;
  bottom: 15px;
  width: 43px;
  height: 43px;
  border: 0;
  border-radius: 999px;
  background: #12bdb2;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.customer-request-list-empty {
  border-radius: 26px;
  background: #fff;
  padding: 36px 24px;
  text-align: center;
  box-shadow:
    0 18px 42px
    rgba(7,31,33,.08);
}

.customer-request-list-empty > span {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border-radius: 20px;
  background: #e7f8f6;
  color: #10aaa1;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 900;
}

.customer-request-list-empty h2 {
  margin: 0;
  color: #071f21;
  font-size: 20px;
}

.customer-request-list-empty p {
  margin: 9px auto 0;
  max-width: 290px;
  color: #718184;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 390px) {
  .customer-request-card {
    padding:
      17px 16px 63px;
  }

  .customer-request-card h3 {
    font-size: 18px;
  }
}

/* ==========================================================
   RC2 FINAL POLISH – Vorgangskarten
   ========================================================== */

.customer-request-card {
  min-height: 184px;
  padding: 17px 17px 59px;
  border-radius: 23px;
}

.customer-request-card__top {
  margin-bottom: 13px;
}

.customer-request-card__top > strong {
  font-size: 11px;
  letter-spacing: .2px;
}

/* Einheitliche kompakte Status-Badges */

.customer-request-card__top
.customer-request-card__status {
  max-width: 138px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.2;
}

.customer-request-card__status.is-open {
  background: #fff0dc;
  color: #a95c00;
}

.customer-request-card__status.is-processing {
  background: #e7f8f6;
  color: #087a73;
}

.customer-request-card__status.is-ordered {
  background: #e6f7f4;
  color: #06766f;
}

.customer-request-card__status.is-shipping {
  background: #e9f1ff;
  color: #285eaa;
}

.customer-request-card__status.is-complete {
  background: #e9f7ed;
  color: #287740;
}

.customer-request-card__status.is-action {
  background: #ffe8ea;
  color: #c12c38;
}

.customer-request-card h3 {
  font-size: 18px;
  line-height: 1.27;
}

.customer-request-card__more {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 700;
}

.customer-request-card__meta {
  margin-top: 12px;
  font-size: 11px;
}

/* Liefertermin als wichtigste Kundeninformation */

.customer-request-card__delivery {
  position: relative;
  margin-top: 13px;
  border: 1px solid rgba(18, 189, 178, .12);
  border-radius: 16px;
  background: #eef9f8;
  padding: 11px 13px 11px 39px;
}

.customer-request-card__delivery::before {
  content: "◷";
  position: absolute;
  left: 13px;
  top: 50%;
  color: #10aaa1;
  font-size: 18px;
  font-weight: 900;
  transform: translateY(-50%);
}

.customer-request-card__delivery small {
  margin-bottom: 3px;
  color: #50817e;
  font-size: 9px;
  letter-spacing: .55px;
}

.customer-request-card__delivery strong {
  color: #075e59;
  font-size: 15px;
  font-weight: 900;
}

/* Pfeil bewusst dezenter als der Inhalt */

.customer-request-card__arrow {
  right: 14px;
  bottom: 13px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(18, 189, 178, .18);
  background: #edf8f7;
  color: #0a9f96;
  font-size: 18px;
  box-shadow: none;
}

@media (max-width: 390px) {
  .customer-request-card {
    min-height: 178px;
    padding: 16px 15px 57px;
  }

  .customer-request-card h3 {
    font-size: 17px;
  }

  .customer-request-card__delivery strong {
    font-size: 14px;
  }
}
