/* Neo-Brutalismus: harte schwarze Rahmen, versetzte Schatten, keine
   Verläufe, kein Rundungs-Weichzeichner. Alles was tippbar ist, ist
   mindestens 64 px hoch, damit es auf dem iPad blind trifft. */

:root {
  --ink: #111111;
  --bg: #fce9a8;
  --paper: #fffbef;
  --pink: #ff8af0;
  --yellow: #fff27a;
  --green: #93f5a5;
  --cyan: #7efaf6;
  --purple: #9e97f7;
  --salmon: #ff9c95;
  --teal: #14857b;
  --border: 3px;
  --shadow: 7px 7px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, 'Helvetica Neue', sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.45;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

h1,
h2,
h3 {
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}

h1 {
  font-size: clamp(38px, 9vw, 68px);
  line-height: 0.95;
}

h2 {
  font-size: clamp(22px, 4vw, 30px);
}

h3 {
  font-size: 18px;
}

p {
  margin: 0 0 14px;
}

.muted {
  font-weight: 700;
  opacity: 0.62;
  font-size: 15px;
}

.row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.spread {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.rule {
  border: 0;
  border-top: var(--border) solid var(--ink);
  margin: 10px 0 22px;
}

.stack {
  display: grid;
  gap: 14px;
}

/* ---------------------------------------------------------- Buttons */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  padding: 16px 22px;
  background: var(--paper);
  color: var(--ink);
  border: var(--border) solid var(--ink);
  box-shadow: var(--shadow);
  font: inherit;
  font-weight: 900;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.06s ease, box-shadow 0.06s ease;
  user-select: none;
}

.btn:active {
  transform: translate(5px, 5px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn.sm {
  min-height: 46px;
  padding: 8px 14px;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}

.btn.pink { background: var(--pink); }
.btn.yellow { background: var(--yellow); }
.btn.green { background: var(--green); }
.btn.cyan { background: var(--cyan); }
.btn.purple { background: var(--purple); }
.btn.salmon { background: var(--salmon); }
.btn.teal { background: var(--teal); color: #fff; }
.btn.ghost { background: transparent; box-shadow: none; border-width: var(--border); }

.btn.wide {
  width: 100%;
}

/* --------------------------------------------------------- Flächen */

.card {
  background: var(--paper);
  border: var(--border) solid var(--ink);
  box-shadow: var(--shadow);
  padding: 20px;
}

.tag {
  display: inline-block;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tag.pink { background: var(--pink); }
.tag.yellow { background: var(--yellow); }
.tag.green { background: var(--green); }
.tag.cyan { background: var(--cyan); }
.tag.purple { background: var(--purple); }
.tag.salmon { background: var(--salmon); }

/* Rollen bekommen vault-weit dieselbe Farbe, damit sie überall
   ohne Lesen erkennbar sind. */
.role-mobilise { background: var(--cyan); }
.role-strength { background: var(--salmon); }
.role-cardio { background: var(--yellow); }
.role-stretch { background: var(--pink); }

/* --------------------------------------------------- Formularfelder */

label {
  display: block;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

input[type='text'],
input[type='password'],
input[type='number'],
input[type='url'],
select,
textarea {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  background: var(--paper);
  border: var(--border) solid var(--ink);
  box-shadow: var(--shadow-sm);
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  border-radius: 0;
  appearance: none;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 4px solid var(--teal);
  outline-offset: 2px;
}

.field {
  margin-bottom: 16px;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice {
  border: var(--border) solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  padding: 10px 14px;
  min-height: 48px;
  font: inherit;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
}

.choice[aria-pressed='true'] {
  background: var(--ink);
  color: var(--paper);
}

/* -------------------------------------------------------- Meldungen */

.note {
  border: var(--border) solid var(--ink);
  background: var(--yellow);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
  font-weight: 800;
}

.note.bad {
  background: var(--salmon);
}

.note.good {
  background: var(--green);
}

.hidden {
  display: none !important;
}
