/* Gemeinsamer Stil für Anmeldung, Bestätigung und Rechtliches (gleiche Optik wie das Dealboard). */
:root {
  /* Palette "Schönbrunn & Kupferdach" */
  --bg: #fbf6ea;
  --card: #ffffff;
  --ink: #1b2420;
  --muted: #68706c;
  --line: #e5dcc7;
  --patina: #264c42;
  --patina-soft: #e3ede8;
  --gold: #f2b51c;
  --gold-soft: #fbefc4;
  --error: #d23b3b;
  --shadow: 0 1px 2px rgba(23, 25, 28, .04), 0 8px 24px rgba(23, 25, 28, .06);
  --radius: 24px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /* Überschriften und Logo: dieselbe Schrift wie im Dealboard. */
  --serif: var(--font);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--font); }
button, input, select { font: inherit; color: inherit; }
a { color: var(--patina); }
[hidden] { display: none !important; }

.page { max-width: 560px; margin: 0 auto; padding: 32px 16px 48px; }
.logo { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 26px; }
.logo small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.logo a { text-decoration: none; background: var(--patina); color: var(--gold); font-family: var(--serif); font-weight: 700; font-size: 25px; letter-spacing: -.01em; border-radius: 999px; padding: 8px 22px; box-shadow: 0 8px 24px rgba(38, 76, 66, .25); }
.logo a span { color: #fff; }

.card { background: var(--card); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); text-align: center; margin-bottom: 18px; }
.step { display: inline-block; background: var(--gold-soft); color: var(--patina); border-radius: 999px; padding: 3px 14px; font-size: 14px; font-weight: 600; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; font-weight: 700; }
.card h2 { font-size: 24px; margin: 16px 0 16px; line-height: 1.2; }
.card h2 + .hint { margin-top: -8px; }
.hint { font-size: 14px; color: var(--muted); margin: 8px 0 0; }

.control { width: 100%; background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 14px 22px; font-weight: 600; outline: none; text-align: left; transition: border-color .15s, box-shadow .15s; }
.control:focus { border-color: var(--patina); box-shadow: 0 0 0 4px var(--patina-soft); }
select.control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236d7078' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; padding-right: 48px; cursor: pointer; }
.control.locked { display: flex; align-items: center; justify-content: space-between; background: var(--bg); border-color: transparent; cursor: default; }
.control.locked small { font-weight: 500; color: var(--muted); }
.stack { display: grid; gap: 12px; }

.consents { display: grid; gap: 12px; margin: 22px 8px; text-align: left; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--patina); cursor: pointer; }
.consent .req { color: #b07d00; }

.cta { width: 100%; background: var(--patina); color: #fff; border: 0; border-radius: 999px; padding: 16px; font-size: 18px; font-weight: 700; cursor: pointer; transition: filter .15s, opacity .15s; }
.cta:hover:not(:disabled) { filter: brightness(1.08); }
.cta:disabled { opacity: .45; cursor: default; }
.error { color: var(--error); font-size: 14px; min-height: 1.4em; margin: 10px 0 0; text-align: center; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.result { text-align: center; }
.result .big { font-size: 56px; line-height: 1; }
.result h1 { font-size: clamp(28px, 6vw, 36px); margin: 14px 0 10px; }
.result p { color: #55585f; margin: 0 0 18px; }
.ghost { display: inline-block; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 20px; color: var(--ink); text-decoration: none; font-weight: 600; background: var(--card); }

.footer { text-align: center; font-size: 13px; color: var(--muted); margin-top: 26px; }
.footer a { color: var(--muted); }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--patina-soft); border-top-color: var(--patina); margin: 10px auto; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
