@font-face {
  font-family: "Unbounded";
  src: url("fonts/unbounded-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #070a24;
  --paper: #f5f7ff;
  --spark: #ffc94d;
  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 5vw, 72px);
}

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

html { background: #0b1040; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--paper);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  background: linear-gradient(180deg, #0b1040 0%, #1b1a5c 45%, #4a2a7a 100%) fixed;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 46rem;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 24px) var(--pad) calc(env(safe-area-inset-bottom, 0px) + 48px);
}

.home {
  display: inline-block;
  padding: 0.5rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: var(--paper);
  text-decoration: none;
}
.home span {
  margin-left: 0.08em;
  font-size: 0.6em;
  letter-spacing: -0.02em;
  color: var(--spark);
}

h1 {
  margin: 2rem 0 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 7vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
h2 {
  margin: 2.2rem 0 0.4rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
p { max-width: 62ch; margin: 0.6rem 0; }

a { color: var(--spark); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; border-radius: 4px; }
.home:hover { text-decoration: none; }

.intro { opacity: 0.88; }

/* Stellen, die noch ausgefüllt werden müssen */
mark.todo {
  padding: 0.05em 0.4em;
  border: 1px dashed rgba(255, 201, 77, 0.7);
  border-radius: 6px;
  background: rgba(255, 201, 77, 0.16);
  color: var(--spark);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(245, 247, 255, 0.16);
  font-size: 0.95rem;
}

.stand { margin-top: 2.2rem; font-size: 0.9rem; opacity: 0.7; }

@media print {
  html, body { background: #fff; }
  body { color: #111; }
  a, .home span { color: #111; }
  mark.todo { border-color: #999; background: none; color: #111; }
  .foot { display: none; }
}
