/* CharmUp – Designsystem „Abend“ (wie in der App) */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
}

:root {
  --night: #131119;
  --dusk: #1c1a26;
  --peach: #dfc0a2;
  --peach-soft: #eacfb6;
  --lilac: #b7afd0;
  --cream: #f3eee7;
  --mist: #a29db2;
  --fan-x: 20%;
  --fan-r: 4deg;
  color-scheme: dark;
}
@media (min-width: 640px) { :root { --fan-x: 30%; --fan-r: 5deg; } }

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--night);
  color: var(--cream);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  letter-spacing: 0.005em;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; }
::selection { background: var(--peach); color: var(--night); }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, .display {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  letter-spacing: -0.022em;
  margin: 0;
}
h1 { font-weight: 380; line-height: 1.04; }
h2, h3 { font-weight: 420; line-height: 1.15; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }

/* Hero */
.dusk-sky {
  background:
    radial-gradient(90% 40% at 72% 80%, rgba(223, 192, 162, 0.13), transparent 70%),
    linear-gradient(180deg, #131119 0%, #1b1826 55%, #221d2e 82%, #131119 100%);
  overflow: hidden;
}
.hero {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-top: 2.5rem;
  padding-bottom: 5rem;
}
@media (min-width: 768px) {
  .hero { grid-template-columns: 1.1fr 1fr; padding-top: 4rem; padding-bottom: 7rem; }
}
.logo { font-family: "Fraunces", Georgia, serif; font-size: 1.5rem; text-decoration: none; }
.logo em { color: var(--peach); }
.badge {
  display: inline-block;
  margin-top: 3rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(223, 192, 162, 0.45);
  border-radius: 999px;
  color: var(--peach);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 { margin-top: 1.5rem; max-width: 14ch; font-size: clamp(2.9rem, 7vw, 5.25rem); }
.lead { margin-top: 2rem; max-width: 44ch; font-size: 1.125rem; color: var(--mist); }
.note { margin-top: 2.5rem; color: var(--cream); font-size: 0.95rem; }
.note span { color: var(--mist); }

/* Kartenfächer */
.fan { position: relative; margin: 0 auto 2.5rem; width: 230px; height: 380px; }
@media (min-width: 640px) { .fan { width: 270px; height: 440px; } }
.fan figure {
  position: absolute; inset: 0; margin: 0;
  transform-origin: bottom center;
  overflow: hidden;
  border-radius: 20px;
  background: var(--dusk);
  box-shadow: 0 0 0 1px rgba(243, 238, 231, 0.1), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.fan img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.82) brightness(0.96); }
.fan figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 6rem 1.25rem 1.25rem;
  background: linear-gradient(to top, var(--night), rgba(19, 17, 25, 0.6), transparent);
}
.fan figcaption b { display: block; font-family: "Fraunces", Georgia, serif; font-weight: 420; font-size: 1.5rem; }
.fan figcaption span { font-size: 0.875rem; color: var(--mist); }
.fan-caption { position: absolute; left: 0; right: 0; bottom: -2.25rem; text-align: center; font-size: 0.75rem; color: rgba(162, 157, 178, 0.7); margin: 0; }

@keyframes fan-left  { from { transform: rotate(0) translateX(0); } to { transform: rotate(calc(var(--fan-r) * -1)) translateX(calc(var(--fan-x) * -1)); } }
@keyframes fan-right { from { transform: rotate(0) translateX(0); } to { transform: rotate(var(--fan-r)) translateX(var(--fan-x)); } }
.fan-left  { transform: rotate(calc(var(--fan-r) * -1)) translateX(calc(var(--fan-x) * -1)); animation: fan-left 1400ms cubic-bezier(.22,.7,.2,1) 300ms both; }
.fan-right { transform: rotate(var(--fan-r)) translateX(var(--fan-x)); animation: fan-right 1400ms cubic-bezier(.22,.7,.2,1) 300ms both; }
@media (prefers-reduced-motion: reduce) { .fan-left, .fan-right { animation: none; } }

/* Ablauf */
.steps-section { padding-top: 5rem; padding-bottom: 5rem; }
.steps-section h2 { font-size: clamp(1.9rem, 4vw, 2.25rem); }
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { border-top: 1px solid rgba(243, 238, 231, 0.15); padding-top: 1.5rem; }
.steps .num { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 0.875rem; color: var(--peach); }
.steps h3 { margin-top: 0.5rem; font-size: 1.5rem; }
.steps p { margin: 0.5rem 0 0; max-width: 38ch; color: var(--mist); }
.extra { margin-top: 3rem; max-width: 60ch; color: var(--mist); }

/* Bewerter:innen */
.reviewers { border-top: 1px solid rgba(243, 238, 231, 0.1); background: var(--dusk); }
.reviewers .wrap { padding-top: 4rem; padding-bottom: 4rem; }
.reviewers h2 { font-size: clamp(1.9rem, 4vw, 2.25rem); color: var(--lilac); }
.reviewers p { margin: 1rem 0 0; max-width: 52ch; color: var(--mist); }

/* Rechtstexte */
.legal { padding-top: 2.5rem; padding-bottom: 5rem; max-width: 46rem; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-top: 3rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2.25rem; }
.legal p, .legal li { color: #d9d4dd; }
.legal a { color: var(--peach); }

/* Footer */
footer { border-top: 1px solid rgba(243, 238, 231, 0.1); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; padding-top: 1.5rem; padding-bottom: 1.5rem; font-size: 0.875rem; color: var(--mist); }
footer nav { display: flex; gap: 1.5rem; }
footer a { text-decoration: none; }
footer a:hover { color: var(--cream); }
