
* {
    box-sizing: border-box;
}



.app-wrapper {
    width: 100%;
    
}

.app-scope {
    margin: 0;
    min-height: 100vh;
    width: 100%;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Oxygen, Ubuntu, Cantarell,
                 "Open Sans", "Helvetica Neue", sans-serif;

    /* Hintergrund MUSS hier liegen */
    background: linear-gradient(
        135deg,
        var(--bg-grad-start) 0%,
        var(--bg-grad-mid) 40%,
        var(--bg-grad-end) 100%
    );

    display: flex;
    justify-content: center;
    align-items: flex-start;

    /* WICHTIG: kein Padding hier */
    padding: 0;

    color: var(--text-main);

    --bg-grad-start: #5ab5ff;
    --bg-grad-mid: #7273ff;
    --bg-grad-end: #c044d4;
    --card-bg: rgba(27, 46, 101, 0.25);
    --card-border: rgba(255, 255, 255, 0.25);
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.8);
    --radius-card: 30px;
}


.app-inner{
  margin: 0;
  width:100%;
  max-width:440px;
  padding:32px 16px 64px;
}


/* Header-Bereich */
.header { text-align: center; margin-bottom: 18px; }
.palm { width: 60px; height: 60px; margin: 0 auto 12px; background: radial-gradient(circle at center, #ffda6a 0%, #ffb347 40%, rgba(255,255,255,0) 45%); border-radius: 50%; position: relative; }
.palm::after { content: ""; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%) rotate(3deg); width: 10px; height: 28px; background: #d8832a; border-radius: 999px; box-shadow: -14px -10px 0 4px #0c9448, 14px -10px 0 4px #0a7f3c; }
.title { font-size: 2rem; font-weight: 700; margin-bottom: 4px; }
.subtitle { font-size: 0.9rem; color: var(--text-muted); }

/* Quiz-Karte */
.quiz-card { background: rgba(255,255,255,0.12); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius-card); padding: 20px 18px 22px; box-shadow: 0 18px 40px rgba(7,16,54,0.15); }
.quiz-top-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.progress-bar { width: 100%; height: 10px; background: rgba(255,255,255,0.16); border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.progress-bar__value { width: 15%; height: 100%; background: #ffffff; border-radius: 999px; }
.question { font-size: 1.15rem; font-weight: 700; line-height: 1.4; margin-bottom: 16px; }
.answer { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.04); border-radius: 18px; padding: 12px 14px 14px; margin-bottom: 12px; display: flex; gap: 10px; align-items: center; cursor: pointer; transition: transform 0.15s ease-out, background 0.15s ease-out; }
.answer:hover { background: rgba(255,255,255,0.24); transform: translateY(-1px); }
.answer-label { font-weight: 600; min-width: 25px; }
.answer-text { font-weight: 500; }
@media (max-width: 420px) { .title { font-size: 1.7rem; } .quiz-card { padding: 18px 14px 20px; } }
 .dance-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 250px;
    margin: 30px auto;
    border-radius: 10px;
    background: transparent;
    
    overflow: visible;        /* ← jetzt frei über Rand */
    z-index: 2;               /* über Text & Überschrift */
  }

  .dance-wrapper a {
    position: absolute;
    width: 90px;
    height: 90px;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    z-index: 3;               /* ganz oben */
  }

  .dance-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
  }

  /* Startpunkte + Delays */
  .item1 {
    top: 10%;
    left: 15%;
    animation: wander1 12s ease-in-out infinite;
    animation-delay: 0s;
  }

  .item2 {
    top: 50%;
    left: 60%;
    animation: wander2 14s ease-in-out infinite;
    animation-delay: 4s;
  }

  .item3 {
    top: 20%;
    left: 75%;
    animation: wander3 16s ease-in-out infinite;
    animation-delay: 8s;
  }

  /* Bewegung über größere Fläche – auch über Rand hinaus */
  @keyframes wander1 {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(120px, -60px); }
    50%  { transform: translate(-80px, 140px); }
    75%  { transform: translate(-100px, -80px); }
    100% { transform: translate(0, 0); }
  }

  @keyframes wander2 {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(-120px, 100px); }
    50%  { transform: translate(80px, -100px); }
    75%  { transform: translate(-40px, -60px); }
    100% { transform: translate(0, 0); }
  }

  @keyframes wander3 {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(-100px, -120px); }
    50%  { transform: translate(60px, 140px); }
    75%  { transform: translate(100px, -60px); }
    100% { transform: translate(0, 0); }
  }

  /* Responsiv */
  @media (max-width: 500px) {
    .dance-wrapper a {
      width: 70px;
      height: 70px;
    }
  }
