#welcome-screen {
  background: url("../images/virus-bg.jpg") center/cover no-repeat fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

:root {
  --bg1: #2a0d3a;
  --bg2: #1a0a26;
  --panel: #ffffff;
  --ink: #1b0f24;
  --pink: #f3a6d6;
  --cyan: #49e2f2;
  --lav: #ffbdfc;
  --card: #22072e;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Balthazar', serif;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #f6eafb;
  background: radial-gradient(1100px at 50% -10%, #4f1c76, var(--bg2)) fixed;
  overflow-x: hidden;
}

h1, h2, h3 {
  margin: 0;
  font-family: 'Bangers', cursive;
  letter-spacing: 0.05em;
}

.screen {
  min-height: 100vh;
  position: relative;
  padding: 2rem 1rem;
}

.hidden {
  display: none;
}

.title-banner {
  max-width: 980px;
  margin: 3rem auto 2rem;
  background: rgba(18, 0, 35, 0.72);
  border-radius: 28px;
  padding: 1.5rem 2rem;
  backdrop-filter: blur(2px);
  text-align: center;
}

.title-banner h1 {
  letter-spacing: 0.06em;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: #ff9ffb;
}

.welcome-box {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(25, 0, 45, 0.78);
  border-radius: 28px;
  padding: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
  box-shadow: 0 0 40px rgba(255, 0, 255, 0.18);
}

.welcome-box h2 {
  color: #e9b5ff;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.welcome-box p {
  line-height: 1.65;
  max-width: 900px;
  margin: 0 auto 1.25rem;
}

.cta {
  background: var(--pink);
  color: #2a0030;
  border: 0;
  border-radius: 10px;
  padding: 0.9rem 2.2rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s;
}

.cta:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* Tracker */
.tracker-header {
  text-align: center;
  margin: 1rem 0 1.25rem;
}

.tracker-title {
  color: #ff9ffb;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  font-family: 'Bangers', cursive;
  text-transform: uppercase;
}

.button-group {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.time-btn {
  background: var(--pink);
  color: #2a0030;
  border: 0;
  cursor: pointer;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.time-btn.active {
  background: var(--cyan);
  color: #0d0723;
}

.time-btn:hover {
  transform: translateY(-1px);
}

/* Chart Card */
.chart-card {
  position: relative;
  width: min(920px, 90vw);
  margin: 2rem auto 3.2rem;
  background: #fff;
  color: #000;
  border-radius: 26px;
  padding: 1.5rem 1rem 2.4rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Achsenbeschriftungen */
.axis-y {
  position: absolute;
  top: -25px;
  left: 35px;
  font-style: italic;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.axis-x {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-style: italic;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

/* Abstand der Risikoanzeige präzise anpassen */
#tracker-screen .risk-wrap {
  text-align: center;
  margin-top: 0.3rem !important;
  margin-bottom: 0.8rem !important;
}

#tracker-screen .risk-title {
  font-size: clamp(1.4rem, 4.6vw, 2.2rem);
  color: #aef6ff;
  letter-spacing: 0.04em;
  margin-top: 0.2rem !important;
  margin-bottom: 0.15rem !important;
}

#tracker-screen .risk-legend {
  opacity: 0.9;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  margin-top: 0.1rem !important;
}


/* Fazit */
.fazit {
  position: relative;
  width: min(980px, 92vw);
  margin: 0 auto 3rem;
  background: rgba(25, 0, 45, 0.82);
  border-radius: 26px;
  padding: 1.25rem 1.25rem 1.6rem;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.fazit h3 {
  color: #e7b0ff;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin-bottom: 0.5rem;
}

.fazit p {
  line-height: 1.65;
  margin: 0 auto;
  max-width: 860px;
}

