/* Giusis einminuetige Atempause: ohne Skripte, fremde Schriften oder Netzwerkanfragen. */
.atemkarte {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 235px;
  gap: 28px 54px;
  align-items: center;
  max-width: 850px;
  margin: 0 auto 57px;
  padding: 39px 45px 31px;
  border: 1px solid #d4c0aa;
  border-radius: 3px;
  background: #f7f2ea;
  text-align: left;
}
.atemkarte .eyebrow { margin: 0 0 13px; }
.atemkarte h3 { font-size: clamp(29px, 3vw, 39px); }
.atemkarte h3 em { display: block; }
.atemkarte-text > p:last-child {
  max-width: 48ch;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.atemkarte-uebung { min-width: 0; text-align: center; }
.atemkarte-uebung summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 14px 10px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  text-decoration: underline;
  text-decoration-color: #b7977d;
  text-underline-offset: 5px;
}
.atemkarte-uebung summary::-webkit-details-marker { display: none; }
.atemkarte-uebung summary::marker { content: ""; }
.atemkarte-uebung summary:hover { background: #f0e5d8; }
.atemkarte-uebung summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.atemkarte-kreis {
  display: grid;
  place-items: center;
  width: 136px;
  height: 136px;
  border: 1px solid #ceb59c;
  border-radius: 50%;
  background: #f1e6da;
}
.atemkarte-kreis > span {
  width: 83px;
  height: 83px;
  border-radius: 50%;
  background: #b69377;
  opacity: .8;
  transform: scale(.82);
}
.atemkarte-stop { display: none; }
.atemkarte-uebung[open] .atemkarte-start { display: none; }
.atemkarte-uebung[open] .atemkarte-stop { display: inline; }
.atemkarte-uebung[open] .atemkarte-kreis > span {
  animation: giusi-atmen 12s linear 5 forwards;
}
.atemkarte-verlauf { padding: 4px 3px 0; }
.atemkarte-phasen {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}
.atemkarte-phasen > span { opacity: .55; }
.atemkarte-uebung[open] .atemkarte-phasen > span:nth-child(1) { animation: giusi-phase-ein 12s linear 5 forwards; }
.atemkarte-uebung[open] .atemkarte-phasen > span:nth-child(2) { animation: giusi-phase-halt 12s linear 5 forwards; }
.atemkarte-uebung[open] .atemkarte-phasen > span:nth-child(3) { animation: giusi-phase-aus 12s linear 5 forwards; }
.atemkarte-fortschritt {
  height: 4px;
  margin: 12px 0 13px;
  border-radius: 2px;
  background: #ddcbb8;
  overflow: hidden;
}
.atemkarte-fortschritt > span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
}
.atemkarte-uebung[open] .atemkarte-fortschritt > span { animation: giusi-minute 60s linear forwards; }
.atemkarte-verlauf p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.atemkarte-verlauf .atemkarte-ohne-bewegung { display: none; }
.atemkarte-verlauf .atemkarte-ende {
  visibility: hidden;
  margin-top: 8px;
  color: var(--ink);
  font-weight: 600;
}
.atemkarte-uebung[open] .atemkarte-ende { animation: giusi-ende 60s step-end forwards; }
.atemkarte .atemkarte-hinweis {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 19px;
  border-top: 1px solid #decdbb;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
@keyframes giusi-atmen {
  0% { transform: scale(.82); animation-timing-function: ease-in-out; }
  33.333% { transform: scale(1.12); }
  66.667% { transform: scale(1.12); animation-timing-function: ease-in-out; }
  100% { transform: scale(.82); }
}
@keyframes giusi-minute { to { width: 100%; } }
@keyframes giusi-ende { to { visibility: visible; } }
@keyframes giusi-phase-ein { 0%, 33.32% { opacity: 1; } 33.34%, 100% { opacity: .55; } }
@keyframes giusi-phase-halt { 0%, 33.32% { opacity: .55; } 33.34%, 66.65% { opacity: 1; } 66.68%, 100% { opacity: .55; } }
@keyframes giusi-phase-aus { 0%, 66.65% { opacity: .55; } 66.68%, 100% { opacity: 1; } }
@media (max-width: 760px) {
  .atemkarte { grid-template-columns: 1fr; gap: 20px; max-width: 540px; padding: 29px 25px 25px; margin-bottom: 43px; }
  .atemkarte-text { text-align: center; }
  .atemkarte-text > p:last-child { margin-inline: auto; }
  .atemkarte-uebung { width: min(100%, 260px); margin-inline: auto; }
  .atemkarte .atemkarte-hinweis { grid-column: 1; text-align: center; }
}
@media (max-width: 420px) {
  .atemkarte { padding-inline: 19px; }
  .atemkarte-text > p:last-child { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .atemkarte-uebung[open] .atemkarte-kreis > span,
  .atemkarte-uebung[open] .atemkarte-phasen > span,
  .atemkarte-uebung[open] .atemkarte-fortschritt > span,
  .atemkarte-uebung[open] .atemkarte-ende { animation: none; }
  .atemkarte-verlauf .atemkarte-timertext { display: none; }
  .atemkarte-verlauf .atemkarte-ohne-bewegung { display: block; }
  .atemkarte-fortschritt { display: none; }
}
