:root {
  --bg: #f4f5f7;
  --flaeche: #ffffff;
  --rand: #dcdfe4;
  --text: #1c1f23;
  --akzent: #2f6fed;
  --schatten: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 20px rgba(0, 0, 0, .05);
  --radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16181d;
    --flaeche: #1e2127;
    --rand: #31353d;
    --text: #e6e8eb;
    --akzent: #5c8dff;
    --schatten: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.huelle {
  width: 100%;
  max-width: 640px;
}

h1 {
  margin: 0 0 28px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-align: center;
}

.gitter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.kachel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 36px 20px;
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  color: var(--text);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  transition: border-color .15s, transform .15s;
}

.kachel svg {
  width: 40px;
  height: 40px;
}

.kachel:hover {
  border-color: var(--akzent);
  color: var(--akzent);
  transform: translateY(-2px);
}
