/* jmcozy.com - eine Datei fuer alle Seiten. Farben wie in der App
   (app/src/lib/theme.ts), dazu Tuerkis und Orange aus dem Logo. */
/* Schrift Outfit liegt selbst unter /fonts (aus @fontsource/outfit 5.3.0,
   Lizenz in fonts/OFL.txt). Nichts wird von Google geladen. */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/outfit-latin-ext-400-normal.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; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/outfit-latin-400-normal.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: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/outfit-latin-ext-600-normal.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; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/outfit-latin-600-normal.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: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/outfit-latin-ext-700-normal.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; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/outfit-latin-700-normal.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; }
:root {
  --bg: #F8F7F5;
  --card: #FFFFFF;
  --text: #1A1A2E;
  --muted: #6B7280;
  --line: #E5E7EB;
  --primary: #6C3AE0;
  --cyan: #5CE1E6;
  --orange: #E88E68;
  --mine: #E5484D;
  --hers: #2F6FED;
  --green: #12A150;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Outfit", -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Kopf */
.top { display: flex; align-items: center; justify-content: space-between; padding: 20px; } /* seitlich wie .wrap, sonst klebt der Kopf am Rand */
.brand { display: flex; flex: none; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); white-space: nowrap; }
.brand img { width: 36px; height: 36px; }
.top nav { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.top nav a { color: var(--muted); }
/* Sprachwahl EN | DE (nur Startseiten) */
.lang { display: flex; align-items: center; gap: 6px; color: #C9CCD3; white-space: nowrap; }
.top .lang a[aria-current] { color: var(--text); font-weight: 600; }

/* Textseiten */
.doc { max-width: 720px; margin: 0 auto; padding: 8px 20px 72px; }
.doc h1 { font-size: 36px; margin: 16px 0 4px; }
.doc h2 { font-size: 19px; margin: 0 0 8px; color: var(--primary); }
.doc section { background: var(--card); border-radius: 16px; padding: 20px 22px; margin-top: 16px; }
.doc p, .doc li { margin: 0 0 10px; }
.doc ul { padding-left: 20px; margin: 0; }
.muted { color: var(--muted); font-size: 15px; }
/* FAQ auf /support und /de/support: Frage antippen, Antwort klappt auf. */
.doc details { border-top: 1px solid var(--line); padding: 10px 0; }
.doc details:last-child { padding-bottom: 0; }
.doc summary { cursor: pointer; font-weight: 600; }
.doc details[open] summary { margin-bottom: 8px; }
.doc details p:last-child { margin-bottom: 0; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--muted); }

@media (max-width: 520px) {
  .top nav { gap: 14px; font-size: 14px; }
  .top .nav-legal { display: none; } /* stehen im Fuss; oben bleibt nur EN | DE */
  /* „Datenschutzerklärung“ und „Nutzungsbedingungen“ passen in 36px nicht auf 375px. */
  .doc h1 { font-size: 30px; overflow-wrap: break-word; }
}

/* Einladungsseite /join/<CODE> (join/index.html, invite.js). Der Knopf ist
   .h-btn von der Startseite, hier ueber die volle Breite. */
.invite { max-width: 480px; margin: 0 auto; padding: 16px 20px 72px; text-align: center; }
.invite h1 {
  margin: 24px 0 12px; font-size: clamp(36px, 10vw, 52px); line-height: 1.05;
  font-weight: 400; letter-spacing: -0.015em; text-wrap: balance;
}
.invite-lead { margin: 0 0 28px; font-size: 19px; color: #45455C; text-wrap: pretty; }
.invite-codebox {
  margin: 0 0 20px; padding: 16px 12px; background: var(--card);
  border: 1px solid var(--primary); border-radius: 16px;
}
.invite-codelabel {
  display: block; font-size: 13px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--primary);
}
.invite-code {
  display: block; font-size: clamp(30px, 10vw, 44px); font-weight: 700; line-height: 1.3;
  letter-spacing: .08em; color: var(--primary); overflow-wrap: anywhere;
}
.invite .invite-open { display: block; padding-left: 16px; padding-right: 16px; } /* .h-btn steht weiter unten */
.invite-note { margin: 14px 0 0; }
.invite-noapp {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line);
}
.invite-noapp p { margin: 0; font-weight: 600; }
.invite-store {
  display: block; width: 100%; padding: 14px 16px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--text); font-weight: 600;
}
.invite-android { color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------------------
   Startseite (index.html, <body class="home">). Aufbau nach
   docs/BRAND.md Abschnitt 10. Alles haengt an .home bzw. .h-*, damit
   /support, /privacy und /impressum unveraendert bleiben.
   ------------------------------------------------------------------ */
.home {
  --serif: "Outfit", sans-serif;
  --ink-soft: #45455C;
  --sand: #F2EBE2;
  --peach: #F8E7DB;
  --night: #221C36;
  --night-text: #D3CCDE;
  --warm-label: #7A5A46;
}
.home .top { padding-left: 20px; padding-right: 20px; } /* .top hebt sonst das Seitenpolster von .wrap auf */
.home h1, .home h2, .home h3 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em;
  font-optical-sizing: auto; text-wrap: balance;
}
.h-quote { text-wrap: balance; }
.home main p { text-wrap: pretty; }
.home a:focus-visible, .home button:focus-visible {
  outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px;
}
.home a.h-btn:focus-visible { border-radius: 999px; }

.h-eyebrow {
  margin: 0 0 18px; font-size: 13px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--primary);
}

/* 1. Hero */
.h-hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: min(76vh, 740px); padding: 56px 0 120px;
}
.h-hero-art {
  position: absolute; z-index: 0; right: max(16px, calc((100vw - 1240px) / 2)); top: 50%;
  width: min(44vw, 540px); transform: translateY(-50%);
  opacity: .55;
}
.h-hero-text { position: relative; z-index: 1; width: 100%; }
.h-hero h1 {
  margin: 0 0 28px; max-width: 11ch;
  font-size: clamp(46px, 8vw, 104px); line-height: 1; font-weight: 350;
}
.h-hero h1 em { color: var(--primary); }
.h-lead { margin: 0 0 40px; max-width: 34ch; font-size: clamp(19px, 2vw, 22px); color: var(--ink-soft); }
.h-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.h-btn {
  display: inline-block; padding: 16px 36px; border-radius: 999px;
  background: var(--primary); color: #fff; font-weight: 600; font-size: 18px;
  box-shadow: 0 10px 30px rgba(108,58,224,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.h-btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 14px 34px rgba(108,58,224,.32); }
.h-android {
  color: var(--muted); font-size: 15px;
  text-decoration: underline; text-decoration-color: #C9CCD3; text-underline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .h-orb-o { animation: h-drift-o 9s ease-in-out infinite alternate; }
  .h-orb-c { animation: h-drift-c 9s ease-in-out infinite alternate; }
}
/* Die zwei Kreise ruecken langsam naeher zusammen, beruehren sich aber nie. */
@keyframes h-drift-o { to { transform: translate(4px, 4px); } }
@keyframes h-drift-c { to { transform: translate(-4px, -4px); } }
@media (prefers-reduced-motion: reduce) {
  .h-btn { transition: none; }
}

/* 2. Insight */
.h-insight { background: var(--sand); padding: 140px 0; text-align: center; }
.h-time {
  margin: 0 0 28px; font-size: 14px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--warm-label);
}
.h-insight h2 { margin: 0 auto; max-width: 24ch; font-size: clamp(34px, 5vw, 60px); line-height: 1.14; font-weight: 350; }

/* Gemeinsam fuer die Abschnitte 3-6 */
.h-section { padding: 128px 0; }
.h-section h2 { margin: 0 0 24px; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; }
.h-copy > p:not(.h-eyebrow) { margin: 0 0 16px; max-width: 34ch; font-size: 19px; color: var(--ink-soft); }
.h-copy-narrow { max-width: 640px; margin-bottom: 64px; }
.h-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.h-split-rev > .h-copy { order: 2; }

/* Echte App-Screenshots (img/screens/README.md). Ein .shot-phone bleibt
   unsichtbar, bis sein Bild geladen ist (onload im HTML setzt .on und am
   .shot .has-shot). Bis dahin steht die gezeichnete Attrappe (.shot-mock) da.
   Fehlt die Datei, passiert nichts: kein kaputtes Bild, nur die Attrappe.
   Deshalb kein loading="lazy" an diesen Bildern: ein unsichtbares Bild lädt
   der Browser beim Hinscrollen nie, die Seite blieb am Handy leer (18.10.). */
.shot { display: flex; flex-direction: column; align-items: center; width: 100%; min-width: 0; }
.shot-phones { display: flex; justify-content: center; align-items: flex-start; width: 100%; }
.shot-phone {
  display: none; width: 290px; max-width: 100%; padding: 11px; border-radius: 46px; background: #17171F;
  box-shadow: 0 40px 80px rgba(26,26,46,.18), 0 8px 20px rgba(26,26,46,.1), inset 0 0 0 2px #2C2C36;
}
.shot-phone.on { display: block; }
.shot-phone img { display: block; width: 100%; height: auto; border-radius: 36px; }
.shot.has-shot .shot-mock { display: none; }
/* Zwei Handys nebeneinander (Together + Trip), leicht versetzt */
.shot-duo .shot-phone { width: min(240px, 52%); padding: 8px; border-radius: 34px; }
.shot-duo .shot-phone img { border-radius: 27px; }
.shot-duo .shot-phone.on + .shot-phone.on { margin: 56px 0 0 -16px; }

/* 3. Kleine Zeichen - der gezeichnete Snip (Attrappe fuer snip.png) */
.h-snip {
  width: 300px; max-width: 100%; margin: 0;
  padding: 12px 12px 18px; border-radius: 8px; background: #fff;
  box-shadow: 0 30px 60px rgba(26,26,46,.16); transform: rotate(3deg);
}
.h-snip svg { display: block; width: 100%; height: auto; border-radius: 4px; }
.h-snip figcaption { padding: 12px 4px 0; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.2; }
.h-snip small { display: block; margin-top: 4px; font-family: "Outfit", sans-serif; font-style: normal; font-size: 13px; color: var(--muted); }

.h-day, .h-arrive { background: var(--card); }
.h-day-top { margin-bottom: 72px; }
.h-moments {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line);
}
.h-moments li { padding: 40px 32px 8px 0; }
.h-moments li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.h-glyph { display: block; width: 40px; height: 40px; margin-bottom: 20px; }
.home .h-moments h3 {
  margin: 0 0 12px; font-family: inherit; font-size: 14px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.h-quote { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; }

/* 4. Vorfreude */
.h-ticket {
  width: 100%; max-width: 400px; overflow: hidden;
  border-radius: 24px; background: var(--card);
  box-shadow: 0 30px 60px rgba(26,26,46,.12); transform: rotate(-2deg);
}
.h-ticket-main {
  position: relative; display: flex; flex-direction: column; padding: 32px 32px 28px;
  background: linear-gradient(160deg, #FBE9DD 0%, #F6D5C1 60%, #F1CBD3 100%);
  border-bottom: 2px dashed rgba(26,26,46,.15);
}
.h-ticket-main::before, .h-ticket-main::after {
  content: ""; position: absolute; bottom: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg);
}
.h-ticket-main::before { left: -12px; }
.h-ticket-main::after { right: -12px; }
.h-ticket-label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--warm-label); }
.h-ticket-city { margin: 18px 0 8px; font-family: var(--serif); font-size: 64px; line-height: 1; font-weight: 350; }
.h-ticket-days { font-size: 18px; color: var(--ink-soft); }
.h-ticket-days b { margin-right: 4px; font-family: var(--serif); font-size: 40px; font-weight: 400; color: var(--primary); }
.h-ticket-list { display: grid; gap: 12px; margin: 0; padding: 22px 32px 28px; list-style: none; font-size: 16px; }
.h-ticket-list li { display: flex; align-items: center; gap: 12px; }
.h-ticket-list li::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--cyan); }

/* 5. Privat und 6. Fuer wen: nur Ueberschrift und ein Satz */
.h-private { background: var(--night); color: #F5F1EC; }
.h-private .h-eyebrow { color: var(--cyan); }
.h-private .h-copy > p:not(.h-eyebrow) { color: var(--night-text); }
.h-private .h-copy-narrow, .h-who .h-copy-narrow { margin-bottom: 0; }
.h-private .h-copy > p:last-child, .h-forward .h-copy > p:last-child { margin-bottom: 0; }
.h-who h2 { margin-bottom: 0; }

/* 7. Schluss + Anmeldung (#join) - join.js schreibt in die Tabelle waitlist */
.h-final { padding: 140px 0 120px; text-align: center; background: linear-gradient(180deg, var(--bg) 0%, var(--peach) 100%); }
.h-final h2 { margin: 0 0 48px; font-size: clamp(44px, 7vw, 88px); line-height: 1.02; font-weight: 350; }
.home .join {
  max-width: 520px; margin: 0 auto; padding: 36px; border-radius: 28px;
  background: var(--card); text-align: left; box-shadow: 0 30px 60px rgba(26,26,46,.08);
}
.home .join > p { margin: 0 0 22px; font-size: 16px; color: var(--ink-soft); }
.home .join form { display: grid; gap: 14px; }
.home .join label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.home .join input {
  width: 100%; padding: 12px 14px; border-radius: 12px; font: inherit; font-weight: 400;
  border: 1px solid #D5D8DE; background: var(--bg); color: var(--text);
}
.home .join input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.home .join button {
  margin-top: 4px; padding: 15px 22px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 18px; background: var(--primary); color: #fff;
}
.home .join button:hover { filter: brightness(1.06); }
.home .join button:disabled { opacity: .6; cursor: wait; }
.home .join .join-phone { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.home .join .join-phone legend { padding: 0; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.home .join .join-phone label {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; cursor: pointer;
  border: 1px solid #D5D8DE; background: var(--bg);
}
.home .join .join-phone label:has(input:checked) { border-color: var(--primary); outline: 1px solid var(--primary); }
.home .join .join-phone input { width: auto; margin: 0; padding: 0; accent-color: var(--primary); }
.home .join .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* Honeypot */
.join-status { margin: 0; min-height: 1.6em; text-align: center; font-weight: 600; }
.join-status.ok { color: var(--green); }
.join-status.error { color: var(--mine); }

@media (max-width: 900px) {
  .h-hero { min-height: 0; padding: 48px 0 96px; }
  .h-hero-art { top: 12px; right: 20px; width: 220px; transform: none; opacity: .6; }
  .h-split { grid-template-columns: 1fr; gap: 56px; }
  .h-split-rev > .h-copy { order: 0; }
  .h-moments { grid-template-columns: 1fr; }
  .h-moments li, .h-moments li + li { padding: 32px 0; border-left: 0; }
  .h-moments li + li { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .h-hero { padding: 32px 0 80px; }
  .h-hero-art { top: 4px; right: 16px; width: 140px; }
  .h-hero .h-eyebrow { margin-bottom: 64px; }
  .h-insight { padding: 96px 0; }
  .h-section { padding: 88px 0; }
  .h-final { padding: 96px 0 88px; }
  .h-copy-narrow { margin-bottom: 40px; }
  .shot-phone { width: 256px; border-radius: 42px; }
  .shot-phone img { border-radius: 32px; }
  .shot-duo .shot-phone { width: 52%; padding: 6px; border-radius: 26px; }
  .shot-duo .shot-phone img { border-radius: 21px; }
  .shot-duo .shot-phone.on + .shot-phone.on { margin-top: 40px; }
  .h-snip { width: 250px; }
  .h-snip figcaption { font-size: 19px; }
  .h-day-top { margin-bottom: 48px; }
  .h-ticket-city { font-size: 52px; }
  .h-ticket-main, .h-ticket-list { padding-left: 24px; padding-right: 24px; }
  .home .join { padding: 24px; }
}
