/* unsaid – Ankündigungsseite */
:root {
  --white: #ffffff;
  --dim: rgba(255, 255, 255, 0.72);
  --shade: rgba(8, 10, 14, 0.58);   /* Abdunklung über dem Foto */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--white);
  background: #0b0d11;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 1px solid var(--white); outline-offset: 3px; }

/* ---------- Hintergrund ---------- */
.bg { position: fixed; inset: 0; overflow: hidden; z-index: 0; }
.bg::before {
  content: ""; position: absolute; inset: -40px;
  background: url(assets/foto-laufen.jpg) center / cover no-repeat;
  filter: blur(7px) saturate(0);
  animation: drift 28s ease-in-out infinite alternate;
}
/* Abdunklung. Um den Zeiger herum (--x, --y, --r aus effekte.js) ist sie schwächer
   und bekommt einen hellen Schein: das Licht am Cursor. */
.bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle var(--r, 0px) at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 70%),
    radial-gradient(circle var(--r, 0px) at var(--x, 50%) var(--y, 50%), rgba(8, 10, 14, 0.30), var(--shade) 100%);
}
@keyframes drift {
  from { transform: scale(1.04) translateX(-1.5%); }
  to   { transform: scale(1.12) translateX(1.5%); }
}

/* ---------- Inhalt ---------- */
.screen {
  position: relative; z-index: 1;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 40px 20px;
  text-align: center;
}
.box { width: min(420px, 100%); display: grid; justify-items: center; }
.logo img { display: block; height: 31px; width: auto; }
h1 {
  margin-top: 36px;
  font-size: 22px; line-height: 1.15; font-weight: 500; letter-spacing: 0;
}
.copy { margin-top: 16px; display: grid; gap: 4px; color: var(--dim); }
.slogan { color: var(--white); }
.lead {
  margin-top: 40px;
  font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim);
}

form { margin-top: 18px; width: min(330px, 100%); text-align: left; }
.row { display: flex; gap: 16px; align-items: flex-end; }
input[type="email"] {
  flex: 1; min-width: 0;
  font: inherit; font-size: 14px; color: var(--white);
  background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.6); border-radius: 0;
  padding: 8px 0;
}
input[type="email"]::placeholder { color: var(--dim); }
input[type="email"]:focus { outline: none; border-bottom-width: 2px; padding-bottom: 7px; }
button {
  font: inherit; font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white); background: none;
  border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 0;
  padding: 12px 20px; cursor: pointer; white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
button:hover { background: var(--white); border-color: var(--white); color: #0b0d11; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 11px; color: var(--dim); }
.agree input { width: 14px; height: 14px; margin-top: 1px; accent-color: var(--white); flex: none; }
.agree a { text-decoration: underline; }
.msg { min-height: 1.5em; margin-top: 12px; font-size: 12px; text-align: center; }

.links { margin-top: 30px; font-size: 11px; display: flex; gap: 14px; color: var(--dim); }
.links a { color: var(--dim); }
.links a:hover { color: var(--white); }

/* ---------- Rechtliches ---------- */
.legal { text-align: left; place-items: start center; padding-top: 70px; }
.legal .box { width: min(560px, 100%); justify-items: start; }
.legal h1 { font-size: 20px; }
.legal .links { margin-top: 40px; }
.legal h2 { margin-top: 34px; font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.legal p { margin-top: 6px; color: var(--dim); }
.legal h3 { margin-top: 18px; font-size: 13px; font-weight: 500; }
.legal p a { text-decoration: underline; }

/* ---------- Logo-Auftakt beim Laden ---------- */
.intro { display: none; }
.intro-on .intro {
  position: fixed; inset: 0; z-index: 10;
  display: grid; place-items: center;
  background: #0b0d11;
  transition: background-color 0.9s ease;
}
.intro-on .intro img {
  width: min(60vw, 420px); height: auto;
  clip-path: inset(0 100% 0 0);
  animation: aufziehen 1s cubic-bezier(0.7, 0, 0.2, 1) 0.2s forwards;
  transition: transform 0.9s cubic-bezier(0.7, 0, 0.2, 1);
  will-change: transform;
}
.intro-on .intro.geht { background-color: rgba(11, 13, 17, 0); }
@keyframes aufziehen { to { clip-path: inset(0 0 0 0); } }

.intro-on .box > * { opacity: 0; }
.intro-done .box > *:not(.logo) { animation: herein 0.8s ease both; }
.intro-done .box > *:nth-child(2) { animation-delay: 0.05s; }
.intro-done .box > *:nth-child(3) { animation-delay: 0.18s; }
.intro-done .box > *:nth-child(4) { animation-delay: 0.31s; }
.intro-done .box > *:nth-child(5) { animation-delay: 0.44s; }
.intro-done .box > *:nth-child(6) { animation-delay: 0.57s; }
@keyframes herein { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 420px) {
  h1 { font-size: 21px; }
  .row { flex-direction: column; align-items: stretch; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .bg::before { animation: none; }
  button { transition: none; }
}
