/* Kopfnuss — Website-Styles
   Fraunces-Serif, warme Cream-Palette, Orange-Akzente — passt zur iOS-App.
*/

:root {
  --cream: #F4EBDE;
  --paper: #FBF6EC;
  --ink: #2B2A28;
  --ink-soft: #6B6662;
  --orange: #E57A2B;
  --orange-deep: #C8641F;
  --moss: #5A6B4A;
  --blue: #4A6B7A;
  --radius: 20px;
  --max-width: 1040px;
}

@font-face {
  font-family: 'Fraunces';
  src: url('https://fonts.gstatic.com/s/fraunces/v35/6NUu8FyLNQOQZAnv9ZwNjucMHVn85Ni7emAe9lKqZTnQB4KAuw.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--orange-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }

/* ---- Header / Nav ---- */

.site-header {
  padding: 24px 0;
  position: sticky;
  top: 0;
  background: rgba(244, 235, 222, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 15px;
}

.nav a { color: var(--ink-soft); font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* ---- Hero ---- */

.hero {
  padding: 60px 0 80px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero .lead {
  font-size: 22px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-icon {
  width: 280px;
  height: 280px;
  border-radius: 62px;
  margin: 0 auto;
  display: block;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18), 0 3px 8px rgba(0,0,0,0.1);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--cream);
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.btn-appstore:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  text-decoration: none;
  color: var(--cream);
}

.btn-appstore svg { width: 28px; height: 28px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  border: 1.5px solid var(--ink);
  transition: background .15s ease;
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
}

.badge-soon {
  display: inline-block;
  font-size: 12px;
  background: var(--orange);
  color: var(--paper);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  margin-left: 6px;
}

/* ---- Sections ---- */

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--paper);
}

.section h2 {
  font-size: 36px;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  font-weight: 700;
}

.section .subtitle {
  font-size: 19px;
  color: var(--ink-soft);
  margin-bottom: 44px;
  max-width: 680px;
}

/* ---- Game grid ---- */

.games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.game-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid rgba(43,42,40,0.08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.section-alt .game-card {
  background: var(--cream);
  border-color: rgba(43,42,40,0.07);
}

.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(43,42,40,0.1);
}

.game-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.game-card p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.game-card .icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--paper);
  font-size: 24px;
  font-weight: 700;
}

.icon-box.c-orange { background: var(--orange); }
.icon-box.c-blue { background: var(--blue); }
.icon-box.c-moss { background: var(--moss); }
.icon-box.c-ink { background: var(--ink); }

/* ---- Target-audience bullets ---- */

.bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.bullet {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.bullet .mark {
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.bullet h4 { font-size: 18px; margin-bottom: 4px; }
.bullet p { color: var(--ink-soft); font-size: 16px; }

/* ---- Legal pages ---- */

.legal {
  padding: 48px 0 72px;
  max-width: 760px;
}

.legal h1 {
  font-size: 42px;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.legal .lead-meta {
  color: var(--ink-soft);
  margin-bottom: 36px;
}

.legal h2 {
  font-size: 24px;
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}

.legal h3 {
  font-size: 19px;
  margin: 24px 0 8px;
}

.legal p, .legal li {
  margin-bottom: 10px;
  color: var(--ink);
}

.legal ul, .legal ol {
  padding-left: 26px;
  margin-bottom: 14px;
}

.legal li { margin-bottom: 6px; }

.legal strong { font-weight: 700; }

.legal .divider {
  border: none;
  border-top: 1px solid rgba(43,42,40,0.12);
  margin: 40px 0;
}

/* ---- Footer ---- */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 40px 0 36px;
  margin-top: 40px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.site-footer .brand { color: var(--cream); }
.site-footer .brand img { box-shadow: none; }

.footer-nav {
  display: flex;
  gap: 20px;
  font-size: 15px;
}

.footer-nav a { color: rgba(244,235,222,0.8); }
.footer-nav a:hover { color: var(--cream); text-decoration: none; }

.footer-meta {
  width: 100%;
  padding-top: 18px;
  margin-top: 20px;
  border-top: 1px solid rgba(244,235,222,0.12);
  font-size: 13px;
  color: rgba(244,235,222,0.55);
}

/* ---- Responsive ---- */

@media (max-width: 820px) {
  .hero { padding: 40px 0 56px; }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: left;
  }
  .hero h1 { font-size: 42px; }
  .hero .lead { font-size: 19px; }
  .hero-icon { width: 200px; height: 200px; border-radius: 44px; }
  .section { padding: 52px 0; }
  .section h2 { font-size: 30px; }
  .nav { font-size: 14px; gap: 14px; }
  .brand { font-size: 19px; }
  .brand img { width: 38px; height: 38px; }
}

@media (max-width: 520px) {
  .nav a { display: none; }
  .nav a.nav-primary { display: inline; }
  .hero h1 { font-size: 36px; }
  .legal h1 { font-size: 32px; }
}
