/* HAUPTFENSTER — Portal-Stile */

:root {
  --ink: #12151f;
  --panel: #1a1f2e;
  --panel-edge: #262d40;
  --text: #eceef6;
  --muted: #9aa3ba;
  --focus: #f3b93c;

  --c-makro: #45c081;
  --c-mikro: #f3b93c;
  --c-bitfabrik: #d97f4a;
  --c-swt: #9d8cff;
  --c-boardroom: #3ec1cf;
  --c-fiwi: #6ea8fe;

  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --body: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  background-image: radial-gradient(1100px 500px at 70% -10%, #1c2338 0%, transparent 70%);
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Wortmarke ---------- */

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.wordmark svg { display: block; }

.wordmark span {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.14em;
}

/* ---------- Kopfzeile (Übersicht) ---------- */

.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 0;
}

.whoami {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--muted);
}

.whoami b { color: var(--text); font-weight: 600; }

.btn-quiet {
  font: 600 13px var(--body);
  color: var(--muted);
  background: none;
  border: 1px solid var(--panel-edge);
  border-radius: 8px;
  padding: 7px 14px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.btn-quiet:hover { color: var(--text); border-color: #3a4460; }

/* ---------- Intro ---------- */

.intro { padding: 64px 0 40px; }

.intro h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 5.5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 14em;
}

.intro p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  max-width: 34em;
}

/* ---------- Suche ---------- */

.search {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: 10px;
  padding: 0 12px;
  color: var(--muted);
  transition: border-color 0.15s;
}

.search:focus-within { border-color: var(--focus); color: var(--text); }

.search input {
  flex: 1;
  background: none;
  border: none;
  padding: 12px 0;
  color: var(--text);
  font: 400 15px var(--body);
}

.search input:focus { outline: none; }

.search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.search kbd {
  font: 600 11px var(--mono);
  color: var(--muted);
  border: 1px solid var(--panel-edge);
  border-radius: 5px;
  padding: 2px 7px;
}

.no-results {
  color: var(--muted);
  padding: 8px 0 40px;
}

/* ---------- Modulkarten ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 18px;
  padding-bottom: 40px;
}

.card-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 2px;
}

.card-actions .info-btn { position: static; }

.hidden-section { padding-bottom: 60px; }

.hidden-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: none;
  color: var(--muted);
  font: 600 13px var(--body);
  cursor: pointer;
  padding: 6px 0 16px;
}

.hidden-toggle:hover { color: var(--text); }

.hidden-toggle svg { transition: transform 0.15s; }

.hidden-toggle.open svg { transform: rotate(180deg); }

.hidden-section .grid { opacity: 0.75; }

.card[hidden] { display: none; }

.card {
  --c: var(--muted);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: 14px;
  padding: 24px 26px 22px 32px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

/* Der Rücken: farbige Kante wie ein Ordner- / Cartridge-Rücken */
.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--c);
  transition: width 0.16s ease;
}

.card:hover, .card:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--c) 45%, var(--panel-edge));
}

.card:hover::before, .card:focus-visible::before { width: 11px; }

.card .code {
  font: 600 11.5px/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--c);
  text-transform: uppercase;
}

.card h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.card .fach {
  font: 500 13px var(--body);
  color: var(--muted);
}

.card p {
  color: var(--muted);
  font-size: 14.5px;
  flex: 1;
}

.card .go {
  margin-top: 12px;
  font: 700 13px var(--body);
  color: var(--c);
  letter-spacing: 0.02em;
}

.card .go::after {
  content: " →";
  display: inline-block;
  transition: transform 0.16s ease;
}

.card:hover .go::after { transform: translateX(3px); }

/* Gesperrte Module: sichtbar & klickbar (führen zur Detailseite), aber gedimmt */
.card.locked { opacity: 0.82; }
.card.locked::before { background: #3a4256; }
.card.locked .code { color: var(--muted); }
.card.locked .go { color: var(--muted); }
.card.locked:hover,
.card.locked:focus-visible { border-color: #3a4460; }

.icon-lock { vertical-align: -1px; margin-right: 6px; }

.info-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s, color 0.15s;
}

.card:hover .info-btn,
.card:focus-within .info-btn,
.info-btn:focus-visible { opacity: 1; }

.info-btn:hover { color: var(--text); }

@media (hover: none) { .info-btn { opacity: 0.7; } }

/* ---------- Fußzeile ---------- */

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  color: var(--muted);
  font-size: 12.5px;
  padding: 0 0 44px;
}

.foot-links { display: flex; gap: 18px; }

.foot a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foot a:hover { color: var(--text); }

/* ---------- Öffentliche Startseite / Storefront ---------- */

/* Kopfleiste: solide, scharfe Kante — kein Blur, kein Schleier */
.store-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--ink);
  border-bottom: 1px solid var(--panel-edge);
  padding: 12px 0;
}

.store-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.store-nav { display: flex; align-items: center; gap: 10px; }

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 13.5px var(--body);
  color: var(--text);
  background: transparent;
  border: 1px solid var(--panel-edge);
  border-radius: 9px;
  padding: 9px 16px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.btn-line:hover { border-color: #3a4460; background: var(--panel); }

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 13.5px var(--body);
  color: #1a1405;
  background: var(--focus);
  border: 1px solid var(--focus);
  border-radius: 9px;
  padding: 9px 16px;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.15s;
}

.btn-solid:hover { filter: brightness(1.06); }

/* Hero */
.store-hero {
  padding: clamp(46px, 8vw, 88px) 0 clamp(30px, 4vw, 46px);
  border-bottom: 1px solid var(--panel-edge);
}

.store-hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  max-width: 16ch;
  text-wrap: balance;
}

.store-hero h1 em { font-style: normal; color: var(--focus); }

.store-hero .lede {
  margin-top: 18px;
  color: #c6ccdd;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  max-width: 56ch;
}

.hero-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-cta .btn-solid,
.hero-cta .btn-line { padding: 13px 22px; font-size: 15px; border-radius: 11px; }

.hero-trust {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.hero-trust svg { flex: none; color: var(--c-makro); }

/* Katalog */
.catalog { padding: clamp(34px, 5vw, 52px) 0 12px; }

.catalog-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.catalog-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.01em;
}

.catalog-head .count { color: var(--muted); font: 600 13px var(--mono); }

.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 20px;
  padding-bottom: 44px;
}

/* Produktkarte — solides Panel, scharfe Kanten, Modulfarbe als Akzent */
.pcard {
  --c: var(--muted);
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.pcard:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--c) 50%, var(--panel-edge));
}

.pcard-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--ink);
  border-bottom: 1px solid var(--c);
  overflow: hidden;
  text-decoration: none;
}

.pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pcard-media-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 4vw, 30px);
  letter-spacing: 0.03em;
  color: color-mix(in srgb, var(--c) 72%, var(--text));
}

.pcard-media.no-img {
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 20%, var(--ink)), var(--ink));
}

.pcard-media.no-img .pcard-media-fallback { display: flex; }

.pcard-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 22px;
  flex: 1;
}

.pcard-eyebrow {
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--c);
}

.pcard-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 23px;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
}

.pcard-title:hover { color: var(--c); }

.pcard-subject { color: var(--muted); font-size: 13px; }

.pcard-tagline {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--c);
  margin-top: 2px;
}

.pcard-desc {
  color: #c0c7d8;
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcard-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.pcard-stats li {
  font: 600 11.5px var(--mono);
  color: var(--text);
  background: var(--ink);
  border: 1px solid var(--panel-edge);
  border-radius: 999px;
  padding: 5px 11px;
}

.pcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.pcard-price { display: flex; flex-direction: column; line-height: 1.15; }
.pcard-price b { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--text); }
.pcard-price span { color: var(--muted); font-size: 11px; }

.pcard-actions { display: flex; gap: 8px; }

.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 700 13px var(--body);
  color: #10131c;
  background: var(--c);
  border: 1px solid var(--c);
  border-radius: 9px;
  padding: 9px 14px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.15s;
}

.btn-buy:hover { filter: brightness(1.08); }

.btn-play-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 700 13px var(--body);
  color: var(--text);
  background: transparent;
  border: 1px solid var(--panel-edge);
  border-radius: 9px;
  padding: 9px 14px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s;
}

.btn-play-ghost:hover {
  border-color: color-mix(in srgb, var(--c) 55%, var(--panel-edge));
  background: var(--panel);
}

/* Zustand: Laden / Fehler (graceful degrade) */
.store-status {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  padding: 6px 0 40px;
}

.store-status.error {
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: 14px;
  padding: 22px 24px;
  max-width: 620px;
}

.store-status.error b { color: var(--text); }

/* ---------- Anmelde-Modal (Login / Registrierung) ---------- */

/* Robuster Overlay (kein natives <dialog> — funktioniert in jedem Browser
   identisch, zuverlässig zentriert und bedienbar). */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(8, 10, 16, 0.74);
  overflow: auto;
}
.auth-modal[hidden] { display: none; }

.auth-dialog {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100dvh - 28px);
  overflow: auto;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--panel-edge);
  border-radius: 18px;
  background: var(--panel);
  color: var(--text);
  animation: modalIn 0.2s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.auth-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: none;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.auth-modal-close:hover { color: var(--text); border-color: var(--panel-edge); }

.auth-head h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}

.auth-head .sub {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Segmentierte Umschaltung: klare Trennung Anmelden / Registrieren */
.seg {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 22px 0 20px;
  padding: 4px;
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: 12px;
}

.seg-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: calc(50% - 6px);
  background: var(--text);
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.15, 1);
}

form[data-mode="register"] .seg-thumb { transform: translateX(calc(100% + 4px)); }

.seg button {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  border-radius: 9px;
  padding: 9px 8px;
  color: var(--muted);
  font: 700 14px var(--body);
  cursor: pointer;
  transition: color 0.2s;
}

.seg button[aria-selected="true"] { color: var(--ink); }

.field { margin-bottom: 14px; }

.field label {
  display: block;
  font: 600 12.5px var(--body);
  color: var(--muted);
  margin-bottom: 7px;
}

.field input {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: 11px;
  padding: 12px 14px;
  color: var(--text);
  font: 400 15px var(--body);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input::placeholder { color: var(--muted); }

.field input:focus {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(243, 185, 60, 0.18);
}

.pw-wrap { position: relative; }

.pw-wrap input { padding-right: 46px; }

.pw-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s;
}

.pw-toggle:hover { color: var(--text); }

.reg-hints {
  display: none;
  margin: 0 0 16px;
  padding: 11px 14px;
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: 11px;
  list-style: none;
}

form[data-mode="register"] .reg-hints { display: grid; gap: 6px; }

.reg-hints li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12.5px;
}

.reg-hints svg { flex: none; color: var(--c-makro); }

.btn-main {
  width: 100%;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--focus);
  color: #1a1405;
  border: none;
  border-radius: 11px;
  padding: 13px;
  font: 700 15px var(--body);
  cursor: pointer;
  transition: filter 0.15s, opacity 0.15s;
}

.btn-main:hover { filter: brightness(1.06); }

.btn-main:disabled { cursor: progress; opacity: 0.82; }

.btn-main .spin {
  display: none;
  width: 16px;
  height: 16px;
  animation: spin 0.7s linear infinite;
}

.btn-main.is-loading .spin { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

.auth-error {
  display: none;
  align-items: flex-start;
  gap: 9px;
  background: #3a1e26;
  border: 1px solid #6e3140;
  color: #ffc2cd;
  border-radius: 11px;
  padding: 11px 14px;
  font-size: 13.5px;
  line-height: 1.45;
  margin-bottom: 16px;
}

.auth-error svg { flex: none; margin-top: 1px; }

.auth-error.show { display: flex; }

.auth-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.auth-trust svg { flex: none; color: var(--c-makro); }

.auth-panel .foot {
  padding: 0;
  max-width: 384px;
  margin: 0 auto;
  justify-content: flex-start;
}

@media (max-width: 560px) {
  .pcard-foot { flex-direction: column; align-items: stretch; }
  .pcard-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .btn-buy, .btn-play-ghost { justify-content: center; }
}

@media (max-width: 380px) {
  .pgrid { grid-template-columns: 1fr; }
}

/* ---------- Moduldetail-Seite ---------- */

.backlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}

.backlink:hover { color: var(--text); }

.detail {
  --c: var(--muted);
  position: relative;
  margin: 26px 0 60px;
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: 16px;
  padding: 38px 42px 42px 48px;
  overflow: hidden;
  max-width: 760px;
}

/* Breite Detailseite mit Screenshot-Galerie */
.detail-wide { max-width: none; }

.detail-cols {
  display: grid;
  grid-template-columns: minmax(360px, 5fr) minmax(380px, 6fr);
  gap: 44px;
  align-items: start;
}

.detail-gallery {
  display: grid;
  gap: 16px;
}

.shot {
  margin: 0;
  border: 1px solid var(--panel-edge);
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.cta-note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 12px;
  max-width: 44ch;
}

.lightbox[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 10, 16, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  cursor: zoom-out;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
}

@media (max-width: 980px) {
  .detail-cols { grid-template-columns: 1fr; }
}

.detail::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: var(--c);
}

.detail-head .code {
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--c);
  text-transform: uppercase;
}

.detail h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.05;
  margin-top: 10px;
}

.detail-subject {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 6px;
}

.detail-tagline {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  color: var(--c);
  margin-top: 14px;
}

.detail-desc {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  margin-top: 16px;
  max-width: 56ch;
}

.detail-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.detail-stats li {
  font: 600 12px var(--mono);
  color: var(--text);
  background: var(--ink);
  border: 1px solid var(--panel-edge);
  border-radius: 999px;
  padding: 7px 14px;
}

.detail-h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  margin-top: 32px;
}

.detail-features {
  list-style: none;
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.detail-features li {
  display: flex;
  gap: 11px;
  align-items: baseline;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.detail-features svg { flex: none; color: var(--c); transform: translateY(2px); }

/* Preis-Leiste auf der Detailseite (auch ausgeloggt sichtbar) */
.detail-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--panel-edge);
}

.detail-price b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  color: var(--text);
}

.detail-price span { color: var(--muted); font-size: 13px; }

.detail-cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }

.btn-buy-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c);
  color: #10131c;
  font: 700 15px var(--body);
  text-decoration: none;
  border: 1px solid var(--c);
  padding: 13px 26px;
  border-radius: 10px;
  cursor: pointer;
  transition: filter 0.15s;
}

.btn-buy-lg:hover { filter: brightness(1.08); }

.btn-play-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font: 700 15px var(--body);
  text-decoration: none;
  border: 1px solid var(--panel-edge);
  padding: 13px 26px;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.btn-play-lg:hover { border-color: color-mix(in srgb, var(--c) 55%, var(--panel-edge)); background: var(--ink); }

.btn-play {
  display: inline-flex;
  align-items: center;
  background: var(--c);
  color: #10131c;
  font: 700 15px var(--body);
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 10px;
  transition: opacity 0.15s;
}

.btn-play:hover { opacity: 0.88; }

.cta-locked {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--ink);
  border: 1px solid var(--panel-edge);
  border-radius: 12px;
  padding: 16px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 480px;
}

.cta-locked b { color: var(--text); }

.cta-locked svg { flex: none; margin-top: 3px; }

/* ---------- Rechtsseiten (Impressum, Datenschutz) ---------- */

.prose {
  max-width: 720px;
  margin: 30px 0 70px;
}

.prose h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  margin-bottom: 22px;
}

.prose h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  margin: 28px 0 8px;
}

.prose p, .prose li {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.prose ul { padding-left: 20px; margin-top: 6px; }

.prose a { color: var(--text); text-underline-offset: 3px; }

.prose .todo {
  background: #3a2f1e;
  border: 1px solid #6e5a31;
  color: #ffd88a;
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 13px;
}

/* ---------- Responsiv & Bewegung ---------- */

@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr; }
  .intro { padding: 44px 0 30px; }
  .topline { flex-wrap: wrap; }
  .detail { padding: 28px 22px 30px 30px; }
  .foot { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .auth-dialog { animation: none; }
  .pcard:hover { transform: none; }
  .btn-main .spin { animation: none; }
}
