/* Shopseite (Neugestaltung 15.11.2026, Aufbau nach Joshis HugoSMP-Shop): kurzer Kopf, Bildkacheln als Sprungmarken,
   Produktkarten mit großem Bild auf farbiger Bühne, klarer Preis, ein Knopf. Wenig Text.
   Seit 16.11.2026 nur noch Kristalle und Ränge (Perks, Schlüssel, Booster gibt es im Spiel). Der Name steht einmal oben
   in der Spieler-Karte, dann führt "Kaufen" direkt zur Stripe-Kasse; die Kauf-Leiste unten fragt nur einen fehlenden Namen ab.
   Baut auf /styles.css auf (Farben, Schrift, .btn, .faq) und gilt für /shop/ sowie die Formulare
   /widerruf-erklaeren/ und /abo-kuendigen/ (Abschnitt ganz unten).
   Joshi: hell, kein Grau, keine Transparenz, keine Verläufe, nichts unter 16 px, keine Caps-Labels, kein Schwarz auf Gelb. */

::selection { background: var(--primary); color: #ffffff; }

/* ---------- Kopf ---------- */
/* Handy: Überschrift links, Figuren klein rechts, darunter Spieler-Karte und Kacheln. Desktop: Figuren groß rechts neben allem. */
.shop-hero { padding: 28px 0 0; }
.shop-hero > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  grid-template-areas: "text bild" "danke danke" "spieler spieler" "tabs tabs";
  column-gap: 12px;
  align-items: center;
}
.shop-hero-text { grid-area: text; }
.shop-hero h1 { margin: 0 0 10px; }
.shop-hero .lead { margin: 0; font-size: var(--fs-text); line-height: 1.4; max-width: 30em; text-wrap: pretty; }
.shop-hero-bild { grid-area: bild; width: 104px; height: auto; }

.shop-danke {
  grid-area: danke;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--primary-soft);
  border: 2px solid var(--primary-line);
  border-radius: var(--r-lg);
}
.shop-danke img { flex: none; width: 72px; height: 72px; }
.shop-danke h2 { font-size: var(--fs-h3); margin-bottom: 4px; text-transform: none; letter-spacing: -0.01em; }
.shop-danke p { font-size: var(--fs-ui); line-height: 1.4; }

/* ---------- Spieler: Name und Version einmal, gemerkt im Browser ---------- */
.spieler {
  grid-area: spieler;
  margin-top: 20px;
  padding: 16px;
  background: var(--card);
  border: 2px solid var(--primary-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}
.spieler[data-zustand="fertig"] { padding: 12px 12px 12px 14px; }
.spieler-label { display: block; margin-bottom: 8px; font-family: var(--display); font-weight: 700; font-size: var(--fs-md); line-height: 1.2; }
/* Eingabe mit Kopf davor; der Rahmen zeigt den Fokus (ein Rahmen, nicht zwei) */
.spieler-zeile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 7px 12px 7px 8px;
  background: #ffffff;
  border: 2px solid var(--line-strong);
  border-radius: var(--r-md);
  transition: border-color 0.12s, box-shadow 0.12s;
}
.spieler-zeile:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-line); }
.spieler-zeile:has([aria-invalid="true"]) { border-color: var(--red); }
.spieler-input {
  flex: 1;
  min-width: 0;
  padding: 4px 0;
  font-family: "Figtree", sans-serif;
  font-weight: 800;
  font-size: var(--fs-title);
  color: var(--text);
  background: none;
  border: 0;
  border-radius: 0;
}
.spieler-input:focus { outline: none; }
.spieler-input::placeholder { font-weight: 600; color: #4d6796; }

/* Minecraft-Kopf: Größe über --g, Gesicht und Hut-Ebene aus der 64er Skin-Datei (das Bild setzt shop.js) */
.kopf {
  --g: 40px;
  flex: none;
  display: inline-block;
  width: var(--g);
  height: var(--g);
  border-radius: var(--r-xs);
  background-color: var(--primary-soft);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  image-rendering: pixelated;
}
.kopf-skin {
  background-size: calc(var(--g) * 8) auto, calc(var(--g) * 8) auto;
  background-position: calc(var(--g) * -5) calc(var(--g) * -1), calc(var(--g) * -1) calc(var(--g) * -1);
}

/* Java oder Bedrock: echte Radios, als zwei Knöpfe gezeigt */
.ed-wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 0; margin: 10px 0 0; padding: 0; border: 0; }
.ed-wahl label { position: relative; display: block; cursor: pointer; touch-action: manipulation; }
.ed-wahl input { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ed-wahl span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 6px 8px 8px;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  background: #ffffff;
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 2px var(--line-strong);
  transition: background-color 0.12s;
}
.ed-wahl b { font-family: var(--display); font-weight: 700; font-size: var(--fs-md); }
.ed-wahl label:hover input:not(:checked) + span { background: var(--primary-soft); }
.ed-wahl input:checked + span { background: var(--primary); color: var(--on-accent); box-shadow: var(--edge); }
.ed-wahl input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 3px; }

.spieler-status { display: flex; align-items: flex-start; gap: 6px; min-height: 22px; margin-top: 10px; font-size: var(--fs-sm); font-weight: 600; line-height: 1.4; text-wrap: pretty; }
.spieler-status:empty { display: none; }
.spieler-status svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.spieler-status b { overflow-wrap: anywhere; }
.spieler-status[data-art="ok"] { color: var(--green-dark); }
.spieler-status[data-art="hinweis"] { color: #8a4600; }
.spieler-status[data-art="fehler"] { color: var(--red); }

/* Name steht: eine Zeile mit Kopf, Name, Version und "Ändern" */
.spieler-fertig { display: flex; align-items: center; gap: 12px; }
.spieler-fertig .kopf { --g: 52px; border-radius: var(--r-sm); }
.spieler-an { flex: 1; min-width: 0; font-size: var(--fs-sm); font-weight: 600; line-height: 1.25; }
.spieler-an > span:first-child { display: block; margin-bottom: 2px; }
.spieler-an b { font-family: var(--display); font-weight: 800; font-size: var(--fs-title); overflow-wrap: anywhere; }
.spieler-ed { display: inline-block; margin-left: 4px; padding: 1px 9px 2px; font-size: var(--fs-sm); font-weight: 700; line-height: 1.35; vertical-align: 2px; background: var(--primary-soft); border: 1px solid var(--primary-line); border-radius: var(--r-full); }
.spieler-fertig .btn { flex: none; padding-left: 16px; padding-right: 16px; }

/* ---------- Die zwei Bereiche als Bildkacheln (Sprungmarken) ---------- */
.shop-tabs { grid-area: tabs; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.shop-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 68px;
  padding: 8px 12px 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--fs-md);
  line-height: 1.15;
  color: var(--text);
  text-decoration: none;
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 0 var(--line);
  touch-action: manipulation;
  transition: background-color 0.12s, border-color 0.12s;
}
.shop-tab img { flex: none; width: 46px; height: 46px; transition: transform 0.15s; }
.shop-tab:hover { background: var(--primary-soft); border-color: var(--primary-line); color: var(--text); }
.shop-tab:hover img { transform: translateY(-2px) scale(1.05); }
.shop-tab[aria-current="true"] { background: var(--primary-soft); border-color: var(--primary); box-shadow: 0 4px 0 var(--primary); color: var(--primary-dark); }

/* ---------- Bereiche untereinander ---------- */
.bereich { padding: 40px 0 16px; scroll-margin-top: 12px; }
.panel-kopf { margin-bottom: 26px; }
.panel-kopf p { margin-top: 8px; max-width: 36em; font-size: var(--fs-text); line-height: 1.45; }

/* ---------- Produktkarten ---------- */
.waren { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ware {
  --buehne: var(--primary-soft);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}
/* Bühne: großes Produktbild auf ruhiger Vollfarbe (kein Verlauf) */
.ware-buehne {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 6 / 5;
  padding: 12px;
  background: var(--buehne);
  border-radius: calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 0;
}
.ware-buehne img { width: 74%; max-width: 172px; height: auto; max-height: 100%; object-fit: contain; }
.ware-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 9px 7px;
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 1;
  white-space: nowrap;
  color: #ffffff;
  background: var(--primary);
  border-radius: var(--r-sm);
}
.ware-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; }
.ware-titel { font-size: var(--fs-text); line-height: 1.15; letter-spacing: -0.01em; }
.ware-preis { margin-top: auto; padding-top: 6px; font-family: var(--display); font-weight: 700; font-size: var(--fs-title); line-height: 1.1; letter-spacing: -0.02em; }
.ware .buy { width: 100%; margin-top: 8px; padding-left: 12px; padding-right: 12px; }
/* "Kasse wird geöffnet…" passt so auch in die schmalen Karten am Handy */
.ware .buy:disabled { padding-top: 8px; padding-bottom: 8px; font-size: var(--fs-sm); line-height: 1.2; }

/* "oder 990 [Kristall]": Preis im Spiel */
.alt-preis { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: var(--fs-ui); line-height: 1.2; }
.alt-preis img { flex: none; width: 26px; height: 26px; }

/* Hervorgehobene Karte */
.ware-top { border: 2px solid var(--primary); }
.ware-top > .ware-buehne { border-radius: calc(var(--r-lg) - 2px) calc(var(--r-lg) - 2px) 0 0; }
.ware-top .ware-badge { top: 24px; }
.ware-flag {
  position: absolute;
  z-index: 1;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px 7px;
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 1;
  white-space: nowrap;
  color: #ffffff;
  background: var(--primary-dark);
  border-radius: var(--r-sm);
}

/* Querformat (Handy): Bühne links, Text rechts */
.ware-quer { display: grid; grid-template-columns: 42% minmax(0, 1fr); grid-template-areas: "buehne body"; }
.ware-quer > .ware-buehne { grid-area: buehne; aspect-ratio: auto; min-height: 150px; border-radius: calc(var(--r-lg) - 1px) 0 0 calc(var(--r-lg) - 1px); }
.ware-quer.ware-top > .ware-buehne { border-radius: calc(var(--r-lg) - 2px) 0 0 calc(var(--r-lg) - 2px); }
.ware-quer > .ware-body { grid-area: body; padding: 16px; }

/* Kristalle: Handy 2 Spalten, großes Paket über die volle Breite */
.waren-kristalle { row-gap: 14px; }
.waren-kristalle .ware-menge { display: block; font-size: var(--fs-num); letter-spacing: -0.03em; line-height: 1.05; }
.waren-kristalle .ware-top { grid-column: 1 / -1; margin-top: 10px; }
/* Im Querformat sitzt das Bonus-Schild unten über die Bühnenbreite */
@media (max-width: 999px) {
  .waren-kristalle .ware-quer > .ware-buehne { padding-bottom: 48px; }
  .waren-kristalle .ware-quer .ware-badge { top: auto; bottom: 10px; left: 10px; right: 10px; text-align: center; }
}

/* Perks, Schlüssel und Booster gibt es nur im Spiel: ruhige Zeile mit Symbolen, ohne Preise */
.im-spiel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 16px 14px 18px;
  text-align: center;
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  border-radius: var(--r-lg);
}
.im-spiel-bilder { display: flex; justify-content: center; gap: 20px; margin: 0; padding: 0; list-style: none; }
.im-spiel-bilder li { display: flex; flex-direction: column; align-items: center; gap: 4px; font-family: var(--display); font-weight: 700; font-size: var(--fs-sm); line-height: 1.1; }
.im-spiel-bilder img { width: 56px; height: 56px; }
.im-spiel p { font-size: var(--fs-md); font-weight: 600; line-height: 1.4; }

/* Ränge: Farben wie im Spiel, Krone wächst mit dem Rang */
.waren-raenge { grid-template-columns: 1fr; gap: 16px; }
.rang-premium { --buehne: #ffecca; --rang: #9a4f00; --krone: 72%; }
.rang-hero { --buehne: #fff3b8; --rang: #765600; --krone: 82%; }
.rang-ultimateduck { --buehne: #fbe0fb; --rang: #9c1f98; --krone: 92%; }
.rang-legente { --buehne: #d5f5fa; --rang: #006d79; --krone: 102%; }
.rang .ware-buehne { aspect-ratio: auto; height: 136px; padding: 0; overflow: hidden; }
.rang .ware-buehne img { width: auto; max-width: none; height: var(--krone); }
.rang .ware-body { gap: 10px; padding: 16px 18px 18px; }
.rang-titel { font-size: var(--fs-h3); color: var(--rang); }
.rang .perk-list { margin: 0; gap: 7px; font-size: var(--fs-ui); line-height: 1.35; }
.rang .perk-list li::before { top: 0.3em; }
.rang .ware-preis { padding-top: 4px; }
.rang .buy { margin-top: 4px; }

/* ---------- Rang-Vergleich (offen, Tabelle wischt in eigenem Kasten) ---------- */
.vergleich { margin-top: 36px; }
.vergleich-titel { font-size: var(--fs-h3); margin-bottom: 14px; }
.compare-wrap { overflow-x: auto; overscroll-behavior-x: contain; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.compare-wrap:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.compare { width: 100%; min-width: 820px; border-collapse: separate; border-spacing: 0; font-size: var(--fs-ui); line-height: 1.3; }
.compare caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compare th, .compare td { padding: 13px 12px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--line); }
.compare thead th { padding-top: 18px; padding-bottom: 16px; border-bottom: 2px solid var(--line-strong); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:nth-child(even) th, .compare tbody tr:nth-child(even) td { background: var(--bg); }
.compare th[scope="row"], .compare thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 190px;
  text-align: left;
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  background: #ffffff;
  box-shadow: 1px 0 0 var(--line);
}
.compare thead th:first-child { font-family: var(--display); font-weight: 800; }
.compare td b { font-family: var(--display); font-weight: 800; font-size: var(--fs-md); white-space: nowrap; }
.cell-sub { display: block; font-size: var(--fs-sm); font-weight: 600; margin-top: 2px; }
.compare code { font-size: 1em; }
/* Rangname mit Farbfeld statt farbiger Fläche hinter der Schrift (kein Schwarz auf Gelb) */
.compare .rank-name { display: inline-flex; align-items: center; gap: 8px; padding: 0; font-family: var(--display); font-weight: 800; font-size: var(--fs-ui); white-space: nowrap; background: none; border-radius: 0; }
.compare .rank-name::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: var(--r-xs); background: var(--rank); box-shadow: inset 0 0 0 2px var(--text); }
.rank-spieler { --rank: #ffffff; }

.yes, .no { display: inline-block; width: 26px; height: 26px; vertical-align: middle; background-repeat: no-repeat; background-size: 26px 26px; }
.yes { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Ccircle cx='13' cy='13' r='11.5' fill='none' stroke='%231f7d2e' stroke-width='2.5'/%3E%3Cpath d='M8 13.4l3.3 3.3L18.2 9.6' fill='none' stroke='%231f7d2e' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.no { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Ccircle cx='13' cy='13' r='11.5' fill='none' stroke='%23c8281c' stroke-width='2.5'/%3E%3Cpath d='M9.2 9.2l7.6 7.6M16.8 9.2l-7.6 7.6' fill='none' stroke='%23c8281c' stroke-width='2.8' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* ---------- Häufige Fragen ---------- */
.shop-fragen { padding: 56px 0 72px; }
.shop-fragen h2 { margin-bottom: 18px; }
.shop-fragen .faq a { font-weight: 700; }

/* ---------- Kauf-Leiste (schlanke Bestätigung unten, Handy über die volle Breite) ---------- */
/* Ohne abgedunkelten Hintergrund: die Seite bleibt sichtbar, die Leiste setzt sich mit Rand und Schatten ab. */
.kauf {
  position: fixed;
  inset: auto 0 0 0;
  width: 100%;
  max-width: 560px;
  max-height: calc(100dvh - 16px);
  margin: 0 auto;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--text);
  background: #ffffff;
  border: 2px solid var(--primary-line);
  border-bottom: 0;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: 0 -18px 44px -14px #7d9bcf;
}
.kauf::backdrop { background: none; }
.kauf[open] { animation: kauf-rein 0.22s ease-out; }
@keyframes kauf-rein { from { transform: translateY(100%); } to { transform: translateY(0); } }
.kauf form { display: flex; flex-direction: column; gap: 14px; padding: 16px 16px calc(18px + env(safe-area-inset-bottom)); }

.kauf-kopf { display: flex; align-items: center; gap: 14px; }
.kauf-bild { flex: none; width: 64px; height: 64px; object-fit: contain; padding: 6px; background: var(--primary-soft); border-radius: var(--r-md); }
.kauf-was { flex: 1; min-width: 0; }
.kauf h2 { font-size: var(--fs-title); line-height: 1.15; letter-spacing: -0.01em; text-transform: none; }
.kauf-preis { margin-top: 2px; font-family: var(--display); font-weight: 800; font-size: var(--fs-title); line-height: 1.15; }
.kauf-zu {
  flex: none;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--text);
  background: #ffffff;
  border: 2px solid var(--line-strong);
  border-radius: var(--r-md);
  cursor: pointer;
  touch-action: manipulation;
}
.kauf-zu svg { width: 22px; height: 22px; }
.kauf-zu:hover { background: var(--primary-soft); }

/* Empfänger: Kopf, Name, Version, Ändern */
.kauf-an { display: flex; align-items: center; gap: 10px; padding: 8px 6px 8px 10px; background: var(--primary-soft); border: 1px solid var(--primary-line); border-radius: var(--r-md); }
.kauf-an p { flex: 1; min-width: 0; font-size: var(--fs-ui); font-weight: 600; line-height: 1.3; }
.kauf-an b { font-family: var(--display); font-weight: 800; overflow-wrap: anywhere; }
.kauf-link {
  flex: none;
  min-height: 44px;
  padding: 4px 10px;
  font: inherit;
  font-size: var(--fs-ui);
  font-weight: 800;
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  background: none;
  border: 0;
  border-radius: var(--r-sm);
  cursor: pointer;
}
.kauf-link:hover { color: var(--primary); }
.kauf-eingabe .spieler-status { margin-top: 8px; }

/* Das Widerrufs-Häkchen fragt seit 16.11.2026 Stripe an der Kasse ab, nicht mehr diese Leiste. */
.kauf .buy-error { margin: 0; font-size: var(--fs-ui); }
.kauf-weiter { width: 100%; }
.buy-legal { font-size: var(--fs-sm); text-align: center; }

/* ---------- Größere Bildschirme ---------- */
@media (max-width: 599px) {
  .compare { min-width: 620px; font-size: var(--fs-sm); }
  .compare th, .compare td { padding: 10px 8px; }
  .compare th[scope="row"], .compare thead th:first-child { min-width: 136px; }
  .compare .rank-name { font-size: var(--fs-sm); }
  .compare td b { font-size: var(--fs-ui); }
}

@media (min-width: 600px) {
  .shop-tab { min-height: 76px; font-size: var(--fs-text); }
  .shop-tab img { width: 54px; height: 54px; }

  .waren { gap: 16px; }
  .ware-body { padding: 16px 16px 18px; }
  .ware-titel { font-size: var(--fs-title); }
  .ware-preis { font-size: var(--fs-title); }

  .waren-kristalle { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .waren-kristalle .ware-top { grid-column: span 2; }

  .kauf form { padding: 20px 22px calc(22px + env(safe-area-inset-bottom)); }
}

@media (min-width: 720px) {
  .vergleich-titel { font-size: var(--fs-h3-lg); }
  .waren-raenge { grid-template-columns: 1fr 1fr; }
  .rang .ware-buehne { height: 170px; }
  .im-spiel { flex-direction: row; justify-content: center; gap: 28px; padding: 16px 24px; text-align: left; }
}

@media (min-width: 900px) {
  .shop-hero { padding-top: 44px; }
  .shop-hero > .wrap { grid-template-columns: minmax(0, 1fr) 292px; grid-template-areas: "text bild" "danke bild" "spieler bild" "tabs bild"; column-gap: 40px; }
  .shop-hero-bild { width: 292px; align-self: end; }
  .spieler, .shop-tabs { max-width: 620px; }
  .spieler { padding: 20px; }
  .spieler-zeile { min-height: 62px; }
  .spieler-zeile .kopf { --g: 44px; }
}

@media (min-width: 1000px) {
  .bereich { padding: 56px 0 16px; }
  .waren-kristalle { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .waren-kristalle .ware-top { grid-column: auto; margin-top: 0; }
  .waren-kristalle .ware-quer { display: flex; }
  .waren-kristalle .ware-quer > .ware-buehne { aspect-ratio: 6 / 5; min-height: 0; border-radius: calc(var(--r-lg) - 2px) calc(var(--r-lg) - 2px) 0 0; }
  .waren-raenge { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rang .ware-buehne { height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-tab, .shop-tab img, .spieler-zeile, .ed-wahl span { transition: none; }
  .shop-tab:hover img { transform: none; }
  .kauf[open] { animation: none; }
}

/* ---------- Widerruf und Kündigung (/widerruf-erklaeren/, /abo-kuendigen/) ---------- */
.formular-seite .panel > p { margin-bottom: 16px; }
.formular { margin-top: 8px; }
.formular h2, .formular-ergebnis h2 { font-size: var(--fs-h3); margin: 8px 0 16px; }
.feld { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.feld > label, .feld > legend { display: block; font-family: var(--display); font-weight: 700; font-size: var(--fs-md); line-height: 1.25; margin-bottom: 8px; padding: 0; }
.feld input[type="text"], .feld input[type="email"], .feld select, .feld textarea {
  width: 100%;
  min-height: 54px;
  padding: 10px 14px;
  font: inherit;
  font-size: var(--fs-md);
  color: var(--text);
  background: #ffffff;
  border: 2px solid var(--line-strong);
  border-radius: var(--r-md);
}
.feld textarea { min-height: 100px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 3px solid var(--primary); outline-offset: 2px; border-color: var(--primary); }
.feld-hinweis { font-size: var(--fs-sm); margin-top: 6px; }
.feld label.wahl { display: flex; gap: 12px; align-items: center; min-height: 48px; font-size: var(--fs-md); font-weight: 600; cursor: pointer; }
.feld label.wahl input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--primary); }
.feld-zeitpunkt { font-weight: 700; margin: 0 0 18px; }
.feld-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular-hinweis, .formular-ergebnis { margin-top: 12px; padding: 18px 20px; background: var(--primary-soft); border: 2px solid var(--primary-line); border-radius: var(--r-md); }
.formular-hinweis:focus, .formular-ergebnis:focus { outline: 3px solid var(--primary); outline-offset: 3px; }
