/* SPARR — sparrapp.com
   Design tokens (fix): Blau #4A90D9, Off-White #F7F5F0, Schwarz #0A0A0A, Text #141414
   Font Inter. Abstaende in 8px-Vielfachen. */

:root {
  --bg: #F7F5F0;
  --text: #141414;
  --accent: #4A90D9;
  --dark: #0A0A0A;
  --muted: #6B6B6B;
  --line: #E2DFD8;
  --white: #FFFFFF;
  --radius: 12px;
  --maxw: 560px;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

body { min-height: 100vh; display: flex; flex-direction: column; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* --- Wordmark --- */
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800;
  letter-spacing: 0.06em; font-size: 22px; text-transform: uppercase; }
.brand svg { width: 20px; height: 20px; display: block; }
.brand--light { color: var(--bg); }
.brand--light .pin { fill: var(--accent); }
.brand--dark { color: var(--dark); }
.brand--dark .pin { fill: var(--accent); }

/* --- Hero (dark) --- */
.hero {
  background: var(--dark); color: var(--bg);
  padding: 64px 0 72px; text-align: center;
}
.hero .brand { font-size: 26px; margin-bottom: 40px; }
.claim {
  font-size: 44px; font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.05; margin-bottom: 16px;
}
.claim .accent { color: var(--accent); }
.hero .sub { color: #B8B6B0; font-size: 17px; max-width: 380px; margin: 0 auto 40px; }

/* --- Sections --- */
.section { padding: 56px 0; }
.section h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 16px; }
.section p { color: var(--muted); font-size: 16px; margin-bottom: 8px; }
.section + .section { border-top: 1px solid var(--line); }

/* --- Buttons / Store badges --- */
.stores { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; max-width: 320px; padding: 16px 24px; border-radius: var(--radius);
  font-size: 16px; font-weight: 700; text-decoration: none; border: none;
  cursor: pointer; transition: transform .08s ease, opacity .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--dark { background: var(--dark); color: var(--bg); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn--disabled { background: #DAD7D0; color: #8C8A84; cursor: not-allowed; pointer-events: none; }
.btn svg { width: 20px; height: 20px; }

.soon-note { color: var(--muted); font-size: 14px; margin-top: 8px; text-align: center; }

/* --- Rating card --- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 32px 24px; text-align: center; margin: 40px auto;
}
.card .kicker { text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px;
  font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.card h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.card .type { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.card .agg { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

/* Stars */
.stars { display: flex; justify-content: center; gap: 8px; margin: 24px 0; }
.stars button { background: none; border: none; cursor: pointer; padding: 4px; line-height: 0; }
.stars svg { width: 40px; height: 40px; }
.stars .star { fill: none; stroke: #C9C6BF; stroke-width: 1.5; transition: fill .1s ease, stroke .1s ease; }
.stars button.on .star { fill: var(--accent); stroke: var(--accent); }

textarea {
  width: 100%; min-height: 96px; resize: vertical; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--radius); font-family: inherit;
  font-size: 15px; color: var(--text); background: var(--bg); margin-bottom: 16px;
}
textarea:focus { outline: none; border-color: var(--accent); }

.hint { color: var(--muted); font-size: 13px; margin-top: 16px; }

/* States */
.hidden { display: none !important; }
.thanks h1 { margin-bottom: 8px; }
.thanks .check { width: 56px; height: 56px; margin: 0 auto 16px; }
.thanks .check circle { fill: var(--accent); }
.thanks .check path { stroke: var(--white); stroke-width: 3; fill: none; }
.error { color: #B23B3B; font-size: 14px; margin-top: 12px; }

/* --- Footer --- */
footer { margin-top: auto; padding: 32px 0; border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
footer .brand { font-size: 16px; }
footer a { color: var(--muted); font-size: 13px; text-decoration: none; }
footer a:hover { color: var(--text); }

/* --- Inactive page --- */
.center-screen { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 0; }
.center-screen h1 { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.center-screen p { color: var(--muted); font-size: 16px; margin-bottom: 24px; }

@media (max-width: 400px) {
  .claim { font-size: 36px; }
  .card h1 { font-size: 24px; }
  .stars svg { width: 34px; height: 34px; }
}
