/* ALPHA RUN — ein einziges Theme für alle drei Ansichten.
   Farben aus Spec §8, Variante A. */
:root {
  --grund:   #2d0a4e;
  --flaeche: #43156e;
  --akzent:  #ffd400;
  --auf-akzent: #2d0a4e;
  --text:    #ffffff;
  --gedaempft: #b18ad6;
  --o1: #e0157a;
  --o2: #00b3a4;
  --o3: #f26a1b;
  --o4: #7b3ff2;
  --o5: #1b9be0;
  --o6: #c2185b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--grund);
  color: var(--text);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
}

/* Speed-Lines aus dem Original — dezent, damit Text lesbar bleibt. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 22px,
              rgba(255,255,255,.045) 22px 25px);
}

.ar-seite {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100vh;
}

/* --- Wortmarke --- */
.ar-mark { display: flex; justify-content: center; margin-bottom: 4px; }
.ar-mark span {
  font-family: Impact, "Haettenschweiler", "Arial Black", sans-serif;
  text-transform: uppercase;
  font-size: 30px;
  line-height: 1;
  letter-spacing: .02em;
  padding: 7px 12px;
  display: block;
}
.ar-mark .a { background: var(--akzent); color: var(--auf-akzent); transform: rotate(-3.5deg); }
.ar-mark .b { background: var(--text); color: var(--grund); transform: rotate(2.5deg); margin-left: -4px; }

/* --- Bausteine --- */
.ar-eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--akzent);
}

.ar-frage {
  background: var(--flaeche);
  border-left: 6px solid var(--akzent);
  padding: 14px 14px;
  transform: rotate(-.7deg);
}
.ar-frage p {
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-weight: 400;
  font-size: 23px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.ar-optionen { display: flex; flex-direction: column; gap: 10px; }

.ar-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 12px 14px;
  border: 0;
  border-radius: 3px;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}
.ar-opt b {
  flex: none;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 2px;
  background: rgba(0,0,0,.32);
  font-family: Impact, "Arial Black", sans-serif;
  font-weight: 400;
  font-size: 17px;
}
/* Achtung: nth-of-type, nicht nth-child — Alpines <template> verschiebt
   sonst die Zählung und die Farben rutschen. */
.ar-opt:nth-of-type(1) { background: var(--o1); transform: rotate(-1deg); }
.ar-opt:nth-of-type(2) { background: var(--o2); transform: rotate(.8deg); }
.ar-opt:nth-of-type(3) { background: var(--o3); transform: rotate(-.6deg); }
.ar-opt:nth-of-type(4) { background: var(--o4); transform: rotate(1deg); }
.ar-opt:nth-of-type(5) { background: var(--o5); transform: rotate(-.9deg); }
.ar-opt:nth-of-type(6) { background: var(--o6); transform: rotate(.7deg); }
.ar-opt[aria-pressed="true"] { outline: 4px solid var(--akzent); outline-offset: 2px; }

.ar-btn {
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 15px 12px;
  border: 0;
  background: var(--akzent);
  color: var(--auf-akzent);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .03em;
  transform: rotate(-1deg);
  cursor: pointer;
}
.ar-btn:disabled { opacity: .4; cursor: default; }
.ar-btn-geist {
  background: transparent;
  border: 2px solid var(--gedaempft);
  color: var(--gedaempft);
  font-size: 16px;
  transform: rotate(.6deg);
}

.ar-tabs { display: flex; gap: 5px; }
.ar-tab {
  flex: 1;
  padding: 12px 4px;
  border: 0;
  border-radius: 2px;
  background: var(--flaeche);
  color: var(--gedaempft);
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.ar-tab.aktiv { background: var(--akzent); color: var(--auf-akzent); }

.ar-panel { background: var(--flaeche); padding: 12px 14px; }

.ar-zaehler { font-family: Impact, "Arial Black", sans-serif; font-size: 44px; line-height: 1; }
.ar-zaehler small { font-size: 22px; color: var(--gedaempft); }

.ar-balken { height: 10px; background: var(--flaeche); border-radius: 2px; overflow: hidden; }
.ar-balken i { display: block; height: 100%; background: var(--akzent); transition: width .25s; }

.ar-liste { display: flex; flex-direction: column; gap: 6px; }
.ar-zeile {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--flaeche);
  font-weight: 600;
  font-size: 18px;
}
.ar-zeile .rang { font-family: Impact, "Arial Black", sans-serif; color: var(--gedaempft); }
.ar-zeile .punkte {
  font-family: Impact, "Arial Black", sans-serif;
  color: var(--akzent);
  font-variant-numeric: tabular-nums;
}
.ar-zeile.fuehrend { background: var(--akzent); }
.ar-zeile.fuehrend .rang,
.ar-zeile.fuehrend .punkte,
.ar-zeile.fuehrend span { color: var(--auf-akzent); }
.ar-zeile.getrennt { opacity: .5; }
.ar-zeile.richtig .punkte { color: var(--o2); }
.ar-zeile.falsch  .punkte { color: var(--o1); }

.ar-feld {
  width: 100%;
  padding: 14px;
  border: 3px solid var(--gedaempft);
  background: var(--flaeche);
  color: var(--text);
  font-family: inherit;
  font-size: 20px;
}
.ar-feld:focus { outline: 3px solid var(--akzent); outline-offset: 2px; }
input.ar-feld[type="number"] {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 40px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.ar-hinweis {
  text-align: center;
  color: var(--gedaempft);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 14px;
}
.ar-fehler {
  background: var(--o1);
  color: #fff;
  padding: 10px 12px;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
