:root {
  --bg: #140c22;
  --karte: #1f1435;
  --karte-hell: #2a1c47;
  --rand: #3d2a63;
  --text: #ece6f7;
  --leise: #a99cc4;
  --rosa: #ff8ad8;
  --orange: #ffb23f;
  --gruen: #7be05a;
  --rot: #ff6b6b;
  --radius: 10px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { image-rendering: pixelated; }

a { color: var(--rosa); }

.kopf {
  background: url("img/kopfbild.png") center / cover no-repeat, #1a0f2e;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px 32px;
  text-align: center;
  border-bottom: 3px solid var(--rand);
}

.logo { width: min(600px, 90vw); height: auto; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .45)); }

.unterzeile {
  margin: 14px 0 0;
  color: #fff;
  font-weight: 600;
  letter-spacing: .04em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .6);
}

main { width: min(980px, 100% - 32px); margin: 0 auto; padding: 28px 0 40px; flex: 1; }

.hinweis {
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 22px;
  background: var(--karte-hell);
  border: 2px solid var(--rand);
}
.hinweis.gut { border-color: var(--gruen); }
.hinweis.zu { border-color: var(--orange); }
.hinweis.fehler { border-color: var(--rot); }

.vorteile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.vorteile article, .schritt, .paket {
  background: var(--karte);
  border: 2px solid var(--rand);
  border-radius: var(--radius);
}

.vorteile article { padding: 0 0 16px; overflow: hidden; }
.vorteile img { width: 100%; height: auto; display: block; border-bottom: 2px solid var(--rand); }
.vorteile h3 { margin: 14px 16px 4px; font-size: 18px; color: var(--orange); }
.vorteile p { margin: 0 16px; color: var(--leise); }

.schritt { padding: 20px 22px; margin-bottom: 18px; }
.schritt h2 { margin: 0 0 14px; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.schritt p { color: var(--leise); margin: 0; }

.nr {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--rosa);
  color: #2a0b22;
  font-weight: 800;
}

form { display: flex; gap: 10px; flex-wrap: wrap; }

input {
  flex: 1 1 220px;
  font: inherit;
  padding: 11px 14px;
  border-radius: 8px;
  border: 2px solid var(--rand);
  background: #120a1f;
  color: var(--text);
  outline: none;
}
input:focus { border-color: var(--rosa); }

button {
  font: inherit;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 8px;
  border: 0;
  background: var(--rosa);
  color: #2a0b22;
  cursor: pointer;
  box-shadow: 0 3px 0 #b04f93;
}
button:hover { filter: brightness(1.06); }
button:active { transform: translateY(2px); box-shadow: 0 1px 0 #b04f93; }
button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
button.leise { background: transparent; color: var(--leise); box-shadow: none; border: 2px solid var(--rand); padding: 8px 14px; }

.spieler {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--karte-hell);
  border: 2px solid var(--gruen);
}
.spieler img { border-radius: 6px; background: #120a1f; }
.spieler-text { flex: 1; display: flex; flex-direction: column; }
.spieler-text span { color: var(--leise); font-size: 14px; }

.fehler { color: var(--rot) !important; margin-top: 10px !important; }
.klein { font-size: 14px; margin-top: 12px !important; }

.pakete {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.laedt { color: var(--leise); }

.paket { padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--karte-hell); }
.paket img { width: 100%; height: 150px; object-fit: contain; background: #120a1f; border-radius: 8px; }
.paket h3 { margin: 0; font-size: 18px; }
.paket .beschreibung { color: var(--leise); font-size: 14px; flex: 1; }
.paket .preis { font-size: 22px; font-weight: 800; color: var(--orange); }
.paket .menge { display: flex; align-items: center; gap: 10px; }
.paket .menge button { padding: 4px 12px; box-shadow: none; background: var(--rand); color: var(--text); }
.paket .menge span { min-width: 24px; text-align: center; font-weight: 700; }
.paket .menge .menge-text { min-width: auto; font-weight: 400; color: var(--leise); }

footer {
  border-top: 2px solid var(--rand);
  padding: 18px 16px 26px;
  text-align: center;
  color: var(--leise);
  font-size: 13px;
}
footer p { margin: 4px 0; }
