/* Bestellstrecke: Warenkorb, Adresse, Übersicht */

/* ------------------------------------------------------------- Schritte */

.schritte {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0 0 1rem;
  border-bottom: var(--rand);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.schritte li { display: flex; align-items: center; gap: 0.5rem; }
.schritte li::before {
  content: counter(list-item);
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.55rem;
}
.schritte li[aria-current] { color: var(--akzent); }

/* ----------------------------------------------------------- Warenkorb */

.postenliste { list-style: none; margin: 0; padding: 0; }

.posten {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: var(--rand);
}
.posten:first-child { border-top: var(--rand); }
.posten__bild { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--void-2); }
.posten__name { margin: 0 0 0.2rem; font-weight: 500; }
.posten__meta {
  margin: 0 0 0.7rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.posten__menge { display: flex; align-items: center; gap: 0.5rem; }
.posten__menge button {
  min-width: 1.8rem;
  height: 1.8rem;
  background: none;
  border: var(--rand);
  color: var(--bone);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}
.posten__menge button:hover { border-color: var(--bone); background: rgb(239 230 221 / 0.08); }
.posten__menge > span { font-family: var(--mono); font-size: 0.8rem; min-width: 1.5rem; text-align: center; }
.posten__weg {
  margin-left: 0.6rem;
  border: 0 !important;
  color: var(--muted) !important;
  font-family: var(--mono);
  font-size: 0.58rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 !important;
  min-width: auto !important;
  background: none !important;
}
.posten__weg:hover { color: var(--iris) !important; }
.posten__preis { margin: 0; font-family: var(--mono); font-size: 0.85rem; white-space: nowrap; }

/* -------------------------------------------------------------- Summen */

.summe {
  margin-top: 2rem;
  padding: 1.5rem;
  border: var(--rand);
  background: rgb(13 10 28 / 0.5);
  max-width: 26rem;
  margin-left: auto;
}
.summe__zeile {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.45rem 0;
  font-family: var(--mono);
  font-size: 0.78rem;
}
.summe__zeile--gross {
  margin-top: 0.5rem;
  padding-top: 0.9rem;
  border-top: var(--rand);
  font-size: 1rem;
  color: var(--bone);
}
.summe__hinweis {
  margin: 1rem 0 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--muted);
}

.kasse__fuss {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
}
.zurueck {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.zurueck:hover { color: var(--bone); }

.leerer-korb {
  padding: 3rem 0;
  color: var(--muted);
}

/* ------------------------------------------------------------ Übersicht */

.pruefblock {
  border: var(--rand);
  padding: clamp(1.2rem, 3vw, 2rem);
  background: rgb(13 10 28 / 0.5);
}
.pruefblock + .pruefblock { margin-top: 1px; }
.pruefblock h2 {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin: 0 0 1.2rem;
}

.pruefliste { list-style: none; margin: 0; padding: 0; }
.pruefzeile {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.8rem 0;
  border-bottom: var(--rand);
}
.pruefzeile:last-child { border-bottom: 0; }
.pruefzeile__was { display: grid; gap: 0.2rem; }
.pruefzeile__was span {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.pruefzeile__preis { font-family: var(--mono); font-size: 0.85rem; white-space: nowrap; }

.adressfeld { line-height: 1.7; margin: 0; }

.rechtszeile {
  margin: 1.5rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.7;
}
.rechtszeile a { color: var(--bone); }

/* Der Bestellbutton steht allein, direkt unter den Angaben.
   Zwischen Pflichtangaben und Button darf nichts stehen. */
.bestellen {
  display: block;
  width: 100%;
  margin-top: 1px;
  padding: 1.3rem 1.5rem;
  border: 1px solid var(--iris);
  background: var(--iris);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: none;
  cursor: pointer;
  transition: filter 200ms;
}
.bestellen:hover:not([disabled]) { filter: brightness(1.15); }
.bestellen[disabled] { opacity: 0.55; cursor: wait; }

.nachbemerkung {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
}

.hinweisfeld {
  margin: 1rem 0 0;
  padding: 0.9rem 1.1rem;
  border: 1px solid;
  font-size: 0.85rem;
  line-height: 1.6;
}
.hinweisfeld[data-art="fehler"] { color: var(--iris); }
.hinweisfeld[data-art="info"] { color: var(--filament); }

/* ----------------------------------------------------- Danke und Abbruch */

.ergebnis {
  max-width: 44rem;
  padding-block: clamp(3rem, 12vh, 7rem);
}
.ergebnis .fliess { margin-top: 1.5rem; }
.ergebnis .knopf { margin-top: 2.5rem; }

@media (max-width: 40rem) {
  .posten { grid-template-columns: 3.5rem 1fr; }
  .posten__preis { grid-column: 2; text-align: right; }
  .summe { max-width: none; }
}
