/*
 * Wartungsseite ohne Build. Farben, Abstände und Schrift stammen aus src/styles/tokens.css,
 * die Schriften aus public/fonts (Lizenz OFL 1.1, Datei in fonts/).
 */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/atkinson-hyperlegible-next-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/atkinson-hyperlegible-next-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/atkinson-hyperlegible-next-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/atkinson-hyperlegible-next-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  color-scheme: light dark;
  --bg-page: #f7f6f5;
  --bg-surface: #ffffff;
  --bg-accent-subtle: #fff0f3;
  --text-default: #1f1d1b;
  --text-muted: #5c5853;
  --text-accent: #cf003e;
  --border-default: #e0ddd9;
  --ok-bg: #eaf6ee;
  --ok-fg: #1a6b3c;
  --closed-bg: #fff0e6;
  --closed-fg: #9a3a00;
  --shadow: 0 12px 32px #1f1d1b1f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-page: #141312;
    --bg-surface: #1f1d1b;
    --bg-accent-subtle: #3a0014;
    --text-default: #ffffff;
    --text-muted: #b5b0aa;
    --text-accent: #ff6b8b;
    --border-default: #3a3734;
    --ok-bg: #16271d;
    --ok-fg: #7fd6a0;
    --closed-bg: #2e1a0d;
    --closed-fg: #ffab73;
    --shadow: 0 12px 32px #00000066;
  }
}

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--bg-page);
  color: var(--text-default);
  font: 400 1.125rem/1.5 "Atkinson Hyperlegible Next", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
p,
ul {
  margin: 0;
}

.header {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px;
}

.logo {
  color: var(--text-accent);
  font-size: clamp(1.375rem, 1rem + 2vw, 1.875rem);
  font-weight: 700;
  line-height: 1.1;
}

.main {
  display: grid;
  flex: 1;
  place-items: center;
  padding: 16px 16px 64px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 600px;
  padding: clamp(24px, 6vw, 48px);
  border-radius: 24px;
  background: var(--bg-surface);
  box-shadow: var(--shadow);
}

.badge {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-accent-subtle);
  color: var(--text-accent);
  font-size: 1rem;
  font-weight: 700;
}

.title {
  font-size: clamp(1.875rem, 1.25rem + 2.5vw, 2.375rem);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

.lead {
  font-size: 1.25rem;
  text-wrap: pretty;
}

.status {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
  padding: 24px 0 0;
  border-top: 1px solid var(--border-default);
  list-style: none;
}

.status-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.status-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
}

.status-icon-ok {
  background: var(--ok-bg);
  color: var(--ok-fg);
}

.status-icon-closed {
  background: var(--closed-bg);
  color: var(--closed-fg);
}

.status-icon-new {
  background: var(--bg-accent-subtle);
  color: var(--text-accent);
}

.status-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}

.status-text {
  color: var(--text-muted);
}
