/* Sandbox — schlichte Stile in den Farben des Future Lab */
:root {
  --abyss: #0b1514;
  --ink: #10201f;
  --teal: #1c5057;
  --teal-light: #2a7a84;
  --sand: #f4efe6;
  --coral: #e8643f;
}

* { box-sizing: border-box; }

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

.hero {
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  background: radial-gradient(ellipse at top, var(--ink), var(--abyss));
  border-bottom: 1px solid rgba(42, 122, 132, 0.35);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--teal-light);
  margin: 0 0 0.5rem;
}

.hero h1 {
  margin: 0;
  font-size: 3rem;
  letter-spacing: -0.02em;
}

.tagline {
  color: rgba(244, 239, 230, 0.7);
  max-width: 34rem;
  margin: 0.75rem auto 0;
}

#theme-toggle {
  margin-top: 1.5rem;
  padding: 0.5rem 1.25rem;
  font: inherit;
  font-size: 0.85rem;
  color: var(--sand);
  background: transparent;
  border: 1px solid var(--teal-light);
  border-radius: 999px;
  cursor: pointer;
}

#theme-toggle:hover {
  background: rgba(42, 122, 132, 0.2);
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

section { margin-top: 2.5rem; }

h2 {
  font-size: 1.15rem;
  color: var(--teal-light);
  border-bottom: 1px solid rgba(42, 122, 132, 0.25);
  padding-bottom: 0.4rem;
}

.feature-list li { margin-bottom: 0.4rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  background: var(--ink);
  border: 1px solid rgba(42, 122, 132, 0.35);
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--sand);
}

.card p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: rgba(244, 239, 230, 0.7);
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  font-size: 0.75rem;
  color: var(--sand);
  border: 1px solid var(--teal-light);
  border-radius: 999px;
}

.clock {
  font-family: ui-monospace, "Cascadia Mono", monospace;
  font-size: 2.5rem;
  color: var(--coral);
  text-align: center;
  margin: 1rem 0;
}

footer {
  border-top: 1px solid rgba(42, 122, 132, 0.25);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(244, 239, 230, 0.45);
}

.impressum {
  margin-top: 0.4rem;
  opacity: 0.8;
}

/* Hellmodus: dieselben Variablennamen mit vertauschten Werten,
   dazu die wenigen hart kodierten Farben, die keiner Variable folgen. */
body[data-theme="light"] {
  --abyss: #f4efe6;
  --ink: #e6ddc9;
  --teal-light: #1c5057;
  --sand: #10201f;
  --coral: #c94a2b;
}

body[data-theme="light"] .hero {
  border-bottom-color: rgba(28, 80, 87, 0.35);
}

body[data-theme="light"] .card {
  border-color: rgba(28, 80, 87, 0.35);
}

body[data-theme="light"] .tagline {
  color: rgba(16, 32, 31, 0.7);
}

body[data-theme="light"] .card p {
  color: rgba(16, 32, 31, 0.7);
}

body[data-theme="light"] h2 {
  border-bottom-color: rgba(28, 80, 87, 0.25);
}

body[data-theme="light"] footer {
  color: rgba(16, 32, 31, 0.5);
}
