/* ============================================================================
   askese.me — Landing (askese.me, apex).
   Static: no build, no framework, no JavaScript.

   As it stands today it is ONE screen. The long version (screens, „So
   funktioniert es", the three spheres) sits with its own CSS under
   drafts/full-page.html and is not served — it is the store the page later
   grows back out of.

   The tokens are the app's (client/src/styles/tokens.css), copied on purpose
   rather than imported: the page must not depend on the Vue build to stay on
   brand.
   ========================================================================== */

/* Schibsted Grotesk — SELF-HOSTED. Never a <link> to fonts.googleapis.com: that
   hands the visitor's IP to Google without consent, which German courts have
   already treated as a DSGVO breach. The same two variable files the app
   ships. */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #232732;
  --ink-strong: #14161d;
  /* Darker than the app's --soft (#6f7681): on these light backgrounds that
     value lands at 4.0:1 — below WCAG AA for body text, and this page is public
     in the EU, where AA is the expected bar. */
  --soft: #5f6672;

  --blue: #6e88c6;
  --blue2: #5e78bc;
  --navy: #131b36;          /* the app icon's ground — the only dark surface */

  --line: rgba(60, 67, 90, .10);
  --r-btn: 16px;

  --shadow-btn: 0 16px 30px -16px rgba(19, 27, 54, .7);
  --shadow-phone: 0 40px 90px -34px rgba(10, 16, 38, .75), 0 2px 6px rgba(10, 16, 38, .2);
  --pad: clamp(26px, 4.4vw, 64px);
}

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

body {
  margin: 0;
  font-family: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #f4f1ee;
  -webkit-font-smoothing: antialiased;
}

/* height:auto is not cosmetic here: width/height on <img> are presentational
   hints, so an image with a CSS width but no CSS height keeps the attribute's
   height and loses its aspect ratio. The attributes stay — they reserve the space
   and stop the layout from jumping while the image loads. */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue2); }

:focus-visible { outline: 2px solid var(--blue2); outline-offset: 3px; border-radius: 6px; }

/* ── Wordmark ───────────────────────────────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand img { width: 30px; height: 30px; }
.brand span { font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: var(--ink-strong); }
.brand span i { font-style: normal; color: var(--blue); }

/* ── The one screen ─────────────────────────────────────────────────────── */
/* 100svh, not 100vh: on a phone vh counts with the browser bar collapsed, so it
   pushes out exactly the footer this page carries at the bottom. */
.screen {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  min-height: 100vh;
  min-height: 100svh;
}

.pane {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(24px, 3.2vw, 42px) var(--pad);
  /* The app's atmosphere: a luminous brand accent, restrained lavender, warm
     paper. */
  background:
    radial-gradient(620px 420px at 8% -8%, rgba(146, 197, 239, .45), transparent 62%),
    radial-gradient(520px 460px at 96% 6%, rgba(150, 130, 210, .20), transparent 64%),
    radial-gradient(700px 600px at 54% 116%, rgba(240, 212, 188, .55), transparent 62%),
    linear-gradient(176deg, #eceff6 0%, #efedf3 52%, #f6f1ec 100%);
}

.pitch { max-width: 34rem; }

.eyebrow {
  margin: 0 0 20px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue2);
}
h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  font-weight: 600; line-height: 1; letter-spacing: -.035em;
  color: var(--ink-strong);
}
h1 em { font-style: normal; color: var(--blue); }
.lead {
  margin: 24px 0 0;
  max-width: 30rem;
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  line-height: 1.6;
  color: #4c5361;
}

/* ── Store tiles ────────────────────────────────────────────────────────── */
.stores { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; }
.store {
  display: flex; align-items: center; gap: 13px;
  padding: 12px 22px 12px 14px;
  border-radius: var(--r-btn);
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-btn);
  text-decoration: none;
}
.store img { width: 38px; height: 38px; border-radius: 10px; }
.store .l1 { display: block; font-size: 11px; letter-spacing: .05em; color: rgba(255, 255, 255, .62); }
.store .l2 { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.store:hover { transform: translateY(-1px); }
/* No links yet — there is no store listing. A ghost tile instead of the solid
   one: unmistakably the same object, visibly not yet a button. Once the listings
   exist the <span> becomes an <a> and the style above takes over. */
.store[aria-disabled='true'] {
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(19, 27, 54, .13);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(40, 50, 85, .04);
  cursor: default;
}
.store[aria-disabled='true'] .l1 { color: var(--soft); }
.store-note { margin: 20px 0 0; font-size: 15px; color: var(--soft); max-width: 30rem; }

/* ── Newsletter sign-up ─────────────────────────────────────────────────── */
/* In the page only while VITE_NEWSLETTER_FORM is on (landing/.env.production, the block between
   the signup markers in index.html); with the flag off these rules match nothing. A plain HTML
   form — the page has no JavaScript. */
.signup {
  max-width: 30rem;
  margin: 28px 0 0;
  padding: 20px 20px 22px;
  border: 1px solid rgba(19, 27, 54, .13);
  border-radius: var(--r-btn);
  background: rgba(255, 255, 255, .62);
}
.signup h2 { margin: 0 0 6px; font-size: 1.15rem; font-weight: 600; letter-spacing: -.015em; color: var(--ink-strong); }
.signup-intro { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: var(--soft); }
.signup .field { margin: 0 0 12px; }
.signup .field label { display: block; margin: 0 0 4px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
/* 16 px type or more: a smaller one makes a phone zoom into the field. */
.signup .field input {
  display: block; width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid rgba(19, 27, 54, .22); border-radius: 12px;
  background: #fff; color: var(--ink); font: inherit; font-size: 16px;
}
.signup .field input:focus-visible { outline: 2px solid var(--blue2); outline-offset: 2px; }
/* Off screen and out of reach, but not display:none — some robots skip a field they can tell is hidden. */
.signup .trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.signup .tick {
  display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; align-items: start;
  margin: 4px 0 16px; font-size: 14px; line-height: 1.5; color: var(--ink);
}
/* Larger than the browser's default: a thumb has to hit it. */
.signup .tick input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--blue2); }
.signup .tick a { color: var(--blue2); font-weight: 600; text-underline-offset: .2em; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.signup-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px;
  border: 0; border-radius: var(--r-btn);
  background: var(--navy); color: #fff;
  font: inherit; font-size: 16px; font-weight: 600; letter-spacing: -.01em;
  box-shadow: var(--shadow-btn); cursor: pointer;
}
.signup-button:hover { transform: translateY(-1px); }
@media (max-width: 900px) {
  .signup { max-width: none; margin-top: 22px; padding: 18px 16px 20px; }
}
@media (max-width: 560px) {
  .signup-button { width: 100%; }
}

/* ── Footer inside the text pane ────────────────────────────────────────── */
.pane-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.pane-foot a { color: var(--soft); text-decoration: none; }
.pane-foot a:hover { color: var(--ink); }
.pane-foot .copy { margin-left: auto; color: var(--soft); }

/* ── Photo pane ─────────────────────────────────────────────────────────── */
.pane-photo { position: relative; overflow: hidden; background: var(--navy); }
.pane-photo .photo { width: 100%; height: 100%; object-fit: cover; }
/* A soft shadow from the bottom right — it carries the phone instead of gluing
   it onto some arbitrarily bright patch of curtain. */
.pane-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top left, rgba(12, 18, 38, .58), transparent 58%);
  pointer-events: none;
}
.pane-photo .phone {
  position: absolute; z-index: 1;
  /* Right, not left: in this photo her face is on the left, and a phone laid
     across a face is not a composition but an accident. */
  right: 7%; bottom: -7%;
  width: min(46%, 292px);
  padding: 6px;
  border-radius: 32px;
  background: linear-gradient(170deg, rgba(255, 255, 255, .96), rgba(214, 221, 236, .86));
  box-shadow: var(--shadow-phone);
}
.pane-photo .phone img { border-radius: 26px; width: 100%; }

/* ── Narrow screens ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .screen { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  /* Photo to the top and the phone disappears: on a phone the one screen has no
     room for both, and the text is the more important of the two. */
  .pane-photo { order: -1; height: 22svh; min-height: 150px; max-height: 230px; }
  .pane-photo .phone { display: none; }
  .pane-photo::after { background: linear-gradient(to top, rgba(12, 18, 38, .35), transparent 62%); }
  .pane { gap: 20px; padding-top: 22px; }
  .pitch { max-width: none; }
  .eyebrow { margin-bottom: 14px; }
  .stores { margin-top: 26px; }
  .store { padding: 11px 18px 11px 12px; }
  .store-note { margin-top: 16px; }
  .pane-foot { padding-top: 16px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .stores { flex-direction: column; align-items: stretch; }
  /* On a phone the © costs a whole line and carries nothing: legally the
     Impressum is what counts, and that sits right next to it. */
  .pane-foot .copy { display: none; }
}
/* Landscape on a phone: a forced „one screen" would be a mush of 40 px rows
   here — better to let it scroll. */
@media (max-height: 560px) and (max-width: 900px) {
  .pane-photo { display: none; }
  .screen { min-height: 0; }
}

/* ── Legal pages (impressum.html, datenschutz.html, datenschutz-app.html) ─ */
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--pad); }
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 26px; padding-bottom: 26px; }
/* Top and bottom only: a `padding` shorthand here zeroed the side padding of .wrap, and the
   text ran to the screen edge on a phone. The column stays 720px of text on a wide screen. */
.doc { max-width: calc(720px + 2 * var(--pad)); padding-top: clamp(30px, 6vw, 56px); padding-bottom: clamp(60px, 9vw, 96px); }
.doc h1 { font-size: clamp(2.1rem, 5vw, 3rem); }
.doc .stand { margin: 14px 0 0; color: var(--soft); font-size: 14px; }
.doc h2 { margin: 44px 0 0; font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em; color: var(--ink-strong); }
.doc p, .doc li { color: #4c5361; font-size: 16px; }
.doc p { margin: 12px 0 0; }
.doc ul { margin: 12px 0 0; padding-left: 20px; }
.doc li { margin-top: 8px; }
.doc .back { display: inline-block; margin-top: 46px; font-size: 15px; color: var(--soft); text-decoration: none; }
.doc .back:hover { color: var(--ink); }
/* The operator fills these in before going live — visible on purpose. */
.doc .todo { background: #fdf3d8; border-radius: 4px; padding: 1px 5px; color: #7a5c14; }

/* datenschutz-app.html: the app's three documents on one page, generated from the app. */
.doc .toc { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; font-size: 15px; }
.doc .toc a { color: var(--soft); }
.doc .toc a:hover { color: var(--ink); }
.doc .legal { scroll-margin-top: 24px; }
.doc .legal h2 { margin-top: 64px; font-size: clamp(1.5rem, 3.4vw, 1.9rem); }
.doc .legal h3 { margin: 30px 0 0; font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink-strong); }

.site-foot { border-top: 1px solid var(--line); padding: 34px 0 46px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 15px; }
.foot-row nav a { color: var(--soft); text-decoration: none; }
.foot-row nav a:hover { color: var(--ink); }
