/* Die Seiten vor der Anmeldung.
 *
 * Sie sprachen bis zum 19.08.2026 eine andere Sprache als die Anwendung
 * dahinter: 16px-Radien, Farbverläufe auf den Knöpfen, doppelte Schlagschatten,
 * Kartenflächen ohne Rahmen. Wer sich anmeldete, wechselte mit dem Klick das
 * Produkt. Hier gilt dieselbe Anmutung wie hinter der Anmeldung — kantig,
 * 1px-Rahmen statt Schatten, Kennungen in Monospace mit Tabellenziffern.
 *
 * Eine Datei für alle sechs Seiten. Vorher trug jede ihren eigenen Stilblock im
 * Kopf, drei davon fast gleich und doch nicht ganz.
 */

:root {
  --bg: #f7f7f9;
  --surface: #ffffff;
  --text: #0b0b0f;
  --muted: #6b7280;
  --primary: #0a84ff;
  --primary-ink: #ffffff;
  --ring: rgba(10, 132, 255, 0.25);
  --outline: #e5e7eb;
  --shadow: 0 1px 2px rgba(11, 11, 15, 0.04);
  --hover-bg: #f5f6f8;
  --green-bg: #ecfdf5;
  --green-border: #a7f3d0;
  --green-text: #065f46;
  --amber-bg: #fffbeb;
  --amber-border: #fcd34d;
  --amber-text: #92400e;
  --rot-bg: #fef2f2;
  --rot-border: #fecaca;
  --rot-text: #991b1b;
  --radius: 3px;
  --radius-sm: 2px;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}

html {
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

/* ====== Blatt ====== */

.zugang-blatt {
  width: 100%;
  max-width: 26rem;
}

.zugang-blatt.ist-breit {
  max-width: 32rem;
}

/* ====== Kopf ====== */

.zugang-kopf {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.zugang-marke {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.zugang-marke:hover {
  text-decoration: none;
  color: var(--primary);
}

.zugang-sparte {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: -0.01em;
}

/* ====== Karte ====== */

.zugang-karte {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
}

.zugang-karte h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.zugang-unterzeile {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ====== Meldungen ====== */

.zugang-meldung {
  margin: 1.25rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--green-border);
  background: var(--green-bg);
  color: var(--green-text);
  font-size: 0.85rem;
  line-height: 1.55;
}

.zugang-meldung.ist-fehler {
  border-color: var(--rot-border);
  background: var(--rot-bg);
  color: var(--rot-text);
}

.zugang-meldung.ist-hinweis {
  border-color: var(--amber-border);
  background: var(--amber-bg);
  color: var(--amber-text);
}

.zugang-meldung p {
  margin: 0;
}

/* ====== Formular ====== */

.zugang-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.zugang-feld {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.zugang-feld label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
}

.zugang-feld input[type="text"],
.zugang-feld input[type="email"],
.zugang-feld input[type="password"],
.zugang-feld select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: 0.15s ease;
}

.zugang-feld input:focus,
.zugang-feld select:focus {
  outline: 4px solid var(--ring);
  outline-offset: 0;
  border-color: var(--primary);
}

.zugang-feld input::placeholder {
  color: var(--muted-2);
}

/* Ein Einladungscode ist eine Kennung, keine Prosa — dieselbe Schrift wie
   Aktenzeichen und Fundstellen in der Anwendung. */
.zugang-feld input.ist-kennung {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.zugang-fehler {
  margin: 0;
  font-size: 0.8rem;
  color: var(--rot-text);
}

.zugang-nebenzeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.zugang-haken {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.5;
}

.zugang-haken input {
  margin: 0.2rem 0 0;
  flex: 0 0 auto;
  accent-color: var(--primary);
}

/* ====== Knopf ====== */

.zugang-knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 40px;
  padding: 0 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--primary-ink);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s ease;
}

.zugang-knopf:hover {
  background: rgba(10, 132, 255, 0.9);
}

.zugang-knopf:focus {
  outline: 4px solid var(--ring);
  outline-offset: 1px;
}

.zugang-knopf svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* ====== Bedingungen ====== */

.bedingungen {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
}

.bedingungen a {
  color: inherit;
  text-decoration: underline;
}

.zugang-adresse {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ====== Merkzeile unter der Karte ====== */

.zugang-merkmale {
  margin: 1rem 0 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--outline);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
}

.zugang-merkmale b {
  color: var(--text);
  font-weight: 600;
}

/* ====== Fuss ====== */

.zugang-fuss {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.zugang-fuss p {
  margin: 0 0 0.6rem;
}

.zugang-wege {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
}

.zugang-wege a,
.back-link {
  color: var(--muted);
  text-decoration: none;
}

.zugang-wege a:hover,
.back-link:hover {
  color: var(--text);
  text-decoration: underline;
}

@media (max-width: 480px) {
  body {
    padding: 1.25rem 0.9rem;
  }

  .zugang-karte {
    padding: 1.35rem 1.1rem;
  }

  .zugang-karte h1 {
    font-size: 1.2rem;
  }
}
