/* ============================================================
   Gradevo — landing page styles
   Tokens mirror the app's design system (dark brand look, lime
   accent). Fonts are SELF-HOSTED (no Google Fonts request → no
   IP transfer to Google, GDPR-clean).
   ============================================================ */

/* ---- self-hosted webfonts (latin subsets) ---- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/Inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/Inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/Inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/Inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/SpaceGrotesk-400.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/SpaceGrotesk-500.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/SpaceGrotesk-700.woff2') format('woff2'); }

/* ---- tokens (dark brand look — the site ships dark like the app) ---- */
:root {
  --bg:              #0A0A0C;
  --bg-elev:         #0F0F12;
  --surface:         #151619;
  --surface-2:       #1C1E22;
  --surface-3:       #26282E;
  --hairline:        rgba(255, 255, 255, 0.07);
  --hairline-strong: rgba(255, 255, 255, 0.12);

  --text:      #F4F5F7;
  --text-dim:  #A0A3AB;
  --text-mute: #6A6E78;

  --accent:        #C9F94A;
  --accent-dim:    #9CC23A;
  --accent-soft:   rgba(201, 249, 74, 0.12);
  --accent-on:     #0A0A0C;
  --accent-grad-a: rgba(201, 249, 74, 0.16);
  --accent-grad-b: rgba(201, 249, 74, 0.02);

  --cali:        #7FB2FF;
  --cali-soft:   rgba(127, 178, 255, 0.16);
  --weight:      #F7B955;
  --weight-soft: rgba(247, 185, 85, 0.16);
  --hold:        #22B8A0;
  --hold-soft:   rgba(34, 184, 160, 0.16);

  --danger: #FF6B6B;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --shadow-card:   0 8px 16px rgba(0, 0, 0, 0.40);
  --shadow-accent: 0 6px 18px rgba(201, 249, 74, 0.35);
}

/* ---- reset & base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
input::placeholder { color: var(--text-mute); }

/* icons (inline feather sprite) */
.i { width: 1em; height: 1em; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; flex-shrink: 0; display: inline-block; vertical-align: middle; }

/* layout helper */
.wrap { max-width: 1100px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap-narrow { max-width: 960px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* type helpers */
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent); }
.h-display { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.0; letter-spacing: -2.5px; text-wrap: balance; }
.h-section { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4.2vw, 40px); line-height: 1.1; letter-spacing: -1px; text-wrap: balance; }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 12, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 22px; height: 22px; object-fit: contain; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.4px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.navlink { font-size: 14px; font-weight: 500; color: var(--text-dim); text-decoration: none; transition: color 0.15s ease; }
.navlink:hover { color: var(--text); }
.navlink-accent { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; transition: color 0.15s ease; }
.navlink-accent:hover { color: var(--accent-dim); }
.langswitch { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.langswitch a { color: var(--text-mute); text-decoration: none; transition: color 0.15s ease; }
.langswitch a.on { color: var(--text); }
.langswitch a:hover { color: var(--text); }
.langswitch a + a { border-left: 1px solid var(--hairline-strong); padding-left: 6px; }

/* ---- buttons & store badge ---- */
.btn-accent {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border: 0; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--accent-on);
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-accent);
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.btn-accent:hover { opacity: 0.92; }
.btn-accent:active { transform: scale(0.98); }
.btn-accent:disabled { opacity: 0.55; cursor: default; }

.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px 10px 16px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--hairline-strong);
  cursor: default; color: var(--text); text-decoration: none;
}
.store-badge .kicker { display: block; font-size: 10px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-mute); line-height: 1.2; }
.store-badge .store { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }

.link-accent { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: none; transition: color 0.15s ease; }
.link-accent:hover { color: var(--accent-dim); }

/* ---- cards ---- */
.card { border-radius: var(--radius-lg); background: var(--surface); }
.icon-circle { width: 44px; height: 44px; border-radius: var(--radius-pill); background: var(--accent-soft); display: flex; align-items: center; justify-content: center; color: var(--accent); }

/* category badges (cali / weight / hold) */
.cat { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; }
.cat .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cat-cali { background: var(--cali-soft); color: var(--cali); }
.cat-weight { background: var(--weight-soft); color: var(--weight); }
.cat-hold { background: var(--hold-soft); color: var(--hold); }

/* solid badge ("Beliebt: Jährlich") */
.badge-solid { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--accent); color: var(--accent-on); font-size: 12px; font-weight: 700; }

/* ---- device frame (holds a real app screenshot) ---- */
.device {
  border-radius: 42px;
  padding: 7px;
  background: linear-gradient(155deg, #303237, #16171a);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  line-height: 0;
  flex-shrink: 0;
}
.device > img { display: block; width: 100%; height: auto; border-radius: 35px; }
.device-hero { width: 320px; max-width: 80vw; }

/* screenshot showcase row */
.shots-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.shots-row::-webkit-scrollbar { height: 0; }
.shot { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; scroll-snap-align: center; }
.shot figcaption { font-size: 14px; font-weight: 600; color: var(--text-dim); }
.device-sm { width: 232px; }
@media (min-width: 940px) { .shots-row { justify-content: center; overflow-x: visible; } }

/* ---- pricing feature rows ---- */
.feat-row { display: flex; align-items: flex-start; gap: 10px; }
.feat-row .i { margin-top: 2px; }
.feat-row span:last-child { font-size: 15px; line-height: 21px; }

/* ---- waitlist form ---- */
.wl-input {
  flex: 1 1 240px; min-width: 0; padding: 13px 20px;
  border-radius: var(--radius-pill); background: var(--surface);
  border: 1px solid var(--hairline-strong); color: var(--text);
  font-family: var(--font-body); font-size: 15px; outline: none;
  transition: border-color 0.15s ease;
}
.wl-input:focus { border-color: var(--accent); }
/* honeypot — invisible to humans, tempting for bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---- footer ---- */
.footlink { font-size: 13px; font-weight: 500; color: var(--text-dim); text-decoration: none; transition: color 0.15s ease; }
.footlink:hover { color: var(--text); }

/* ---- legal pages ---- */
.legal-main { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 56px 24px 96px; }
.legal-main h1 { margin: 12px 0 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 5vw, 40px); letter-spacing: -1px; line-height: 1.1; }
.legal-main .stand { margin-top: 10px; font-size: 13px; color: var(--text-mute); }
.legal-body { margin-top: 28px; border-radius: var(--radius-lg); background: var(--surface); padding: clamp(20px, 4vw, 36px); }
.legal-body h2 { margin: 28px 0 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.3px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { margin: 20px 0 8px; font-size: 16px; font-weight: 600; }
.legal-body p, .legal-body li { font-size: 15px; line-height: 23px; color: var(--text-dim); }
.legal-body ul, .legal-body ol { margin: 8px 0; padding-left: 22px; }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body a { color: var(--accent); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }

/* ---- small screens ---- */
@media (max-width: 560px) {
  .site-nav { gap: 14px; }
  .site-nav .navlink:first-child { display: none; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
