/* Platzhalterseite: Farben und Schrift wie das Design „Flutlicht“ der neuen Seite */
@font-face {
  font-family: "Barlow Condensed";
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url(/schrift/barlow-condensed-800-kursiv.woff2) format("woff2");
}

:root {
  color-scheme: dark;
  --grund: #07080c;
  --text: #e3e6ee;
  --gruen: #a6ff3d;
  --pink: #ff2e88;
  --eis: #3df0ff;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--grund);
  color: var(--text);
  font: 400 1.0625rem/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--eis);
  outline-offset: 3px;
}

/* ── Startseite ── */
.start {
  /* Abdunklung liegt über dem Foto, damit der Text immer lesbar bleibt */
  background:
    linear-gradient(rgb(7 8 12 / 0.62), rgb(7 8 12 / 0.8)),
    url(/bilder/lichter-klein.webp) center / cover no-repeat var(--grund);
  text-align: center;
}

@media (min-width: 56rem) {
  .start {
    background-image:
      linear-gradient(rgb(7 8 12 / 0.55), rgb(7 8 12 / 0.78)),
      url(/bilder/lichter.webp);
  }
}

.start main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem 1.5rem;
}

.logo {
  width: min(58vw, 17rem);
  height: auto;
  border-radius: 50%;
  box-shadow:
    0 0 0 3px rgb(255 255 255 / 0.85),
    0 0 38px rgb(166 255 61 / 0.55),
    0 0 90px rgb(255 46 136 / 0.5);
}

.verein {
  margin: 1.75rem 0 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
}

h1 {
  margin: 0.5rem 0 0;
  /* Platz für die Schräglage, sonst schneidet der Verlauf den letzten Buchstaben ab */
  padding: 0 0.12em;
  font: italic 800 clamp(2.75rem, 11vw, 6rem) / 0.95 "Barlow Condensed", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--gruen), var(--eis));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgb(166 255 61 / 0.45));
}

.text {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1.0625rem, 2.6vw, 1.3125rem);
  text-shadow: 0 1px 12px rgb(0 0 0 / 0.9);
}

.text strong {
  color: #fff;
  white-space: nowrap;
}

.text.klein {
  margin-top: 0.75rem;
  font-size: 1rem;
}

.knopf {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.6rem;
  border: 2px solid var(--pink);
  border-radius: 999px;
  background: rgb(7 8 12 / 0.6);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 22px rgb(255 46 136 / 0.55);
}

.knopf:hover {
  background: var(--pink);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  padding: 1.25rem;
  font-size: 0.875rem;
}

/* ── Countdown to the launch of the new site (countdown.js) ── */
.launch,
.launched-note {
  margin-top: 1.75rem;
}

.launch-date {
  margin: 0;
  font-size: clamp(1rem, 2.4vw, 1.1875rem);
  text-shadow: 0 1px 12px rgb(0 0 0 / 0.9);
}

.launch-date strong {
  color: #fff;
}

.countdown:not([hidden]) {
  display: flex;
  justify-content: center;
  gap: clamp(0.5rem, 2.5vw, 1rem);
  margin-top: 0.9rem;
}

.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(4.1rem, 19vw, 6.5rem);
  padding: 0.55rem 0.4rem 0.5rem;
  border: 2px solid rgb(166 255 61 / 0.55);
  border-radius: 0.9rem;
  background: rgb(7 8 12 / 0.65);
  box-shadow:
    0 0 18px rgb(166 255 61 / 0.25),
    inset 0 0 14px rgb(61 240 255 / 0.12);
}

.unit:last-child {
  border-color: rgb(255 46 136 / 0.75);
  box-shadow:
    0 0 20px rgb(255 46 136 / 0.4),
    inset 0 0 14px rgb(255 46 136 / 0.15);
}

.unit b {
  display: block;
  /* room for the slant, as in h1 */
  padding: 0 0.1em;
  font: italic 800 clamp(2.4rem, 9vw, 4rem) / 1 "Barlow Condensed", "Arial Narrow", sans-serif;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, var(--gruen), var(--eis));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.unit:last-child b {
  background-image: linear-gradient(90deg, var(--pink), #ff9ad0);
}

.unit small {
  margin-top: 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.75);
}

/* each change of a number jumps in briefly */
.unit b.tick {
  animation: tick 0.45s ease-out;
}

@keyframes tick {
  from {
    transform: translateY(-0.18em) scale(1.08);
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .unit b.tick {
    animation: none;
  }
}

/* from 18:00 on 24 October: note and reload link instead of the countdown */
.launched-note,
.launched .launch,
.launched .until-launch {
  display: none;
}

.launched .launched-note {
  display: block;
}

.launched-note .knopf {
  margin-top: 0.9rem;
  border-color: var(--gruen);
  box-shadow: 0 0 22px rgb(166 255 61 / 0.55);
}

/* ── Impressum und Datenschutz ── */
.recht main {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.recht h1 {
  display: inline-block;
  padding-left: 0;
  font-size: clamp(2.5rem, 9vw, 4.25rem);
}

.recht h2 {
  margin: 2.25rem 0 0.5rem;
  font-size: 1.3125rem;
  color: #fff;
}

.recht p {
  margin: 0.75rem 0 0;
}

.recht main a {
  color: var(--gruen);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.zurueck {
  display: inline-block;
  margin-bottom: 1.5rem;
}
