:root {
  color-scheme: light;
  font-family: "Albert Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #05060c;
  color: #111827;
}

@font-face {
  font-family: "Albert Sans";
  src: url("../fonts/AlbertSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Albert Sans";
  src: url("../fonts/AlbertSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atelia";
  src: url("../fonts/Atelia.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  background: radial-gradient(circle at top, #101225, #05060c 60%);
}

.page-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 120rem;
  color: white;
}

.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

button {
  border: none;
  padding: 0.85rem 1.4rem;
  border-radius: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

#exportAll {
  background: #22c55e;
  color: #032314;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#exportAll:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(34, 197, 94, 0.4);
}

.sheet-block {
  width: auto;
  max-width: 100%;
  background: rgba(15, 23, 42, 0.25);
  padding: 1rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: white;
}

.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.sheet-header strong {
  font-size: 1.4rem;
  letter-spacing: 0.18em;
}

.sheet-header button {
  background: #38bdf8;
  color: #082f49;
}

.sheet {
  width: 100%;
  overflow-x: auto;
  display: grid;
  grid-template-columns: repeat(4, 1080px);
  grid-auto-rows: 1350px;
  gap: 1rem;
  padding: 1rem;
  background: #0c101c;
}

.tile-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tile {
  width: 1080px;
  height: 1350px;
  background: white;
  padding: 120px 120px 100px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  border: 3px solid rgba(15, 23, 42, 0.08);
  position: relative;
}

.tile--question, 
.tile--choices {
  background: url(../images/knut_hintergrund.png), #8CC63F;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top;
  color: #050505;
}

.tile--solution,
.tile--explain {
  background: linear-gradient(180deg, #f0f1f4 0%, #dadddf 100%);
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
  padding: 0;
}

h1 {
  font-family: "Atelia", "Albert Sans", sans-serif;
  font-size: 3.6rem;
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 400;
}

.tile-heading {
  text-align: center;
  min-height: 210px;
}

.tile-heading h2 {
  font-family: "Atelia", "Albert Sans", sans-serif;
  font-size: 4.2rem;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
  font-weight: 400;
}

.tile--solution .tile-heading h2,
.tile--explain .tile-heading h2 {
  color: #8CC63F;
}

.tile--explain .tile-heading h3 {
  color: #050505;
  font-family: "Atelia", "Albert Sans", sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
  font-weight: 400;
  margin-top: 10px;
}

.tile--question .tile-heading h2,
.tile--choices .tile-heading h2 {
  color: #ffffff;
}

.tile--question .tile-heading h2 strong,
.tile--choices .tile-heading h2 strong {
  color: #000000;
  font-weight: normal;
}

p,
li,
span {
  font-size: 1.9rem;
  line-height: 1.45;
}

.visual {
  width: 100%;
  height: 540px;
  display: grid;
  place-items: center;
}

.visual--framed {
  background: #ffffff;
  border: 4px solid rgba(15, 23, 42, 0.08);
  padding: 0px;
  border-radius: 20px;
  overflow: hidden;
}

.visual img {
  max-width: 100%;
  height: 540px;
  padding: 20px;
  object-fit: contain;
}

.logo-mark {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
}

.logo-mark img {
  width: 200px;
  height: auto;
}

ul.answers {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

ul.answers li {
  border: 2px solid rgba(15, 23, 42, 0.15);
  padding: 0;
  background: #fff;
  display: flex;
  gap: 12px;
  align-items: center;
  border-radius: 10px;
  font-size: 1.5rem;
  overflow: hidden;
}

.answers--plain li {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
  color: #05130f;
}

.answers--solution li {
  background: #f6f8fb;
  border-color: rgba(15, 23, 42, 0.1);
  color: #111;
}

.answers--solution li > span {
  padding: 20px;
}

.answers--solution li[data-state="correct"] {
  border-color: #8CC63F;
  background: #e6f9eb;
}

.answers--solution li[data-state="neutral"] {
  opacity: 0.7;
}

.answer-indicator {
  width: 50px;
  height: 100%;
  object-fit: cover;
}

.answer-label {
  font-weight: 800;
  font-size: 1.4rem;
  color: #0f172a;
}

.tile--solution .answer-label {
  color: #15803d;
}

.tile-actions {
  display: flex;
  justify-content: flex-end;
}

.tile-actions button {
  background: #fbbf24;
  color: #78350f;
}

.tile--explain {
  text-align: center;
}

.tile--explain .visual--framed {
  max-width: 500px;
  height: 400px;
  margin-left: auto;
  margin-right: auto;
}

.tile--explain .visual img {
  height: 400px;
}

.explanation {
  font-size: 2rem;
  line-height: 1.4;
  color: #1f2937;
  text-align: center;
}

.empty {
  color: white;
  font-size: 1.2rem;
}

