/* PhysioFit Max Luy – Coming-Soon-Seite
   Keine externen Schriften, keine externen Dienste (DSGVO-freundlich, schnell). */

:root {
  --blue: #254b9d;
  --green: #398a3d;
  --green-light: #5dc345;
  --text-soft: #55636f;
  --bg: #f6f9f7;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(24px, env(safe-area-inset-top))
    max(24px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(24px, env(safe-area-inset-left));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--blue);
  background-color: var(--bg);
  background-image:
    radial-gradient(60vmax 60vmax at 0% 0%, rgba(37, 75, 157, 0.07), transparent 70%),
    radial-gradient(60vmax 60vmax at 100% 100%, rgba(93, 195, 69, 0.10), transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.stage {
  width: 100%;
  max-width: 640px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  display: block;
  width: min(64vw, 27vh, 300px);
  min-width: 130px;
  height: auto;
  margin: 0 auto clamp(20px, 4.5vh, 40px);
}

.title {
  margin: 0;
  /* Zusätzlicher linker Abstand gleicht die nachlaufende Buchstabenspreizung aus,
     damit der Text optisch exakt mittig sitzt. */
  padding-left: 0.3em;
  font-size: clamp(1.4rem, 5.2vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--blue);
}

.rule {
  display: block;
  width: 56px;
  height: 3px;
  margin: clamp(14px, 2.6vh, 22px) 0;
  border-radius: 3px;
  background: var(--green);
  background: linear-gradient(90deg, var(--green), var(--green-light));
}

.tagline {
  margin: 0;
  font-size: clamp(1.1rem, 4.2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--green);
}

.keys {
  margin: 8px 0 0;
  font-size: clamp(0.9rem, 3.4vw, 1.05rem);
  line-height: 1.5;
  color: var(--text-soft);
}

.lead {
  margin: 22px 0 0;
  font-size: clamp(0.85rem, 3.2vw, 0.95rem);
  line-height: 1.5;
  color: var(--text-soft);
}

/* Sanfter Einstieg */
@keyframes rise {
  from {
    opacity: 0;
    -webkit-transform: translateY(12px);
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.logo,
.title,
.rule,
.lead {
  -webkit-animation: rise 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation: rise 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.title { -webkit-animation-delay: 0.15s; animation-delay: 0.15s; }
.rule  { -webkit-animation-delay: 0.25s; animation-delay: 0.25s; }
.tagline, .keys { -webkit-animation: rise 0.8s cubic-bezier(0.22,0.61,0.36,1) 0.3s both; animation: rise 0.8s cubic-bezier(0.22,0.61,0.36,1) 0.3s both; }
.lead  { -webkit-animation-delay: 0.35s; animation-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  .logo,
  .title,
  .rule,
  .lead,
  .tagline,
  .keys {
    -webkit-animation: none;
    animation: none;
  }
}

.copy {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Sehr niedrige Querformat-Displays (z. B. Handy quer):
   Logo links, Text rechts */
@media (max-height: 460px) and (orientation: landscape) {
  .stage {
    flex-direction: row;
    justify-content: center;
    text-align: left;
  }
  .logo {
    width: auto;
    height: min(72vh, 230px);
    min-width: 0;
    margin: 0 clamp(28px, 7vw, 64px) 0 0;
  }
  .copy {
    align-items: flex-start;
  }
  .title {
    padding-left: 0;
    font-size: clamp(1.2rem, 3.4vw, 1.7rem);
  }
}
