/* Reisbou – Anmeldung für Meine Reisen, Partneragenturen und Admin (Design 23.10.2026).
   body.anmelden setzt auth.js, solange die Anmeldung zu sehen ist. Breit: links Bereich und Formular, rechts die Kugel;
   schmal: Kugel als Band oben, darunter Text und Formular. Farben und Kugel-Ränder aus kugel.css. */

body.anmelden { background: var(--nacht); color: var(--hell); min-height: 100vh; }
body.anmelden :focus-visible { outline: 3px solid var(--bernstein); outline-offset: 3px; }

.anm {
  display: grid; max-width: 1280px; min-height: 100vh; margin: 0 auto; padding: 0 40px 48px; box-sizing: border-box;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr); column-gap: 48px;
  grid-template-rows: auto auto 1fr;
  grid-template-areas: "kopf kopf" "text kugel" "karte kugel";
}
.anm-kopf { grid-area: kopf; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 20px 0; }
.anm-kopf .brand { color: var(--hell); text-decoration: none; font-size: 24px; }
body.anmelden .anm-heim { margin-left: auto; color: var(--hell-3); text-decoration: none; font-size: 15px; padding: 10px 0; }
body.anmelden .anm-heim:hover { color: #fff; }

.anm-kugel { grid-area: kugel; position: relative; min-height: 560px; }
.anm-kugel .weltkugel-canvas { position: absolute; inset: 0; }

.anm-text { grid-area: text; padding: 48px 0 28px; }
.anm-zeile {
  margin: 0 0 16px; display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bernstein-hell);
}
.anm-zeile span { width: 28px; height: 2px; background: var(--bernstein); flex: none; }
.anm-text h1 {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.05; letter-spacing: -0.025em;
  color: var(--hell); overflow-wrap: anywhere;
}
.anm-punkte { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.anm-punkte li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; color: var(--hell-2); }
.anm-punkte svg { flex: none; margin-top: 2px; }

.anm-karte {
  grid-area: karte; align-self: start; background: var(--hell); color: var(--ink); border-radius: 22px; padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); display: flex; flex-direction: column; gap: 12px;
}
.anm-karte h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--ink); }
.anm-lead { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.anm-karte .stack { gap: 14px; margin-top: 10px; }
.anm-karte .field { font-size: 13px; color: var(--ink-2); }
.anm-karte .field input { min-height: 48px; border-radius: 12px; font-size: 16px; }
.anm-karte .btn-primary { min-height: 52px; border-radius: 999px; font-size: 16px; }
.anm-hinweis { margin: -4px 0 0; font-size: 13px; color: var(--ink-2); }
.anm-karte #login-msg:empty { display: none; }
.anm-karte #login-msg { margin: 0; }
.anm-gesendet { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.anm-gesendet p { margin: 0; color: var(--ink-2); line-height: 1.5; overflow-wrap: anywhere; }
.anm-gesendet strong { color: var(--ink); }

@media (max-width: 899px) {
  .anm {
    grid-template-columns: minmax(0, 1fr); grid-template-areas: "kopf" "kugel" "text" "karte"; grid-template-rows: auto;
    padding: 0 20px 40px; min-height: 0;
  }
  .anm-kopf { padding: 16px 0; }
  .anm-kugel { min-height: 0; height: clamp(150px, 38vw, 300px); margin: 0 -20px; }
  .anm-text { padding: 8px 0 22px; }
  .anm-karte { padding: 22px; }
}
@media (max-width: 600px) {
  /* Am Handy steht das Formular früh: die Punkte entfallen */
  .anm-punkte { display: none; }
  .anm-text { padding-bottom: 16px; }
}
body.anmelden .loading { color: var(--hell-2); }
