/* Mobile-first. One column of full-width bands; content in a 1120px wrapper. Two columns only from 900px up. */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/BricolageGrotesque-VariableFont_opsz,wdth,wght.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/Figtree-VariableFont_wght.ttf") format("truetype"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-VariableFont_wght.ttf") format("truetype"); font-weight: 100 800; font-display: swap; }

:root {
  --ground: #E4E8E2;
  --raised: #EEF1EC;
  --card: #FFFFFF;
  --ink: #15201A;
  --ink-2: #2E3B33;
  --muted: #4C5852;
  --night: #15201A;
  --on-night: #EEF1EA;
  --on-night-muted: #B4C2B8;
  --accent: #FF6B2C;
  --accent-text: #B83E0C;
  --line: #C3CBC4;
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: 20px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }

/* Header */
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 14px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; text-decoration: none; display: inline-flex; align-items: baseline; }
.logo i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 2px; }
.top .link { font-weight: 600; font-size: 15px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.top .link span { border-bottom: 2px solid var(--accent); padding-bottom: 1px; }

/* Type */
.eyebrow { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 10.5vw, 76px); line-height: 1.0; letter-spacing: -0.03em; }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 7.4vw, 44px); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
p { margin: 0; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 34em; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 8px 16px; }
.hero-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hero-art { min-width: 0; margin-inline: -8px; }
.hero-art img { width: 100%; max-width: 560px; margin: 0 auto; }
.hero-phone { width: 100%; max-width: 260px; margin: 0 auto; border: 8px solid var(--night); border-radius: 40px; overflow: hidden; background: var(--night); box-shadow: 0 24px 48px -20px rgba(21, 32, 26, .45); }
.hero-phone video { display: block; width: 100%; height: auto; }

/* Signup form */
.signup { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.signup input[type=email] { width: 100%; height: 56px; padding: 0 16px; font: inherit; font-size: 17px; color: var(--ink); background: var(--card); border: 2px solid var(--ink); border-radius: 12px; -webkit-appearance: none; appearance: none; }
.signup input[type=email]::placeholder { color: #7B867F; }
.signup input[type=tel] { width: 100%; height: 48px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; -webkit-appearance: none; appearance: none; }
.signup input[type=tel]::placeholder { color: #7B867F; }
.field-note { margin-top: -4px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 24px; font: inherit; font-weight: 600; font-size: 17px; color: var(--ink); background: var(--accent); border: 0; border-radius: 12px; cursor: pointer; text-decoration: none; touch-action: manipulation; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: inherit; border: 2px solid currentColor; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--muted); padding-block: 4px; cursor: pointer; }
.consent input { margin: 1px 0 0; width: 22px; height: 22px; flex: none; accent-color: var(--ink); }
.micro { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.micro span::before { content: "✓ "; color: var(--accent-text); font-weight: 600; }
.error { font-size: 15px; color: #B3261E; font-weight: 600; }

/* Survey after signup */
.survey { display: flex; flex-direction: column; gap: 22px; background: var(--card); border-radius: 18px; padding: 20px 16px; margin-top: 6px; }
.survey-head { display: flex; flex-direction: column; gap: 4px; }
.survey-head h3 { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.01em; }
.survey-head p { font-size: 15px; color: var(--muted); }
.survey fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.survey legend { font-weight: 600; font-size: 16px; line-height: 1.35; margin-bottom: 8px; padding: 0; }
.opt { display: flex; gap: 12px; align-items: center; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 16px; cursor: pointer; }
.opt input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; margin: 0; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--raised); }
.survey textarea, .survey input[type=text] { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); }
.survey textarea { min-height: 88px; resize: vertical; }
.survey-actions { display: flex; flex-direction: column; gap: 8px; }
.linkbtn { background: none; border: 0; font: inherit; font-size: 15px; color: var(--muted); text-decoration: underline; min-height: 44px; cursor: pointer; }
.thanks { display: flex; flex-direction: column; gap: 8px; background: var(--card); border-radius: 18px; padding: 20px 16px; margin-top: 6px; }
.thanks h3 { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.thanks p { color: var(--ink-2); }

/* Invite (shown on /a/?einladen after the Meta instant form) */
.invite { display: flex; flex-direction: column; gap: 10px; background: var(--card); border-radius: 18px; padding: 20px 16px; margin-bottom: 8px; }
.invite h2 { font-size: clamp(28px, 8vw, 40px); }
.invite h2:focus { outline: none; }
.invite p { color: var(--ink-2); }
.invite-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.invite-actions .btn.ghost { min-height: 48px; font-size: 16px; }
.invite-status { min-height: 1.5em; font-size: 15px; font-weight: 600; color: var(--ink); }

/* Waitlist FOMO (real numbers from /api/waitlist) */
.fomo { font-size: 15px; font-weight: 600; color: var(--accent-text); }
.fomo::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; }
.survey-head .standing { font-family: var(--mono); font-weight: 500; font-size: 14px; color: var(--ink); }

/* 1 € priority offer after the survey */
.boost { display: flex; flex-direction: column; gap: 12px; background: var(--card); border-radius: 18px; padding: 20px 16px; margin-top: 6px; }
.boost h3 { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.boost h3:focus { outline: none; }
.boost p { color: var(--ink-2); }
.boost .fine { font-size: 13px; color: var(--muted); }
.boost-or { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.boost-or .invite-actions { margin-top: 2px; }
.boost-or .btn { min-height: 48px; font-size: 16px; }
.thanks .invite-actions { margin-top: 8px; }

/* Bands */
.band { padding-block: 52px; }
.band.raised { background: var(--raised); }
.band.night { background: var(--night); color: var(--on-night); }
.band.night .lead { color: #C6D2C9; }
.stack { display: flex; flex-direction: column; gap: 28px; }

.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; counter-reset: s; }
.step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; align-items: start; }
.step .n { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--night); color: var(--on-night); font-family: var(--mono); font-weight: 500; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.step p { color: var(--ink-2); font-size: 16px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; }
.split .copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.split .art { min-width: 0; }
.split .art img { width: 72%; max-width: 340px; margin: 0 auto; }

.modes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.mode { border: 2px solid var(--ink); border-radius: 14px; padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; }
.mode b { font-size: 18px; }
.mode .rate { grid-row: span 2; font-family: var(--mono); font-weight: 500; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mode .sub { font-size: 14px; color: var(--muted); }
.mode.dark { background: var(--night); color: var(--on-night); border-color: var(--night); }
.mode.dark .sub { color: var(--on-night-muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 2px solid var(--ink); border-radius: 999px; padding: 7px 16px; font-weight: 600; font-size: 15px; }

.offer { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
.offer .price { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.offer-done { font-weight: 600; color: var(--on-night); }

.foot { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-block: 28px calc(96px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--muted); }
.foot a { min-height: 44px; display: inline-flex; align-items: center; }

/* Sticky CTA (phone only) */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; pointer-events: none; padding: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); opacity: 0; transform: translateY(16px); transition: opacity 0.2s ease, transform 0.25s ease; }
.sticky.show { opacity: 1; transform: none; }
.sticky.show .btn { pointer-events: auto; }
.sticky .btn { width: 100%; min-height: 52px; border-radius: 999px; }

/* Cookie banner */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--night); color: var(--on-night); padding-block: 16px calc(16px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -8px 24px rgba(0,0,0,0.2); }
.cookie .wrap { display: flex; flex-direction: column; gap: 12px; }
.cookie p { font-size: 14px; color: #C6D2C9; }
.cookie a { color: var(--on-night); }
.cookie .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie .btn { min-height: 48px; font-size: 16px; padding: 0 12px; }
.cookie .btn.ghost { color: var(--on-night); }

/* Legal pages */
.legal { max-width: 720px; padding-block: 24px 80px; display: flex; flex-direction: column; gap: 16px; }
.legal h1 { font-size: clamp(32px, 8vw, 48px); }
.legal h2 { font-size: 22px; margin-top: 12px; }
.legal mark { background: #FFE0D1; padding: 0 4px; }

/* Larger screens */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .signup .row { display: flex; flex-wrap: wrap; gap: 8px; }
  .signup .row input { flex: 1 1 0; min-width: 0; }
  .signup .row .btn { flex: none; }
  /* Email + button on one line, phone and its note below */
  .signup .row input[type=tel], .signup .row .field-note { order: 1; flex-basis: 100%; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .step { grid-template-columns: minmax(0, 1fr); }
  .step .n { grid-row: auto; }
  .modes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mode { grid-template-columns: minmax(0, 1fr); }
  .mode .rate { grid-row: auto; }
  .offer { align-items: flex-start; }
  .cookie .wrap { flex-direction: row; align-items: center; justify-content: space-between; }
  .cookie .btns { display: flex; }
  .survey, .thanks { padding: 24px; }
  .survey-actions { flex-direction: row; align-items: center; }
}
@media (max-width: 599px) {
  .signup .row { display: flex; flex-direction: column; gap: 10px; }
  .signup .row .btn { width: 100%; }
  .cookie { left: var(--gutter); right: var(--gutter); }
}
@media (min-width: 900px) {
  body { font-size: 18px; }
  .lead { font-size: 20px; }
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 32px 72px; }
  .hero-copy { gap: 22px; }
  .hero-phone { max-width: 320px; border-width: 10px; border-radius: 48px; }
  .signup { max-width: 520px; }
  .survey, .thanks { max-width: 560px; }
  .band { padding-block: 80px; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .split.flip .art { order: -1; }
  .split .art img { width: 100%; max-width: 380px; }
  .sticky { display: none; }
  .foot { padding-bottom: 32px; }
}

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

/* ===== Photography, grain and footer ===== */
:root { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body::after { content: ""; position: fixed; inset: 0; z-index: 30; pointer-events: none; background-image: var(--grain); opacity: 0.07; mix-blend-mode: multiply; }

/* Photo band with a Strava-style overlay */
.photo-band { padding-block: 8px 44px; }
.photo { position: relative; margin: 0 calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px))); overflow: hidden; background: #C9B49A; aspect-ratio: 4 / 5; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,16,12,0.55) 0%, rgba(10,16,12,0.15) 30%, rgba(10,16,12,0) 48%, rgba(10,16,12,0) 70%, rgba(10,16,12,0.5) 100%), var(--grain); pointer-events: none; }
.ov { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 20px 20px; color: #FFFFFF; text-shadow: 0 2px 14px rgba(0,0,0,0.4); pointer-events: none; }
.ov-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ov-s { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ov-s span { font-size: clamp(11px, 3.2vw, 17px); font-weight: 600; opacity: 0.92; white-space: nowrap; }
.ov-s b { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 7.6vw, 52px); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.ov-s.hot b { color: var(--accent); }
.ov-bot { display: flex; justify-content: space-between; align-items: flex-end; }
.ov-logo { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 7vw, 44px); letter-spacing: -0.03em; line-height: 1; display: inline-flex; align-items: baseline; }
.ov-logo i { display: inline-block; width: 0.22em; height: 0.22em; border-radius: 50%; background: var(--accent); margin-left: 0.06em; }
.ov-route { width: clamp(84px, 24vw, 150px); height: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35)); }
.photo-caption { margin-top: 14px; font-size: 15px; color: var(--muted); }

/* Phone-down photo split */
.calm { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: center; }
.calm figure { margin: 0; position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 560px; background: #6E7A3C; }
.calm figure img { width: 100%; height: 100%; object-fit: cover; }
.calm figure::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.5; mix-blend-mode: overlay; pointer-events: none; }
.calm .copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

/* Footer */
.site-foot { position: relative; overflow: hidden; background: #E9C9A6; color: var(--ink); isolation: isolate; }
.site-foot .bg { position: absolute; inset: 0; z-index: -2; }
.site-foot .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.site-foot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ground) 0%, rgba(228,232,226,0.82) 22%, rgba(228,232,226,0) 58%), var(--grain); }
.foot-inner { display: flex; flex-direction: column; gap: 28px; padding-block: 56px 24px; min-height: 620px; }
.foot-brand { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot-logo { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -0.03em; line-height: 1; display: inline-flex; align-items: baseline; }
.foot-logo i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); margin-left: 3px; }
.foot-brand p { font-size: 17px; color: var(--ink-2); }
.foot-brand .btn { margin-top: 6px; min-height: 48px; font-size: 16px; }
.foot-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; max-width: 420px; }
.foot-links a, .foot-links button { min-height: 44px; display: inline-flex; align-items: center; font: inherit; font-size: 15px; color: var(--ink-2); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.foot-links a:hover, .foot-links button:hover { color: var(--ink); text-decoration: underline; }
.foot-bottom { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.45); font-size: 13px; color: rgba(255,255,255,0.92); text-shadow: 0 1px 8px rgba(0,0,0,0.35); padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }

@media (min-width: 600px) {
  .photo { margin: 0; border-radius: 26px; aspect-ratio: 16 / 10; }
  .ov { padding: 32px 36px 30px; }
  .ov-top { max-width: 720px; gap: 24px; }
  .calm { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
}
@media (min-width: 900px) {
  .photo-band { padding-block: 0 72px; }
  .foot-inner { min-height: 680px; padding-block: 88px 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto; column-gap: 48px; }
  .foot-brand { grid-column: 1; }
  .foot-links { grid-column: 2; grid-template-columns: repeat(2, auto); column-gap: 48px; align-self: start; }
  .foot-bottom { grid-column: 1 / -1; grid-row: 3; padding-bottom: 0; }
  .site-foot::before { background: linear-gradient(180deg, var(--ground) 0%, rgba(228,232,226,0.7) 26%, rgba(228,232,226,0) 60%), var(--grain); }
}
