/* =====================================================================================================================
   Helle Seite (Marc, 25. November 2026: „Die Seite wirkt etwas düster. Sie soll freundlicher wirken, einladend und dennoch
   vertrauenswürdig.“ Aus zwei Entwürfen gewählt: „Hell“). Weiß mit Rosa wie die Store-Grafiken „Weiß-Rosa“; Sicherheit,
   Sperren, Taschenlampe und Cloud bleiben als dunkle Inseln. Schalter: Klasse „hell“ am <html> in partials/base.html.twig.
   Der verworfene Entwurf „dunkel, aber wärmer“ liegt im Git (Commit 14c7eed).
   Dazu „Auf einen Blick“: die wichtigsten Funktionen als Kacheln direkt unter dem Start.
   ===================================================================================================================== */

/* ---------- Auf einen Blick ---------- */
.blick { width: 100%; max-width: 1080px; display: grid; gap: 16px; animation: hoch 0.9s var(--weich) 0.6s both; }
.blick-titel { display: flex; align-items: center; gap: 16px; margin: 0; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em; color: var(--schwach); }
.blick-titel::before, .blick-titel::after { content: ""; flex: 1; height: 1px; background: var(--rand); }
.blick ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.blick li { display: flex; min-width: 0; animation: hoch 0.9s var(--weich) both; animation-delay: calc(0.7s + var(--i) * 0.06s); }
.blick a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 24px; text-align: left; text-decoration: none;
  color: var(--text); background: var(--glas); border: 1px solid var(--rand);
  transition: background 0.48s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.48s cubic-bezier(0.22, 1, 0.36, 1), transform 0.48s cubic-bezier(0.22, 1, 0.36, 1); }
.blick a:hover { background: var(--glas-hoch); border-color: var(--rand-hell); transform: translateY(-2px); }
.blick a:focus-visible { outline: 2px solid var(--rosa); outline-offset: 2px; }
/* Symbol wie in den Einstellungen der App: farbiges Quadrat mit weicher Ecke, weißes Zeichen, leichter Glanz von oben */
.blick-symbol { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 60%), var(--farbe);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 6px 14px -8px var(--farbe); }
.blick-symbol svg.i { width: 22px; height: 22px; stroke-width: 1.9; }
.blick-text { display: grid; gap: 2px; min-width: 0; }
.blick-text strong { font-size: 0.98rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.blick-text small { font-size: 0.8rem; line-height: 1.3; color: var(--leise); }
@media (max-width: 960px) { .blick ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) {
  .blick ul { gap: 8px; }
  .blick a { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 20px; }
  .blick-symbol { width: 36px; height: 36px; border-radius: 11px; }
  .blick-symbol svg.i { width: 19px; height: 19px; }
}
.ruhig .blick, .ruhig .blick li { animation: none; }

/* Die helle Seite hat eine feste Farbwelt; die Stimmungs-Punkte oben rechts ruhen */
:root.hell .stimmung { display: none; }

/* =====================================================================================================================
   Hell und einladend; Sicherheit, Sperren, Taschenlampe und Cloud bleiben als dunkle Inseln
   ===================================================================================================================== */
:root.hell {
  color-scheme: light;
  --nacht: #FFFFFF; --pflaume: #FBF7FA; --flaeche: #FFFFFF; --flaeche-hoch: #F4F1F6;
  --text: #161A26; --leise: #474C5B; --schwach: #6B7083;
  --glas: rgba(22, 26, 38, 0.035); --glas-hoch: rgba(22, 26, 38, 0.065);
  --rand: rgba(22, 26, 38, 0.1); --rand-hell: rgba(22, 26, 38, 0.18);
  --rosa: #D2437F; --rosa-tief: #FCE6F0; --hervor: #D2437F;
}
:root.hell body { background: #fff; color: var(--text); }
/* Ganz oben ein Hauch Rosa, sonst reines Weiß */
/* Der Himmel steht fest; der rosa Hauch gehört deshalb nur an den Anfang der Seite, sonst läuft er auf jedem Bildschirm oben mit */
:root.hell .himmel { background: #FFFFFF; }
:root.hell .hero { background: linear-gradient(180deg, #FDEEF5 0, #FFF7FA 46%, rgba(255, 255, 255, 0) 100%); }
:root.hell .knopf--rosa { background: #161A26; color: #fff; }
:root.hell .knopf--rosa:hover { background: #000; }
:root.hell .knopf:not(.knopf--rosa):hover { background: rgba(22, 26, 38, 0.08); }
:root.hell .fuss nav a { color: var(--leise); }
:root.hell .fuss nav a:hover { color: var(--text); }
:root.hell .kopf { background: rgba(255, 255, 255, 0.8); border-bottom-color: var(--rand); }
:root.hell .kopf-nav a { color: var(--leise); }
:root.hell .kopf-nav a:hover, :root.hell .kopf-nav a[aria-current="page"] { color: var(--text); }
:root.hell .leiste-tabs a { color: var(--leise); }
:root.hell .leiste-tabs a[aria-current="true"], :root.hell .leiste-knopf { color: var(--rosa); }
:root.hell .hero-buehne::before { background: radial-gradient(closest-side, rgba(210, 67, 127, 0.14), rgba(210, 67, 127, 0.05) 45%, transparent 75%); }
:root.hell .kopf-panel, :root.hell .sprach-panel { background: rgba(255, 255, 255, 0.98); box-shadow: 0 24px 48px -20px rgba(22, 26, 38, 0.25); }
:root.hell .bald { background: rgba(255, 255, 255, 0.9); }
:root.hell .store--voll { background: #161A26; color: #fff; }
:root.hell .store--voll:hover { background: #000; }
/* Tresortür in hellem Metall, innen ein Hauch Rosa */
:root.hell .hero-glut { background: radial-gradient(circle, #FFF4F9 0 51.5%, transparent 51.8%), conic-gradient(from 10deg, #E9E6EE, #FFFFFF, #DDD9E4, #FBFAFD, #E9E6EE); }
:root.hell .hero-glut::before { border-color: rgba(22, 26, 38, 0.08); }
:root.hell .hero-thema { background: rgba(255, 255, 255, 0.9); box-shadow: 0 10px 30px -14px rgba(22, 26, 38, 0.35); }
:root.hell .hero-thema button i, :root.hell .stimmung i { box-shadow: inset 0 0 0 1px rgba(22, 26, 38, 0.15); }
:root.hell .karte, :root.hell .tarif { background: #fff; border-color: var(--rand); box-shadow: 0 1px 2px rgba(22, 26, 38, 0.04), 0 12px 32px -20px rgba(22, 26, 38, 0.18); }
:root.hell .blick a { background: #fff; box-shadow: 0 1px 2px rgba(22, 26, 38, 0.04), 0 12px 28px -18px rgba(22, 26, 38, 0.2); }
:root.hell .blick a:hover { background: #fff; border-color: rgba(210, 67, 127, 0.35); }
:root.hell .fuss { background: #F7F5F9; }
:root.hell .leiste-glas { background: rgba(255, 255, 255, 0.82); border-color: var(--rand); box-shadow: 0 16px 40px -16px rgba(22, 26, 38, 0.3); }

/* Dunkle Inseln: hier geht es um Schutz, das darf ernst und ruhig wirken; abgerundet, mit etwas Rand zur Seite */
:root.hell :is(#sicherheit, #sperren, #lampe, #cloud) {
  color-scheme: dark;
  --nacht: #000; --pflaume: #0a0a0c; --flaeche: #111113; --flaeche-hoch: #1c1c1f;
  --text: #f5f5f7; --leise: #b4b4ba; --schwach: #7c7c82;
  --glas: rgba(255, 255, 255, 0.045); --glas-hoch: rgba(255, 255, 255, 0.08);
  --rand: rgba(255, 255, 255, 0.1); --rand-hell: rgba(255, 255, 255, 0.2);
  --rosa: #FF9CC4; --rosa-tief: #2B0F20; --hervor: #FF7FAE;
  color: var(--text); background: #07080B; border-radius: clamp(28px, 4vw, 48px); margin-inline: clamp(8px, 1.6vw, 24px);
}
:root.hell :is(#sicherheit, #sperren, #lampe, #cloud) :is(.karte, .tarif) { background: rgba(255, 255, 255, 0.05); box-shadow: none; }

/* Hell/Dunkel-Knopf in der Kopfzeile: Mond im hellen Look, Sonne im dunklen; die Symbole tauschen sich drehend und weich (480 ms) */
.modus-knopf { position: relative; flex: none; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid var(--rand); background: var(--glas);
  color: var(--text); cursor: pointer; display: grid; place-items: center; transition: background 0.48s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.48s cubic-bezier(0.22, 1, 0.36, 1), color 0.48s cubic-bezier(0.22, 1, 0.36, 1); }
.modus-knopf:hover { background: var(--glas-hoch); }
.modus-knopf:focus-visible { outline: 2px solid var(--rosa); outline-offset: 2px; }
.modus-knopf svg.i { grid-area: 1 / 1; width: 19px; height: 19px; transition: opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1), transform 0.48s cubic-bezier(0.22, 1, 0.36, 1); }
.modus-mond { opacity: 0; transform: rotate(-90deg) scale(0.6); }
.modus-sonne { opacity: 1; transform: none; }
:root.hell .modus-mond { opacity: 1; transform: none; }
:root.hell .modus-sonne { opacity: 0; transform: rotate(90deg) scale(0.6); }
:root.hell .modus-knopf { background: #fff; }
.ruhig .modus-knopf svg.i { transition: none; }
/* Beim Wechsel gleitet die ganze Seite in die neuen Farben statt umzuspringen */
.himmel, .hero, :is(#sicherheit, #sperren, #lampe, #cloud), .blick a, .fuss, .leiste-glas, .kopf-nav a, .store { transition: background 0.48s cubic-bezier(0.22, 1, 0.36, 1), color 0.48s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.48s cubic-bezier(0.22, 1, 0.36, 1); }

/* Plus-Funktionen in der Übersicht kennzeichnen (Bezahl-Kennzeichnung) */
.blick a { position: relative; }
.blick-plus { position: absolute; top: 10px; right: 12px; padding: 2px 7px; border-radius: 999px;
  font: 600 0.66rem/1.2 var(--f-text); font-style: normal; letter-spacing: 0.02em; color: var(--rosa); background: var(--rosa-tief); }

/* Google Play gleichwertig neben dem App Store: helle Fläche, feiner Rand, dunkle Schrift, Symbol in Rosa */
:root.hell .store--glas { background: #fff; color: var(--text); border: 1px solid var(--rand-hell); padding: 12px 22px 12px 16px;
  box-shadow: 0 1px 2px rgba(22, 26, 38, 0.05), 0 10px 24px -16px rgba(22, 26, 38, 0.3); }
:root.hell .store--glas small { color: var(--leise); opacity: 1; }
:root.hell .store--glas svg.i { color: var(--rosa); }
:root.hell a.store--glas:hover { background: #fff; border-color: rgba(22, 26, 38, 0.32); }
