/* 28er Projects - App-Ansicht (11.11.2026)
   Gilt nur, wenn die Seite als App laeuft (Symbol auf dem Startbildschirm).
   Im normalen Browser ist von alldem nichts zu sehen. Die Farben kommen aus
   dem eingestellten Design, hell wie dunkel - hier steht keine eigene Farbe. */

/* --- Nur in der App ------------------------------------------------------- */
/* Platz fuer die Statusleiste des Handys (iPhone zeichnet darunter) */
html.app28 body { padding-top: env(safe-area-inset-top); }
/* Gummiband-Effekt beim Ueberscrollen wegnehmen - sonst fuehlt es sich
   nach Webseite an, nicht nach App. */
html.app28 { overscroll-behavior-y: none; }
html.app28 body { overscroll-behavior-y: none; }

/* --- Hinweis zum Installieren (nur im Browser) ---------------------------- */
.app28-hinweis {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 950;
    display: none;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line, rgba(255, 255, 255, .1));
    border-radius: 18px;
    background: var(--surface-strong, #121a26);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
    color: var(--text, #e8eefc);
    font-size: 14px;
    line-height: 1.35;
    animation: app28Auf .32s cubic-bezier(.2, .8, .3, 1) both;
}
.app28-hinweis.da { display: flex; }
@keyframes app28Auf { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .app28-hinweis { animation: none; } }

.app28-hinweis img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.app28-hinweis-text { flex: 1 1 auto; min-width: 0; }
.app28-hinweis-text b { display: block; font-size: 14px; }
.app28-hinweis-text small { color: var(--muted, #94a3b8); font-size: 12.5px; }

.app28-ja, .app28-nein {
    flex: none;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}
.app28-ja {
    padding: 9px 15px;
    background: var(--sd-a, #3b82f6);
    color: #fff;
}
.app28-nein {
    width: 30px;
    height: 30px;
    background: transparent;
    color: var(--muted, #94a3b8);
    font-size: 18px;
    line-height: 1;
}

@media (min-width: 720px) {
    .app28-hinweis { left: auto; right: 18px; width: 380px; }
}

/* --- Knopf fuer Benachrichtigungen --------------------------------------- */
.app28-push {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid var(--line, rgba(255, 255, 255, .12));
    border-radius: 999px;
    background: var(--surface-strong, #121a26);
    color: var(--text, #e8eefc);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.app28-push::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--muted, #94a3b8);
    flex: none;
}
.app28-push.an {
    border-color: color-mix(in srgb, var(--sd-a, #3b82f6) 55%, transparent);
    background: color-mix(in srgb, var(--sd-a, #3b82f6) 16%, transparent);
    color: var(--sd-a, #3b82f6);
}
html.hell .app28-push.an { color: var(--hell-akzent, #1d4ed8); }
.app28-push.an::before { background: currentColor; box-shadow: 0 0 10px currentColor; }
.app28-push:disabled { opacity: .55; cursor: default; }
