/* Ortura – Landing Page (www.ortura.eu). Eigene Datei statt <style> in der
   HTML, damit die Content-Security-Policy ohne 'unsafe-inline' auskommt. */

/* Manrope selbst gehostet (SIL OFL 1.1, fonts/OFL.txt), nur latin, 400 und 600 */
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/manrope-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/manrope-latin-600-normal.woff2") format("woff2");
}

/* Brand-Tokens (Auszug aus brand/tokens/ortura-tokens.css) */
:root {
  --nacht: #0b1e3a;
  --tiefsee: #15305c;
  --himmel: #5ba8ff;
  --papier: #f6f8fb;
  --nebel: #93a5c4;
  --font: Manrope, system-ui, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--nacht);
  color: var(--papier);
  font: 400 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
:focus-visible {
  outline: 2px solid var(--himmel);
  outline-offset: 3px;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 64px 16px;
  text-align: center;
}
.logo {
  width: clamp(200px, 30vw, 300px);
  height: auto;
  overflow: visible;
}
h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.lead {
  margin: 12px 0 0;
  font-size: 17px;
  color: var(--nebel);
}

/* Zurückhaltender Weg zur Anmeldung: gerahmt statt gefüllt, damit „Coming
   Soon“ die Hauptaussage bleibt. */
.signin {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 22px;
  border: 1px solid var(--tiefsee);
  border-radius: 10px;
  color: var(--papier);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition:
    border-color 0.15s,
    background-color 0.15s;
}
.signin:hover {
  border-color: var(--himmel);
  background-color: var(--tiefsee);
}

footer {
  padding: 24px 16px 32px;
  text-align: center;
  font-size: 13px;
  color: var(--nebel);
}
footer a {
  color: var(--nebel);
  border-radius: 4px;
}
footer a:hover {
  color: var(--papier);
}

/* ——— Das eine Bewegungsmoment: die Bildmarke zeichnet sich ——— */
.ring {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.15s forwards;
}
.dot {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.15s forwards;
}
.word {
  opacity: 0;
  animation: fade 0.6s ease-out 0.9s forwards;
}
.message {
  opacity: 0;
  transform: translateY(8px);
  animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 1.45s forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes pop {
  to {
    transform: scale(1);
  }
}
@keyframes fade {
  to {
    opacity: 1;
  }
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ring,
  .dot,
  .word,
  .message {
    animation: none;
    stroke-dashoffset: 0;
    transform: none;
    opacity: 1;
  }
}
@media (max-width: 480px) {
  main {
    gap: 32px;
  }
  h1 {
    font-size: 28px;
  }
  .lead {
    font-size: 15px;
  }
}
