/* Kandro website. Same tokens as the app so the two do not look like
   different products. */
:root {
  color-scheme: light;
  --canvas: #F5F3EE;
  --surface: #FFFFFF;
  --ink: #14150F;
  --muted: #6E7066;
  --line: #E4E2D9;
  --accent: #BBDC8E;
  --accent-deep: #3F5233;
  --accent-tint: #EFF6E3;
  --radius-card: 18px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

header.site {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand span { font-size: 19px; font-weight: 700; letter-spacing: -0.4px; }

nav.site { display: flex; gap: 18px; flex-wrap: wrap; }
nav.site a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
nav.site a:hover { color: var(--ink); }

main { padding: 56px 0 72px; }

h1 {
  font-size: clamp(34px, 7vw, 52px);
  line-height: 1.08;
  letter-spacing: -1.6px;
  font-weight: 700;
  margin: 0 0 18px;
}
h2 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  font-weight: 700;
  margin: 40px 0 12px;
}
h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; }

p { margin: 0 0 16px; }
.lead { font-size: 19px; color: var(--muted); margin-bottom: 28px; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.55; color: var(--muted); }

a { color: var(--accent-deep); }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-tint);
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 26px;
}
.status::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-deep);
}

.steps { display: grid; gap: 12px; margin: 32px 0; padding: 0; list-style: none; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.step .n {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 11px;
  background: var(--accent);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
}
.step h3 { margin: 0 0 3px; }
.step p { margin: 0; font-size: 15px; color: var(--muted); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px;
  margin: 26px 0;
}
.card.tint { background: var(--accent-tint); border-color: var(--accent); }

dl.meta { margin: 0; }
dl.meta dt { font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 14px; }
dl.meta dt:first-child { margin-top: 0; }
dl.meta dd { margin: 2px 0 0; }

ul.plain { padding-left: 20px; margin: 0 0 16px; }
ul.plain li { margin-bottom: 8px; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 30px 0 44px;
}
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; }
footer.site a { color: var(--muted); text-decoration: none; font-size: 14px; }
footer.site a:hover { color: var(--ink); }

@media (max-width: 620px) {
  main { padding: 36px 0 52px; }
  header.site { padding: 18px 0; }
  header.site .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  nav.site { gap: 14px; }
  nav.site a { font-size: 13px; }
  footer.site .wrap { flex-direction: column; gap: 6px; }
  .phone { max-width: 280px; }
}

/* Rechtstexte bleiben schmal, auch wenn der Rahmen breit ist. */
main .wrap.wide > h2,
main .wrap.wide > h3,
main .wrap.wide > p,
main .wrap.wide > ul,
main .wrap.wide > ol,
main .wrap.wide > div.card { max-width: 720px; }

/* ---- Hero with device mockup ------------------------------------------- */
.hero { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 820px) {
  .wrap.wide { max-width: 980px; }
  .hero { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
}

.phone {
  justify-self: center;
  width: 100%;
  max-width: 300px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(20, 21, 15, 0.08);
}
.phone-screen { background: var(--canvas); border-radius: 22px; padding: 18px 16px 16px; }
.phone-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.phone-date { font-size: 11px; color: var(--muted); font-weight: 600; }
.phone-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.phone-greet { font-size: 19px; font-weight: 700; letter-spacing: -0.5px; margin: 0 0 14px; }

.ring-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 16px 14px;
  text-align: center;
}
.ring-card .label { font-size: 9px; letter-spacing: 1px; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.ring-card .state { font-size: 13px; font-weight: 700; margin: 3px 0 10px; }
.ring { position: relative; width: 150px; height: 150px; margin: 0 auto; }
.ring svg { display: block; }
.ring-inner { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-value { font-size: 32px; font-weight: 700; letter-spacing: -1.2px; font-variant-numeric: tabular-nums; line-height: 1.05; }
.ring-unit { font-size: 11px; color: var(--muted); }
.ring-pill { margin-top: 6px; font-size: 10px; font-weight: 700; color: var(--accent-deep); }
.ring-foot { font-size: 10px; color: var(--muted); margin-top: 10px; font-variant-numeric: tabular-nums; }

.macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 10px; }
.macro { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 9px 8px; }
.macro .k { font-size: 9px; color: var(--muted); font-weight: 600; }
.macro .v { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
.macro .t { font-size: 8px; color: var(--muted); font-variant-numeric: tabular-nums; }
.macro .bar { height: 4px; border-radius: 4px; background: var(--line); margin-top: 6px; overflow: hidden; }
.macro .bar i { display: block; height: 100%; background: var(--accent-deep); border-radius: 4px; }

.next {
  margin-top: 10px;
  background: var(--accent-tint);
  border: 1px solid var(--accent);
  border-radius: var(--radius-card);
  padding: 12px 13px;
}
.next .k { font-size: 9px; letter-spacing: 1px; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.next .v { font-size: 15px; font-weight: 700; margin-top: 2px; }
.next .r { font-size: 10px; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }

.caption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }
