/* vivekaweb · Design-Tokens (Rebranding)
   Farben aus der Bildwelt «Über dem Nebel»: Nachthimmel, Morgenblau, kühles Nebelweiss.
   Akzent ist allein das Schillern der Seifenblase. Siehe design-plan.md. */

@font-face {
  font-family: "Albert Sans";
  src: url("../fonts/albert-sans-vf.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Himmel */
  --night: #07111f;
  --ink: #0c1a2e;
  --ink-2: #132743;
  --sky: #1c487b;
  --sky-hell: #8ec5ff;

  /* Nebel */
  --fog: #f3f5f7;
  --fog-2: #e8ecf0;
  --line: #d6dce3;
  --white: #fcfdfe;

  /* Text */
  --text: #0c1a2e;
  --text-2: #3a4656;
  --text-3: #586373;
  --on-dark: #f2f5f8;
  --on-dark-2: rgb(242 245 248 / 0.8);
  --on-dark-3: rgb(242 245 248 / 0.64);

  /* Schillern der Blase */
  --iris: conic-gradient(from 210deg, #8ec5ff, #b79cff, #ff9fc7, #ffd08a, #9fe8d2, #8ec5ff);

  /* Schrift */
  --font: "Albert Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(2.5rem, 1.2rem + 3.5vw, 4.75rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.2vw, 3.25rem);
  --fs-h3: clamp(1.125rem, 1.02rem + 0.4vw, 1.375rem);
  --fs-lead: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-micro: 0.8125rem;
  --track-display: -0.035em;
  --track-head: -0.028em;

  /* Abstand */
  --section: clamp(5rem, 3rem + 6.5vw, 9rem);
  --gutter: clamp(1.25rem, 0.6rem + 2.6vw, 2.5rem);
  --max: 1180px;

  /* Form */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Bewegung: eine langsame Kurve für den einen Moment, eine kurze für Antworten */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-mid: 360ms;
}
