/* CryMap Premium: purchase, withdrawal and terms pages. Same colours as
   the website (dark first; neutral, without the blue cast, since the new
   interface of 12.11.2026), no web fonts, nothing loaded from elsewhere
   except PayPal's own button. */
:root { color-scheme: dark light; --bg: #060606; --card: #111112; --line: #26262a; --ink: #f5f5f6; --soft: #a9a9af; --accent: #f59e0b; --on-accent: #111; --ok: #34c759; --warn: #ff9f0a; --bad: #ff6b6b; }
/* --on-accent: black on the light theme's darker orange read at 3.8:1, white reads at 5:1 (audit V55). */
/* Dark everywhere, like the website (publisher, 11.11.2026: "überall schwarz
   nur hier hell"): the shop followed the phone's light setting and was the
   one light page of CryMap. */
:root { color-scheme: dark; }
/* What the reader still has to do, where it must not be missed. */
.must { color: var(--bad); font-weight: 700; }
.must-box { color: var(--bad); background: color-mix(in srgb, var(--bad) 9%, transparent); border-left: 3px solid var(--bad); border-radius: 8px; padding: 10px 12px; font-size: 14px; line-height: 1.5; }
* { box-sizing: border-box; }
/* Hidden is hidden, whatever display a class gives. ".approved" showed
   "Zahlung bei PayPal freigegeben" before anything was approved (11.11.2026). */
[hidden] { display: none !important; }
/* A wrong address is named at its field, not only at the top of the page. */
input[aria-invalid="true"] { border-color: var(--bad); }
.field-error { color: var(--bad); font-weight: 500; font-size: 13px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
.buy { max-width: 640px; margin: 0 auto; padding: 20px 16px 64px; }
.buy__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.buy__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.buy__brand img { display: block; height: 34px; width: auto; }
.buy__lang button { font: inherit; font-size: 14px; background: none; border: 1px solid var(--line); color: var(--soft); border-radius: 999px; padding: 4px 10px; cursor: pointer; }
.buy__lang button[aria-pressed="true"] { color: var(--ink); border-color: var(--accent); }
/* Long German words ("Geschäftsbedingungen") break rather than run off a 320 px phone. */
h1 { font-size: 30px; margin: 0 0 8px; letter-spacing: -0.02em; overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: 17px; margin: 0 0 12px; }
.lead { color: var(--soft); margin: 0 0 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-top: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; font-size: 14px; color: var(--soft); }
select, input, textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; }
.note { color: var(--soft); font-size: 13px; margin: 6px 0 12px; }
.packages { border: 0; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
.packages legend { font-size: 14px; color: var(--soft); margin-bottom: 8px; }
.package { position: relative; display: flex; flex-direction: column; gap: 2px; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; }
.package input { position: absolute; opacity: 0; }
.package:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.package:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
/* The empty cards kauf.html holds the place with until the prices arrive. */
.package--wait { cursor: default; opacity: 0.45; }
.package__who { font-weight: 600; }
.package__price { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.package__incl { font-size: 12px; color: var(--soft); }
.package__per { font-size: 12.5px; font-weight: 600; color: var(--ink); }
/* The family package, marked as on the website's price tiles. */
.package__tag { position: absolute; top: -9px; inset-inline-start: 50%; translate: -50% 0; padding: 1px 9px; border-radius: 999px; background: #f59e0b; color: #0b0b0c; font-size: 11px; font-weight: 800; white-space: nowrap; }
[dir="rtl"] .package__tag { translate: 50% 0; }
/* A reduced price: the earlier price beside it, only where it may be shown
   (a code's list price, a sale's 30-day lowest price - premium/preise.php). */
.package__was { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 13px; color: var(--soft); }
.package__was s { text-decoration-thickness: 1.5px; }
.package__was em { font-style: normal; padding: 1px 7px; border-radius: 999px; background: #f59e0b; color: #0b0b0c; font-size: 12px; font-weight: 800; }
.package__save { flex-basis: 100%; color: #f59e0b; font-weight: 700; }
.offer-fine { margin: -6px 0 12px; font-size: 12.5px; color: var(--soft); }
.offer-fine[hidden] { display: none; }
/* The running sale: the same badge as on the homepage. */
.offer { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 14px; padding: 6px 14px 6px 10px; border-radius: 999px; background: #f59e0b; color: #0b0b0c; font-weight: 700; font-size: 14px; line-height: 1.3; box-shadow: 0 6px 20px -8px rgba(245, 158, 11, 0.7); }
.offer::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #0b0b0c; flex: none; }
.offer[hidden] { display: none; }
.code { margin-top: 6px; }
.code .field { margin-bottom: 6px; }
.code__row { display: flex; gap: 8px; }
.code__row input { flex: 1 1 auto; min-width: 0; text-transform: uppercase; }
.code__row .secondary { flex: none; }
.code .note.good { color: var(--ok); font-weight: 600; }
.features { margin: 8px 0 0; padding-left: 20px; color: var(--soft); font-size: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: 14px; }
.check input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; accent-color: var(--accent); }
.check a, .buy__foot a { color: inherit; }
/* PayPal's buttons live in frames with a light page of their own. With
   color-scheme: light here the browser keeps those frames clear instead of
   filling them white, and the buttons sit on the dark card. They are drawn
   one by one (kauf.js), so PayPal's grey "Abgewickelt durch PayPal" line,
   unreadable on dark, does not come. No white panel (publisher, 13.11.2026). */
#paypal-buttons { margin-top: 12px; min-height: 48px; color-scheme: light; display: grid; gap: 4px; }
.approved { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--ok) 13%, transparent); font-weight: 600; font-size: 14.5px; }
.approved > span:first-child { display: inline-grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--ok); color: #fff; font-size: 13px; }
#step3:focus { outline: none; }
.summary { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 12px; }
.summary dt { color: var(--soft); }
.summary dd { margin: 0; font-weight: 600; }
/* The CryMap orange of the website's main buttons, in both themes: the
   light theme's darker accent with black type read as brown. */
.order { width: 100%; font: inherit; font-weight: 600; font-size: 16px; letter-spacing: 0.01em; padding: 15px 18px; border-radius: 999px; border: 0; background: #f59e0b; color: #0a0a0a; cursor: pointer; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 22px -12px #f59e0b; transition: background 0.15s; }
.order:hover { background: #fbb339; }
.order:focus-visible { outline: 3px solid color-mix(in srgb, #f59e0b 45%, transparent); outline-offset: 3px; }
.order:disabled { opacity: 0.6; cursor: wait; }
/* Required fields: a red star after the label, and the hint above the
   PayPal buttons in the same red. */
/* The red of each theme: a fixed #e5484d read at 3.9:1 on white and on the
   dark card (audit V55). */
.required::after { content: " *"; color: var(--bad); font-weight: 700; }
.hint { color: var(--bad); font-weight: 500; }
.secondary { display: inline-block; font: inherit; font-size: 15px; font-weight: 600; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--ink); text-decoration: none; cursor: pointer; }
.secondary:hover { border-color: #f59e0b; }
/* "In CryMap freischalten" on the thank-you card: the one step that is left (16.11.2026). */
.primary { display: inline-block; font: inherit; font-size: 15px; font-weight: 700; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent); text-decoration: none; cursor: pointer; }
.primary:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.done__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mailed { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, var(--ok) 12%, transparent); font-size: 14px; }
.status { border-left: 3px solid var(--warn); background: var(--card); padding: 10px 14px; border-radius: 8px; }
.done { border-color: var(--ok); }
.key { font: 600 20px/1.3 ui-monospace, Consolas, monospace; letter-spacing: 0.06em; word-break: break-all; user-select: all; }
.buy__foot { margin-top: 28px; font-size: 13px; color: var(--soft); }
/* 17 px high links next to each other were too small to hit (WCAG 2.5.8, audit V55). */
.buy__foot a { display: inline-block; padding-block: 4px; }
.legal { max-width: 820px; }
.legal h2 { margin-top: 28px; }
.legal__text { padding: 24px 28px; }
.legal__text > :first-child { margin-top: 0; }
.legal__text h2 { font-size: 20px; margin: 4px 0 12px; }
.legal__text h3 { font-size: 16px; margin: 24px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.legal__text h3:first-of-type { border-top: 0; padding-top: 0; }
.legal__text p, .legal__text li { color: var(--soft); font-size: 15px; line-height: 1.65; }
.legal__text strong { color: var(--ink); }
.legal__text a { color: var(--accent); }
.legal__action { display: inline-block; margin-top: 8px; padding: 10px 18px; border-radius: 999px; background: var(--accent); color: var(--on-accent) !important; font-weight: 700; text-decoration: none; }
@media (max-width: 560px) { .legal__text { padding: 18px 16px; } }
.legal blockquote { margin: 12px 0; padding: 10px 14px; border-left: 3px solid var(--accent); background: var(--card); }
/* Two by two on a phone: all four prices in one look (12.11.2026); one column only on the narrowest screens. */
@media (max-width: 330px) { .packages { grid-template-columns: 1fr; } }

/* What Premium includes, beside the steps on a wide screen and after them on
   a phone. */
.buy__aside h2 { margin-bottom: 10px; }
/* What Premium brings: a card with a gold edge and a glow, a crown over the
   title, each line behind a small gold check in a ring. */
.buy__aside {
  position: relative;
  border: 1px solid transparent;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(245, 158, 11, 0.16), transparent 60%) padding-box,
    linear-gradient(180deg, #18181a, #0e0e0f) padding-box,
    linear-gradient(160deg, rgba(251, 191, 36, 0.85), rgba(245, 158, 11, 0.15) 45%, rgba(245, 158, 11, 0.45)) border-box;
  box-shadow: 0 30px 60px -30px rgba(245, 158, 11, 0.35), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.buy__aside h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.buy__aside h2::before {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 7l5 5 5-8 5 8 5-5-2 12H4z'/%3E%3C/svg%3E") center / 17px no-repeat,
    linear-gradient(160deg, #fcd34d, #f59e0b);
  box-shadow: 0 6px 16px -6px rgba(245, 158, 11, 0.8);
}
.buy__aside .features { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; color: var(--ink); font-size: 15px; font-weight: 500; }
.buy__aside .features li { position: relative; padding-left: 32px; line-height: 1.4; }
.buy__aside .features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat,
    rgba(245, 158, 11, 0.14);
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.35);
}
.trust { list-style: none; padding: 14px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; color: var(--soft); font-size: 13px; }
.trust li::before { content: "·"; margin-right: 8px; color: #f59e0b; font-weight: 700; }

/* Desktop: two columns - the steps, and a sticky summary of what Premium is. */
@media (min-width: 960px) {
  .buy { max-width: 1080px; padding: 32px 32px 80px; }
  .buy__head { margin-bottom: 36px; }
  h1 { font-size: 40px; }
  .lead { max-width: 62ch; font-size: 17px; margin-bottom: 28px; }
  .buy__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
  .buy__steps > .card:first-child { margin-top: 0; }
  .buy__aside { position: sticky; top: 24px; margin-top: 0; padding: 22px; }
  .card { padding: 24px; }
  .packages { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .package { padding: 14px; }
  .buy__foot { margin-top: 40px; }
}

/* Withdrawal and lost key: the field only robots fill, the declaration,
   and the steps of a withdrawal beside the form. */
.trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.declaration { margin: 6px 0 16px; padding: 12px 14px; border-left: 3px solid #f59e0b; border-radius: 0 10px 10px 0; background: color-mix(in srgb, #f59e0b 7%, transparent); font-weight: 600; }
.flow { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 14.5px; }
.flow li { counter-increment: step; position: relative; padding-left: 36px; }
.flow li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: color-mix(in srgb, #f59e0b 18%, transparent); color: var(--ink); }
.done a { color: inherit; }
#fertig:focus { outline: none; }
@media (min-width: 960px) { .buy--narrow { max-width: 640px; } }

/* A design instead of the packages (kauf.html?thema=<id>, 15.11.2026): one
   card across the whole width, its sentence under the name. */
.packages.packages--one { grid-template-columns: 1fr; }
.package__line { font-size: 13.5px; color: var(--soft); margin-bottom: 6px; }
