:root {
  --bg: #0f172a;
  --panel: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #22c55e;
  --accent-soft: #16a34a;
  --warn: #f59e0b;
  --danger: #ef4444;
}

* {
  box-sizing: border-box;
}

.hero-clock {
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3 {
  margin-top: 0;
  font-weight: 600;
}

p {
  margin: 0.5rem 0;
}

button {
  background: var(--accent);
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  color: #052e16;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

button:active {
  transform: scale(0.97);
}

button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button:hover {
  opacity: 0.9;
}

button.finish {
  background: var(--warn);
  color: #451a03;
}

textarea {
  width: 100%;
  min-height: 180px;
  background: #020617;
  color: var(--text);
  border: 1px solid #1f2937;
  border-radius: 10px;
  padding: 1rem;
  resize: vertical;
  font-size: 1rem;
}

textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* Startseite */
.start {
  max-width: 600px;
  margin: 10vh auto;
  background: var(--panel);
  padding: 3rem;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  text-align: center;
}

.instructions {
  max-width: 700px;
  margin: 1rem auto 0.5rem;
  background: var(--panel);
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  font-size: 0.8rem;
}

.instructions h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.instructions ol {
  margin: 0;
  padding-left: 1.3rem;
}

.instructions li {
  margin-bottom: 0.4rem;
}

/* =========================
   Mobile Optimierung
   ========================= */

@media (max-width: 768px) {

  body {
    font-size: 16px;
  }

  .start {
    margin: 8vh 1rem;
    padding: 2rem 1.5rem;
  }

  button {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }

  textarea {
    min-height: 220px;
    font-size: 1rem;
  }
}
