.einstieg__ton {
  background: var(--farbe-salbei-hell);
  color: var(--farbe-text);
  border-radius: 14px;
  padding: .9rem 1.2rem;
}

.liederbuch {
  padding: calc(84px + env(safe-area-inset-top)) clamp(1rem, 6vw, 8rem) calc(1.25rem + env(safe-area-inset-bottom));
  flex-direction: column;
  gap: clamp(.75rem, 2.5vh, 1.75rem);
  display: flex;
  position: absolute;
  inset: 0;
}

.blatt {
  background: var(--farbe-flaeche);
  min-height: 0;
  color: var(--farbe-text);
  text-align: center;
  border-radius: 18px;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: clamp(.5rem, 2vh, 1.25rem);
  padding: clamp(.9rem, 3vh, 2rem) clamp(1rem, 4vw, 3rem);
  display: flex;
  overflow: hidden;
  box-shadow: 0 2px 4px #00000040, 0 16px 32px -14px #0009;
}

.musik {
  align-items: flex-end;
  gap: 8px;
  height: clamp(28px, 7vh, 56px);
  display: flex;
}

.musik span {
  background: var(--farbe-salbei);
  transform-origin: bottom;
  width: 12px;
  height: 100%;
  transition: transform .6s var(--uebergang);
  border-radius: 6px;
  transform: scaleY(.3);
}

.musik--spielt span {
  animation: 1.8s ease-in-out infinite alternate musik-welle;
}

.musik--spielt span:nth-child(2) {
  animation-delay: -.4s;
}

.musik--spielt span:nth-child(3) {
  animation-delay: -.9s;
}

.musik--spielt span:nth-child(4) {
  animation-delay: -1.3s;
}

.musik--spielt span:nth-child(5) {
  animation-delay: -.6s;
}

@keyframes musik-welle {
  from {
    transform: scaleY(.3);
  }

  to {
    transform: scaleY(1);
  }
}

.liederbuch [hidden] {
  display: none;
}

.blatt__frage {
  font-family: var(--schrift-titel);
  max-width: none;
  margin: 0;
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
}

.hoeren {
  min-height: 72px;
  color: var(--farbe-haupt);
  box-shadow: inset 0 0 0 3px var(--farbe-haupt);
  background: none;
  padding-inline: 1.4em;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
}

.hoeren:hover {
  background: var(--farbe-grund);
  color: var(--farbe-haupt);
}

.hoeren--haupt {
  background: var(--farbe-honig);
  min-height: 96px;
  color: var(--farbe-text);
  box-shadow: none;
  font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem);
}

.hoeren--haupt:hover {
  color: var(--farbe-text);
  background: #ecc46e;
}

.strophe {
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 0;
  display: flex;
}

.strophe__titel {
  font-family: var(--schrift-titel);
  max-width: none;
  margin: 0;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
}

.strophe__einladung {
  color: var(--farbe-honig-dunkel);
  max-width: none;
  margin: .2em 0 .6em;
  font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem);
  font-weight: 700;
}

.strophe__zeilen {
  text-align: left;
  margin: 0;
  padding: 0;
  font-size: clamp(1.25rem, .75rem + 1.9vh, 2rem);
  line-height: 1.4;
  list-style: none;
}

.strophe__zeilen li {
  transition: background-color .3s var(--uebergang);
  border-radius: 8px;
  padding: .05em .45em;
}

.strophe__zeilen .zeile--jetzt {
  background: #f3dfae;
}

.antworten {
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  grid-auto-flow: column;
  gap: clamp(.75rem, 1.6vw, 1.25rem);
  display: grid;
}

.antwort {
  background: var(--farbe-grund);
  min-height: clamp(80px, 13vh, 120px);
  color: var(--farbe-text);
  font: inherit;
  text-align: center;
  text-wrap: balance;
  cursor: pointer;
  transition: background-color .2s var(--uebergang);
  border: 0;
  border-radius: 16px;
  padding: .4em .8em;
  font-size: clamp(1.5rem, 1.15rem + 1vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 2px 4px #00000040, 0 10px 20px -12px #0000008c;
}

.antwort:hover {
  background: var(--farbe-flaeche);
}

.steuerung {
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(.75rem, 1.6vw, 1.25rem);
  display: flex;
}

.steuerung__weiter {
  background: var(--farbe-honig);
  min-height: 88px;
  color: var(--farbe-text);
  padding-inline: 2em;
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2rem);
}

.steuerung__weiter:hover:not(:disabled) {
  color: var(--farbe-text);
  background: #ecc46e;
}

.steuerung__weiter:disabled {
  opacity: 1;
  cursor: default;
}

.steuerung__nochmal {
  min-height: 88px;
  color: var(--farbe-haupt-text);
  box-shadow: inset 0 0 0 3px var(--farbe-haupt-text);
  background: #173a3099;
  padding-inline: 1.4em;
  font-size: clamp(1.4rem, 1.1rem + .8vw, 1.75rem);
}

.steuerung__nochmal:hover {
  background: var(--farbe-haupt-tief);
  color: var(--farbe-haupt-text);
}

@media (orientation: portrait) {
  .antworten {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
  }

  .antwort {
    min-height: clamp(64px, 9vh, 96px);
  }
}

@media (width <= 40rem) {
  .steuerung__weiter, .steuerung__nochmal {
    min-height: 64px;
    padding-inline: 1em;
    font-size: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .musik--spielt span {
    animation: none;
    transform: scaleY(.7);
  }

  .strophe__zeilen li {
    transition: none;
  }
}
