/* Mobile First Styling */

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

:root {
  --bg-overlay: rgba(0, 0, 0, 0.55);
  --text-main: #ffffff;
  --text-muted: #e0e0e0;
  --accent: #f5f5f5;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-image: url("../images/LandingLogo.jpg");
  /* Bildhoehe folgt immer der Hoehe des Browserfensters; Breite proportional */
  background-size: auto 100vh;
  background-size: auto 100dvh;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

/* Dunkle Overlay-Schicht über dem Bild */
.overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  z-index: 0;
}

/* Inhalt zentrieren */
.content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2.5rem 1.5rem 13rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Headlines */
.headline {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.subline {
  margin: 0 0 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Footer dauerhaft am unteren Fensterrand */
.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  padding: 0 1.5rem 1.25rem;
  text-align: center;
}

/* Countdown Layout */
.countdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 420px;
  margin: 0 auto 0.75rem;
}

.time-box {
  padding: 0.9rem 0.8rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.3);
}

.time-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.time-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

/* Info-Text unter dem Countdown */
.info-message {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Tablet + Desktop Anpassungen */
@media (min-width: 768px) {
  .content {
    padding: 3rem 2rem 9rem;
  }

  .site-footer {
    padding: 0 2rem 1.5rem;
  }

  .headline {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
  }

  .subline {
    font-size: 1.05rem;
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .time-box {
    padding: 1.1rem 0.9rem;
  }

  .time-number {
    font-size: 2.1rem;
  }
}