/* Just Your Cards: ruhig, viel Raum, Kobalt nur als Akzent. Schriften liegen lokal, kein Google-Abruf.
   Inter für alles (Oles Wahl 09.11.2026: sieht aus wie die Apple-Schrift, aber auf jedem Gerät gleich). Variable Schrift mit allen Stärken
   und optischer Größe (große Überschriften laufen schmaler). Archivo nur noch für das Logo „just your cards“. */
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("/fonts/inter.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: "Inter"; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-weight: 200; font-display: swap; src: url("/fonts/archivo-200.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Archivo"; font-weight: 200; font-display: swap; src: url("/fonts/archivo-ext-200.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0237, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-weight: 900; font-display: swap; src: url("/fonts/archivo-900.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Archivo"; font-weight: 900; font-display: swap; src: url("/fonts/archivo-ext-900.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0237, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f5f5f7; --panel: #ffffff; --fg: #1d1d1f; --muted: #62626a; --line: #d2d2d7;
  --accent: #2f4cf0; --accent-text: #2f4cf0; --on-accent: #ffffff; --good: #1a7f37; --bad: #c9302c;
  --logo: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ui: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
/* Dunkel: wenn das Gerät dunkel ist und niemand auf Hell umgestellt hat, oder wenn jemand auf Dunkel umgestellt hat */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #000000; --panel: #111113; --fg: #f5f5f7; --muted: #a1a1a6; --line: #2c2c2e;
          --accent: #3d5afe; --accent-text: #6b83ff; --good: #30d158; --bad: #ff453a; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #000000; --panel: #111113; --fg: #f5f5f7; --muted: #a1a1a6; --line: #2c2c2e;
          --accent: #3d5afe; --accent-text: #6b83ff; --good: #30d158; --bad: #ff453a; color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.5 var(--ui); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-text); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)) 0 max(20px, env(safe-area-inset-right)); }

/* Wortmarke: "just" dünn mit Kärtchen statt Punkt, "your cards" kräftig */
.logo { font-family: var(--logo); text-transform: lowercase; line-height: .9; letter-spacing: -.035em; }
.logo i { display: block; font-style: normal; font-weight: 200; color: var(--accent-text); }
.logo b { display: block; font-weight: 900; }
.jd { position: relative; }
.dc { position: absolute; left: .05em; top: .11em; width: .1em; height: calc(.1em * 88 / 63); background: currentColor; border-radius: .015em; }
/* Die kleine Karte lebt: Beim Laden fällt sie mit Drall auf das j und federt nach, danach dreht sie sich alle 7 Sekunden einmal um,
   bei der Maus über dem Logo sofort. Wer weniger Bewegung möchte, sieht sie still. */
.jd { perspective: 1.2em; }
.dc { transform-origin: 50% 60%; animation: dc-drop 1.15s cubic-bezier(.2, .8, .25, 1) .35s both, dc-flip 7s ease-in-out 3.5s infinite; }
.logo:hover .dc { animation: dc-turn .7s ease-in-out; }
@keyframes dc-drop {
  0% { transform: translateY(-1.3em) rotate(-40deg); opacity: 0; }
  20% { opacity: 1; }
  58% { transform: translateY(.07em) rotate(10deg); }
  76% { transform: translateY(-.035em) rotate(-4deg); }
  90% { transform: translateY(.01em) rotate(1deg); }
  100% { transform: none; }
}
@keyframes dc-flip {
  0%, 86% { transform: none; }
  93% { transform: rotateY(90deg) translateY(-.02em); }
  100% { transform: rotateY(180deg); }
}
@keyframes dc-turn { from { transform: none; } to { transform: rotateY(180deg); } }
@media (prefers-reduced-motion: reduce) { .dc, .logo:hover .dc { animation: none; } }

/* Kopf */
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.top .logo { font-size: 28px; text-decoration: none; color: var(--fg); }
.lang { font-size: 14px; color: var(--muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.lang:hover { color: var(--fg); border-color: var(--muted); }
.top-right { display: flex; gap: 8px; align-items: center; }
.theme { font: inherit; font-size: 14px; background: none; cursor: pointer; line-height: inherit; }

/* Erster Bildschirm: links der Leitsatz, rechts das iPhone mit dem Video aus der App (Ole, 10.11.2026) */
.hero { padding: clamp(20px, 3vw, 40px) 0 clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero-text { min-width: 0; }
.hero-phone { margin: 0; justify-self: end; }
/* Das iPhone schwebt ganz leicht, damit es nicht wie ein Bild wirkt */
.hero-phone .pv { width: clamp(230px, 24vw, 320px); animation: hero-float 7s ease-in-out infinite; will-change: transform; }
.hero-phone .pv-screen { background: #000; }
.hero-note { margin: 14px auto 0; max-width: 30ch; font-size: 13px; line-height: 1.4; color: var(--muted); text-align: center; text-wrap: pretty; }
@keyframes hero-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-9px) rotate(.5deg); } }
@media (prefers-reduced-motion: reduce) { .hero-phone .pv { animation: none; } }
@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); row-gap: 28px; justify-items: start; }
  .hero-phone { justify-self: center; }
  .hero-phone .pv { width: min(58vw, 240px); }
}
/* Leitsatz „track your cards.“ ist eine Form des Logos (das Verb ersetzt „just“, wie in den Reels), daher Archivo wie das Logo (Ole, 09.11.2026) */
.hero .logo { font-size: clamp(60px, min(13vw, 17vh), 150px); margin: 0; }
.hero .logo i { min-height: .9em; }
.verb { display: inline-block; transition: opacity .35s ease, transform .35s ease; }
.verb.out { opacity: 0; transform: translateY(-.12em); }
.sub { max-width: 34ch; font-size: clamp(19px, 2.2vw, 23px); color: var(--muted); margin: 28px 0 0; text-wrap: pretty; }
.sub strong { color: var(--fg); font-weight: 600; }
h1.sub { font-weight: 400; letter-spacing: normal; line-height: 1.35; }  /* die Unterzeile ist die Hauptüberschrift für Suchmaschinen */
.faq { padding: clamp(32px, 5vw, 64px) 0 0; max-width: 760px; }
.faq h2 { margin: 0 0 12px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); max-width: 62ch; }
.cta { display: inline-flex; margin-top: 32px; }
.hero .browser { margin: 14px 0 0; font-size: 14px; color: var(--muted); max-width: 36ch; }

/* Funktionen als Bento: Kacheln in verschiedenen Größen, abgerundet, ohne Linien (Oles Wahl 09.11.2026).
   Laptop: 6 Spalten. scan groß und dunkel mit Video, track/sell breit (Text links, Bild rechts), drei iPhones nebeneinander, present über die ganze Breite. */
.features { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 380px; gap: 16px; }
.feature { position: relative; border-radius: 28px; background: var(--panel); padding: 30px 30px 0; overflow: hidden; display: flex; flex-direction: column; gap: 8px;
           box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 30px rgba(0, 0, 0, .05); }
.feature h3 { margin: 0; font-size: 32px; line-height: 1; letter-spacing: -.025em; text-transform: lowercase; }
.feature h3 i { font-style: normal; font-weight: 200; color: var(--accent-text); }
.feature h3 b { font-weight: 700; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; max-width: 34ch; }
/* Screenshots aus der App: das iPhone ragt von unten in die Kachel, Laptop und iPhone Duo stehen rechts daneben */
.shot { order: 3; margin: auto -30px 0; padding-top: 18px; display: flex; justify-content: center; }
.shot img { display: block; height: auto; }
.shot-phone > img { width: 220px; }
.f-scan { grid-column: span 2; grid-row: span 2; background: #0b0b0f; }
.f-scan h3 b { color: #f5f5f7; }
.f-scan h3 i { color: #6b83ff; }
.f-scan p { color: #a1a1a6; }
.f-scan .shot { padding-top: 30px; }
.f-track, .f-sell, .f-present { grid-column: span 4; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: auto 1fr;
                                column-gap: 24px; row-gap: 8px; align-content: start; padding: 34px 0 0 34px; }
.f-present { grid-column: span 6; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); }
.f-track h3, .f-sell h3, .f-present h3 { grid-column: 1; grid-row: 1; }
.f-track p, .f-sell p, .f-present p { grid-column: 1; grid-row: 2; }
.f-track .shot, .f-sell .shot, .f-present .shot { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0; align-items: flex-start; justify-content: flex-start; }
.f-track .shot img { width: 520px; max-width: none; margin-top: 8px; }
.f-sell .shot img { width: 600px; max-width: none; margin-top: 30px; }
.f-present .shot img { width: 700px; max-width: none; margin-top: 4px; }
.f-show, .f-ship, .f-trade { grid-column: span 2; }
/* Video im iPhone: der Rahmen liegt über dem Video, sein Bildschirm ist durchsichtig */
.pv { position: relative; width: 300px; }
.pv img { display: block; width: 100%; height: auto; }
.pv-screen { position: absolute; left: 4.25%; top: 1.6%; width: 91.5%; height: 96.8%; object-fit: cover; background: #000; }
.pv-frame { position: relative; z-index: 1; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .feature { box-shadow: none; border: 1px solid var(--line); }
  :root:not([data-theme="light"]) .f-scan { background: #0a0a0d; }
}
:root[data-theme="dark"] .feature { box-shadow: none; border: 1px solid var(--line); }
:root[data-theme="dark"] .f-scan { background: #0a0a0d; }
/* Tablet und Handy: eine Spalte, jede Kachel so hoch wie nötig, das Bild unten angeschnitten */
@media (max-width: 860px) {
  .features { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 14px; }
  .feature, .f-scan, .f-track, .f-sell, .f-present, .f-show, .f-ship, .f-trade { grid-column: auto; grid-row: auto; display: flex; flex-direction: column; padding: 26px 24px 0; border-radius: 24px; }
  .feature h3 { font-size: 30px; }
  .shot, .f-track .shot, .f-sell .shot, .f-present .shot { margin: 18px -24px 0; padding: 0 20px; height: 270px; overflow: hidden; justify-content: center; align-items: flex-start; }
  .f-scan .shot { height: 480px; padding-top: 0; }  /* das Video zeigt seine Hinweise im unteren Drittel */
  .shot-phone > img { width: 230px; }
  .pv { width: 260px; }
  .f-track .shot img, .f-sell .shot img, .f-present .shot img { width: 100%; max-width: 560px; margin-top: 10px; }
  .f-track .shot, .f-sell .shot, .f-present .shot { height: auto; padding-bottom: 22px; }
}

/* Warteliste */
.join { margin: clamp(56px, 9vw, 104px) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.join h2 { margin: 0; font-weight: 700; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -.025em; }
.join .founder { margin: 18px 0 0; color: var(--muted); max-width: 38ch; }
.form { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: grid; gap: 14px; }
.field { display: flex; gap: 10px; flex-wrap: wrap; }
.field input[type=email] { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 17px; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.field input[type=email]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.btn { font: 600 17px var(--ui); background: var(--accent); color: var(--on-accent); border: 0; border-radius: 999px; padding: 14px 24px; cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .6; cursor: default; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.msg { margin: 0; font-size: 15px; min-height: 1.5em; }
.msg.ok { color: var(--good); font-weight: 600; }
.msg.err { color: var(--bad); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Fuß */
footer { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--fg); }

/* Unterseiten: Impressum, Datenschutz, Bestätigung */
.doc { max-width: 720px; padding: 24px 0 72px; }
.doc h1 { font-weight: 700; font-size: clamp(34px, 5vw, 48px); letter-spacing: -.025em; line-height: 1.05; margin: 24px 0 8px; }
.doc h2 { font-size: 20px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--fg); }
.doc .note { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: var(--muted); font-size: 15px; }
.doc .ph { background: color-mix(in srgb, var(--accent) 18%, transparent); border-radius: 4px; padding: 0 4px; }

@media (max-width: 760px) { .join { grid-template-columns: 1fr; gap: 24px; } }
@media (prefers-reduced-motion: reduce) { .verb { transition: none; } }
.feature:last-child { grid-column: 1 / -1; }
