/* Roth Coins Warteliste · Farben und Schriften aus dem Designsystem des Shops (roth-muenzen.de/DESIGN.md) */
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --tresor: #10231D; --tresor-hell: #1B3A30; --messing: #B08A3C; --messing-hell: #D9BF82; --messing-dunkel: #8C6C2A;
  --elfenbein: #F7F4EC; --text: #17201C; --text-ged: #5E6A63; --text-dunkel: #F2EEDF; --text-dunkel-ged: #A9B5AD;
  --linie-dunkel: #2C4A40; --steigt-hell: #7FC79E; --faellt-hell: #E39A85;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --kurve: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--tresor); color: var(--text-dunkel); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--messing-hell); text-underline-offset: 3px; }
a:hover { color: #fff; }

.buehne { position: relative; flex: 1; display: grid; place-items: center; padding: clamp(40px, 8vw, 96px) 16px; isolation: isolate; }
.glanz { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 50% at 50% 30%, rgba(176, 138, 60, 0.16), transparent 70%), radial-gradient(40% 40% at 80% 90%, rgba(27, 58, 48, 0.9), transparent 70%); }
.karte { width: 100%; max-width: 620px; text-align: center; animation: auf 900ms var(--kurve) both; }
@keyframes auf { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .karte { animation: none; } }

.logo { width: min(300px, 70vw); height: auto; margin: 0 auto 32px; display: block; }
.label { margin: 0 0 12px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--messing-hell); }
h1 { margin: 0 0 16px; font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.text { margin: 0 auto 32px; max-width: 34em; color: var(--text-dunkel-ged); }

.zeile { display: flex; gap: 8px; padding: 6px; background: rgba(242, 238, 223, 0.06); border: 1px solid var(--linie-dunkel); border-radius: 10px; transition: border-color 200ms var(--kurve); }
.zeile:focus-within { border-color: var(--messing); }
.zeile input { flex: 1; min-width: 0; border: 0; background: none; padding: 12px 14px; font: inherit; color: var(--text-dunkel); outline: none; }
.zeile input::placeholder { color: var(--text-dunkel-ged); }
.zeile button { border: 0; border-radius: 6px; padding: 12px 22px; background: var(--messing); color: var(--tresor); font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background 200ms var(--kurve); }
.zeile button:hover { background: var(--messing-hell); }
.zeile button:disabled { opacity: 0.7; cursor: wait; }
.hinweis { margin: 12px 0 0; font-size: 0.85rem; line-height: 1.5; color: var(--text-dunkel-ged); }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.meldung { margin: 16px 0 0; padding: 14px 16px; border-radius: 10px; font-size: 0.95rem; text-align: left; }
.meldung--gut { background: rgba(127, 199, 158, 0.12); border: 1px solid rgba(127, 199, 158, 0.4); color: var(--text-dunkel); }
.meldung--fehler { background: rgba(227, 154, 133, 0.12); border: 1px solid rgba(227, 154, 133, 0.45); color: var(--text-dunkel); }
.live { margin: 40px 0 0; font-size: 0.95rem; color: var(--text-dunkel-ged); }

.fuss { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 20px 16px; border-top: 1px solid var(--linie-dunkel); font-size: 0.85rem; color: var(--text-dunkel-ged); }
.fuss nav { display: flex; gap: 20px; }
.fuss a { color: var(--text-dunkel-ged); }
.fuss a:hover { color: var(--text-dunkel); }

@media (max-width: 480px) {
  .zeile { flex-direction: column; padding: 8px; }
  .zeile button { padding: 14px; }
  .fuss { justify-content: center; text-align: center; }
}

/* Rechtsseiten */
.recht { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: clamp(40px, 8vw, 80px) 16px; }
.recht .zurueck { display: inline-block; margin-bottom: 24px; font-size: 0.9rem; }
.recht h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 24px; }
.recht h2 { margin: 32px 0 8px; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: var(--messing-hell); }
.recht p { margin: 0 0 12px; color: var(--text-dunkel); }
