/* =====================================================================
   THE HOUSE OF JUNO · Anmelden, Link-Bestätigung, Passwort
   Helles House-Design (Version A). Ersetzt auf diesen drei Seiten rn.css
   und rn-gruen.css. Klassen und IDs der Anmeldelogik bleiben unverändert.
   ===================================================================== */
@font-face { font-family: 'Oranienbaum'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/oranienbaum-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'Oranienbaum'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/oranienbaum-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/quicksand-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/quicksand-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/quicksand-latin-600-normal.woff2) format('woff2'); }

:root { --papier: #faf8f5; --sand: #ece6dc; --tinte: #1a1a18; --leise: #5f5a52; --linie: #e6dfd4; --rahmen: #c9bfae; --rose: #b6707c; --rot: #80000B; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body.t-seite { min-height: 100vh; display: flex; flex-direction: column; background: var(--sand); color: var(--tinte); font: 400 16px/1.6 'Quicksand', system-ui, sans-serif; -webkit-text-size-adjust: 100%; }
.rn-pruefen [data-rn-geschuetzt] { visibility: hidden; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; } /* Überschriften, die nur für Screenreader den Fokus erhalten: kein Rahmen */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.t-kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px clamp(20px, 5vw, 72px); background: var(--papier); border-bottom: 1px solid var(--linie); }
.t-wortmarke { font-family: 'Oranienbaum', serif; font-size: 38px; line-height: 1; letter-spacing: -0.09em; padding-right: .09em; text-decoration: none; }
.t-hilfe { font-weight: 500; font-size: 15px; color: var(--leise); text-decoration: none; }

.schwelle-main { flex: 1; display: flex; justify-content: center; padding: clamp(40px, 8vw, 88px) 20px; }
.t-karte { width: 100%; max-width: 480px; align-self: flex-start; background: var(--papier); border-radius: 28px; padding: clamp(28px, 5vw, 44px); }

.ansicht { display: flex; flex-direction: column; align-items: stretch; }
.titel { margin: 0; font-family: 'Oranienbaum', serif; font-weight: 400; font-size: clamp(44px, 8vw, 60px); line-height: 1.02; letter-spacing: -0.04em; }
.titel--mittel { font-size: clamp(36px, 6vw, 44px); }
.titel--klein { font-size: clamp(32px, 5vw, 38px); line-height: 1.08; }
.text { margin: 14px 0 0; color: var(--leise); }
.text--leise { margin: 14px 0 0; font-size: 14px; color: var(--leise); }
.adresse { color: var(--tinte); font-weight: 600; overflow-wrap: anywhere; }

.formular { display: flex; flex-direction: column; margin-top: 24px; }
.feld-gruppe { display: flex; flex-direction: column; gap: 6px; }
.feld-gruppe + .feld-gruppe { margin-top: 16px; }
.feld-gruppe label { font-weight: 600; font-size: 15px; }
.feld { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--rahmen); border-radius: 14px; background: #fff; color: var(--tinte); font: 400 17px 'Quicksand', sans-serif; -webkit-appearance: none; appearance: none; }
.feld::placeholder { color: #8d867c; }
.feld:focus { outline: none; border-color: var(--tinte); box-shadow: 0 0 0 1px var(--tinte); }
.feld[aria-invalid="true"] { border-color: var(--rot); }

.knopf { margin-top: 20px; width: 100%; min-height: 54px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--tinte); border-radius: 999px; background: var(--tinte); color: var(--papier);
  font: 600 15px/1.2 'Quicksand', sans-serif; text-decoration: none; cursor: pointer; }
.knopf:hover { background: #33312d; }
.knopf:disabled, .knopf[aria-disabled="true"] { opacity: .5; cursor: default; }
.knopf--rahmen { width: auto; min-height: 46px; margin-top: 0; padding: 0 22px; background: transparent; color: var(--tinte); }
.knopf--rahmen:hover { background: var(--tinte); color: var(--papier); }
.knopf--rahmen:disabled { border-style: dashed; color: var(--leise); background: transparent; opacity: 1; }
.textknopf { align-self: center; display: inline-flex; align-items: center; justify-content: center; margin-top: 10px; min-height: 44px; padding: 0 10px;
  border: 0; background: transparent; color: var(--leise); font: 500 14px 'Quicksand', sans-serif; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.textknopf--klein { font-size: 13px; margin-top: 0; }
.textknopf:hover { color: var(--tinte); }
.knopf.laedt { position: relative; color: transparent !important; }
.knopf.laedt::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(250,248,245,.35); border-top-color: var(--papier); animation: dreh .8s linear infinite; }
.knopf--rahmen.laedt::after { border-color: rgba(26,26,24,.25); border-top-color: var(--tinte); }
@keyframes dreh { to { transform: rotate(360deg); } }

.hinweis { margin: 14px 0 0; padding: 10px 14px; border: 1px solid var(--rot); border-radius: 12px; background: #fff; font-size: 14px; line-height: 1.5; }
.hinweis--ruhig { border-color: var(--rahmen); }

.code { border: 0; margin: 20px 0 0; padding: 0; min-width: 0; }
.code__felder { display: flex; gap: 8px; justify-content: flex-start; }
.code__ziffer { width: 46px; height: 56px; padding: 0; border: 1px solid var(--rahmen); border-radius: 12px; background: #fff; color: var(--tinte);
  text-align: center; font: 400 26px 'Oranienbaum', serif; -webkit-appearance: none; appearance: none; }
.code__ziffer:focus { outline: 2px solid var(--rose); outline-offset: 2px; }
.code__ziffer:disabled { opacity: .4; }
.code--fehler .code__ziffer { border-color: var(--rot); }

.zeile { margin: 12px 0 0; font-size: 14px; color: var(--leise); }
.zeile svg { display: none; }
.erneut { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--linie); display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.erneut__warte, .erneut__info { font-size: 13px; color: var(--leise); }
.erneut .textknopf { align-self: flex-start; padding-left: 0; }
.erneut--hauptaktion .knopf--rahmen { background: var(--tinte); color: var(--papier); }

.t-fuss { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 28px clamp(20px, 5vw, 72px); font-size: 14px; color: var(--leise); }
.t-fuss__links { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.t-fuss a { color: var(--leise); }
.konfig-fehler { margin: 12px auto 0; max-width: 520px; padding: 10px 16px; border: 1px solid var(--rot); border-radius: 12px; text-align: center; font-size: 14px; }
.noscript { text-align: center; }

/* Registrierung: Einwilligung */
.t-einwilligung { display: grid; grid-template-columns: 22px 1fr; gap: 6px 12px; margin-top: 20px; font-size: 15px; line-height: 1.5; text-align: left; }
.t-einwilligung input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: #1a1a18; }
.t-einwilligung__link { grid-column: 2; justify-self: start; font-size: 13px; color: var(--leise); }
.t-wechsel { margin: 18px 0 0; text-align: center; font-size: 14px; color: var(--leise); }
.t-wechsel a { color: var(--tinte); font-weight: 600; }

@media (max-width: 760px) {
  .t-kopf { padding: 14px 20px; }
  .t-wortmarke { font-size: 32px; }
  .schwelle-main { padding: 28px 14px; }
  .t-karte { border-radius: 24px; padding: 26px 20px; }
  .code__felder { gap: 6px; }
  .code__ziffer { width: 42px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation-duration: 0s !important; } }
