/* elewa Browser im Browser — Styles.
   Farbwerte aus shared/design-tokens.mjs (Lavendel #7c3aed, Ink-Grauskala);
   der Dock unten ist der visuelle Port der Extension-Bar (reader-bar.js):
   Milchglas, weiche Radien, Schatten nach oben. */

:root {
  --accent: #7c3aed;
  --accent-dark: #6d28d9;
  --accent-flash: #a78bfa;
  --accent-soft: rgba(124, 58, 237, 0.12);
  --hero-top: #7c3aed;
  --hero-bottom: #6d28d9;
  --hero-glow: rgba(124, 58, 237, 0.38);
  --raised: rgba(120, 120, 140, 0.09);
  --seg-bg: rgba(30, 30, 46, 0.055);
  --ctl: 42px;
  --tint-bg: #faf8ff;
  --tint-border: #e5ddf7;
  --ink-900: #1e1e2e;
  --ink-500: #6b6b80;
  --ink-400: #8888a0;
  --paper: #ffffff;
  --app-bg: #f4f4fa;
  --line: rgba(30, 30, 46, 0.1);
  --line-soft: rgba(30, 30, 46, 0.07);
  --glass: rgba(255, 255, 255, 0.62);
  --shadow-up: 0 -6px 28px rgba(30, 30, 46, 0.16), 0 2px 8px rgba(30, 30, 46, 0.1);
  --shadow-pop: 0 12px 44px rgba(30, 30, 46, 0.22), 0 2px 10px rgba(30, 30, 46, 0.1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --chrome-h: 52px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --hero-top: #a78bfa;
    --hero-bottom: #7c3aed;
    --hero-glow: rgba(167, 139, 250, 0.3);
    --raised: rgba(255, 255, 255, 0.09);
    --seg-bg: rgba(255, 255, 255, 0.08);
    --accent-soft: rgba(167, 139, 250, 0.2);
    --tint-bg: #262433;
    --tint-border: #3d3752;
    --ink-900: #ececf3;
    --ink-500: #b4b4c6;
    --ink-400: #8f8fa5;
    --paper: #23232f;
    --app-bg: #17171f;
    --line: rgba(255, 255, 255, 0.14);
    --line-soft: rgba(255, 255, 255, 0.09);
    --glass: rgba(30, 30, 42, 0.66);
    --shadow-up: 0 -6px 28px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-pop: 0 12px 44px rgba(0, 0, 0, 0.55), 0 2px 10px rgba(0, 0, 0, 0.4);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  color: var(--ink-900);
  background: var(--app-bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; font-size: inherit; border: none; background: none; color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 2px solid rgba(124, 58, 237, 0.55); outline-offset: 1px; border-radius: 8px; }
[hidden] { display: none !important; }

/* ─────────────────────────── Chrome (eigene URL-Leiste) */
#chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  height: calc(var(--chrome-h) + var(--safe-t));
  padding: var(--safe-t) 10px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  flex-shrink: 0;
  z-index: 30;
}
.nav-group { display: flex; align-items: center; gap: 2px; }
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--ink-500);
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.chip:hover:not(:disabled) { background: var(--accent-soft); color: var(--accent); }
.chip:disabled { opacity: 0.35; cursor: default; }

#urlform { flex: 1; min-width: 0; }
#urlpill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--app-bg);
  border: 1px solid transparent;
  color: var(--ink-400);
  transition: border-color 0.15s ease, background 0.15s ease;
}
/* Fortschrittslinie in der Adress-Pille während der Vereinfachung —
   exakt das Muster der App (AddressPill.tsx: Track accent-soft, Füllung
   accent, 2.5 px hoch, 8 px eingerückt, unten 3 px). */
#url-progress {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 3px;
  height: 2.5px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--accent-soft);
}
#url-progress i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
#urlpill:focus-within { border-color: var(--accent); background: var(--paper); }
#urlinput {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  color: var(--ink-900);
  font-size: 14px;
  outline: none;
}
#urlinput::placeholder { color: var(--ink-400); }

#logo { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; text-decoration: none; }
/* App-Icon-Kachel: violettes Squircle mit weissem elewa-Bildzeichen
   (wie assets/app-icon-1024.svg / favicon.svg). */
.logo-mark, .start-logo {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(180deg, #7c3aed, #6d28d9);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark svg, .start-logo svg { display: block; }

/* Ladefortschritt unter dem Chrome */
/* Demo-Band unter der URL-Leiste: macht klar, dass dies ohne Abo nur eine
   Demo ist (rund 30 % jeder Seite). */
#demo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 6px 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  flex-shrink: 0;
  z-index: 29;
}
#demo-banner[hidden] { display: none; }
#demo-banner a {
  color: var(--accent-dark);
  text-decoration: underline;
  white-space: nowrap;
}
@media (prefers-color-scheme: dark) {
  #demo-banner, #demo-banner a { color: var(--accent-flash); }
}
#progress { height: 2px; background: transparent; flex-shrink: 0; z-index: 29; }
#progress .bar-fill {
  height: 100%; width: 20%;
  background: linear-gradient(90deg, var(--accent), var(--accent-flash));
  border-radius: 2px;
  animation: elewa-progress 1.1s ease-in-out infinite;
}
@keyframes elewa-progress {
  0% { margin-left: 0; width: 12%; }
  50% { margin-left: 44%; width: 34%; }
  100% { margin-left: 96%; width: 8%; }
}

/* ─────────────────────────── Inhalt */
#stage { flex: 1; position: relative; min-height: 0; }
#page { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
@media (prefers-color-scheme: dark) { #page { background: #fff; } } /* Fremdseiten sind hell */

/* Startseite */
#start { position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.start-inner { max-width: 640px; margin: 0 auto; padding: clamp(24px, 8vh, 72px) 20px 140px; text-align: center; }
.start-logo { width: 52px; height: 52px; border-radius: 15px; margin: 0 auto 18px; }
#start h1 { font-size: 26px; letter-spacing: -0.4px; margin-bottom: 10px; }
.tagline { color: var(--ink-500); line-height: 1.55; max-width: 460px; margin: 0 auto 26px; }
#startform {
  display: flex; gap: 8px;
  background: var(--paper);
  border: 1px solid var(--tint-border);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 4px 18px rgba(30, 30, 46, 0.06);
}
#startform input {
  flex: 1; min-width: 0; border: none; background: none; outline: none;
  padding: 10px 12px; font-size: 15px; color: var(--ink-900);
}
#startform button, .primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  color: #fff; font-weight: 600;
  border-radius: 12px; padding: 10px 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 4px 12px rgba(124, 58, 237, 0.35);
  transition: filter 0.15s ease, transform 0.12s ease;
}
#startform button:hover, .primary:hover { filter: brightness(1.06); }
#startform button:active, .primary:active { transform: scale(0.97); }

.start-section { margin-top: 34px; text-align: left; }
.start-section h2 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; color: var(--ink-400); margin-bottom: 12px; }
.start-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.start-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  background: var(--paper);
  border: 1px solid var(--tint-border);
  border-radius: 14px;
  padding: 14px;
  text-align: left;
  transition: border-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}
.start-card:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(124, 58, 237, 0.12); }
.card-emoji { font-size: 22px; }
.card-title { font-weight: 600; }
.card-sub { font-size: 12px; color: var(--ink-400); }
.start-note { margin-top: 30px; font-size: 13px; color: var(--ink-400); line-height: 1.5; }

/* Lese-Modus */
#reader { position: absolute; inset: 0; overflow-y: auto; background: var(--app-bg); z-index: 10; }
.reader-head { position: sticky; top: 0; display: flex; justify-content: flex-end; padding: 10px 14px; }
#reader-body {
  max-width: 640px; margin: 0 auto; padding: 0 22px 160px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 19px; line-height: 1.65;
}
#reader-body h1 { font-size: 27px; line-height: 1.25; margin-bottom: 20px; font-family: inherit; }
#reader-body p { margin-bottom: 18px; }

/* ─────────────────────────── Elewa-Bar (Dock) */
.ebar {
  position: fixed;
  left: 50%;
  bottom: calc(12px + var(--safe-b));
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  border-radius: calc(var(--ctl) / 2 + 6px + 3px);
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.7);
  -webkit-backdrop-filter: blur(20px) saturate(1.7);
  box-shadow: var(--shadow-up), inset 0 0 0 1px var(--line-soft);
  z-index: 40;
  animation: elewa-rise-in 0.5s cubic-bezier(0.32, 0.72, 0.28, 1);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  white-space: nowrap;
}
@keyframes elewa-rise-in {
  from { transform: translate(-50%, 64px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

/* Hero — EIN Toggle, 1:1 aus reader-bar.js: Markenverlauf + weisses
   elewa-Bildzeichen (zwei Blätter) → Tap vereinfacht; während der
   Verarbeitung schreibt sich das vordere Blatt (gleiche Grösse/Position,
   kein Layout-Sprung); helle Status-Pille mit dem Zurück-zum-Original-
   Zeichen → Tap stellt das Original wieder her.
   Long-Press öffnet in jedem Zustand die Sprach-/Niveau-Wahl. */
.go {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 64px; /* schmal: nur das Bildzeichen (wie reader-bar.js, 26.09.2026) */
  height: var(--ctl);
  flex-shrink: 0;
  border-radius: calc(var(--ctl) / 2 - 4px);
  background: linear-gradient(180deg, var(--hero-top), var(--hero-bottom));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28),
              inset 0 -1px 0 rgba(0, 0, 0, 0.12),
              0 5px 14px var(--hero-glow);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.1px;
  overflow: hidden;
  position: relative;
  transition: transform 0.12s cubic-bezier(0.32, 0.72, 0.28, 1), background 0.2s ease, box-shadow 0.2s ease, filter 0.15s ease;
}
.go:hover:not(:disabled) { filter: brightness(1.06); }
.go:active:not(:disabled) { transform: scale(0.96); }
.go:disabled { cursor: default; }
.go .go-icon { display: flex; }
.go svg.elewa-mark { display: block; }

/* Glanzlauf (Apple-Pay-Muster): weicher Lichtstreifen zieht diagonal über
   den Button — NUR im Idle und nur ohne «Bewegung reduzieren». */
.go::after {
  content: '';
  position: absolute;
  top: -14px;
  bottom: -14px;
  left: -70px;
  width: 44px;
  transform: rotate(18deg);
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.34) 50%,
    rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .ebar:not(.simplified):not(.working) .go:not(:disabled)::after {
    animation: elewa-hero-sheen 5.8s infinite;
  }
}
@keyframes elewa-hero-sheen {
  0%, 79.3% { left: -70px; animation-timing-function: ease-in-out; }
  100% { left: calc(100% + 30px); }
}
/* Status-Pille nach dem Vereinfachen: getönt, nur das Zurück-zum-Original-
   Zeichen in Markenfarbe (kein Sprach-/Niveau-Label mehr). */
.ebar.simplified:not(.working) .go { background: var(--accent-soft); color: var(--accent); box-shadow: none; }
.ebar.simplified:not(.working) .go::after { display: none; }
.go .go-status {
  display: none;
  align-items: center;
}
.ebar.simplified:not(.working) .go .go-icon { display: none; }
.ebar.simplified:not(.working) .go .go-status { display: flex; }

/* Fertig-Moment: heller Puls über dem Hero (App: flashAnim). */
.go .go-flash {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.55);
  opacity: 0;
  pointer-events: none;
}
.go.flash .go-flash { animation: elewa-flash 0.8s ease; }
@keyframes elewa-flash {
  0% { opacity: 0; }
  22% { opacity: 1; }
  100% { opacity: 0; }
}

/* Vereinfachen läuft: EXAKT dasselbe Bildzeichen wie im Ruhezustand —
   gleiche Grösse (26×26), gleiche Position; das vordere Blatt schreibt seine
   drei Zeilen (SMIL, 1.8 s). Kein Fortschrittsbalken im Hero, kein Grössen-
   oder Layout-Sprung (App-Parität). Den Fortschritt zeigt die Adress-Pille
   (#url-progress). «Bewegung reduzieren»: stilles Zeichen statt Schreiben. */
.go .go-progress {
  display: none;
  align-items: center;
  justify-content: center;
}
.ebar.working .go .go-icon,
.ebar.working .go .go-status { display: none; }
.ebar.working .go .go-progress { display: flex; }
.go .go-progress .mark-still { display: none; }
@media (prefers-reduced-motion: reduce) {
  .go .go-progress .mark-writing { display: none; }
  .go .go-progress .mark-still { display: block; }
}

/* Werkzeug-Pillen (.ib, wie die Icon-Kacheln der Extension). */
.ib {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--ctl);
  height: var(--ctl);
  flex-shrink: 0;
  border-radius: calc(var(--ctl) / 2 - 6px);
  background: var(--raised);
  color: var(--ink-500);
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s cubic-bezier(0.32, 0.72, 0.28, 1);
}
.ib:hover:not(:disabled) { background: var(--accent-soft); color: var(--accent); }
.ib:active:not(:disabled) { transform: scale(0.85); }
.ib.accent { background: var(--accent-soft); color: var(--accent); }
.ib.active, .ib.accent[aria-pressed="true"] { background: var(--accent); color: #ffffff; }

.vsep { width: 1px; height: calc(var(--ctl) - 14px); background: var(--line); margin: 0 2px; border-radius: 1px; flex-shrink: 0; }

/* Sichtbarkeits-Choreografie (exakt die App-/Extension-Logik):
     nicht vereinfacht → nur Hero + ⋯
     vereinfacht       → Hero + Audio, Übung, Fragen, Trenner und ⋯ */
#tts-pill, #quiz-pill, #ask-pill, .vsep { display: none; }
.ebar.simplified #tts-pill,
.ebar.simplified #quiz-pill,
.ebar.simplified #ask-pill { display: flex; }
.ebar.simplified .vsep { display: block; }

/* Werkzeuge-Popover (⋯) — verankert über der Bar, wie in der Extension. */
.tray {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  transform: translateY(6px) scale(0.98);
  transform-origin: bottom right;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: min(264px, calc(100vw - 24px));
  padding: 10px;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-pop);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.32, 0.72, 0.28, 1), visibility 0.2s;
  z-index: 45;
}
.ebar.tray-open .tray {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.tray .row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 5px 6px;
  border-radius: 14px;
  text-align: start;
  transition: background 0.12s ease;
}
.tray .row:hover:not(:disabled) { background: var(--seg-bg); }
.tray .row:disabled { opacity: 0.45; cursor: default; }
.row-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--accent);
}
.row.neutral .row-icon { background: var(--raised); color: var(--ink-500); }
.row-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
}
.tray-divider { height: 1px; background: var(--line-soft); margin: 6px 4px; }
/* Teilen erst nach dem Vereinfachen (wie das Werkzeuge-Sheet der App). */
.ebar:not(.simplified) #t-share { display: none; }

/* ─────────────────────────── Sheets (Panel + Tray) */
.sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(440px, calc(100% - 16px));
  background: var(--paper);
  border-radius: 22px 22px 0 0;
  box-shadow: var(--shadow-pop);
  padding: 10px 18px calc(18px + var(--safe-b));
  z-index: 60;
  animation: elewa-sheet-up 0.28s cubic-bezier(0.32, 0.72, 0.28, 1);
}
@keyframes elewa-sheet-up {
  from { transform: translate(-50%, 40px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}
.sheet-grab { width: 36px; height: 4px; border-radius: 2px; background: var(--line); margin: 2px auto 12px; }
.sheet h3 { font-size: 15px; margin-bottom: 14px; text-align: center; }

.lang-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.lang-grid button, .level-seg button {
  padding: 9px 6px;
  border-radius: 10px;
  border: 1px solid var(--tint-border);
  background: var(--tint-bg);
  color: var(--ink-900);
  font-size: 13px;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}
.lang-grid button.on, .level-seg button.on {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.level-seg { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 16px; }
#panel-apply { width: 100%; padding: 12px; }

/* ─────────────────────────── Modal (Zusammenfassung / Fragen / Upsell) */
.modal-wrap {
  position: fixed; inset: 0; z-index: 70;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 20px 10px calc(20px + var(--safe-b));
}
@media (min-width: 640px) { .modal-wrap { align-items: center; } }
.modal {
  width: min(560px, 100%);
  max-height: min(72vh, 640px);
  display: flex; flex-direction: column;
  background: var(--paper);
  border-radius: 20px;
  box-shadow: var(--shadow-pop);
  padding: 16px 20px 18px;
  animation: elewa-sheet-up 0.28s cubic-bezier(0.32, 0.72, 0.28, 1);
}
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.modal-head h3 { font-size: 16px; }
#modal-body { overflow-y: auto; line-height: 1.6; color: var(--ink-900); white-space: pre-wrap; }
#modal-body .muted { color: var(--ink-400); }
#modal-body .upsell-actions { display: flex; gap: 10px; margin-top: 16px; white-space: normal; }
#modal-body .upsell-actions a {
  flex: 1; text-align: center; text-decoration: none;
  padding: 11px 10px; border-radius: 12px; font-weight: 600; font-size: 13.5px;
}
#modal-body .upsell-actions a.main { background: linear-gradient(180deg, var(--accent), var(--accent-dark)); color: #fff; }
#modal-body .upsell-actions a.alt { border: 1px solid var(--tint-border); color: var(--accent); }
#ask-form { display: flex; gap: 8px; margin-top: 14px; }
#ask-form input {
  flex: 1; min-width: 0;
  border: 1px solid var(--tint-border); border-radius: 12px;
  background: var(--tint-bg); color: var(--ink-900);
  padding: 10px 12px; font-size: 14px; outline: none;
}
#ask-form input:focus { border-color: var(--accent); }
#ask-form .primary { padding: 10px 16px; }

#scrim { position: fixed; inset: 0; background: rgba(20, 18, 32, 0.4); z-index: 50; }

/* ─────────────────────────── Toast + iOS-Hinweis */
#toast {
  position: fixed;
  left: 50%; bottom: calc(76px + var(--safe-b));
  transform: translateX(-50%);
  max-width: min(420px, calc(100% - 24px));
  background: var(--ink-900);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 13px;
  font-size: 13.5px;
  line-height: 1.45;
  box-shadow: var(--shadow-pop);
  z-index: 80;
  animation: elewa-sheet-up 0.25s ease;
}
@media (prefers-color-scheme: dark) { #toast { background: #ececf3; color: #1e1e2e; } }

#ios-hint {
  position: fixed;
  left: 10px; right: 10px; bottom: calc(10px + var(--safe-b));
  display: flex; align-items: center; gap: 10px;
  background: var(--paper);
  border: 1px solid var(--tint-border);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow-pop);
  font-size: 13.5px; line-height: 1.45;
  z-index: 90;
}
#ios-hint .share-glyph { color: var(--accent); font-weight: 700; }
#ios-hint button { flex-shrink: 0; }

/* ─────────────────────────── Standalone-/Popup-Modus */
body.standalone #btn-popup { display: none; }
body.standalone #logo { display: none; }

@media (max-width: 560px) {
  #nav-reload { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
