/* Die Farbwerte und Maße hier ändern die gesamte Anwendung. Andika liegt lokal bei. */
@font-face {
  font-family: Andika;
  src: url("assets/schrift/Andika-Regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Andika;
  src: url("assets/schrift/Andika-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --tinte: #193d3b;
  --leise: #3b5c55;
  --papier: #f7faf4;
  --weiss: #fffef9;
  --linie: #c9dbc9;
  --petrol: #215d53;
  --hell: #e8f3e7;
  --fokus: #724515;
  --rand: 1.25rem;
  --spielbreite: 960px;
  font-size: 125%;
  line-height: 1.5;
  font-family: Andika, sans-serif;
  color: var(--tinte);
  background: var(--papier);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, select { font: inherit; }
button, a, select { touch-action: manipulation; }
a { color: var(--petrol); text-underline-offset: .2em; }
button, .schaltlink {
  color: var(--tinte);
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: .7rem;
  padding: .35rem .65rem;
  min-height: 44px;
  cursor: pointer;
}
button:hover, .schaltlink:hover { background: var(--hell); }
button:disabled { cursor: default; opacity: .63; }
button.primary, .schaltlink.primary { color: #fff; background: var(--petrol); border-color: var(--petrol); }
button.primary:hover, .schaltlink.primary:hover { background: #18493f; }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
p + p { margin-top: .75rem; }
h1 { font-size: 1.6rem; line-height: 1.2; }
h2, h3 { font-size: 1.4rem; line-height: 1.25; }
.wrap { width: min(1120px, calc(100% - 2 * var(--rand))); margin-inline: auto; }
.kopf { background: var(--weiss); border-bottom: 1px solid var(--linie); }
.kopfleiste { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding-block: .4rem; }
.marke { font-weight: 700; text-decoration: none; font-size: 1.18rem; }
.aktionen { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.punkte { border-radius: 2rem; background: #f8edcf; padding: .35rem .85rem; font-weight: 700; }
main { margin-block: 1.4rem; }
.hero {
  position: relative;
  isolation: isolate;
  min-height: 280px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 32%);
  align-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  border: 1px solid var(--linie);
  overflow: hidden;
  border-radius: 1.45rem;
  background: linear-gradient(90deg, #f8fff4 8%, #f8fff4de 44%, #f8fff420 84%), url("assets/bilder/wiese.png") center 48% / cover;
}
.hero-kicker { font-weight: 700; color: var(--petrol); margin-bottom: .35rem; }
.hero p:last-child { margin-top: .75rem; max-width: 39ch; }
.tueftel { width: 100%; max-height: 245px; object-fit: contain; filter: drop-shadow(0 6px 6px #27413022); }
.auswahl-titel { margin-block: 1.3rem .6rem; }
.startempfehlung { margin-bottom: .65rem; }
.karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.karte { display: flex; align-items: center; min-height: 100px; gap: .85rem; text-align: left; padding: .7rem .85rem; box-shadow: 0 2px 3px #2943310b; }
.karte strong, .karte small { display: block; }
.karte strong { line-height: 1.35; }
.karte > span { min-width: 0; overflow-wrap: anywhere; }
.karte small { color: var(--leise); margin-top: .25rem; font-size: 1rem; line-height: 1.5; }
.karte-symbol { flex: 0 0 52px; width: 52px; height: 52px; display: grid; place-items: center; background: var(--hell); border-radius: .9rem; font-weight: 700; font-size: 1.18rem; }
.karte-symbol img { width: 45px; height: 45px; object-fit: contain; }
.kartenpfeil { margin-left: auto; color: var(--petrol); }
.fuss { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: 1rem; padding-block: 1rem 1.65rem; border-top: 1px solid var(--linie); }
.uebung { max-width: var(--spielbreite); margin-inline: auto; }
.uebungskopf { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .65rem; margin-bottom: .65rem; }
.anleitung { display: flex; gap: .7rem; align-items: center; padding: .7rem; border-radius: .9rem; background: var(--hell); margin-bottom: .75rem; }
.anleitung img { width: 60px; height: 48px; object-fit: contain; flex: none; }
.anleitung p { flex: 1; }
#anleitung { font-size: 1.1rem; line-height: 1.5; }
.status { min-height: 3.05rem; padding-block: .45rem; font-weight: 700; }
.uebungsaktionen { display: flex; gap: .55rem; flex-wrap: wrap; margin-bottom: .7rem; }
dialog { width: min(32rem, calc(100% - 2rem)); max-height: 90vh; overflow: auto; border: 1px solid var(--linie); border-radius: 1rem; color: var(--tinte); background: var(--weiss); padding: 1.25rem; }
dialog::backdrop { background: #15362f9c; }
dialog h2, dialog p, dialog .aktionen { margin-bottom: .7rem; }
dialog .status { min-height: 0; }
.infoseite { max-width: 760px; }
.infoseite h1 { margin-block: .7rem 1rem; }
.infoseite h2 { margin-block: 1.2rem .4rem; }
.infoseite li { margin-block: .25rem; }
@media (max-width: 760px) {
  .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: 225px; }
}
@media (max-width: 480px) {
  :root { --rand: .7rem; }
  .karten { grid-template-columns: 1fr; }
  .karte { min-height: 71px; }
  .hero { grid-template-columns: 1fr; padding: .85rem; min-height: 180px; }
  .hero .tueftel { max-width: 10rem; justify-self: center; }
  .anleitung { flex-wrap: wrap; }
  .anleitung p { min-width: 55%; }
}

.punktehinweis {
  margin-top: .75rem;
  padding: .65rem .85rem;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: .7rem;
  font-size: 1rem;
}

.schaltlink { display: inline-flex; align-items: center; text-decoration: none; }
@media (max-width: 39rem) {
  .uebungskopf, .anleitung { gap: .35rem; }
}
