/* Konto-Seiten (account/reset.html, account/verify.html): eine Karte auf Pergament,
   Variablen, Schriften und Knöpfe aus style.css. */

body.account {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center;
  background: radial-gradient(ellipse at 50% 0%, #fff8e6 0%, var(--paper) 45%, var(--paper-2) 100%);
  padding: 32px 16px 40px;
}
.acc-top { display: flex; align-items: center; justify-content: space-between; width: min(520px, 100%); margin-bottom: 18px; }
.acc-brand { display: inline-flex; align-items: center; gap: 12px; color: #7a5414; text-decoration: none; font: 400 34px/1 var(--title); }
.acc-brand img { width: 56px; height: 56px; filter: drop-shadow(0 3px 6px #3a2a1c33); }
.acc-brand:hover { color: var(--gold); }
.acc-lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); }
.acc-lang a { padding: 5px 12px; font: 800 13px/1 var(--text); color: var(--ink-soft); text-decoration: none; }
.acc-lang a.active { background: var(--gold); color: #fff; }

.acc-card {
  width: min(520px, 100%);
  background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px 32px 28px;
}
@media (max-width: 520px) { .acc-card { padding: 24px 18px; } }
.acc-card section { padding: 0; }
.acc-card h1 { font-size: 34px; color: var(--gold); margin-bottom: .35em; }
.acc-card .lead { color: var(--ink); }
.acc-icon { display: block; margin: 0 auto 10px; width: 76px; height: 76px; }
.acc-state { text-align: center; }
.acc-state h1 { margin-top: 4px; }

.acc-form { display: grid; gap: 14px; margin-top: 8px; }
.acc-form label { display: grid; gap: 6px; font-weight: 800; font-size: 15px; color: var(--ink-soft); }
.acc-field { position: relative; }
.acc-form input {
  width: 100%; font: 600 18px/1.3 var(--text); color: var(--ink);
  padding: 12px 48px 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: #fffdf7;
}
.acc-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px #f0c75e44; }
.acc-show {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border: 0; background: none; cursor: pointer; padding: 6px; border-radius: 8px; color: var(--ink-soft);
}
.acc-show svg { width: 22px; height: 22px; fill: currentColor; display: block; }
.acc-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 15px; color: var(--ink-soft); }
.acc-rules li::before { content: "○"; display: inline-block; width: 1.4em; color: var(--line); font-weight: 900; }
.acc-rules li.ok { color: var(--leaf); }
.acc-rules li.ok::before { content: "✓"; color: var(--leaf); }
.acc-form .btn { justify-content: center; font-size: 18px; padding: 15px 22px; border: 2px solid #a8771c; }
.acc-form .btn[disabled] { opacity: .55; cursor: default; transform: none; }

.acc-msg { margin-top: 16px; padding: 12px 14px; border-radius: 12px; font-weight: 700; }
.acc-msg:empty { display: none; }
.acc-msg.err { background: #b84a3a14; border: 1px solid #b84a3a55; color: #8e2f22; }
.acc-msg.ok { background: #4f7d3a14; border: 1px solid #4f7d3a55; color: var(--leaf-dark); }
.acc-hint { font-size: 14px; color: var(--ink-soft); margin: 18px 0 0; }
.acc-email { display: block; margin: 8px 0 14px; padding: 10px 12px; border: 2px dashed var(--gold); border-radius: 12px; background: var(--paper); font-weight: 800; font-size: 20px; word-break: break-all; }
.acc-spin { display: block; margin: 8px auto 14px; width: 42px; height: 42px; border-radius: 50%; border: 5px solid var(--paper-3); border-top-color: var(--gold); animation: acc-spin 1s linear infinite; }
@keyframes acc-spin { to { transform: rotate(360deg); } }
.acc-pop { animation: acc-pop .5s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes acc-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .acc-spin, .acc-pop { animation: none; } }
.acc-foot { margin-top: 22px; font-size: 13px; color: var(--ink-soft); text-align: center; }
.acc-foot a { color: var(--ink-soft); }
[hidden] { display: none !important; }

/* Impressum und Datenschutz (imprint/, privacy/, de/impressum/, de/datenschutz/): breitere Karte, Text links. */
body.legal .acc-top, body.legal .acc-card { width: min(760px, 100%); }
.legal .acc-card h1 { font-size: 40px; }
.legal .acc-card h2 { font: 400 24px/1.2 var(--title); color: #7a5414; margin: 1.4em 0 .35em; }
.legal .acc-card p, .legal .acc-card li { font-size: 16px; line-height: 1.6; }
.legal .acc-card ul { padding-left: 1.2em; margin: .3em 0 .8em; }
.legal .acc-card address { font-style: normal; font-weight: 700; line-height: 1.6; }
.legal .acc-card .small { font-size: 14px; color: var(--ink-soft); }
.legal .acc-foot a + a { margin-left: 14px; }
