/* Sportclub Inwil – Coming-soon-Seite. Eigenständig: kein JavaScript, keine externen Anfragen,
   keine Cookies. Schriften (Oswald, Barlow; SIL Open Font License) liegen im Ordner fonts/. */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/oswald-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/barlow-400-latin.woff2") format("woff2");
}

:root {
  --ink: oklch(0.145 0 0);
  --paper: oklch(0.97 0 0);
  --muted: oklch(0.7 0 0);
  --accent: oklch(0.66 0.13 45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--ink);
  color: var(--paper);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  background: radial-gradient(70% 60% at 50% 42%, oklch(0.21 0 0), var(--ink) 72%);
}

.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.1rem, 3.2svh, 1.75rem);
  padding: 2rem 1.5rem;
  text-align: center;
}

.logo {
  display: block;
  width: min(62vw, 18rem, 40svh);
  height: auto;
  animation: fade 1.1s ease both;
}

.note {
  margin: 0;
  padding-top: clamp(0.9rem, 2.4svh, 1.4rem);
  position: relative;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 500;
  font-size: clamp(0.8rem, 2.4vw, 0.95rem);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  /* der Zeichenabstand hängt am letzten Buchstaben: ausgleichen, damit der Text mittig sitzt */
  margin-right: -0.26em;
  animation: fade 1.1s 0.25s ease both;
}
.note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2.5rem;
  height: 2px;
  translate: -50% 0;
  background: var(--accent);
}

.mail {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  animation: fade 1.1s 0.45s ease both;
  word-break: break-word;
}
.mail:hover {
  color: var(--paper);
  border-bottom-color: var(--accent);
}
.mail:focus-visible {
  color: var(--paper);
  outline: 3px solid var(--paper);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo,
  .note,
  .mail {
    animation: none;
  }
}
