/* Weza Vorlagen: Anmeldung und Übersicht (gleicher Stil wie der Admin) */
:root {
  --primaer: #4f46e5;
  --sekundaer: #06b6d4;
  --dunkel: #0b1220;
  --text: #1e2333;
  --grau: #64748b;
  --hell: #f4f6fb;
  --linie: #e2e6ef;
  --rot: #dc2626;
  --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--text); background: var(--hell); line-height: 1.5; overflow-x: clip; }
h1, h2 { margin: 0 0 .4em; line-height: 1.2; }
[hidden] { display: none !important; }

.btn { display: inline-block; padding: 12px 20px; border: 0; border-radius: 10px; background: linear-gradient(135deg, var(--primaer), var(--sekundaer)); color: #fff; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; }
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .6; cursor: wait; }
.link { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }

label { display: grid; gap: 5px; font-size: .88rem; font-weight: 500; color: var(--grau); }
input { width: 100%; padding: 11px 12px; border: 1px solid var(--linie); border-radius: 9px; font: inherit; color: var(--text); background: #fff; }
input:focus { outline: 2px solid var(--primaer); outline-offset: 0; border-color: transparent; }

/* Anmeldung */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; background: radial-gradient(700px 400px at 80% 0%, rgba(6,182,212,.15), transparent), radial-gradient(600px 400px at 0% 100%, rgba(79,70,229,.15), transparent), var(--hell); }
.login-karte { width: min(400px, 100%); display: grid; gap: 16px; background: #fff; padding: 32px; border-radius: 18px; box-shadow: 0 20px 50px rgba(11,18,32,.1); }
.login-karte img { height: 60px; width: auto; justify-self: center; }
.login-karte h1 { font-size: 1.2rem; text-align: center; margin: 0; }
.login-karte p { margin: 0; text-align: center; color: var(--grau); font-size: .92rem; }
.meldung { min-height: 1.4em; color: var(--rot) !important; }
.klein { font-size: .82rem !important; }

/* Übersicht */
.kopf { display: flex; align-items: center; gap: 16px; padding: 12px 24px; background: var(--dunkel); color: #cbd5e1; }
.kopf img { height: 36px; width: auto; }
.kopf-rechts { margin-left: auto; display: flex; gap: 18px; align-items: center; font-size: .9rem; }
.kopf-rechts a { color: inherit; }
#wer { color: #fff; font-weight: 600; }

.inhalt { width: min(1200px, 100% - 32px); margin: 0 auto; padding: 40px 0 64px; }
.inhalt > p { color: var(--grau); margin: 0 0 28px; max-width: 640px; }
.hinweis { background: #fef3c7; color: #92400e; padding: 12px 16px; border-radius: 10px; margin-bottom: 24px; }

.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.karte { display: block; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.karte:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(11,18,32,.1); }
.vorschau { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hell); border-bottom: 1px solid var(--linie); }
.vorschau iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; pointer-events: none; }
.karte-info { padding: 16px 18px 18px; }
.karte-info strong { display: flex; justify-content: space-between; gap: 12px; font-size: 1.08rem; }
.karte-info strong span { color: var(--primaer); font-size: .9rem; white-space: nowrap; }
.karte-info p { margin: 4px 0 0; color: var(--grau); font-size: .92rem; }
.leer { text-align: center; color: var(--grau); padding: 40px 0; }

@media (max-width: 600px) {
  .kopf { flex-wrap: wrap; padding: 10px 16px; }
  .kopf-rechts { margin-left: 0; width: 100%; justify-content: space-between; }
  .inhalt { padding-top: 28px; }
  .login-karte { padding: 26px 20px; }
}
