:root {
  --bg: #080808;
  --surface: #151515;
  --surface-raised: #202020;
  --card: #f4f0e7;
  --text: #fffdf8;
  --text-muted: #b9b9b9;
  --on-card: #111111;
  --easy: #9edb82;
  --social: #fa668d;
  --courage: #f1c642;
  --life-quest: #a57be8;
  --border: 1px solid rgb(255 255 255 / 12%);
  --font-display: 'Archivo Black', 'Arial Black', Impact, sans-serif;
  --font-body: Inter, 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--courage);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0 0 16px;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 4.4rem);
}

h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
}

h3 {
  font-size: 1.25rem;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(8 8 8 / 88%);
  backdrop-filter: blur(12px);
  border-bottom: var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
}

.nav a:hover {
  color: var(--text);
}

.lang-switch {
  border: var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--text) !important;
}

@media (max-width: 640px) {
  .nav .nav-link {
    display: none;
  }
}

/* Hero */
.hero {
  padding: 56px 0 72px;
}

.hero .wrap {
  display: grid;
  gap: 48px;
  align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
}

.hero p.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 34ch;
}

.hero-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--card);
  color: var(--on-card);
  font-weight: 700;
}

.phone {
  border-radius: 36px;
  box-shadow: 0 24px 64px rgb(0 0 0 / 55%);
}

.hero .phone {
  width: min(100%, 340px);
  margin-inline: auto;
  transform: rotate(3deg);
}

@media (max-width: 800px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
}

/* Sections */
section {
  padding: 72px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
}

.features {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature {
  background: var(--card);
  color: var(--on-card);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 32px rgb(0 0 0 / 28%);
}

.feature:nth-child(odd) {
  transform: rotate(-0.8deg);
}

.feature:nth-child(even) {
  transform: rotate(0.8deg);
}

.feature p {
  margin: 0;
  color: #3d3a35;
}

.feature .icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.screens {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 8px 20px 24px;
  scroll-snap-type: x mandatory;
}

.screens figure {
  margin: 0;
  flex: 0 0 min(72vw, 260px);
  scroll-snap-align: center;
  text-align: center;
}

.screens figcaption {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (min-width: 1000px) {
  .screens {
    justify-content: center;
    overflow: visible;
  }
}

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

.category {
  border-radius: 24px;
  padding: 24px;
  color: var(--on-card);
}

.category h3 {
  margin-bottom: 8px;
}

.category p {
  margin: 0;
  color: #222;
}

.category.easy {
  background: var(--easy);
}

.category.social {
  background: var(--social);
}

.category.courage {
  background: var(--courage);
}

.category.life-quest {
  background: var(--life-quest);
}

.cta {
  text-align: center;
  background: var(--surface);
  border-radius: 32px;
  padding: 56px 24px;
}

/* Footer */
.site-footer {
  border-top: var(--border);
  padding: 32px 0 48px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

/* Text pages (Impressum / Datenschutz) */
.prose {
  max-width: 720px;
  padding: 56px 0 80px;
}

.prose h1 {
  font-size: clamp(2rem, 6vw, 3rem);
}

.prose h2 {
  font-size: 1.4rem;
  margin-top: 40px;
}

.prose p,
.prose li {
  color: #d9d9d9;
}

.notice {
  background: var(--surface-raised);
  border: var(--border);
  border-radius: 16px;
  padding: 14px 18px;
  color: var(--courage);
  font-size: 0.95rem;
}

/* Verification page */
.verify {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 56px 0;
}

.verify-card {
  background: var(--card);
  color: var(--on-card);
  border-radius: 28px;
  padding: 40px 28px;
  width: min(100% - 40px, 480px);
  text-align: center;
  box-shadow: 0 16px 40px rgb(0 0 0 / 38%);
}

.verify-card img {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin: 0 auto 20px;
}

.verify-card p {
  color: #3d3a35;
}

.button {
  display: inline-block;
  margin-top: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  background: var(--on-card);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.hint {
  font-size: 0.9rem;
  margin-top: 20px;
}

[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .feature,
  .hero .phone {
    transform: none !important;
  }
}

.cookie-banner {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 50;
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 16px;
  background: rgb(24 24 24 / 96%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgb(0 0 0 / 50%);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cookie-banner p {
  flex: 1 1 260px;
  margin: 0;
}

.cookie-banner a {
  color: var(--text);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-btn {
  font: inherit;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 25%);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.cookie-btn-primary {
  background: var(--text);
  color: #080808;
  border-color: var(--text);
}

.cookie-link {
  font: inherit;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.cookie-link:hover {
  text-decoration: underline;
}
