/* ============================================= */
/* Grund-Einstellungen für die ganze Seite        */
/* ============================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    min-height: 100vh;
    min-height: 100dvh; /* dynamische Höhe auf Handys (ohne Browser-Leiste) */
}

body {
    font-family: -apple-system, system-ui, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 85% 90%, rgba(255, 255, 255, 0.12) 0%, transparent 35%),
        linear-gradient(135deg, #7c5cff 0%, #ff6bd6 55%, #ff8a5c 100%);
    background-attachment: fixed;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    padding-top: max(1rem, env(safe-area-inset-top));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* Schwebende Sparkles im Hintergrund */
body::before, body::after {
    content: '✨';
    position: fixed;
    font-size: 2rem;
    pointer-events: none;
    opacity: 0.35;
    animation: schweben 8s ease-in-out infinite;
    z-index: 0;
}
body::before { top: 12%; left: 8%; animation-delay: 0s; }
body::after  { bottom: 15%; right: 10%; animation-delay: 3s; font-size: 1.5rem; }

@keyframes schweben {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
    50%      { transform: translate(10px, -15px) rotate(15deg); opacity: 0.55; }
}

/* ============================================= */
/* Bildschirme (Screens) — nur einer ist sichtbar */
/* ============================================= */

/* WICHTIG: Standardmäßig sind ALLE Screens versteckt.
   Nur der Screen mit der Klasse .aktiv wird angezeigt.
   Beide Eigenschaften (Layout + display) in einer Regel,
   damit kein Browser etwas durcheinander bringen kann. */
.screen {
    display: none !important;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    background: white;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    animation: rein 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.screen.aktiv {
    display: block !important;
}

@keyframes rein {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================= */
/* Start-Bildschirm                               */
/* ============================================= */

.logo {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    background: linear-gradient(135deg, #7c5cff, #ff6bd6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.untertitel {
    text-align: center;
    color: #888;
    margin-bottom: 2rem;
}

.start-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.start-box label {
    font-weight: 600;
    color: #555;
}

.start-box input {
    padding: 1rem;
    font-size: 1.2rem;
    border: 2px solid #eee;
    border-radius: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.start-box input:focus {
    border-color: #7c5cff;
}

/* Fehler-Box (Login) */
.fehler {
    background: #ffe3e3;
    color: #c92a2a;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

.fehler.versteckt {
    display: none;
}

/* Kleingedruckter Hinweis */
.kleingedruckt {
    text-align: center;
    color: #888;
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

/* Logout-Knopf (klein, oben rechts) */
.kopf-rechts {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logout-knopf {
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f0ff;
    color: #7c5cff;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.logout-knopf:hover {
    background: #e3ddff;
}

/* ============================================= */
/* Grundform für große Knöpfe                     */
/* ============================================= */

.knopf-gross {
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #7c5cff, #ff6bd6);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 6px 20px rgba(124, 92, 255, 0.35);
}

.knopf-gross:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(124, 92, 255, 0.45);
}

.knopf-gross:active {
    transform: translateY(0);
}

.knopf-klein {
    margin-top: 0.75rem;
    padding: 0.75rem;
    font-size: 1rem;
    color: #7c5cff;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 100%;
}

.klein-knopf {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
    color: #7c5cff;
    background: #f3f0ff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

/* ============================================= */
/* Kopfzeile (mit Name, Münzen, Zurück-Knopf)    */
/* ============================================= */

.kopfzeile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #555;
}

.muenzen {
    background: #fff5cc;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-weight: 700;
    color: #b48b00;
}

/* ============================================= */
/* Level-Auswahl                                  */
/* ============================================= */

h2 {
    margin: 1rem 0 0.25rem 0;
    color: #333;
}

.level-liste {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.level-knopf {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1.1rem 1.3rem;
    background: #f8f6ff;
    border: 2px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
}

.level-knopf:hover {
    background: #efeaff;
    border-color: #7c5cff;
    transform: translateX(4px);
}

.level-nummer {
    font-size: 0.8rem;
    font-weight: 700;
    color: #7c5cff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.level-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
}

.level-info {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
}

/* ============================================= */
/* Fortschrittsbalken                             */
/* ============================================= */

.fortschritt {
    font-size: 0.9rem;
}

.fortschrittsbalken {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

#fortschritt-fuellung {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #7c5cff, #ff6bd6);
    border-radius: 999px;
    transition: width 0.4s;
}

/* ============================================= */
/* Die Karteikarte (mit 3D-Flip-Animation!)       */
/* ============================================= */

.karten-bereich {
    perspective: 1200px;
    margin-bottom: 1.5rem;
}

.karteikarte {
    position: relative;
    width: 100%;
    height: 260px;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.karteikarte.umgedreht {
    transform: rotateY(180deg);
}

.karte-seite {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.karte-vorne {
    background: linear-gradient(135deg, #7c5cff, #b86dff);
    color: white;
}

.karte-hinten {
    background: linear-gradient(135deg, #ffb347, #ffcc33);
    color: #3a2b00;
    transform: rotateY(180deg);
}

.karte-inhalt {
    font-size: 4rem;
    font-weight: 900;
    text-align: center;
    line-height: 1.1;
    word-break: break-word;
}

.karte-vorne .karte-inhalt {
    font-size: 6rem;
}

.karte-hinweis {
    position: absolute;
    bottom: 1rem;
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 500;
}

.aussprache-knopf {
    position: absolute;
    bottom: 1rem;
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    cursor: pointer;
    transition: transform 0.15s, background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aussprache-knopf:hover {
    background: white;
    transform: scale(1.1);
}

.aussprache-knopf:active {
    transform: scale(0.95);
}

/* ============================================= */
/* Richtig / Falsch Knöpfe                        */
/* ============================================= */

.antwort-knoepfe {
    display: flex;
    gap: 0.75rem;
}

.antwort-knoepfe.versteckt {
    visibility: hidden;
}

.antwort-knopf {
    flex: 1;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.antwort-knopf.falsch {
    background: #ffe3e3;
    color: #c92a2a;
}

.antwort-knopf.falsch:hover {
    background: #ffc9c9;
    transform: translateY(-2px);
}

.antwort-knopf.richtig {
    background: #d3f9d8;
    color: #2b8a3e;
}

.antwort-knopf.richtig:hover {
    background: #b2f2bb;
    transform: translateY(-2px);
}

/* ============================================= */
/* Fertig-Bildschirm                              */
/* ============================================= */

#screen-fertig {
    text-align: center;
}

.konfetti {
    font-size: 5rem;
    animation: huepfen 0.8s ease infinite alternate;
}

@keyframes huepfen {
    from { transform: translateY(0) rotate(-5deg); }
    to   { transform: translateY(-10px) rotate(5deg); }
}

#fertig-titel {
    font-size: 2rem;
    margin: 1rem 0 0.5rem 0;
    color: #7c5cff;
}

#fertig-text {
    color: #666;
    margin-bottom: 1.5rem;
}

.belohnung {
    background: linear-gradient(135deg, #fff5cc, #ffeaa0);
    padding: 1.5rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.belohnung.versteckt {
    display: none;
}

.muenze-gross {
    font-size: 4rem;
    animation: drehen 2s linear infinite;
}

@keyframes drehen {
    0%, 100% { transform: rotateY(0deg); }
    50%      { transform: rotateY(180deg); }
}

.muenze-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #b48b00;
}

.statistik {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.stat {
    flex: 1;
    background: #f3f0ff;
    border-radius: 14px;
    padding: 1rem;
}

.stat-zahl {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #7c5cff;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: #888;
}

/* ============================================= */
/* Intro-Bildschirm mit der Katze                 */
/* ============================================= */

#screen-intro {
    text-align: center;
    padding-top: 1.5rem;
}

.sprechblase {
    position: relative;
    background: linear-gradient(135deg, #fff5cc, #ffeaa0);
    color: #3a2b00;
    padding: 1.2rem 1.5rem;
    border-radius: 24px;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 auto 2rem auto;
    max-width: 320px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    animation: wackeln 3s ease-in-out infinite;
}

/* Kleines Dreieck nach unten an die Sprechblase */
.sprechblase::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 14px solid #ffeaa0;
}

@keyframes wackeln {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50%      { transform: translateY(-4px) rotate(1deg); }
}

/* Katzen-Figur (aus CSS gebaut!) */
.katze {
    margin: 0 auto 2rem auto;
    width: 180px;
    height: 180px;
    position: relative;
    animation: huepfen-katze 1.8s ease-in-out infinite;
}

@keyframes huepfen-katze {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* Der Katzen-Körper enthält die Gesichts-Teile (ohne Background, damit
   Kinder-Elemente nicht mitskaliert werden) */
.katzen-koerper {
    position: absolute;
    inset: 0;
}

/* Der orange Körper-Blob als separates Element — nur er wird schlanker,
   ohne Augen/Nase/Schnurrhaare zu quetschen */
.katze-blob {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ffb347, #ff8c42);
    border-radius: 50% 50% 48% 48% / 58% 58% 42% 42%;
    box-shadow: inset -15px -20px 30px rgba(0, 0, 0, 0.15),
                0 10px 30px rgba(255, 140, 66, 0.4);
    transform: scaleX(0.85);
}

/* Ohren */
.ohr-links, .ohr-rechts {
    position: absolute;
    top: -20px;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid #ff8c42;
}
.ohr-links  { left: 10px;  transform: rotate(-15deg); }
.ohr-rechts { right: 10px; transform: rotate(15deg); }

.ohr-innen-links, .ohr-innen-rechts {
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid #ffb6a3;
}
.ohr-innen-links  { left: 25px;  transform: rotate(-15deg); }
.ohr-innen-rechts { right: 25px; transform: rotate(15deg); }

/* Augen */
.auge-links, .auge-rechts {
    position: absolute;
    top: 65px;
    width: 30px;
    height: 38px;
    background: white;
    border-radius: 50%;
    overflow: hidden;
    animation: blinzeln 4s ease-in-out infinite;
}
.auge-links  { left: 38px; }
.auge-rechts { right: 38px; }

@keyframes blinzeln {
    0%, 92%, 100% { transform: scaleY(1); }
    95%, 97%      { transform: scaleY(0.1); }
}

.pupille {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 22px;
    background: #222;
    border-radius: 50%;
    animation: augen-bewegen 5s ease-in-out infinite;
}

@keyframes augen-bewegen {
    0%, 30%, 100% { transform: translateX(-50%); }
    40%, 60%      { transform: translateX(-80%); }
    70%, 90%      { transform: translateX(-20%); }
}

/* Wangen */
.wange-links, .wange-rechts {
    position: absolute;
    top: 105px;
    width: 22px;
    height: 14px;
    background: #ff6b9d;
    border-radius: 50%;
    opacity: 0.6;
}
.wange-links  { left: 25px; }
.wange-rechts { right: 25px; }

/* Nase */
.nase {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 10px;
    background: #ff6b9d;
    border-radius: 50% 50% 50% 50% / 40% 40% 100% 100%;
}

/* Mund (zwei kleine Kurven) */
.mund-links, .mund-rechts {
    position: absolute;
    top: 112px;
    width: 12px;
    height: 10px;
    border-bottom: 2.5px solid #3a2b00;
    border-radius: 0 0 100% 100% / 0 0 100% 100%;
}
.mund-links  { left: calc(50% - 12px); border-left: 2.5px solid #3a2b00; border-bottom-left-radius: 100%; }
.mund-rechts { left: 50%;              border-right: 2.5px solid #3a2b00; border-bottom-right-radius: 100%; }

/* Schnurrhaare */
.schnurrhaar {
    position: absolute;
    height: 1.5px;
    background: #3a2b00;
    border-radius: 2px;
}
.sh1 { top: 108px; left: 2px;   width: 22px; transform: rotate(-5deg); }
.sh2 { top: 116px; left: 2px;   width: 20px; transform: rotate(5deg); }
.sh3 { top: 108px; right: 2px;  width: 22px; transform: rotate(5deg); }
.sh4 { top: 116px; right: 2px;  width: 20px; transform: rotate(-5deg); }

/* Pfötchen unten, die winken */
.pfote-links, .pfote-rechts {
    position: absolute;
    bottom: -5px;
    width: 32px;
    height: 22px;
    background: #ff8c42;
    border-radius: 50%;
    box-shadow: inset -3px -5px 8px rgba(0, 0, 0, 0.15);
}
.pfote-links  {
    left: 28px;
    transform-origin: top center;
    animation: winken 2s ease-in-out infinite;
}
.pfote-rechts {
    right: 28px;
    transform-origin: top center;
    animation: winken 2s ease-in-out infinite 0.5s;
}

@keyframes winken {
    0%, 100% { transform: rotate(0deg); }
    50%      { transform: rotate(-15deg); }
}

/* ============================================= */
/* Themen-Karten (Schwedisch → Zahlen, ...)       */
/* ============================================= */

.thema-liste {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.thema-karte {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    background: linear-gradient(135deg, #f8f6ff 0%, #efeaff 100%);
    border: 2px solid transparent;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(124, 92, 255, 0.15);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.thema-karte:not(.gesperrt):hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(124, 92, 255, 0.28);
    border-color: rgba(124, 92, 255, 0.3);
}

/* Sparkle-Akzent rechts oben */
.thema-karte:not(.gesperrt)::after {
    content: '✨';
    position: absolute;
    top: 8px;
    right: 14px;
    font-size: 0.9rem;
    opacity: 0.7;
    animation: funkeln 2.5s ease-in-out infinite;
}

@keyframes funkeln {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50%      { transform: scale(1.3) rotate(20deg); opacity: 1; }
}

.thema-icon {
    font-size: 2.4rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff, #f3f0ff);
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(124, 92, 255, 0.15);
}

.thema-info {
    min-width: 0;
}

.thema-titel {
    font-size: 1.15rem;
    font-weight: 800;
    color: #2a1f4a;
    margin-bottom: 0.15rem;
}

.thema-beschreibung {
    font-size: 0.85rem;
    color: #7c6aa0;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thema-aktionen {
    display: flex;
    gap: 0.5rem;
}

.thema-aktion {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 14px;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.thema-aktion:hover {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.thema-aktion:active {
    transform: scale(0.95);
}

.thema-start {
    background: linear-gradient(135deg, #7c5cff, #ff6bd6);
    color: white;
    box-shadow: 0 5px 15px rgba(124, 92, 255, 0.45);
    padding-left: 3px; /* Play-Dreieck optisch zentrieren */
}

.thema-mix {
    background: linear-gradient(135deg, #5cc8ff, #7c5cff);
    color: white;
    box-shadow: 0 5px 15px rgba(92, 200, 255, 0.45);
}

/* Gesperrte Themen */
.thema-karte.gesperrt {
    background: #f3f0f7;
    box-shadow: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.thema-karte.gesperrt .thema-titel {
    color: #888;
}

.thema-karte.gesperrt .thema-beschreibung {
    color: #999;
}

/* Weniger Padding auf schmalen Bildschirmen */
@media (max-width: 420px) {
    .thema-karte {
        padding: 0.9rem 0.9rem;
        gap: 0.7rem;
    }
    .thema-icon {
        font-size: 1.9rem;
        width: 46px;
        height: 46px;
    }
    .thema-titel { font-size: 1rem; }
    .thema-beschreibung { font-size: 0.8rem; }
    .thema-aktion { width: 42px; height: 42px; font-size: 1.1rem; }
}

/* ============================================= */
/* Fach-Auswahl (Schwedisch, Italienisch, ...)    */
/* ============================================= */

.fach-liste {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.fach-knopf {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 1.05rem 1.2rem;
    background: linear-gradient(135deg, #f8f6ff 0%, #efeaff 100%);
    border: 2px solid transparent;
    border-radius: 18px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(124, 92, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.fach-knopf:hover:not(.gesperrt) {
    background: linear-gradient(135deg, #efeaff 0%, #e0d9ff 100%);
    border-color: #7c5cff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(124, 92, 255, 0.25);
}

.fach-emoji {
    font-size: 2.2rem;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.fach-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
}

.fach-info {
    font-size: 0.85rem;
    color: #888;
    grid-column: 2;
    font-style: italic;
}

.fach-knopf.gesperrt {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f0f0f0;
}

.fach-knopf.gesperrt .fach-name {
    color: #888;
}

/* ============================================= */
/* Kleine Handy-Anpassungen                       */
/* ============================================= */

/* ============================================= */
/* Responsive: schmale Handys                     */
/* ============================================= */

@media (max-width: 420px) {
    body { padding: 0.6rem; }
    .screen {
        padding: 1.3rem 1.2rem;
        border-radius: 20px;
    }
    .logo { font-size: 2.3rem; }
    .untertitel { font-size: 0.95rem; margin-bottom: 1.5rem; }
    h2 { font-size: 1.25rem; }
    .start-box input { font-size: 1.05rem; padding: 0.85rem; }
    .knopf-gross { font-size: 1.1rem; padding: 0.95rem 1.3rem; }
    .karte-vorne .karte-inhalt { font-size: 5rem; }
    .karte-inhalt { font-size: 2.6rem; }
    .karteikarte { height: 220px; }
    .katze { width: 150px; height: 150px; }
    .sprechblase { font-size: 1rem; padding: 1rem 1.2rem; }
    .level-knopf, .fach-knopf { padding: 0.9rem 1rem; }
    .level-name, .fach-name { font-size: 1.05rem; }
    .antwort-knopf { font-size: 0.9rem; padding: 0.9rem; }
}

@media (max-width: 360px) {
    .logo { font-size: 2rem; }
    .karte-vorne .karte-inhalt { font-size: 4.2rem; }
    .karteikarte { height: 200px; }
    .katze { width: 130px; height: 130px; }
    .stat-zahl { font-size: 1.6rem; }
}

/* Falls der User animierte Bewegung nicht mag */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
