@font-face { font-family: "Geist"; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/geist.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/geist-mono.woff2") format("woff2"); }

/* Design tokens mirror Klasoro (kursplattform/src/app/globals.css). */
:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --surface-2: #f7f6f3;
  --muted: #f1f0ec;
  --hover: #f4f3f0;
  --line: #e6e4df;
  --line-soft: #f0eeea;
  --line-strong: #e2e0da;
  --line-hover: #d3d0c8;
  --ink: #1f1e1c;
  --ink-3: #3d3a35;
  --ink-5: #55524c;
  --ink-6: #6b6862;
  --ink-8: #8a877f;
  --primary: #5b55e6;
  --primary-hover: #4a44d4;
  --accent: #eeedfc;
  --accent-fg: #4741c9;
  --ring: #8e89ee;
  --dark: #141413;
  --dark-2: #1f1e1b;
  --dark-line: #3a3833;
  --ok-bg: #e6f4ec;
  --ok-fg: #1e6b44;
  --warn-bg: #fdf3e2;
  --warn-fg: #8a5300;
  --danger-bg: #fcebe9;
  --danger-fg: #a8322a;
  --shadow-xs: 0 1px 2px rgba(28, 25, 20, 0.06);
  --shadow-primary: 0 1px 2px rgba(40, 30, 120, 0.18);
  --shadow-hero: 0 24px 64px rgba(28, 25, 20, 0.18);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
}
a { color: var(--accent-fg); text-decoration: none; }
a:hover { color: #36319f; }
button { font: inherit; color: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
input:focus-visible { outline: none; border-color: var(--ring) !important; box-shadow: 0 0 0 3px rgba(91, 85, 230, 0.16); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tr { transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, filter .15s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.fade { animation: fade-in .25s ease-out both; }

/* Brand */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; letter-spacing: -0.02em; font-size: 16px; }
.logo:hover { color: var(--ink); }
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-8); letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; }
.mark { width: 30px; height: 30px; display: block; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px; font-weight: 500; font-size: 15px; border: 1px solid transparent; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { height: 52px; padding: 0 22px; border-radius: 12px; font-size: 16px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--hover); border-color: var(--line-hover); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #33312d; color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Cards & surfaces */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.eyebrow { font-size: 13px; font-weight: 500; color: var(--primary); letter-spacing: .02em; }
.lead { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink-3); max-width: 540px; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 600; }
h1 { font-size: clamp(36px, 7vw, 52px); line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
h2 { font-size: clamp(26px, 4.5vw, 32px); letter-spacing: -0.025em; line-height: 1.15; }

/* Inputs */
.input { width: 100%; height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; }
.input::placeholder { color: var(--ink-8); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: currentColor; opacity: .8; }
.badge.ok { background: var(--ok-bg); color: var(--ok-fg); }
.badge.warn { background: var(--warn-bg); color: var(--warn-fg); }
.badge.danger { background: var(--danger-bg); color: var(--danger-fg); }
.badge.pro { background: var(--accent); color: var(--accent-fg); }
.badge.neutral { background: var(--muted); color: var(--ink-5); }

/* Simple content pages (Impressum, Datenschutz, Bestätigung) */
.page-header { border-bottom: 1px solid #eceae5; background: var(--surface); }
.page-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.prose { max-width: 680px; margin: 0 auto; padding: 48px 24px 80px; }
.prose h1 { font-size: 32px; letter-spacing: -0.025em; margin-bottom: 20px; }
.prose h2 { font-size: 18px; letter-spacing: -0.01em; margin: 32px 0 8px; }
.prose p { color: var(--ink-3); margin: 0 0 12px; }
.center-page { min-height: calc(100vh - 65px); display: grid; place-items: center; padding: 40px 24px; }
.center-card { max-width: 460px; width: 100%; padding: 36px 28px; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.center-card h1 { font-size: 28px; letter-spacing: -0.025em; }
.center-card p { margin: 0; color: var(--ink-5); }
.site-footer { border-top: 1px solid #eceae5; padding: 28px 0 40px; font-size: 13px; color: var(--ink-6); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-5); }
.site-footer a:hover { color: var(--ink); }
