/* qanteen.de: landing page and Impressum. Brand colours from brand/README.md; system fonts (no external requests). */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --surface: #ffffff;
  --text: #0f172b;
  --text-2: #45556c;
  --text-3: #62748e;
  --line: #e2e8f0;
  --accent: #4f39f6;
  --accent-hover: #432dd7;
  --accent-soft: #eef2ff;
  --accent-text: #432dd7;
  --on-accent: #ffffff;
  --ok: #007a55;
  --ok-soft: #ecfdf5;
  --glow: rgb(79 57 246 / 0.12);
  --shadow: 0 1px 2px rgb(15 23 43 / 0.04), 0 12px 32px -8px rgb(15 23 43 / 0.14);
  --radius: 16px;
  --max: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #020618;
    --bg-soft: #0a1022;
    --surface: #0f172b;
    --text: #f1f5f9;
    --text-2: #cad5e2;
    --text-3: #90a1b9;
    --line: #1d293d;
    --accent: #7c86ff;
    --accent-hover: #a3b3ff;
    --accent-soft: rgb(124 134 255 / 0.14);
    --accent-text: #a3b3ff;
    --on-accent: #0f172b;
    --ok: #00d492;
    --ok-soft: rgb(0 212 146 / 0.12);
    --glow: rgb(124 134 255 / 0.16);
    --shadow: 0 0 0 1px #1d293d;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

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

img,
svg {
  display: block;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
}

.skip:focus {
  top: 12px;
}

.i {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}

.logo img {
  height: 28px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

.nav a:not(.btn) {
  color: var(--text-2);
  text-decoration: none;
}

.nav a:not(.btn):hover {
  color: var(--text);
}

@media (max-width: 760px) {
  .nav a:not(.btn) {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn .i {
  width: 18px;
  height: 18px;
}

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--text-3);
}

.btn-white {
  background: #ffffff;
  color: #432dd7;
}

.btn-white:hover {
  background: #eef2ff;
}

.btn-white:focus-visible {
  outline-color: #ffffff;
}

/* Hero */
.hero {
  padding: 88px 0 64px;
  background: radial-gradient(56rem 30rem at 15% -10%, var(--glow), transparent 70%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 600;
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.25rem, 1.4rem + 3vw, 3.25rem);
  font-weight: 750;
}

.hero h1 span {
  color: var(--accent);
}

.lead {
  max-width: 34em;
  margin-top: 20px;
  color: var(--text-2);
  font-size: 1.125rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-3);
  font-size: 14px;
}

.facts li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.facts .i {
  width: 16px;
  height: 16px;
  color: var(--ok);
}

/* Product preview (an illustration, not live data) */
.preview {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.preview-title {
  font-weight: 650;
}

.preview-sub {
  color: var(--text-3);
  font-size: 13px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.timeline {
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}

.timeline li:last-child {
  border-bottom: 0;
}

.dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
}

.dot .i {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.dot.now {
  background: var(--accent-soft);
  color: var(--accent);
}

.dot.now::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
}

.dot.next {
  border: 2px dashed var(--line);
  background: transparent;
}

.val {
  color: var(--text-3);
  font-size: 13px;
  text-align: right;
}

.bar {
  height: 8px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
}

.bar span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #7f22fe);
}

.bar-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: var(--text-3);
  font-size: 13px;
}

/* Sections */
.section {
  padding: 96px 0;
}

.section.soft {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.section-head {
  max-width: 44rem;
  margin-bottom: 48px;
}

.kicker {
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 650;
}

.section h2 {
  margin-top: 8px;
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  font-weight: 720;
}

.section-head p {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 1.0625rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.card h3 {
  margin-top: 20px;
  font-size: 1.125rem;
  font-weight: 650;
}

.card p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15px;
}

/* Flow: one month with Qanteen */
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.flow li {
  position: relative;
  padding-top: 64px;
  counter-increment: step;
}

.flow li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}

.flow li::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 56px;
  right: -12px;
  height: 2px;
  background: var(--line);
}

.flow li:last-child::after {
  display: none;
}

.flow h3 {
  font-size: 1.125rem;
  font-weight: 650;
}

.flow p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15px;
}

/* Security */
.trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.trust .i {
  margin-top: 3px;
  color: var(--accent);
}

.trust strong {
  display: block;
  font-weight: 650;
}

.trust span {
  color: var(--text-2);
  font-size: 15px;
}

/* Access: the four applications and where they are */
.access {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.access .card {
  display: flex;
  flex-direction: column;
}

.access-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.access-head h3 {
  margin-top: 0;
}

.access .addr {
  margin-top: 0;
  color: var(--accent-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.access .card > p {
  margin-top: 16px;
}

.access .card > p.how {
  margin-top: 10px;
  color: var(--text-3);
  font-size: 14px;
}

.how strong {
  color: var(--text-2);
  font-weight: 600;
}

.access-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: auto;
  padding-top: 24px;
}

.link {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.more {
  margin-top: 28px;
  color: var(--text-3);
  font-size: 14px;
}

/* Call to action */
.cta {
  padding: 96px 0;
}

.cta-box {
  padding: 56px;
  border-radius: 24px;
  background: linear-gradient(135deg, #4f39f6, #432dd7 55%, #5d0ec0);
  color: #ffffff;
}

.cta-box h2 {
  max-width: 22em;
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem);
  font-weight: 720;
}

.cta-box p {
  max-width: 38em;
  margin-top: 16px;
  color: #e0e7ff;
  font-size: 1.0625rem;
}

.cta-box .actions {
  align-items: center;
}

.cta-box .mail {
  color: #e0e7ff;
  font-size: 15px;
}

/* Footer */
.foot {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 14px;
}

.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.foot-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.foot-brand img {
  height: 22px;
  width: auto;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.foot a {
  color: var(--text-2);
  text-decoration: none;
}

.foot a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* Text pages (Impressum, 404) */
.page {
  padding: 72px 0 96px;
}

.prose {
  max-width: 44rem;
}

.prose h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  font-weight: 750;
}

.prose .intro {
  margin-top: 12px;
  color: var(--text-2);
}

.prose h2 {
  margin-top: 40px;
  font-size: 1.125rem;
  font-weight: 650;
}

.prose p,
.prose address {
  margin-top: 8px;
  color: var(--text-2);
  font-style: normal;
}

.prose .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  font-weight: 600;
  text-decoration: none;
}

.prose .back .i {
  transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 960px) {
  .hero {
    padding: 56px 0 72px;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }

  .flow li::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .cta {
    padding: 72px 0;
  }

  .grid,
  .flow,
  .trust,
  .access {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 24px;
  }

  .cta-box {
    padding: 36px 24px;
    border-radius: 20px;
  }

  .preview {
    padding: 18px;
  }

  .timeline li {
    grid-template-columns: 28px 1fr;
    row-gap: 0;
  }

  .timeline .val {
    grid-column: 2;
    text-align: left;
  }
}
