:root {
  --pink: #FF3D7F; --gelb: #FFC93C; --tuerkis: #00C2A8; --violett: #7B5CFF; --orange: #FF8A3D;
  --text: #1E1433; --text-leise: #6B6280; --hintergrund: #FFF8EE; --flaeche: #FFFFFF; --rand: #EADFF5;
}
@media (prefers-color-scheme: dark) {
  :root { --text: #F6F1FF; --text-leise: #B3A9C9; --hintergrund: #151022; --flaeche: #221A35; --rand: #33294A; }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--hintergrund); }
body {
  margin: 0 auto; max-width: 720px; padding: 0 16px; min-height: 100vh;
  display: flex; flex-direction: column;
  background: var(--hintergrund); color: var(--text);
  font: 400 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-wrap: break-word;
}
main { flex: 1; padding-bottom: 48px; }
h1, h2, h3 { font-weight: 900; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: 2.2rem; margin: 28px 0 8px; }
h2 { font-size: 1.25rem; margin: 32px 0 8px; color: var(--pink); }
h3 { font-size: 1.05rem; margin: 24px 0 4px; }
p { margin: 0 0 14px; }
a { color: var(--pink); font-weight: 700; }

.kopf { padding: 20px 0 0; }
.marke { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 900; font-size: 1.2rem; }
.marke img { border-radius: 9px; }
.stand { color: var(--text-leise); font-size: 0.9rem; }

.start { text-align: center; padding-top: 24px; }
.start .logo { width: 180px; height: 180px; }
.start h1 { font-size: 2.8rem; margin-top: 8px; }
.start .untertitel { color: var(--pink); font-size: 1.25rem; font-weight: 800; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 28px 0; text-align: left; }
.kachel { background: var(--farbe); color: #fff; border-radius: 22px; padding: 18px; font-size: 0.95rem; line-height: 1.45; }
.kachel span { display: block; font-size: 2rem; margin-bottom: 6px; }
.kachel b { display: block; font-size: 1.1rem; font-weight: 900; margin-bottom: 4px; }
.hinweis { display: inline-block; margin-top: 12px; padding: 10px 20px; border-radius: 999px; background: var(--text); color: var(--hintergrund); font-weight: 800; }

.einladung { text-align: center; padding-top: 16px; }
.sticker { width: 110px; height: 110px; margin: 16px auto 0; border-radius: 30px; background: var(--flaeche); display: flex; align-items: center; justify-content: center; font-size: 60px; transform: rotate(-6deg); box-shadow: 0 8px 0 rgba(30, 20, 51, 0.15); }
.raum { background: var(--violett); color: #fff; border-radius: 24px; padding: 20px; margin: 20px 0; }
.raum.fehler { background: var(--orange); }
.raum b { display: block; font-size: 1.4rem; font-weight: 900; }
.schritte { text-align: left; background: var(--flaeche); border: 1px solid var(--rand); border-radius: 24px; padding: 20px 20px 20px 44px; }
.schritte li { margin-bottom: 14px; }
.schritte li:last-child { margin-bottom: 0; }
.hinweis-klein { color: var(--text-leise); font-size: 0.9rem; }
.code { display: block; margin: 8px 0 4px; padding: 10px 18px; font: 900 2rem/1 ui-monospace, Consolas, monospace; letter-spacing: 0.18em; color: var(--text); background: var(--hintergrund); border: 2px dashed var(--pink); border-radius: 16px; cursor: pointer; }
.knopf { display: block; margin-top: 20px; padding: 16px; border-radius: 999px; background: var(--pink); color: #fff; text-decoration: none; font-weight: 900; }

.fuss { padding: 24px 0 32px; border-top: 1px solid var(--rand); }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.fuss a { color: var(--text-leise); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
