/* 1.ki — web.1.ki Testseite. Brandquelle: 00 Kontext/Skills/03 Geschaeftswissen/Branding.md */

:root {
  --sky: #44A8DE;      /* brand-blue / Primärfarbe */
  --paper: #FFFFFF;
  --ink: #000000;
  --navy: #001023;     /* Dark-Mode-BG */
  --stone: #A6A6A6;     /* dezente/Meta-Texte */
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  min-height: 100dvh;
  font-family: Arial, "Helvetica Neue", Helvetica, system-ui, sans-serif;
  color: var(--paper);
  background-color: var(--navy);
  background-image: url("bg.jpg");
  background-image: image-set(url("bg.webp") type("image/webp"), url("bg.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.stage {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(16px, 4vw, 48px);
  padding-top: max(clamp(16px, 4vw, 48px), env(safe-area-inset-top));
  padding-bottom: max(clamp(16px, 4vw, 48px), env(safe-area-inset-bottom));
  gap: clamp(24px, 6vh, 64px);
}

.brand img {
  display: block;
  height: clamp(28px, 4vw, 40px);
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.hero {
  margin-top: auto;
  max-width: 44rem;
}

.hero h1 {
  margin: 0 0 0.6em;
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

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

.hero .lede {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.foot {
  font-size: 0.85rem;
  color: var(--stone);
  line-height: 1.6;
}

.foot p { margin: 0.2em 0; }

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

.foot a:hover,
.foot a:focus-visible {
  text-decoration: underline;
}

.foot .meta {
  opacity: 0.8;
  font-size: 0.8rem;
}

a:focus-visible,
img:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .stage { gap: 32px; }
  .hero { margin-top: 0; }
}
