/* Gemeinsamer Stil der Unterseiten (Bestätigen, Abmelden, Datenschutz, Impressum). Startseite: eigener Stil in index.html. */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }
:root { --ink: #0a0a0a; --text2: #4a4a4f; --mute: #8a8a8e; --f: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #fff; -webkit-text-size-adjust: 100%; }
body { font-family: var(--f); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.logo { display: block; height: 56px; width: auto; }
.foot { display: flex; justify-content: center; gap: 14px; font-size: 11.5px; line-height: 16px; color: var(--mute); }
.foot a { text-decoration: underline; text-decoration-color: rgba(0,0,0,.25); }
.foot a:hover { color: var(--ink); }

/* Feste Seite ohne Scrollen (Bestätigen, Abmelden) */
.fixed, .fixed body { height: 100%; overflow: hidden; overscroll-behavior: none; }
.fixed body { position: fixed; inset: 0; touch-action: none; }
.screen { position: absolute; inset: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; align-items: center;
  padding: calc(env(safe-area-inset-top) + 14px) calc(env(safe-area-inset-right) + 20px) calc(env(safe-area-inset-bottom) + 10px) calc(env(safe-area-inset-left) + 20px); }
.screen::before { content: ''; position: absolute; left: 50%; top: 50%; width: min(120vw, 900px); height: min(60vh, 500px); transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(0,0,0,.05), rgba(0,0,0,0) 75%); pointer-events: none; }
.screen main { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; max-width: 380px; }
.state { display: none; flex-direction: column; align-items: center; gap: 10px; }
.state.on { display: flex; }
.badge { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(160deg, var(--g1), var(--g2)); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 18px -8px var(--g2); }
.badge svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.state h1 { margin-top: 6px; font-size: 20px; line-height: 1.3; letter-spacing: -.015em; font-weight: 600; }
.state p { font-size: 15px; line-height: 22px; color: var(--mute); }
.btn { display: inline-flex; align-items: center; height: 44px; margin-top: 8px; padding: 0 20px; border-radius: 100px; background: var(--ink); color: #fff;
  font: 600 14px/1 var(--f); text-decoration: none; }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(0,0,0,.12); border-top-color: var(--ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 768px) and (min-height: 700px) { .logo { height: 68px; } .screen { padding-top: calc(env(safe-area-inset-top) + 28px); padding-bottom: calc(env(safe-area-inset-bottom) + 18px); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 3s; } }

/* Textseiten (Datenschutz, Impressum): normal scrollbar */
.doc { max-width: 680px; margin: 0 auto; padding: calc(env(safe-area-inset-top) + 20px) 20px calc(env(safe-area-inset-bottom) + 28px); }
.doc header { display: flex; justify-content: center; margin-bottom: 28px; }
.doc h1 { font-size: 28px; line-height: 1.2; letter-spacing: -.025em; font-weight: 600; }
.doc h2 { margin-top: 28px; font-size: 17px; line-height: 1.35; font-weight: 600; }
.doc p, .doc li { margin-top: 10px; font-size: 15px; line-height: 24px; color: var(--text2); }
.doc ul { padding-left: 20px; }
.doc .note { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #f5f5f6; font-size: 14px; line-height: 21px; color: var(--ink); }
.doc .ph { background: #fff3c4; color: #5a4300; padding: 0 4px; border-radius: 4px; font-weight: 600; }
.doc .foot { margin-top: 40px; }
