/* Kittelreif website. Colours from the app icon (scripts/generate-icons.py
   in the app repo). System fonts only: the site makes no external requests. */
:root {
  --brand-top: #3a5fd0;
  --brand-bottom: #1f3a93;
  --dot: #ff5a4e;
  --on-brand: #ffffff;
  --on-brand-muted: #dfe6ff;
  --bg: #f5f7fc;
  --surface: #ffffff;
  --text: #141a2e;
  --text-muted: #525c78;
  --border: #dde3f0;
  --link: #2446a8;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0f1424;
    --surface: #171e33;
    --text: #eef1fa;
    --text-muted: #a4adc6;
    --border: #283252;
    --link: #8ea8f5;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-text-size-adjust: 100%;
}

a { color: var(--link); font-weight: 600; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: 60rem; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 42rem; }

/* Brand band at the top of every page */
.band {
  background: linear-gradient(180deg, var(--brand-top), var(--brand-bottom));
  color: var(--on-brand);
}
.band a { color: var(--on-brand); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 44px; height: 16px; flex: none; }

.hero { padding-block: 40px 64px; text-align: center; }
.hero .logo { width: 132px; height: 48px; margin-bottom: 20px; }
.hero h1 { margin: 0; font-size: clamp(40px, 9vw, 64px); line-height: 1.05; letter-spacing: -0.03em; }
.hero .tagline { margin: 12px 0 0; font-size: clamp(19px, 3.6vw, 23px); font-weight: 600; color: var(--on-brand-muted); }
.hero .lead { max-width: 36rem; margin: 20px auto 0; color: var(--on-brand-muted); text-wrap: pretty; }
.soon {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-weight: 600;
}

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 16px; padding-block: 48px 24px; }
.card { padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.card h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--text-muted); }
.note { padding-block: 8px 48px; color: var(--text-muted); text-align: center; }

/* Text pages (Datenschutz) */
.page-head { padding-block: 16px 40px; }
.eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-brand-muted); }
.page-head h1 { margin: 0; font-size: clamp(30px, 6vw, 42px); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.updated { margin: 10px 0 0; color: var(--on-brand-muted); font-size: 15px; }
article { padding-block: 16px 40px; }
article section { padding-block: 22px; border-top: 1px solid var(--border); }
article section:first-child { border-top: 0; }
article h2 { margin: 0 0 10px; font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; }
article p { margin: 0 0 12px; }
article p:last-child { margin-bottom: 0; }
.contact { margin-top: 8px; padding: 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }

footer { border-top: 1px solid var(--border); padding-block: 28px 40px; color: var(--text-muted); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
footer p { margin: 0 0 6px; }
