/* Lunas Lesetraining · ruhigere Startseite (25.10.2026) – gehört zu js/startseite-neu.js */
.sn-weg { display: none !important; }
.start-seite.sn-neu .start-eltern { display: none; }

/* Zeile 1: Begrüßung */
.sn-heute { margin: 6px 0 26px; }
.sn-kopf { text-align: center; margin-bottom: 18px; }
.sn-kopf .tages-titel { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); }
.sn-kopf .tages-name { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; color: var(--navy); line-height: 1.15; margin: 4px 0 2px; }
.sn-kopf .tages-sub { font-size: 1.1rem; color: #5d6577; }
.sn-kopf .tages-kopf { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid #e6dcc0; color: #5d6577; font-size: .95rem; }

/* Drei Karten nebeneinander, die heutige Aufgabe hängt unten dran */
.sn-reihe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.sn-spalte { display: flex; flex-direction: column; min-width: 0; }
.sn-spalte .welt-karte { border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; flex: 1; margin: 0 !important; }
.sn-spalte .welt-karte .welt-text small { display: none; }          /* lange Beschreibung steht schon in der Sprechblase */
.sn-spalte .welt-karte .tk-status { font-size: .85rem; padding: 6px 14px !important; }
.sn-spalte .welt-karte .welt-tier { width: 150px !important; height: 150px !important; }

.sn-spalte .sn-aufgabe {
  display: grid !important; grid-template-columns: auto 1fr; grid-template-areas: "bild text" "knoepfe knoepfe";
  align-items: center; gap: 10px 12px; margin: 0 !important; padding: 14px 16px 16px !important;
  background: #fffaf0 !important; border: 2px solid #e2c766 !important; border-top: none !important;
  border-radius: 0 0 22px 22px !important; box-shadow: 0 10px 22px rgba(27, 34, 53, .14) !important;
}
.sn-spalte .sn-aufgabe .tages-haken { grid-area: bild; }
.sn-spalte .sn-aufgabe .tages-text { grid-area: text; min-width: 0; }
.sn-spalte .sn-aufgabe .tages-text b { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); }
.sn-spalte .sn-aufgabe .tages-text b .schwerpunkt-marke { text-transform: none; letter-spacing: 0; }
.sn-spalte .sn-aufgabe .tages-text small { display: block; font-size: 1rem; color: var(--navy); font-weight: 700; line-height: 1.3; margin-top: 2px; }
.sn-spalte .sn-aufgabe .tages-knoepfe, .sn-spalte .sn-aufgabe .tages-ok { grid-area: knoepfe; display: flex; gap: 10px; justify-content: center; }
.sn-spalte .sn-aufgabe .tages-start { flex: 1; max-width: 200px; }
.sn-spalte .sn-aufgabe .fang-an-schild { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; z-index: 5; }
.sn-spalte .sn-aufgabe { position: relative; }
.sn-spalte .sn-aufgabe.fertig { background: #eef7ee !important; border-color: #9cc9a3 !important; }
.sn-heute > .tages-hinweis, .sn-heute > .tages-fertig { text-align: center; margin: 16px auto 0; max-width: 640px; color: #5d6577; }

/* Zeile 2: Fortschritt in einer Reihe */
.sn-fortschritt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px; align-items: stretch; margin: 0 0 30px; }
.sn-fortschritt > * { margin: 0 !important; }

/* Zeile 3: Extras */
.sn-titel { text-align: center; font-size: 1.35rem; color: var(--gold-dark); margin: 0 0 14px; }
.sn-extras { margin: 0 0 26px; }
.sn-extras-reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.sn-extras-reihe > * { margin: 0 !important; height: 100%; }

/* Tablet und Handy */
@media (max-width: 900px) {
  .sn-reihe { grid-template-columns: 1fr; gap: 26px; max-width: 460px; margin: 0 auto; }
  .sn-fortschritt { grid-template-columns: 1fr; }
  /* 03.11.2026 (Theresa): am Handy rutscht eine erledigte Aufgabe nach unten – oben steht immer die nächste offene */
  .sn-spalte:has(.tages-zeile.fertig) { order: 2; }
}

/* Feinschliff: unten „Heute“ statt nochmal „Genau lesen“, kein zweites Tierbild, gleich hohe Karten */
.sn-spalte .sn-aufgabe { grid-template-columns: 1fr; grid-template-areas: "text" "knoepfe"; min-height: 150px; align-content: space-between; }
.sn-spalte .sn-aufgabe .tages-haken { display: none; }
.sn-spalte .sn-aufgabe.fertig .tages-haken { display: block; position: absolute; top: 12px; right: 12px; }
.sn-spalte .sn-aufgabe .tages-text > b { font-size: 0 !important; }
.sn-spalte .sn-aufgabe .tages-text > b::before { content: 'Heute'; font-size: .8rem; }
.sn-spalte .sn-aufgabe .tages-text > b .schwerpunkt-marke { font-size: .72rem; margin-left: 6px; vertical-align: 1px; }
.sn-spalte .sn-aufgabe .fang-an-schild { top: -16px; }
.sn-reihe { align-items: stretch; }
.sn-spalte .welt-karte { flex: 1 1 auto; }
.sn-spalte .sn-aufgabe { z-index: 3; }
.sn-spalte .sn-aufgabe .fang-an-schild { z-index: 8; left: auto; right: 14px; transform: none; top: -15px; }

/* Fortschritt: drei große Zahlen in einer Reihe, „Meine Schätze“ als Knopf darunter – füllt die Karte statt leer zu wirken */
.sn-fortschritt #zu-schaetzen {
  display: grid !important; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr auto; align-items: center; justify-items: center;
  gap: 10px 8px; padding: 26px 18px 20px !important; border-radius: 22px !important; text-align: center;
}
.sn-fortschritt #zu-schaetzen::before { content: 'Mein Fortschritt'; grid-column: 1 / -1; font-weight: 800; font-size: 1.2rem; color: #ffe9a8; }
.sn-fortschritt #zu-schaetzen .bl-teil { display: flex !important; flex-direction: column; align-items: center; gap: 4px; }
.sn-fortschritt #zu-schaetzen .bl-teil b { font-size: 2.2rem; line-height: 1; }
.sn-fortschritt #zu-schaetzen .bl-teil small { font-size: .9rem; }
.sn-fortschritt #zu-schaetzen .bl-flamme img, .sn-fortschritt #zu-schaetzen .bl-stern { width: 30px !important; height: 30px !important; }
.sn-fortschritt #zu-schaetzen .bl-mehr { grid-column: 1 / -1; padding: 8px 18px; border-radius: 999px; background: rgba(255, 233, 168, .14);
  border: 1px solid rgba(255, 233, 168, .5); position: static !important; }
.sn-fortschritt #zu-schaetzen .bl-mehr { justify-self: center; }

/* ---------- Wow für „Mein Fortschritt“ (25.10.2026) ---------- */
.sn-fortschritt #zu-schaetzen.sn-wow {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 50% 0%, #3b4a7a 0%, #232c4d 50%, #151a30 100%) !important;
  border: 2px solid #e2c766 !important; box-shadow: 0 14px 32px rgba(17, 22, 40, .35), inset 0 0 0 1px rgba(255, 255, 255, .06) !important;
}
.sn-wow::before {
  background: linear-gradient(180deg, #fff3c4, #e8c45a) !important; -webkit-background-clip: text !important; background-clip: text !important;
  color: transparent !important; text-shadow: none !important; font-size: 1.35rem !important; letter-spacing: .02em;
}
.sn-wow > .sn-funken { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sn-wow > .sn-funken i { position: absolute; width: var(--g); height: var(--g); border-radius: 50%;
  background: radial-gradient(circle, #fff6cf 0%, #f0cf68 45%, transparent 70%); animation: snFunkeln var(--t) ease-in-out infinite; animation-delay: var(--d); }
@keyframes snFunkeln { 0%, 100% { opacity: .1; transform: scale(.5); } 50% { opacity: 1; transform: scale(1.3); } }
.sn-wow > .sn-glanz { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 236, 170, .16) 50%, transparent 65%); transform: translateX(-120%);
  animation: snGlanz 6s ease-in-out infinite; }
@keyframes snGlanz { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.sn-wow .bl-teil { gap: 6px !important; }
.sn-medaille {
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 4px;
  background: radial-gradient(circle at 35% 30%, #fffaf0, #f3e2b5 70%);
  box-shadow: 0 0 0 3px #e2c766, 0 0 0 6px rgba(226, 199, 102, .25), 0 0 26px rgba(255, 210, 110, .45);
  animation: snSchweben 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.2s);
}
.sn-medaille img { width: 50px; height: 50px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .25)); }
.sn-medaille[style*="--i:1"] img { animation: snFlackern 1.6s ease-in-out infinite; }
@keyframes snSchweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes snFlackern { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08) rotate(-2deg); } }
.sn-wow .bl-teil b { font-size: 2.5rem !important; background: linear-gradient(180deg, #fff6d0, #e8c45a); -webkit-background-clip: text; background-clip: text;
  color: transparent !important; filter: drop-shadow(0 2px 6px rgba(232, 196, 90, .35)); }
.sn-wow .bl-teil small { color: #e9e2cc !important; font-weight: 700; }
.sn-wow .bl-mehr { justify-self: center !important; color: #2a2010 !important; font-weight: 800; padding: 10px 22px !important;
  background: linear-gradient(180deg, #ffe7a0, #d9b24a) !important; border: none !important; box-shadow: 0 3px 0 #8a6d22, 0 8px 16px rgba(0, 0, 0, .3); }
.sn-wow:hover .sn-medaille { box-shadow: 0 0 0 3px #f3d77e, 0 0 0 7px rgba(243, 215, 126, .35), 0 0 34px rgba(255, 210, 110, .65); }
@media (max-width: 520px) { .sn-medaille { width: 58px; height: 58px; } .sn-medaille img { width: 40px; height: 40px; } .sn-wow .bl-teil b { font-size: 2rem !important; } }
@media (prefers-reduced-motion: reduce) { .sn-wow *, .sn-wow > * { animation: none !important; } }

/* Korrekturen Fortschritt */
.sn-wow .sn-medaille { margin-bottom: 12px; }
.sn-wow .bl-teil { padding-top: 4px; }
.sn-wow .bl-mehr { grid-column: 1 / -1 !important; margin: 4px auto 0 !important; width: max-content; }
.belohn-leiste.sn-wow[data-schloss] > .schloss { top: 10px !important; left: 10px !important; }
.sn-fortschritt #zu-schaetzen.sn-wow { grid-template-rows: auto 1fr auto; }

/* ---------- hochwertigeres Gesamtbild (25.10.2026) ---------- */
/* Überschriften mit Goldlinien und Stern */
.sn-titel, .sn-kopf .tages-name { position: relative; }
.sn-titel { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 1.5rem; }
.sn-titel::before, .sn-titel::after { content: ''; flex: 0 1 120px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #d8b34e); }
.sn-titel::after { background: linear-gradient(90deg, #d8b34e, transparent); }
.sn-kopf .tages-name::after { content: '✦'; display: block; font-size: 1rem; color: #d8b34e; margin-top: 4px; letter-spacing: 12px; text-indent: 12px;
  text-shadow: 0 0 10px rgba(232, 196, 90, .6); }
.sn-kopf .tages-titel { display: inline-block; padding: 4px 14px; border-radius: 999px; background: rgba(216, 179, 78, .12); border: 1px solid rgba(216, 179, 78, .35); }

/* Wochenziel passend zur Fortschrittskarte: Goldrahmen, warmer Verlauf, Tiefe */
.sn-fortschritt .wochenziel {
  border: 2px solid #e2c766 !important; border-radius: 22px !important;
  background: radial-gradient(120% 100% at 50% 0%, #fffdf6 0%, #fbf1d8 70%, #f5e6bf 100%) !important;
  box-shadow: 0 14px 32px rgba(120, 90, 20, .18), inset 0 1px 0 #fff !important; padding: 20px 20px 22px !important;
}
.sn-fortschritt .wochenziel .wz-karte { transition: transform .25s cubic-bezier(.2, 1.4, .4, 1), box-shadow .25s; }
.sn-fortschritt .wochenziel .wz-karte:hover { transform: translateY(-4px); box-shadow: 0 12px 22px rgba(120, 90, 20, .22); }

/* Extras: gleich hoch, gleiche Rundung, sanftes Anheben */
.sn-extras-reihe > * { border-radius: 22px !important; min-height: 116px; display: flex; align-items: center;
  transition: transform .25s cubic-bezier(.2, 1.4, .4, 1), box-shadow .25s; box-shadow: 0 10px 24px rgba(27, 34, 53, .14); }
.sn-extras-reihe > *:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(27, 34, 53, .2); }

/* Die Tagesaufgaben-Flächen etwas edler */
.sn-spalte .sn-aufgabe { background: linear-gradient(180deg, #fffdf6, #fbf1d8) !important; }
.sn-spalte .sn-aufgabe .tages-text small { font-size: 1.05rem; }

/* 25.10.2026 Theresa: „Sterne, die glitzern – nicht Blasen oder Kugeln, Sternform“ */
.sn-wow > .sn-funken i {
  width: calc(var(--g) * 2.2); height: calc(var(--g) * 2.2); border-radius: 0;
  background: linear-gradient(135deg, #fffbe6, #f3d77e 55%, #d9a93a);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  filter: drop-shadow(0 0 4px rgba(255, 220, 120, .9));
  animation-name: snSternGlitzer;
}
@keyframes snSternGlitzer { 0%, 100% { opacity: .15; transform: scale(.4) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(45deg); } }
