@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&display=swap');

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

:root {
  --bg: #0a0a0a;
  --card-bg: #1a1a1a;
  --card-hover: #222222;
  --text: #ffffff;
  --accent: #00f0ff;
  --muted: #888888;
}

html {
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

/* Logo */
.logo {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text);
}

/* Index page */
.headline {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 960px;
}

.card {
  background: var(--card-bg);
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  background: var(--card-hover);
  border-color: var(--accent);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cccccc;
  flex: 1;
}

.card-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: transparent;
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  text-align: center;
}

.card:hover .card-btn {
  background: var(--accent);
  color: var(--bg);
}

/* Danke pages */
.danke {
  max-width: 600px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.danke-headline {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
}

.danke-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #cccccc;
}

.danke-subtext {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

.back-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--text);
}

/* Mobile */
@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
  }

  body {
    justify-content: flex-start;
    padding-top: 3rem;
  }
}
