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

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  user-select: none;
}

body {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: #000000;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

.corner-brand {
  position: fixed;
  top: 28px;
  left: 28px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.corner-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.14));
}

.corner-brand span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  max-height: 100dvh;
  overflow-y: auto;
  padding: 0 1.5rem;
}

.content h1 {
  font-size: clamp(3rem, 10vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #ffffff;
}

.content p {
  margin: 1.25rem auto 0;
  max-width: 480px;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: #9a9a9a;
  line-height: 1.5;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.25rem;
  padding: 16px 42px;
  border-radius: 18px;
  background: #ffffff;
  color: #000000;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.16);
}

.download-btn:hover,
.download-btn:focus-visible {
  transform: translateY(-2px);
  background: #e6e6e6;
  box-shadow: 0 16px 40px rgba(255, 255, 255, 0.22);
}

.download-btn:active {
  transform: translateY(0);
}

.brand {
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(0.95rem, 2.6vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #9a9a9a;
  z-index: 2;
  white-space: nowrap;
}

/* Schmale Geräte (Smartphones) */
@media (max-width: 480px) {
  .corner-brand {
    top: 16px;
    left: 16px;
    gap: 10px;
  }

  .corner-brand img {
    width: 44px;
    height: 44px;
  }

  .corner-brand span {
    font-size: 20px;
  }

  .content h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  .content p {
    margin-top: 0.9rem;
    font-size: 15px;
  }

  .download-btn {
    margin-top: 1.75rem;
    padding: 14px 26px;
    font-size: 15px;
    border-radius: 16px;
  }

  .brand {
    bottom: 3.5vh;
    font-size: 13px;
  }
}

/* Flache Bildschirme / Querformat */
@media (max-height: 500px) and (orientation: landscape) {
  .corner-brand {
    top: 10px;
    left: 10px;
    gap: 8px;
  }

  .corner-brand img {
    width: 34px;
    height: 34px;
  }

  .corner-brand span {
    font-size: 16px;
  }

  .content h1 {
    font-size: clamp(2rem, 6vh, 3.2rem);
  }

  .content p {
    margin-top: 0.7rem;
    font-size: 13px;
  }

  .download-btn {
    margin-top: 1.1rem;
    padding: 11px 22px;
    font-size: 14px;
    border-radius: 14px;
  }

  .brand {
    bottom: 2vh;
    font-size: 12px;
  }
}

/* Sehr kleine Höhen + Breiten zusammen absichern */
@media (max-width: 360px) and (max-height: 700px) {
  .content h1 {
    font-size: 2.3rem;
  }

  .download-btn {
    margin-top: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-btn {
    transition: none;
  }
}