/* App: Download-Seite, Update-Banner, Installationshinweis. */

/* Geräteweiche: Elemente mit data-zeige nur auf passenden Geräten */
[data-app-geraet="android"] [data-zeige]:not([data-zeige~="android"]),
[data-app-geraet="ios"] [data-zeige]:not([data-zeige~="ios"]),
[data-app-geraet="desktop"] [data-zeige]:not([data-zeige~="desktop"]) { display: none !important; }

.app-kopf { min-height: 0; padding: 4.5rem 0 3.5rem; background: radial-gradient(1200px 500px at 80% -10%, rgba(201,135,63,.16), transparent 60%), var(--bg); }
.app-kopf__raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.app-kopf h1 { margin: .4rem 0 1rem; }
.app-18 { display: flex; gap: .7rem; align-items: center; color: var(--text-3); font-size: .92rem; margin-top: 1.4rem; }
.app-18 span { flex: none; display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--akzent); color: var(--akzent-hell); font-weight: 700; font-size: .85rem; }
.app-18--fuss { margin-top: 2.4rem; }

.app-start { display: grid; gap: 1rem; }
.app-start__weg, .app-start__qr { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.app-start__weg h2 { font-size: 1.3rem; margin: 0 0 .8rem; }
.app-start__weg p { color: var(--text-2); margin: 0 0 1rem; }
.app-start__laden { width: 100%; justify-content: center; text-align: center; }
.app-start__meta { font-size: .88rem; color: var(--text-3) !important; margin: .7rem 0 0 !important; text-align: center; }
.app-start__pwa { width: 100%; margin-top: .8rem; justify-content: center; }
.app-start__link { font-size: .9rem; margin: 1rem 0 0 !important; text-align: center; }
.app-start__link a { color: var(--akzent-hell); }
.app-start__qr { display: flex; gap: 1.2rem; align-items: center; }
.app-start__qr svg { flex: none; width: 132px; height: 132px; background: #fff; border-radius: 10px; padding: 8px; }
.app-start__qr p { margin: 0; color: var(--text-2); font-size: .93rem; }

.app-abschnitt { padding: 4.5rem 0; border-top: 1px solid var(--line); }
.app-abschnitt--hell { background: var(--bg-2); }
.app-abschnitt h2 { margin: .3rem 0 1rem; }
.app-intro { max-width: 46rem; color: var(--text-2); margin-bottom: 2.4rem; }

.app-schritte { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; counter-reset: none; }
.app-schritt { display: flex; flex-direction: column; gap: 1.2rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.app-abschnitt--hell .app-schritt { background: var(--bg-3); }
.app-schritt__nr { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--akzent); color: #16100a; font-weight: 700; margin-bottom: .6rem; }
.app-schritt h3 { font-size: 1.08rem; margin: 0 0 .5rem; }
.app-schritt p { color: var(--text-2); font-size: .94rem; margin: 0; }
.app-schritt .app-handy { margin-top: auto; }

.app-details, .app-frage { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 1rem 1.3rem; margin-top: 1.4rem; }
.app-frage { margin-top: .8rem; }
.app-details summary, .app-frage summary { cursor: pointer; font-weight: 600; }
.app-details p, .app-frage p { color: var(--text-2); margin: .8rem 0 0; }
.app-pfade { margin: 1rem 0 0; display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: .6rem 1.4rem; }
.app-pfade dt { font-weight: 600; color: var(--text); }
.app-pfade dd { margin: 0; color: var(--text-2); }

.app-hinweis { margin-top: 2rem; border-left: 3px solid var(--akzent); padding: .4rem 0 .4rem 1.3rem; }
.app-hinweis h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.app-hinweis p { color: var(--text-2); margin: 0 0 .8rem; }

.app-zwei { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.app-zwei p { color: var(--text-2); }
.app-zwei__bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.app-meldungen { margin: 1.6rem 0; }
.app-meldungen dt { font-weight: 600; color: var(--akzent-hell); margin-top: 1.1rem; }
.app-meldungen dd { margin: .3rem 0 0; color: var(--text-2); }
.app-warnung { background: rgba(194,97,122,.1); border: 1px solid rgba(194,97,122,.35); border-radius: var(--radius-s); padding: .9rem 1.1rem; color: var(--text) !important; }

.app-pruefen { margin-top: 2.6rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.app-pruefen h3 { margin: 0 0 .5rem; }
.app-pruefen p { color: var(--text-2); }
.app-hash dt { font-size: .88rem; color: var(--text-3); margin-top: .9rem; }
.app-hash dd { margin: .3rem 0 0; }
.app-hash code { display: block; overflow-wrap: anywhere; font-size: .86rem; background: var(--bg-3); border: 1px solid var(--line); border-radius: 8px; padding: .6rem .8rem; color: var(--akzent-hell); cursor: copy; }
.app-klein { font-size: .88rem; color: var(--text-3) !important; margin-top: 1.4rem; }

.app-daten { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.app-daten h3 { margin: 0 0 1rem; font-size: 1.1rem; }
.app-daten dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem 1.2rem; margin: 0 0 1.6rem; font-size: .93rem; }
.app-daten dt { color: var(--text-3); }
.app-daten dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.app-daten a { color: var(--akzent-hell); }
.app-notizen { margin: 0; padding-left: 1.1rem; color: var(--text-2); font-size: .93rem; }

/* Nachgebaute Handy-Bildschirme */
.app-handy { width: 100%; max-width: 230px; margin-inline: auto; aspect-ratio: 9 / 17; border-radius: 26px; background: #050507; border: 2px solid #33333d; padding: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.app-handy__schirm { position: relative; height: 100%; border-radius: 19px; overflow: hidden; background: #1b1b22; font-size: 11px; line-height: 1.35; color: #e8e6e3; display: flex; flex-direction: column; }
.app-handy__schirm p, .app-handy__schirm b, .app-handy__schirm span, .app-handy__schirm small { font-size: inherit; line-height: inherit; }
.app-handy__schirm .app-handy__dialog b { font-size: 1.1em; }
.app-handy__leiste { margin: 22px 10px 8px; background: #2a2a33; border-radius: 99px; padding: 6px 10px; color: #b4b0ac; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-handy__seite { padding: 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.app-handy__balken { height: 8px; border-radius: 4px; background: #2e2e38; }
.app-handy__balken--kurz { width: 60%; }
.app-handy__knopf { margin-top: 10px; background: #c9873f; color: #16100a; border-radius: 99px; padding: 8px 10px; text-align: center; font-weight: 700; font-size: 10px; }
.app-handy__meldung { margin: 0 8px 12px; background: #2c2c36; border-radius: 12px; padding: 9px 10px; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; }
.app-handy__meldung b { grid-column: 1; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-handy__meldung span { grid-column: 1; color: #9a968f; font-size: 10px; }
.app-handy__meldung em { grid-column: 2; grid-row: 1 / span 2; font-style: normal; color: #8ab4f8; font-weight: 700; }
.app-handy__dialog { margin: auto 10px; background: #2c2c36; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.app-handy__dialog--mitte { align-items: center; text-align: center; }
.app-handy__dialog b { font-size: 12px; }
.app-handy__dialog p { margin: 0; color: #c4c0ba; }
.app-handy__klein { color: #8ab4f8 !important; font-weight: 600; }
.app-handy__knoepfe { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; color: #8ab4f8; font-weight: 700; flex-wrap: wrap; }
.app-handy__zeile { margin: 0 10px 14px; background: #2c2c36; border-radius: 12px; padding: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.app-handy__schalter { flex: none; width: 30px; height: 17px; border-radius: 99px; background: #4a9e6b; position: relative; }
.app-handy__schalter::after { content: ""; position: absolute; right: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.app-handy__icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #0d0d10; border: 1.5px solid #c9873f; color: #e0a95f; font: 700 12px/1 Georgia, serif; flex: none; }
.app-handy__schild { width: 26px; height: 30px; background: #4a9e6b; clip-path: polygon(50% 0, 100% 18%, 100% 55%, 50% 100%, 0 55%, 0 18%); }
.app-handy__safari { margin-top: auto; display: flex; justify-content: space-around; align-items: center; padding: 10px 6px 16px; background: #24242c; color: #8ab4f8; font-size: 14px; }
.app-handy__teilen { width: 16px; height: 18px; border: 2px solid #8ab4f8; border-top: 0; border-radius: 2px; position: relative; }
.app-handy__teilen::before { content: ""; position: absolute; left: 5px; top: -8px; width: 2px; height: 14px; background: #8ab4f8; }
.app-handy__teilen::after { content: ""; position: absolute; left: 2px; top: -9px; width: 6px; height: 6px; border-left: 2px solid #8ab4f8; border-top: 2px solid #8ab4f8; transform: rotate(45deg); }
.app-handy__blatt { margin-top: auto; background: #2c2c36; border-radius: 16px 16px 0 0; padding: 12px 10px 16px; display: flex; flex-direction: column; gap: 6px; }
.app-handy__blattkopf { display: flex; gap: 8px; align-items: center; padding-bottom: 6px; border-bottom: 1px solid #3a3a44; }
.app-handy__eintrag { background: #34343e; border-radius: 9px; padding: 8px 10px; display: flex; justify-content: space-between; }
.app-handy__eintrag i { font-style: normal; }
.app-handy__kopfzeile { margin-top: 22px; padding: 8px 10px; display: flex; justify-content: space-between; align-items: center; gap: 6px; color: #8ab4f8; font-size: 10px; }
.app-handy__kopfzeile b { color: #e8e6e3; text-align: center; }
.app-handy__karte { margin: 10px; background: #2c2c36; border-radius: 12px; padding: 10px; display: flex; gap: 10px; align-items: center; }
.app-handy__karte small { color: #9a968f; }
.app-handy__raster { margin-top: 30px; padding: 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
.app-handy__app { aspect-ratio: 1; border-radius: 9px; background: #2e2e38; }
.app-handy__app--pcn { background: none; display: flex; flex-direction: column; align-items: center; gap: 3px; aspect-ratio: auto; }
.app-handy__app--pcn .app-handy__icon { width: 100%; height: auto; aspect-ratio: 1; }
.app-handy__schirm .app-handy__app--pcn small { font-size: 7px; color: #e8e6e3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.app-handy__ziel { outline: 2px solid #e0a95f; outline-offset: 3px; border-radius: 8px; animation: app-puls 2.4s ease-in-out infinite; }
@keyframes app-puls { 50% { outline-color: rgba(224,169,95,.25); } }
@media (prefers-reduced-motion: reduce) { .app-handy__ziel { animation: none; } }

/* Banner: Update in der App und Installationshinweis auf Mobilgeräten */
.app-banner { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 9990; width: min(560px, calc(100% - 24px)); background: var(--bg-3); border: 1px solid var(--akzent-dunkel); border-radius: var(--radius); box-shadow: var(--schatten); padding: 1rem 1.1rem; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .5rem .9rem; align-items: center; }
.app-banner__icon { width: 42px; height: 42px; border-radius: 10px; }
.app-banner b { display: block; font-size: .98rem; }
.app-banner p { margin: .15rem 0 0; color: var(--text-2); font-size: .86rem; }
.app-banner__knoepfe { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: .6rem; }
.app-banner__knoepfe .btn { padding: .55rem 1.1rem; font-size: .9rem; }
.app-banner__zu { background: none; border: 0; color: var(--text-3); font-size: 1.4rem; line-height: 1; cursor: pointer; padding: .2rem .4rem; align-self: start; }

@media (max-width: 1100px) {
	.app-schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.app-kopf__raster, .app-zwei { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
	.app-pfade { grid-template-columns: minmax(0, 1fr); }
	.app-pfade dd { margin-bottom: .6rem; }
}
@media (max-width: 720px) {
	/* über der festen Leiste „Kostenlos bewerben“ */
	.app-banner { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
	.app-kopf { padding: 3rem 0 2.5rem; }
	.app-abschnitt { padding: 3.2rem 0; }
	.app-schritte { grid-template-columns: minmax(0, 1fr); }
	.app-schritt { display: grid; grid-template-columns: minmax(0, 1fr) 132px; align-items: start; }
	.app-schritt .app-handy { max-width: 132px; border-radius: 18px; padding: 5px; margin: 0; }
	.app-handy__schirm { font-size: 7px; border-radius: 14px; }
	.app-zwei__bilder .app-handy { max-width: 160px; }
	.app-start__qr { display: none; }
}

/* ---------------------------------------------------------------
 * App sichtbar verlinken (werbung.php)
 * ------------------------------------------------------------- */
.pcn-in-app [data-app-werbung] { display: none !important; }
.app-symbol { flex: none; display: block; }
.app-symbol--ios { color: #f2f0ee; }

.app-chip { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); border-radius: 999px; padding: .2rem .7rem .2rem .55rem; color: var(--text); font-size: .8rem; font-weight: 500; line-height: 1.3; background: rgba(255,255,255,.03); white-space: nowrap; }
.app-chip:hover { border-color: var(--akzent); color: var(--akzent-hell); }

/* Leiste über dem Kopf, nur Desktop */
.app-leiste { display: none; background: #09090c; border-bottom: 1px solid var(--line); font-size: .8rem; }
.app-leiste__innen { display: flex; align-items: center; justify-content: flex-end; gap: .55rem; height: 34px; }
.app-leiste__text { color: var(--akzent-hell); font-weight: 500; margin-right: .35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-leiste__text:hover { color: var(--akzent-hell); }
@media (min-width: 1131px) { .app-leiste { display: block; } }

/* Mobil: Knopf neben dem Menü-Schalter, Knöpfe oben im Menü */
.app-kopfknopf, .app-nav { display: none; }
@media (max-width: 1130px) {
  .app-kopfknopf { display: inline-flex; align-items: center; gap: .3rem; margin-left: auto; margin-right: -1.2rem; border: 1px solid var(--line); border-radius: 999px; padding: .32rem .7rem .32rem .5rem; white-space: nowrap; color: var(--text); font-size: .82rem; font-weight: 600; background: rgba(255,255,255,.04); }
  .app-kopfknopf:hover { border-color: var(--akzent); color: var(--akzent-hell); }
  .app-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: .8rem; }
  .nav .app-nav .app-chip { justify-content: center; padding: .7rem .6rem; border: 1px solid var(--line); font-size: .9rem; color: var(--text); }
}
@media (max-width: 560px) { .app-kopfknopf { padding: .36rem .55rem; } .app-kopfknopf span { display: none; } }

/* Badges */
.app-badges { display: flex; flex-wrap: wrap; gap: .8rem; }
.app-badge { display: inline-flex; align-items: center; gap: .7rem; min-width: 200px; padding: .6rem 1.2rem .6rem .9rem; background: #000; border: 1px solid #3a3a46; border-radius: 12px; color: #fff; line-height: 1.15; transition: border-color .2s, transform .2s; }
.app-badge:hover { border-color: var(--akzent); color: #fff; transform: translateY(-1px); }
.app-badge small { display: block; font-size: .72rem; color: var(--text-2); letter-spacing: .01em; }
.app-badge b { display: block; font-size: 1.02rem; font-weight: 600; }
.app-badges--gross .app-badge { min-width: 230px; padding: .85rem 1.5rem .85rem 1.1rem; }
.app-badges--gross .app-badge .app-symbol { width: 32px; height: 32px; }
.app-badges--gross .app-badge b { font-size: 1.15rem; }
.app-badges--klein .app-badge { min-width: 0; padding: .45rem .9rem .45rem .7rem; }
.app-badges--klein .app-badge .app-symbol { width: 22px; height: 22px; }
.app-badges--klein .app-badge b { font-size: .92rem; }

/* Startseite */
.app-werbeblock { padding: 4.5rem 0; background: radial-gradient(70% 90% at 85% 50%, rgba(201,135,63,.16), transparent 70%), var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.app-werbeblock__innen { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 3rem; align-items: center; }
.app-werbeblock .haken { margin: 1.4rem 0 1.8rem; }
.app-werbeblock__klein { margin-top: 1.1rem; font-size: .86rem; color: var(--text-3); }
@media (max-width: 900px) {
  .app-werbeblock { padding: 3.2rem 0; }
  .app-werbeblock__innen { grid-template-columns: 1fr; gap: 2.4rem; }
}

.app-werbehandy { justify-self: center; width: 240px; aspect-ratio: 9 / 18.5; border: 9px solid #22222b; border-radius: 38px; background: #0d0d10; box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px #34343f; transform: rotate(-4deg); }
.app-werbehandy__schirm { height: 100%; border-radius: 29px; overflow: hidden; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(180deg, #16161c, #0d0d10 45%); font-size: 11px; }
.app-werbehandy__kopf { padding: 6px 4px 10px; border-bottom: 1px solid var(--line); }
.app-werbehandy__kopf span { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--text); }
.app-werbehandy__kopf i { font-style: normal; color: var(--akzent); }
.app-werbehandy__push { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 9px; border-radius: 14px; background: rgba(40,40,50,.92); border: 1px solid var(--akzent-dunkel); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.app-werbehandy__push img { width: 28px; height: 28px; border-radius: 7px; }
.app-werbehandy__push b { display: block; font-size: 11px; color: var(--text); }
.app-werbehandy__push small { display: block; font-size: 10px; color: var(--text-2); line-height: 1.3; }
.app-werbehandy__push em { font-style: normal; font-size: 9px; color: var(--text-3); align-self: start; }
.app-werbehandy__karte { padding: 10px; border-radius: 12px; background: #17171d; border: 1px solid var(--line); display: grid; gap: 6px; }
.app-werbehandy__karte span { height: 7px; border-radius: 4px; background: #2a2a34; }
.app-werbehandy__karte span.kurz { width: 60%; }
.app-werbehandy__karte span.knopf { height: auto; width: max-content; padding: 5px 10px; border-radius: 999px; background: var(--akzent); color: #16100a; font-size: 10px; font-weight: 600; margin-top: 4px; }
.app-werbehandy__leiste { margin-top: auto; display: flex; justify-content: space-around; padding: 8px 0 2px; border-top: 1px solid var(--line); }
.app-werbehandy__leiste i { width: 16px; height: 16px; border-radius: 5px; background: #2a2a34; }
.app-werbehandy__leiste i.an { background: var(--akzent); }

/* Footer-Band */
.app-fussband { margin-top: 2.6rem; padding: 1.3rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center; }
.app-fussband__text { display: flex; align-items: center; gap: 1rem; }
.app-fussband__text img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.app-fussband__text b { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--text); }
.app-fussband__text span { display: block; color: var(--text-2); font-size: .92rem; }
.app-fussband__marken { grid-column: 1 / -1; margin: 0; font-size: .72rem; line-height: 1.45; color: var(--text-3); }
@media (max-width: 760px) { .app-fussband { grid-template-columns: 1fr; } }

/* Teaser (Konto, Beiträge, Jobs) */
.app-teaser { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem 1.4rem; align-items: center; margin: 2.4rem 0; padding: 1.2rem 1.4rem; border: 1px solid var(--akzent-dunkel); border-radius: var(--radius); background: linear-gradient(120deg, rgba(201,135,63,.12), rgba(255,255,255,.02)); }
.app-teaser__symbole { display: flex; gap: .35rem; }
.app-teaser__text b { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--text); }
.app-teaser__text p { margin: .2rem 0 0; color: var(--text-2); font-size: .95rem; }
.app-teaser--konto { margin: 0 0 1.6rem; }
@media (max-width: 760px) { .app-teaser { grid-template-columns: 1fr; } }

/* Smart-Banner (Mobil, oben) */
.app-smart { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: .6rem; align-items: center; padding: .55rem .8rem .55rem .5rem; background: #1b1b22; border-bottom: 1px solid var(--line); }
.app-smart__zu { background: none; border: 0; color: var(--text-3); font-size: 1.35rem; line-height: 1; padding: .2rem .35rem; cursor: pointer; }
.app-smart__icon { width: 40px; height: 40px; border-radius: 9px; }
.app-smart__text { min-width: 0; }
.app-smart__text b { display: block; font-size: .9rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-smart__text small { display: block; font-size: .74rem; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-smart__knopf { background: var(--akzent); color: #16100a; border-radius: 999px; padding: .45rem .8rem; font-size: .8rem; font-weight: 600; white-space: nowrap; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
.app-smart__knopf:hover { color: #16100a; background: var(--akzent-hell); }

/* App-Statistik: Einwilligungsdialog in der App (gleichwertige Knöpfe) */
.app-stat { position: fixed; inset: 0; z-index: 10001; display: flex; align-items: flex-end; justify-content: center; background: rgba(5,5,8,.62); padding: 1rem; padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
.app-stat__box { width: 100%; max-width: 34rem; background: var(--bg-2, #16161b); border: 1px solid var(--line, #2a2a31); border-radius: 14px; padding: 1.3rem 1.3rem 1.1rem; box-shadow: 0 18px 50px rgba(0,0,0,.55); outline: none; max-height: calc(100vh - 2rem); overflow: auto; }
.app-stat__titel { font-family: var(--serif, Georgia, serif); font-size: 1.25rem; color: var(--akzent-hell, #e0a95f); margin: 0 0 .6rem; }
.app-stat__text { color: var(--text-2, #c9c5c0); font-size: .9rem; line-height: 1.55; margin: 0 0 1.1rem; }
.app-stat__text a { color: var(--akzent-hell, #e0a95f); }
.app-stat__knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.app-stat__knopf { appearance: none; border: 1px solid var(--akzent, #c9873f); background: transparent; color: var(--text, #f2f0ee); border-radius: 999px; padding: .85rem .6rem; font: 600 .95rem/1.1 inherit; cursor: pointer; }
.app-stat__knopf:focus-visible { outline: 2px solid var(--akzent-hell, #e0a95f); outline-offset: 2px; }
html.app-stat-offen, html.app-pflicht-offen { overflow: hidden; }

/* Pflicht-Update: Vollbild */
.app-pflicht { position: fixed; inset: 0; z-index: 10002; background: var(--bg, #0d0d10); display: flex; align-items: center; justify-content: center; padding: 2rem 1.4rem; overflow: auto; }
.app-pflicht__box { max-width: 30rem; text-align: center; }
.app-pflicht__icon { display: block; border-radius: 18px; margin: 0 auto 1.2rem; }
.app-pflicht h2 { font-family: var(--serif, Georgia, serif); color: var(--akzent-hell, #e0a95f); margin: 0 0 .8rem; font-size: 1.6rem; }
.app-pflicht p { color: var(--text-2, #c9c5c0); margin: 0 0 1rem; }
.app-pflicht__neu { font-weight: 600; color: var(--text, #f2f0ee) !important; margin-bottom: .4rem !important; }
.app-pflicht ul { text-align: left; color: var(--text-2, #c9c5c0); margin: 0 auto 1.4rem; padding-left: 1.2rem; max-width: 24rem; font-size: .93rem; }
.app-pflicht__knopf { display: inline-block; min-width: 14rem; }
.app-pflicht__hilfe { font-size: .85rem; color: var(--text-3, #8f8a85) !important; margin-top: 1rem !important; }

/* Toast nach Service-Worker-Update */
.app-toast { position: fixed; left: 50%; bottom: max(1.2rem, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 10003; background: var(--bg-3, #202027); color: var(--text, #f2f0ee); border: 1px solid var(--line, #2a2a31); border-radius: 999px; padding: .6rem 1.1rem; font-size: .9rem; box-shadow: 0 8px 26px rgba(0,0,0,.45); transition: opacity .6s; }
.app-toast--weg { opacity: 0; }
