/* ShiftCharter – „Coming soon“ (shiftcharter.com). Farben und Animation aus dem Homepage-Paket. */
@font-face { font-family: "Inter"; src: url("../fonts/inter-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-extrabold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --navy: #12233D;
  --navy-900: #0B1626;
  --petrol: #0F766E;
  --teal: #0D9488;
  --teal-300: #5EEAD4;
  --ink: #E8EEF5;
  --ink-2: #A9B6C7;
  --ink-3: #7F8EA3;
  --line: rgba(255, 255, 255, 0.10);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; min-height: 100svh; display: flex; flex-direction: column;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--navy-900); color: var(--ink); line-height: 1.6; overflow-x: clip;
}
a { color: var(--teal-300); text-decoration: none; }
a:hover { color: #99F6E4; }
:focus-visible { outline: 2px solid var(--teal-300); outline-offset: 3px; border-radius: 6px; }

/* Aurora-Hintergrund + Körnung */
#aurora { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; }
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

main { flex: 1; display: grid; place-items: center; padding: 48px 16px; text-align: center; }
.soon { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 760px; }
.soon-logo { width: min(640px, 88vw); height: auto; }
h1 { font-size: clamp(22px, 3vw, 34px); line-height: 1.2; letter-spacing: .32em; text-transform: uppercase; font-weight: 300; color: var(--ink-2); margin: 0; padding-left: .32em; }

/* „Coming soon“ erscheint nach der Logo-Animation */
.after { opacity: 0; translate: 0 14px; animation: rise .8s 4.6s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; translate: 0 0; } }


/* Logo-Animation (wie im Homepage-Paket) */
.logo-anim .ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ring 2s 1.1s cubic-bezier(.65,0,.35,1) forwards; }
.logo-anim .arrow { opacity: 0; animation: pop .35s 3.05s var(--ease) forwards; transform-box: fill-box; transform-origin: center; }
.logo-anim .hands { transform-box: view-box; transform-origin: 160px 160px; }
.logo-anim .hand-m { animation: spinM 3.1s cubic-bezier(.4,0,.2,1) forwards, tick 9s 6s steps(12) infinite; transform-origin: 160px 160px; transform-box: view-box; }
.logo-anim .hand-h { animation: spinH 3.1s cubic-bezier(.4,0,.2,1) forwards; transform-origin: 160px 160px; transform-box: view-box; }
.logo-anim .mark { animation: slideMark .9s 3.4s cubic-bezier(.65,0,.35,1) both; }
.logo-anim .word { clip-path: inset(0 100% 0 0); animation: reveal .9s 3.55s cubic-bezier(.65,0,.35,1) forwards; }
.logo-anim .idot { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: dot .45s 4.4s cubic-bezier(.34,1.8,.64,1) forwards; }
@keyframes ring { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes spinM { from { transform: rotate(-1800deg); } to { transform: rotate(0deg); } }
@keyframes spinH { from { transform: rotate(-360deg); } to { transform: rotate(0deg); } }
@keyframes tick { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes slideMark { from { transform: translateX(320px); } to { transform: translateX(0); } }
@keyframes reveal { to { clip-path: inset(0 0 0 0); } }
@keyframes dot { to { transform: scale(1); } }

/* Weniger Bewegung: alles sofort sichtbar, nichts dreht */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; animation-delay: 0s !important; }
  .logo-anim .ring { stroke-dashoffset: 0; }
  .logo-anim .arrow, .logo-anim .idot { opacity: 1; transform: none; }
  .logo-anim .word { clip-path: none; }
  .logo-anim .mark, .logo-anim .hand-m, .logo-anim .hand-h { transform: none; animation: none !important; }
  .after { opacity: 1; translate: 0 0; }
}
