/* Anmeldung zur Verwaltung – Farben und Formen wie admin/web/src/stil.css */
:root {
  --bg: #f4f3ef;
  --flaeche: #ffffff;
  --rand: #e3e0d8;
  --text: #1f2430;
  --text-2: #6b7080;
  --akzent: #b8923a;
  --akzent-dunkel: #8f6f26;
  --akzent-hell: #fbf4e3;
  --seite: #1f2430;
  --seite-text: #d7d9e0;
  --ok: #2f8a5b;
  --warn: #c2772a;
  --fehler: #b63c3c;
  --radius: 14px;
  --schatten: 0 1px 2px rgba(20, 24, 40, 0.06), 0 12px 32px rgba(20, 24, 40, 0.08);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); }
a { color: var(--akzent-dunkel); }
button, input { font: inherit; color: inherit; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1 { font-size: 26px; line-height: 1.2; margin: 0 0 8px; font-weight: 680; letter-spacing: -0.015em; }
h2 { font-size: 22px; margin: 0 0 22px; font-weight: 650; color: #fff; letter-spacing: -0.01em; }
h3 { font-size: 12px; margin: 0 0 8px; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 650; }
p { margin: 0 0 14px; }

/* Rahmen: dunkles Band links, Karte rechts */
.buehne { display: grid; grid-template-columns: minmax(300px, 420px) 1fr; min-height: 100vh; min-height: 100dvh; }
.band {
  background: radial-gradient(120% 80% at 0% 0%, rgba(184, 146, 58, 0.22), transparent 60%), linear-gradient(160deg, #262c3a 0%, var(--seite) 55%, #171b25 100%);
  color: var(--seite-text); padding: 40px 36px; display: flex; flex-direction: column; gap: 40px; position: relative; overflow: hidden;
}
.band::after { content: "§"; position: absolute; right: -30px; bottom: -90px; font: 700 340px/1 Georgia, "Times New Roman", serif; color: rgba(255, 255, 255, 0.035); pointer-events: none; }
.marke { display: flex; align-items: center; gap: 12px; color: #fff; }
.marke b { font-size: 17px; display: block; line-height: 1.15; }
.marke small { color: #9ca1b0; font-size: 13px; }
.marke .logo { width: 40px; height: 40px; border-radius: 10px; background: var(--akzent); color: var(--seite); display: grid; place-items: center; font: 700 22px/1 Georgia, serif; box-shadow: 0 4px 14px rgba(184, 146, 58, 0.35); }
.band-text { margin-top: auto; margin-bottom: auto; max-width: 340px; }
.vorteile { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.vorteile li { display: flex; gap: 14px; align-items: flex-start; }
.vorteile svg { width: 26px; height: 26px; color: var(--akzent); margin-top: 1px; }
.vorteile b { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.vorteile span { font-size: 14.5px; color: #b6bac6; }
.band-fuss { margin: 0; font-size: 12.5px; color: #8a8fa0; }

.haupt { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; gap: 18px; }
.marke.klein { display: none; color: var(--text); }
.marke.klein small { color: var(--text-2); }
.karte { width: 100%; max-width: 460px; background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius); box-shadow: var(--schatten); padding: 36px 34px 30px; position: relative; }
.karte::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(90deg, var(--akzent), #d9b866); }
.unter { color: var(--text-2); margin-bottom: 24px; }
.fusszeile { max-width: 460px; text-align: center; color: var(--text-2); font-size: 13px; margin: 0; }

.symbolkreis { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--akzent-hell); color: var(--akzent-dunkel); margin-bottom: 18px; }
.symbolkreis svg { width: 28px; height: 28px; }
.symbolkreis.ok { background: #e3f3ea; color: var(--ok); }
.symbolkreis.warn { background: #fbeedd; color: var(--warn); }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--rand); background: #fff; cursor: pointer; font-weight: 600; line-height: 1.2; text-decoration: none; color: var(--text); transition: background 0.15s, border-color 0.15s, transform 0.05s; }
.knopf:hover { background: #faf9f5; border-color: #d5d1c6; }
.knopf:active { transform: translateY(1px); }
.knopf:focus-visible, .aufklapp summary:focus-visible, .weiter:focus-visible { outline: 3px solid rgba(184, 146, 58, 0.45); outline-offset: 2px; }
.knopf:disabled { opacity: 0.55; cursor: default; transform: none; }
.knopf svg { width: 20px; height: 20px; }
.knopf.primaer { background: var(--akzent); border-color: var(--akzent); color: var(--seite); }
.knopf.primaer:hover { background: #c9a24a; border-color: #c9a24a; }
.knopf.dunkel { background: var(--seite); border-color: var(--seite); color: #fff; }
.knopf.dunkel:hover { background: #2b3141; }
.knopf.gross { width: 100%; padding: 16px 20px; font-size: 17px; border-radius: 12px; }
.knopf.gross svg { width: 26px; height: 26px; }
.knopf.breit { width: 100%; padding: 13px 16px; }
.knopf.passkey { box-shadow: 0 6px 18px rgba(184, 146, 58, 0.28); }
.knopf.laeuft { position: relative; color: transparent !important; }
.knopf.laeuft::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(31, 36, 48, 0.25); border-top-color: var(--seite); animation: drehen 0.8s linear infinite; }
@keyframes drehen { to { transform: rotate(360deg); } }
.zeile { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.zeile .knopf { flex: 1 1 auto; }
.weiter { display: block; text-align: center; margin-top: 16px; font-size: 14.5px; color: var(--text-2); }
.weiter:hover { color: var(--akzent-dunkel); }

/* Formulare */
.formular { margin: 0; }
label.feld { display: block; margin-bottom: 14px; }
label.feld > span { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
label.feld em { font-style: normal; font-weight: 400; }
input[type="email"], input[type="text"] { width: 100%; padding: 12px 13px; border: 1px solid var(--rand); border-radius: 10px; background: #fff; outline: none; font-size: 16px; }
input:focus { border-color: var(--akzent); box-shadow: 0 0 0 3px rgba(184, 146, 58, 0.18); }
.hinweis { font-size: 13.5px; color: var(--text-2); margin: 10px 0 0; }
.hinweis.mitte { text-align: center; }
.hinweis.klein-rand { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--rand); font-size: 12.5px; }

/* Aufklappbereich „Anmeldelink per E-Mail“ */
.aufklapp { margin-top: 26px; border-top: 1px solid var(--rand); padding-top: 18px; }
.aufklapp summary { list-style: none; display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 12px 14px; border-radius: 10px; background: #faf9f5; border: 1px solid var(--rand); font-size: 14.5px; color: var(--text-2); }
.aufklapp summary::-webkit-details-marker { display: none; }
.aufklapp summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg); transition: transform 0.15s; flex: none; }
.aufklapp[open] summary::after { transform: rotate(-135deg); }
.aufklapp summary b { display: block; color: var(--text); font-weight: 600; }
.aufklapp summary svg { color: var(--akzent-dunkel); }
.aufklapp .formular { padding: 18px 2px 0; }

/* Hinweise */
.banner { border-radius: 10px; padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; font-size: 14.5px; }
.banner svg { width: 20px; height: 20px; margin-top: 1px; }
.banner.ok { background: #e8f5ee; border: 1px solid #bfe3cf; color: #1f5f3d; }
.banner.info { background: #eef1f8; border: 1px solid #ccd4e6; color: #2b3a66; }
.banner.warn { background: #fdf4e6; border: 1px solid #efd7b0; color: #7a4d14; }
.banner.fehler { background: #fbeeee; border: 1px solid #ecc0c0; color: #7a2222; }

/* Schritte und Geräteliste */
.schritte { list-style: none; margin: 4px 0 18px; padding: 0; display: grid; gap: 10px; }
.schritte li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.schritte span { width: 26px; height: 26px; border-radius: 50%; background: var(--akzent-hell); color: var(--akzent-dunkel); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.vorhanden { margin-top: 24px; }
.vorhanden ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vorhanden li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--rand); border-radius: 10px; background: #faf9f5; font-weight: 550; }
.vorhanden li svg { color: var(--akzent-dunkel); }
.vorhanden small { display: block; font-weight: 400; color: var(--text-2); font-size: 12.5px; }

[hidden] { display: none !important; }

/* Tablet & Handy: Band ausblenden, Marke über der Karte */
@media (max-width: 860px) {
  .buehne { grid-template-columns: 1fr; }
  .band { display: none; }
  .marke.klein { display: flex; }
  .haupt { justify-content: flex-start; padding: 28px 16px 32px; background: radial-gradient(100% 40% at 50% 0%, rgba(184, 146, 58, 0.12), transparent 70%); }
}
@media (max-width: 480px) {
  .karte { padding: 28px 20px 24px; border-radius: 12px; }
  h1 { font-size: 23px; }
  .knopf.gross { font-size: 16px; padding: 15px 14px; }
  .zeile { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation-duration: 0.01s !important; } }
