:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f5f7;
  color: #20242a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  padding: 0;
  background: #f4f5f7;
}

/* 13.08.2026
 * Header und Footer müssen über die volle Fensterbreite laufen.
 * Kein Grid/Centering auf dem body, da sonst auch der dynamisch
 * geladene Header horizontal verschoben wird.
 */
#header-placeholder,
#footer-container {
  width: 100%;
}

/* Platz für den fixierten Header */
#header-placeholder {
  min-height: var(--ajordi-header-height, 96px);
}

/* Sperr-/Hinweiskarte sauber im verfügbaren Fenster zentrieren */
.access-card {
  width: min(860px, calc(100% - 48px));
  margin: 24px auto 40px;
  background: #fff;
  border: 1px solid #d8dce2;
  border-radius: 14px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 18px 45px rgba(20, 28, 38, 0.08);
}

.access-brand {
  margin: 0 0 30px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.access-brand .accent { color: #c80020; }

.access-section + .access-section {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid #e4e7eb;
}

h1, h2 { margin: 0 0 12px; line-height: 1.18; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: 1.25rem; }
p { margin: 0; line-height: 1.65; }

.access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.access-actions a {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid #252a31;
  color: #252a31;
  background: #fff;
}

.access-actions a.primary {
  background: #252a31;
  color: #fff;
}

.requested-path {
  margin-top: 24px;
  padding: 10px 12px;
  background: #f6f7f9;
  border-radius: 7px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

/* Kleine Bildschirme */
@media (max-width: 768px) {
  #header-placeholder {
    min-height: 88px;
  }

  .access-card {
    width: min(860px, calc(100% - 24px));
    margin: 16px auto 28px;
  }
}