/* ===========================================================
   Playdate PartyApp — Website
   Shared styles for landing, privacy, impressum.
   =========================================================== */

:root {
  --bg: #FFFFFF;
  --bg-soft: #F7F7FA;
  --text: #0A0A0F;
  --text-muted: #5A5A6E;
  --text-dim: #8A8A9C;
  --accent: #007AFF;
  --gold: #DAA34D;
  --gold-soft: #EBC57B;
  --border: rgba(10, 10, 15, 0.08);
  --max-w: 720px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 24px 64px;
}

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

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.4px;
  color: var(--text);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: block;
  box-shadow: 0 2px 8px rgba(10, 10, 15, 0.12);
}

/* ---------- Hero (Landing) ---------- */

.hero {
  text-align: center;
  padding: 56px 24px 48px;
  max-width: 760px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 24px;
  display: block;
  box-shadow: 0 18px 40px -12px rgba(40, 60, 120, 0.35),
              0 4px 12px rgba(40, 60, 120, 0.15);
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -1.6px;
  line-height: 1.05;
  margin: 0 0 20px;
}

.hero-sub {
  font-size: 21px;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0 auto 32px;
  max-width: 560px;
}

/* App Store Badge — Apple-konformes Design (schwarz, weiße Typo,
   Apple-Logo links, "Laden im" klein über "App Store" groß).
   Wird sowohl in Hero als auch ggf. im Footer verwendet. */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  border-radius: 12px;
  background: #000000;
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.store-badge:hover {
  text-decoration: none;
  transform: translateY(-1px);
  color: #FFFFFF;
}

.store-badge svg {
  width: 28px;
  height: 28px;
  fill: #FFFFFF;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.store-badge-small {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2px;
  opacity: 0.95;
}

.store-badge-big {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-top: 2px;
}

.hero-meta {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.1px;
}

/* ---------- Feature Grid (Landing) ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 920px;
  margin: 32px auto 64px;
  padding: 0 24px;
}

.feature {
  padding: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.feature-emoji {
  font-size: 28px;
  margin-bottom: 10px;
}

.feature-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin: 0 0 6px;
}

.feature-text {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Document Pages (Privacy / Impressum) ---------- */

.doc h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin: 0 0 8px;
}

.doc .doc-sub {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0 0 32px;
}

.doc h2 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin: 36px 0 12px;
}

.doc h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 8px;
}

.doc p,
.doc li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

.doc ul {
  padding-left: 22px;
}

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

.doc address {
  font-style: normal;
  margin: 0 0 16px;
}

.kv {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 8px 16px;
  margin: 12px 0;
  font-size: 15px;
}

.kv dt {
  color: var(--text-muted);
  font-weight: 500;
}

.kv dd {
  margin: 0;
}

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  max-width: 1080px;
  margin: 56px auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
}

.site-footer a {
  color: var(--text-muted);
  margin-left: 16px;
}

.site-footer a:first-child {
  margin-left: 0;
}

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

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

@media (max-width: 600px) {
  .hero {
    padding: 40px 20px 32px;
  }
  .hero-title {
    font-size: 40px;
    letter-spacing: -1.2px;
  }
  .hero-sub {
    font-size: 18px;
  }
  .doc h1 {
    font-size: 26px;
  }
  .doc h2 {
    font-size: 19px;
  }
  .kv {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .kv dt {
    margin-top: 8px;
  }
  .nav a {
    margin-left: 14px;
  }
  .site-footer {
    flex-direction: column;
  }
  .site-footer a {
    margin-left: 0;
  }
}
