/* Retourenportal & Widerruf – Brandbook: Onyx/Paper/Sand, Tuerkis nur fuer Knoepfe,
   Headlines Playfair Display, Text Inter, Labels in Versalien gesperrt. */
:root { --onyx: #121316; --muted: #5e5f63; --line: #e4e1d8; --sand: #e7e1d0; --turq: #4db6ae; --paper: #fff; --bg: #f4f1ea; --red: #b3261e; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif; color: var(--onyx); background: var(--bg); -webkit-font-smoothing: antialiased; font-size: 15px; line-height: 1.55; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; }
header { background: var(--onyx); }
header .in { max-width: 820px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lang { display: flex; gap: 2px; border: 1px solid #3a3b40; padding: 3px; }
.lang button { background: none; border: 0; color: #b9b9bd; padding: 4px 11px; cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; }
.lang button.on { background: #fff; color: var(--onyx); }
main { max-width: 820px; margin: 0 auto; padding: 36px 16px 64px; }
.label { font-size: 10.5px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero h1 { font-family: 'Playfair Display', Palatino, Georgia, serif; font-weight: 500; font-size: 38px; letter-spacing: -.3px; line-height: 1.1; margin: 10px 0 12px; }
.hero p { color: var(--muted); margin: 0; max-width: 580px; }
.steps { display: flex; gap: 6px; margin: 24px 0 18px; }
.steps span { flex: 1; height: 3px; background: var(--line); }
.steps span.on { background: var(--onyx); }
.card { background: var(--paper); padding: 26px; margin-bottom: 14px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label.f { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--onyx); }
.input { height: 48px; border: 1px solid #cfccc3; background: #fff; padding: 0 14px; width: 100%; border-radius: 0; font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 400; }
textarea.input { height: auto; min-height: 92px; padding: 12px 14px; resize: vertical; }
.input:hover { border-color: #8d8e91; }
.input:focus { outline: 2px solid var(--onyx); outline-offset: -1px; border-color: var(--onyx); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 28px; background: var(--turq); color: var(--onyx); border: 1px solid var(--turq); font-weight: 600; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; text-decoration: none; }
.btn:hover { background: #45a59d; border-color: #45a59d; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.light { background: transparent; color: var(--onyx); border-color: var(--onyx); }
.btn.light:hover { background: var(--paper); }
.btn.block { width: 100%; }
.btn:focus-visible, .seg2 button:focus-visible, .lang button:focus-visible { outline: 2px solid var(--onyx); outline-offset: 2px; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.perks div { background: var(--paper); padding: 18px; font-size: 13.5px; color: var(--muted); }
.perks b { display: block; color: var(--onyx); font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 18px; margin-bottom: 4px; }
.err { background: #fcebea; color: #7a1a14; padding: 12px 14px; font-size: 14px; margin-top: 14px; }
.info { background: var(--sand); padding: 13px 16px; font-size: 14px; }
.item { display: grid; grid-template-columns: 26px 84px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); align-items: start; }
.item:first-of-type { border-top: 0; padding-top: 4px; }
.item.off { opacity: .45; }
.item img, .item .ph { width: 84px; height: 105px; object-fit: cover; background: var(--sand); }
.item .t { font-weight: 600; }
.item .s { color: var(--muted); font-size: 14px; margin-top: 2px; }
.item .opts { display: grid; grid-template-columns: 110px 1fr; gap: 12px; margin-top: 14px; }
.item .opts .full { grid-column: 1 / -1; }
.cbx { width: 22px; height: 22px; accent-color: var(--onyx); margin-top: 2px; cursor: pointer; }
.why { font-size: 13px; color: var(--muted); margin-top: 6px; }
.seg2 { display: flex; }
.seg2 button { flex: 1; min-height: 46px; border: 1px solid #cfccc3; background: #fff; cursor: pointer; font-weight: 600; font-size: 13.5px; }
.seg2 button + button { border-left: 0; }
.seg2 button.on { background: var(--onyx); color: #fff; border-color: var(--onyx); }
.sum { display: flex; flex-direction: column; gap: 9px; }
.sum .r { display: flex; justify-content: space-between; gap: 14px; font-size: 14.5px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.sum .r:last-child { border-bottom: 0; }
.done { text-align: center; }
.done .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--onyx); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; font-size: 28px; }
.done h1 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 32px; margin: 0 0 8px; }
.qr { width: 200px; height: 200px; margin: 18px auto 8px; border: 1px solid var(--line); image-rendering: pixelated; }
ol.how { text-align: left; max-width: 460px; margin: 20px auto 0; padding-left: 20px; color: var(--muted); }
ol.how li { margin-bottom: 6px; }
footer { text-align: center; color: var(--muted); font-size: 12.5px; padding: 0 16px 40px; line-height: 1.9; }
footer a { color: var(--onyx); }
footer .tag { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 18px; color: var(--onyx); margin-bottom: 8px; }
.spin { width: 18px; height: 18px; border: 2px solid rgba(18,19,22,.25); border-top-color: var(--onyx); border-radius: 50%; animation: s .7s linear infinite; display: inline-block; }
@keyframes s { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
  .hero h1 { font-size: 30px; }
  .grid, .perks { grid-template-columns: 1fr; }
  .item { grid-template-columns: 24px 64px 1fr; gap: 10px; }
  .item img, .item .ph { width: 64px; height: 80px; }
  .item .opts { grid-template-columns: 1fr; }
  .card { padding: 18px; }
  .seg2 { flex-direction: column; }
  .seg2 button + button { border-left: 1px solid #cfccc3; border-top: 0; }
}

/* Umtausch: Groessen/Artikel waehlen, Preisdifferenz, Ruecksendeadresse */
.exch { border-top: 1px solid var(--line); padding-top: 14px; }
.vbtns { display: flex; flex-wrap: wrap; gap: 8px; }
.vbtn { min-width: 72px; min-height: 52px; border: 1px solid #cfccc3; background: #fff; cursor: pointer; padding: 6px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.vbtn b { font-size: 14px; }
.vbtn span { font-size: 12px; color: var(--muted); }
.vbtn:hover { border-color: var(--onyx); }
.picker { margin-top: 14px; }
.plist { display: flex; flex-direction: column; margin-top: 12px; max-height: 460px; overflow: auto; border: 1px solid var(--line); }
.prod { border-top: 1px solid var(--line); }
.prod:first-child { border-top: 0; }
.prod.on { background: #faf8f3; }
.prow { width: 100%; display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; background: none; border: 0; cursor: pointer; text-align: left; }
.prow img, .prow .ph { width: 48px; height: 60px; object-fit: cover; background: var(--sand); }
.prow .pt { font-weight: 600; font-size: 14px; }
.prow .pp { color: var(--muted); font-size: 13px; white-space: nowrap; }
.vars { padding: 4px 12px 14px 72px; }
.vars .label { margin-bottom: 8px; }
.chosen { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: start; }
.chosen img, .chosen .ph { width: 56px; height: 70px; object-fit: cover; background: var(--sand); }
.chosen .t { font-weight: 600; margin-top: 4px; }
.chosen .s { color: var(--muted); font-size: 14px; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font-size: 13.5px; }
.diff { font-size: 13.5px; margin-top: 6px; }
.sum .total { padding-top: 6px; font-weight: 600; }
.sum .total small, .sum small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.addr { margin: 10px 0; font-weight: 600; display: flex; flex-direction: column; }
@media (max-width: 640px) {
  .vars { padding-left: 12px; }
  .chosen { grid-template-columns: 48px 1fr; }
  .chosen .link { grid-column: 2; justify-self: start; }
}

/* Handy: Eingabefelder mindestens 16px, sonst zoomt iOS beim Tippen hinein */
@media (max-width: 640px) {
  .input, select.input, textarea.input, .seg2 button { font-size: 16px; }
  .input { height: 50px; }
}
/* Wunsch: Geld zurueck oben, Umtausch darunter (vorausgewaehlt) */
.seg2.vert { flex-direction: column; }
.seg2.vert button { min-height: 48px; text-align: left; padding: 0 16px; }
.seg2.vert button + button { border-left: 1px solid #cfccc3; border-top: 0; }
.seg2 button small { display: block; font-weight: 400; font-size: 12.5px; color: inherit; opacity: .8; }
/* Reklamation */
.complaint { background: var(--sand); padding: 14px 16px; }
.complaint .t { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 20px; }
.photo { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.photo img { max-width: 240px; max-height: 240px; object-fit: cover; border: 1px solid var(--line); }
/* Stand einer Ruecksendung */
.status .row { display: flex; }
.slist { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.slist .r { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.slist .r:last-child { border-bottom: 0; }
ol.steps4 { list-style: none; display: flex; padding: 0; margin: 14px 0 4px; gap: 6px; }
ol.steps4 li { flex: 1; font-size: 12px; color: var(--muted); }
ol.steps4 li span { display: block; height: 3px; background: var(--line); margin-bottom: 8px; }
ol.steps4 li.done { color: var(--onyx); }
ol.steps4 li.done span { background: var(--onyx); }

/* Umtauschartikel ausverkauft: Auswahl des Kunden */
.pending { background: var(--sand); padding: 14px 16px; margin: 12px 0; }
.pending > .t { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 20px; }
.pending .pi { background: #fff; padding: 12px 14px; margin-top: 10px; }
.pending .pi .t { font-family: inherit; font-weight: 600; }
