/* ──────────────────────────────────────────────────────────────────────────
   Screw it Up — Marketing landing page
   Mobile-first, no JS framework, no tracker, no build step.
   ────────────────────────────────────────────────────────────────────────── */

:root {
  --brand-50:  #fff7ed;
  --brand-100: #ffedd5;
  --brand-500: #f59e0b;
  --brand-600: #d97706;
  --brand-700: #b45309;
  --brand-900: #451a03;

  --stone-50:  #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;

  --max-width: 1080px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,.18);
}

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

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--stone-900);
  background: var(--stone-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }

img, svg { display: block; max-width: 100%; }

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

/* ─── HERO ─────────────────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(160deg, var(--brand-500) 0%, var(--brand-700) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255,255,255,.15), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  text-align: center;
  padding: 72px 24px 88px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 247, 237, 0.85);
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  margin: 0 auto 36px;
  max-width: 36rem;
  font-size: clamp(1.125rem, 2.4vw, 1.5rem);
  color: rgba(255, 247, 237, 0.95);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.store-btn-disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.store-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

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

.store-line-1 {
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.store-line-2 {
  font-size: 16px;
  font-weight: 700;
}

.hero-meta {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 247, 237, 0.8);
}

/* ─── FEATURES ────────────────────────────────────────────────────────── */

.features {
  background: var(--stone-50);
  padding: 80px 0 88px;
}

.section-title {
  margin: 0 0 48px;
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--stone-200);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  background: var(--brand-100);
  color: var(--brand-700);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--stone-600);
  font-size: 0.95rem;
}

/* ─── BANNER ──────────────────────────────────────────────────────────── */

.banner {
  background: var(--stone-900);
  color: var(--stone-200);
  padding: 28px 0;
  border-top: 1px solid var(--stone-800);
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}

.banner-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-700);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.banner-text {
  margin: 0;
  font-size: 14px;
  color: var(--stone-300);
}

/* ─── FOOTER ──────────────────────────────────────────────────────────── */

.footer {
  background: var(--stone-900);
  color: var(--stone-300);
  padding: 32px 0 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .footer-inner { flex-direction: row; }
}

.footer-copy {
  margin: 0;
  font-size: 14px;
  color: var(--stone-400);
}

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

.footer-nav a {
  color: var(--stone-300);
  text-decoration: none;
  font-size: 14px;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── LEGAL PAGES (Impressum, Datenschutz) ───────────────────────────── */

.legal-page { background: var(--stone-50); }

.legal-header {
  background: var(--stone-900);
  color: #fff;
  padding: 24px 0;
}

.legal-back {
  color: var(--stone-300);
  text-decoration: none;
  font-size: 14px;
}

.legal-back:hover { color: #fff; }

.legal-main {
  max-width: 720px;
  padding-top: 56px;
  padding-bottom: 64px;
}

.legal-main h1 {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.legal-lede {
  margin: 0 0 32px;
  font-size: 14px;
  color: var(--stone-500);
}

.legal-main section {
  margin-bottom: 32px;
}

.legal-main h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.legal-main p {
  margin: 0 0 12px;
  line-height: 1.65;
  color: var(--stone-800);
}

.legal-main ul {
  margin: 12px 0;
  padding-left: 24px;
  line-height: 1.65;
  color: var(--stone-800);
}

.legal-main ul li { margin-bottom: 4px; }

/* ─── A11Y ────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}
