/* Catch – Copyright (C) 2026 PupJune2 (https://junify.live)
   SPDX-License-Identifier: AGPL-3.0-only
   GNU AGPL-3.0 with additional terms (attribution required) – see LICENSE and NOTICE.md */
/* Catch – Website (catch-mobile.info). Gleiche Farben und Schrift wie die App. */

@font-face { font-family: "Jakarta"; src: url("fonts/PlusJakartaSans_400Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("fonts/PlusJakartaSans_600SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("fonts/PlusJakartaSans_700Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("fonts/PlusJakartaSans_800ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #16203a;
  --bg-deep: #111a30;
  --raised: #22304f;
  --surface: #22304f;
  --surface-alt: #2b3b60;
  --line: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #8c97b2;
  --on-light: #14203a;
  --on-light-muted: rgba(20, 32, 58, 0.68);
  --lime: #c7e8a5;
  --lilac: #c9bbda;
  --orange: #ff7a1a;
  --cyan: #2ec8e6;
  --cream: #fff4ee;
  --radius: 24px;
  --radius-lg: 32px;
  --pill: 999px;
  --gutter: 20px;
  --max: 1140px;
  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- Buttons & Pills -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: var(--pill);
  font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .15s ease, background-color .15s ease, opacity .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--lime); color: var(--on-light); }
.btn-orange { background: var(--orange); color: var(--on-light); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.22); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--pill);
  font-size: 13px; font-weight: 700; letter-spacing: .01em;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill-lime { background: rgba(199, 232, 165, 0.14); color: var(--lime); }
.pill-orange { background: var(--orange); color: var(--on-light); }

/* --- Navigation -------------------------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(22, 32, 58, 0.78); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; text-decoration: none; }
.brand img { width: 30px; height: 33px; }
.nav-links { display: none; gap: 28px; font-weight: 600; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
@media (min-width: 860px) { .nav-links { display: flex; } }

/* --- Hero ---------------------------------------------------------------------- */
.hero {
  position: relative; background: var(--raised);
  padding: 48px 0 120px; overflow: hidden;
  border-radius: 0 0 50% 50% / 0 0 80px 80px;
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(42px, 9vw, 76px); margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { font-size: clamp(17px, 2.2vw, 20px); color: #c3cbe0; max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
/* Hinweis-Arten (Hero) */
.kinds { list-style: none; padding: 0; margin: 20px 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.kinds li {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 10px; border-radius: var(--pill);
  font-size: 14px; font-weight: 700; background: var(--k-bg); color: var(--k-fg); border: 1px solid var(--k-line);
}
.kinds svg { width: 17px; height: 17px; flex: none; }
.k-delay { --k-fg: #ffb27a; --k-bg: rgba(255, 122, 26, .12); --k-line: rgba(255, 122, 26, .3); }
.k-cancel { --k-fg: #ff9a8f; --k-bg: rgba(255, 107, 91, .12); --k-line: rgba(255, 107, 91, .3); }
.k-crowd { --k-fg: var(--lilac); --k-bg: rgba(201, 187, 218, .12); --k-line: rgba(201, 187, 218, .3); }
.k-disrupt { --k-fg: #8fe3f3; --k-bg: rgba(46, 200, 230, .12); --k-line: rgba(46, 200, 230, .3); }
.k-check { --k-fg: var(--lime); --k-bg: rgba(199, 232, 165, .12); --k-line: rgba(199, 232, 165, .3); }
.ticket-note a { color: var(--cyan); }

.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span::before { content: "✓"; color: var(--lime); margin-right: 6px; font-weight: 800; }
.hero-note span[hidden] { display: none; }
.beta-note { margin-top: 14px; max-width: 560px; padding: 12px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.5;
  background: rgba(199,232,165,.12); border: 1px solid rgba(199,232,165,.35); color: var(--text, #fff); }
.beta-note[hidden] { display: none; }
.beta-note b { color: var(--lime); }
.hero-visual { position: relative; justify-self: center; width: min(330px, 82vw); }
@media (min-width: 920px) {
  .hero { padding: 72px 0 140px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .hero-visual { width: 340px; }
}

/* Handy-Rahmen um die App-Screenshots */
.phone {
  --screen-top: #22304f;
  position: relative; border-radius: 46px; padding: 10px; background: #0b1224;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 1.5px rgba(255, 255, 255, .09);
}
.phone .screen-area { position: relative; border-radius: 37px; overflow: hidden; background: var(--screen-top); padding-top: 34px; }
.phone img { width: 100%; height: auto; aspect-ratio: 585 / 1266; object-fit: cover; object-position: top; background: var(--bg); }
.phone::before { /* Kamera-Insel */
  content: ""; position: absolute; top: 19px; left: 50%; transform: translateX(-50%);
  width: 28%; height: 20px; border-radius: 20px; background: #0b1224; z-index: 2;
}
.phone .screen-area::before { /* Uhrzeit wie in einer echten Statusleiste */
  content: "9:41"; position: absolute; top: 8px; left: 26px; font-size: 12px; font-weight: 700; color: #fff;
}
.phone.dark { --screen-top: #16203a; }

/* Schwebende Status-Karten (wie in der App) */
.hero-visual .float-card { position: absolute; z-index: 3; width: 236px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.hero-visual .float-card.one { left: -86px; top: 26%; animation: bob 6s ease-in-out infinite; }
.hero-visual .float-card.two { right: -70px; bottom: 14%; animation: bob 7s ease-in-out -2s infinite; }
@media (max-width: 560px) { .hero-visual .float-card { width: 200px; } .hero-visual .float-card.one { left: -38px; } .hero-visual .float-card.two { right: -30px; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- Status-Karte mit Reiter (aus der App) --------------------------------------- */
.scard { --c: var(--lime); position: relative; padding-top: 30px; }
.scard .tab {
  position: absolute; top: 0; left: 0; height: 40px; padding: 0 18px 0 16px;
  display: flex; align-items: center; background: var(--c); color: var(--on-light);
  border-radius: 18px 18px 0 0; font-size: 12.5px; font-weight: 800;
}
.scard .tab::after { /* weicher Übergang Reiter → Karte */
  content: ""; position: absolute; right: -16px; bottom: 0; width: 16px; height: 16px;
  background: radial-gradient(circle at 100% 0, transparent 15.5px, var(--c) 16px);
}
.scard .body {
  position: relative; background: var(--c); color: var(--on-light);
  border-radius: 0 22px 22px 22px; padding: 16px 18px; display: flex; gap: 14px; align-items: center;
}
.scard .diamond {
  flex: none; width: 46px; height: 46px; border-radius: 13px; background: var(--on-light);
  transform: rotate(45deg); display: grid; place-items: center;
}
.scard .diamond svg { transform: rotate(-45deg); width: 22px; height: 22px; color: var(--c); }
.scard .title { font-weight: 800; font-size: 16px; letter-spacing: -0.02em; line-height: 1.2; }
.scard .sub { font-size: 13px; color: var(--on-light-muted); line-height: 1.35; margin-top: 2px; }
.scard.orange { --c: var(--orange); }
.scard.lilac { --c: var(--lilac); }
.scard.cyan { --c: var(--cyan); }
.scard.lime { --c: var(--lime); }

/* --- Live-Zahlen ------------------------------------------------------------------ */
.stats { margin-top: -64px; position: relative; z-index: 4; }
.stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg-deep);
  border-radius: var(--radius-lg); padding: 22px 8px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6);
  border: 1px solid var(--line);
}
.stat { padding: 4px 16px; border-left: 1px solid var(--line); min-width: 0; }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: clamp(26px, 5vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { font-size: 13.5px; color: var(--muted); display: block; line-height: 1.3; margin-top: 4px; }
.stat .live { color: var(--orange); }
.stat .lime { color: var(--lime); }
.stats-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; min-height: 1.3em; }

/* --- Abschnitte ------------------------------------------------------------------- */
section { padding: 96px 0 0; }
.eyebrow { color: var(--lime); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.section-head { max-width: 700px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(32px, 5.5vw, 52px); margin-top: 12px; }
.section-head p { margin-top: 16px; color: #c3cbe0; font-size: 18px; }

/* Funktionen */
.features { display: grid; gap: 22px; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature .body { display: block; padding: 24px 24px 26px; min-height: 100%; }
.feature .head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.feature h3 { font-size: 23px; }
.feature p { color: var(--on-light-muted); font-size: 16px; line-height: 1.55; }
.feature ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.feature li { display: flex; gap: 10px; align-items: baseline; }
.feature li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--on-light); transform: translateY(-2px); }

/* Screens */
.screens { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gutter) 24px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
.screens::-webkit-scrollbar { display: none; }
.screen { flex: 0 0 auto; width: 250px; scroll-snap-align: center; }
.screen figcaption { margin-top: 16px; text-align: center; font-weight: 700; }
.screen figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
@media (min-width: 1100px) { .screens { display: grid; grid-template-columns: repeat(4, minmax(0, 250px)); justify-content: center; overflow: visible; margin: 0; padding: 6px 0 24px; } .screen { width: auto; } }

/* So funktioniert's – Zeitstrahl */
.steps { display: grid; gap: 0; max-width: 780px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; position: relative; padding-bottom: 34px; }
.step:last-child { padding-bottom: 0; }
.step .num {
  width: 52px; height: 52px; border-radius: 16px; background: var(--surface);
  display: grid; place-items: center; font-weight: 800; font-size: 20px; color: var(--lime); position: relative; z-index: 1;
}
.step:not(:last-child)::before { content: ""; position: absolute; left: 26px; top: 60px; bottom: 8px; border-left: 2px dashed rgba(255, 255, 255, .16); }
.step h3 { font-size: 22px; margin-top: 10px; }
.step p { color: #c3cbe0; margin-top: 8px; }

/* Fairness */
.fair { display: grid; gap: 16px; }
@media (min-width: 760px) { .fair { grid-template-columns: repeat(3, 1fr); } }
.fair-item { background: var(--surface); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.fair-item .ic { width: 44px; height: 44px; border-radius: 14px; background: rgba(199, 232, 165, .12); color: var(--lime); display: grid; place-items: center; margin-bottom: 16px; }
.fair-item .ic svg { width: 22px; height: 22px; }
.fair-item h3 { font-size: 19px; letter-spacing: -0.02em; }
.fair-item p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
.ticket-note {
  margin-top: 22px; display: flex; gap: 14px; align-items: center; padding: 18px 22px; border-radius: var(--radius);
  background: rgba(46, 200, 230, .1); border: 1px solid rgba(46, 200, 230, .28); color: #d9f6fc; font-weight: 600;
}
.ticket-note svg { flex: none; width: 26px; height: 26px; color: var(--cyan); }

/* FAQ */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: 20px; border: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 17.5px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--surface-alt); display: grid; place-items: center;
  font-size: 20px; font-weight: 600; color: var(--lime); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 22px 22px; color: #c3cbe0; }
.faq .answer a { color: var(--lime); }

/* Abschluss-CTA */
.cta {
  margin-top: 96px; background: var(--lime); color: var(--on-light); border-radius: var(--radius-lg);
  padding: 44px 28px; display: grid; gap: 26px; align-items: center; position: relative; overflow: hidden;
}
.cta h2 { font-size: clamp(30px, 5vw, 46px); }
.cta p { color: var(--on-light-muted); margin-top: 10px; font-size: 18px; }
.cta .btns { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.cta .btn-dark { background: var(--on-light); color: var(--text); }
.cta .btn-line { border-color: rgba(20, 32, 58, .35); color: var(--on-light); background: var(--lime); }
.cta .ghost-bg { position: absolute; right: 24px; bottom: -86px; width: 170px; opacity: .12; transform: rotate(-10deg); z-index: 0; pointer-events: none; }
@media (min-width: 860px) { .cta { grid-template-columns: 1.3fr 1fr; padding: 56px; } .cta .btns { justify-content: flex-end; } }

/* Unterstützen (Ko-fi) */
.support {
  position: relative; overflow: hidden; display: grid; gap: 22px; align-items: center;
  padding: 36px 26px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(46, 200, 230, .22) 0%, transparent 55%),
    radial-gradient(90% 120% at 0% 100%, rgba(199, 232, 165, .16) 0%, transparent 55%),
    linear-gradient(135deg, var(--surface) 0%, var(--bg-deep) 100%);
}
.support-ic {
  width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center;
  background: var(--cream); color: var(--on-light); box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
}
.support-ic svg { width: 32px; height: 32px; }
.support h2 { font-size: clamp(26px, 4vw, 38px); margin-top: 8px; }
.support p { color: #c3cbe0; margin-top: 10px; max-width: 620px; }
.support-action { display: grid; gap: 10px; justify-items: start; }
.support-action small { color: var(--muted); font-size: 13.5px; }
.btn-kofi { box-shadow: 0 12px 30px rgba(199, 232, 165, .25); }
@media (min-width: 860px) {
  .support { grid-template-columns: auto 1fr auto; padding: 44px 48px; gap: 32px; }
  .support-action { justify-items: end; text-align: right; }
}

/* Footer */
footer { padding: 64px 0 48px; color: var(--muted); font-size: 14.5px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 28px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* Textseiten (Impressum, Datenschutz) */
.doc { max-width: 780px; padding: 56px var(--gutter) 24px; }
.doc h1 { font-size: clamp(34px, 6vw, 52px); margin-bottom: 26px; }
.doc h2 { font-size: 24px; margin: 38px 0 12px; letter-spacing: -0.02em; }
.doc h3 { font-size: 18px; margin: 24px 0 8px; letter-spacing: -0.01em; }
.doc p, .doc li { color: #c3cbe0; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; }
.doc a { color: var(--lime); }
.doc .todo { background: rgba(255, 122, 26, .16); color: #ffc49b; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.doc .box { background: var(--surface); border-radius: 20px; padding: 20px 22px; border: 1px solid var(--line); margin-top: 16px; }

/* Sprachumschalter */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: var(--pill);
  border: 1.5px solid rgba(255, 255, 255, 0.22); font-weight: 800; font-size: 13.5px; letter-spacing: .04em; text-decoration: none; color: var(--text);
}
.lang:hover { background: rgba(255, 255, 255, 0.08); }
@media (max-width: 560px) {
  .hero-visual .float-card { width: 166px; }
  .hero-visual .float-card .tab { height: 34px; font-size: 11.5px; padding: 0 12px; }
  .hero-visual .float-card .body { padding: 12px; gap: 10px; }
  .hero-visual .float-card .diamond { width: 34px; height: 34px; border-radius: 10px; }
  .hero-visual .float-card .diamond svg { width: 17px; height: 17px; }
  .hero-visual .float-card .title { font-size: 13.5px; }
  .hero-visual .float-card .sub { font-size: 11.5px; }
}

/* --- Neues Passwort (reset-password.html) -------------------------------------------- */
.reset { display: grid; place-items: start center; padding: 48px var(--gutter) 64px; min-height: 70vh; }
.reset-card { width: 100%; max-width: 460px; background: var(--surface); border-radius: var(--radius-lg); padding: 30px 24px; border: 1px solid var(--line); }
.reset-card h1 { font-size: clamp(28px, 6vw, 36px); margin-bottom: 10px; }
.reset-card .muted { color: var(--muted); margin: 0 0 6px; }
.reset-card .muted strong { color: var(--text); word-break: break-all; }
.reset-card .small { font-size: 13.5px; margin-top: 10px; }
.reset-card label { display: block; font-weight: 700; font-size: 14px; margin: 18px 0 6px; color: #c3cbe0; }
.reset-card input { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 16px; border: 1.5px solid rgba(255,255,255,.14); background: var(--bg-deep); color: var(--text); font: 600 16px var(--font); outline: none; }
.reset-card input:focus { border-color: var(--lime); }
.reset-card .pw-row { position: relative; }
.reset-card .pw-row input { padding-right: 96px; }
.reset-card .pw-toggle { position: absolute; right: 8px; top: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--surface-alt); color: var(--text); font: 700 13px var(--font); cursor: pointer; }
.reset-card .btn { width: 100%; margin-top: 20px; }
.reset-error { color: #ffb3aa; background: rgba(255,107,91,.12); border-radius: 12px; padding: 10px 12px; margin: 14px 0 0; font-weight: 600; }
