/* Gemeinsames Design für Übersicht und Landingpages (Auszug aus dem Spiel-dein-Leben-Design-System). */

/* Schriften selbst gehostet (keine Anfragen an Google). */
@font-face { font-family: "Italiana"; font-weight: 400; font-display: swap; src: url(/fonts/italiana.woff2) format("woff2"); }
@font-face { font-family: "Quicksand"; font-weight: 300 700; font-display: swap; src: url(/fonts/quicksand.woff2) format("woff2"); }

:root {
  --christalle: #3F0170;
  --flamenco: #FF7503;
  --flamenco-600: #e66800;
  --orange-peel: #FE9E00;
  --bg-violett: #EDE8F5;
  --bg-orange: #FEF0E3;
  --bg-amber: #FEF4E0;
  --near-black: #34303a;
  --ink-muted: #6f5a86;
  --line: #E7DEF0;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-cta: 0 8px 20px rgba(255, 117, 3, 0.28);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  color: var(--near-black);
  font: 500 17px/1.6 "Quicksand", system-ui, sans-serif;
}
main { max-width: 960px; margin: 0 auto; padding: 72px 16px 48px; }

.preline {
  margin: 0 0 8px;
  color: var(--flamenco);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  color: var(--christalle);
  font: 400 clamp(40px, 7vw, 60px)/1.1 "Italiana", "Playfair Display", serif;
}
h2 {
  margin: 0 0 12px;
  color: var(--christalle);
  font: 400 clamp(28px, 4.5vw, 36px)/1.15 "Italiana", "Playfair Display", serif;
}
.lead { max-width: 46ch; margin: 16px 0 0; }

a { color: var(--christalle); text-decoration-color: var(--flamenco); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.trenner { display: block; width: 100%; max-width: 520px; height: auto; margin: 40px 0 48px; }

/* Zurück-Link oben (Navigation: ohne Unterstreichung) */
.back {
  display: inline-block;
  margin: -40px 0 32px;
  color: var(--christalle);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.back:hover, .back:focus-visible { text-decoration: underline; text-decoration-color: var(--flamenco); }

/* Button primary (höchstens einer pro Ansicht) */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  background: var(--flamenco);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: background .15s;
}
.btn:hover, .btn:focus-visible { background: var(--flamenco-600); }
.btn:focus-visible { outline: 3px solid var(--christalle); outline-offset: 3px; }

/* Pastel-Card mit waveTop */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 52px 28px 28px;
  border-radius: var(--radius-lg);
  color: inherit;
  text-decoration: none;
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 26px;
  background: #fff;
  border-radius: 0 0 60% 60% / 0 0 100% 100%;
}
.card--violett { background: var(--bg-violett); }
.card--orange { background: var(--bg-orange); }
.card--amber { background: var(--bg-amber); }
.card h3 {
  margin: 0 0 8px;
  color: var(--christalle);
  font: 400 30px/1.15 "Italiana", "Playfair Display", serif;
}
.card p { margin: 0 0 24px; }
.card p:last-child { margin-bottom: 0; }
.card .num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #fff;
  color: var(--flamenco);
  font-weight: 700;
}
.card .go { margin-top: auto; align-self: flex-start; }
a.card:hover .go, a.card:focus-visible .go { background: var(--flamenco-600); }
a.card:focus-visible { outline: 3px solid var(--christalle); outline-offset: 4px; }
.card .soon {
  margin-top: auto;
  align-self: flex-start;
  color: var(--ink-muted);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

section { margin-top: 72px; }
.prose { max-width: 60ch; }
.prose p { margin: 0 0 16px; }
.note { color: var(--ink-muted); font-size: 15px; margin-top: 16px; }

footer { padding: 48px 16px 40px; text-align: center; }
.wordmark {
  color: var(--christalle);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
}
.wordmark span { color: var(--flamenco); }

.legal { margin: 12px 0 0; font-size: 14px; color: var(--ink-muted); }
.legal a { color: var(--ink-muted); }
