/* help.pacing.live. Farben aus pacing-live-seite/index.html übernommen. */
:root { color-scheme: dark; }
html, body { margin: 0; padding: 0; background: #232C4C; }
body {
  color: #FCF8EE;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  position: relative;
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  padding: 1.4rem 1.25rem 2rem;
  padding-top: calc(1.4rem + env(safe-area-inset-top));
  box-sizing: border-box;
  flex: 1 0 auto;
}
h1 { font-size: 24px; font-weight: normal; line-height: 1.5; margin: 0 0 1rem; }
p { margin: 0 0 1.3rem; }
.antworten { display: block; }
.knopf {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 150px;
  margin: 0 0 12px;
  padding: 0.6rem 1rem;
  border: 0;
  border-radius: 18px;
  background: #FCF8EE;
  color: #232C4C;
  font-family: inherit;
  font-size: 26px;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}
.knopf { flex-direction: column; }
.knopf .klein { display: block; font-size: 20px; margin-top: 0.2rem; }
.knopf.leicht { background: transparent; color: #FCF8EE; border: 2px solid #8E9AB8; min-height: 90px; font-size: 22px; }
.knopf:focus-visible { outline: 4px solid #8E9AB8; outline-offset: 4px; }
.knopf:active { background: #EDE7D8; }
.knopf.leicht:active { background: transparent; }
#knopf { min-height: 168px; font-size: 28px; margin-bottom: 2rem; }
audio { display: none; }
noscript audio { display: block; width: 100%; margin-bottom: 2rem; }
.wichtig { font-weight: bold; }
.leise { color: #C9CFE0; font-size: 20px; line-height: 1.6; }
#stand { color: #C9CFE0; margin-top: -0.6rem; }
#stand[hidden] { display: none; }
.anlegen { margin-bottom: 1.3rem; }
@media (display-mode: standalone) { .anlegen { display: none; } }
.zahnrad {
  position: absolute;
  top: calc(0.5rem + env(safe-area-inset-top));
  right: 0.6rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8E9AB8;
  text-decoration: none;
}
.zahnrad:focus-visible { outline: 3px solid #8E9AB8; border-radius: 8px; }
.mit-zahnrad { padding-top: calc(3.2rem + env(safe-area-inset-top)); }
.karussell {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -1.25rem 1rem;
  padding: 0 1.25rem;
  gap: 0.75rem;
}
.karussell::-webkit-scrollbar { display: none; }
.karussell img {
  flex: 0 0 100%;
  scroll-snap-align: center;
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}
body[data-seite="anleitung"] main { padding: 0 0 1rem; max-width: 30rem; }
body[data-seite="anleitung"] .karussell { margin: 0; padding: 0; gap: 0; }
body[data-seite="anleitung"] .karussell img { max-height: none; border-radius: 0; }
body[data-seite="anleitung"] .blaettern { padding: 0.4rem 1rem 0; }
body[data-seite="anleitung"] .antworten { padding: 0 1.25rem; }
.blaettern { display: flex; align-items: center; justify-content: space-between; margin: 0 0 1rem; }
.pfeil {
  width: 48px; height: 48px; border: 2px solid #8E9AB8; border-radius: 50%;
  background: transparent; color: #FCF8EE; font-family: inherit; font-size: 32px; line-height: 1;
  cursor: pointer; padding: 0 0 4px; touch-action: manipulation;
}
.pfeil:focus-visible { outline: 3px solid #8E9AB8; outline-offset: 3px; }
.pfeil[hidden], #weiter[hidden] { display: none; }
.balken { width: 100%; height: 22px; border: 2px solid #8E9AB8; border-radius: 11px; box-sizing: border-box; margin: 0 0 1rem; overflow: hidden; }
.balken[hidden] { display: none; }
#fuellung { height: 100%; width: 0; background: #FCF8EE; }
.zurueck { display: inline-block; margin-bottom: 1.4rem; color: #C9CFE0; }
h2 { font-size: 21px; font-weight: bold; margin: 1.8rem 0 0.6rem; }
a { color: #C9CFE0; }
footer {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
  padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  box-sizing: border-box;
  color: #8E9AB8;
  font-size: 18px;
  line-height: 1.6;
}
footer p { margin: 0 0 0.8rem; }
footer a { color: #8E9AB8; }
