/* Sailing Trip Manager — website
   Keine externen Schriften, keine Skripte von Dritten. Farben aus Resources/Styles/Colors.xaml. */

:root {
  --teal: #1b96b5;
  --teal-strong: #12687d;
  --navy: #0d2a38;
  --bg: #ffffff;
  --bg-alt: #f2f7f9;
  --surface: #ffffff;
  --text: #13232b;
  --muted: #4e6470;
  --line: #d8e4e9;
  --accent-bg: #0d2a38;
  --accent-text: #e9f4f7;
  --radius: 14px;
  --max: 1080px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1a21;
    --bg-alt: #10232c;
    --surface: #132a34;
    --text: #e6eff2;
    --muted: #9db4be;
    --line: #23404c;
    --teal-strong: #5cc3dd;
    --accent-bg: #061218;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal-strong); text-underline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 10;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 60px; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: .01em;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.lang { font-weight: 600; }

/* ── Sections ───────────────────────────────────────── */
section { padding: 72px 0; scroll-margin-top: 96px; }
section.alt { background: var(--bg-alt); }
section.accent { background: var(--accent-bg); color: var(--accent-text); }
section.accent a { color: #7fd3e8; }
section.accent .muted { color: #a9c3cc; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; overflow-wrap: break-word; }
h1 { font-size: clamp(34px, 6vw, 54px); letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -.01em; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.lead { font-size: 19px; color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700;
  color: var(--teal-strong); margin-bottom: 10px;
}
section.accent .eyebrow { color: #7fd3e8; }

/* ── Hero ───────────────────────────────────────────── */
.hero { padding: 64px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-shot { justify-self: center; max-width: 300px; }
/* Hero mit zwei Telefonen: vorne das Dashboard (an Bord), dahinter die fertige Bestätigung */
.hero-pair { display: grid; justify-self: center; width: 100%; max-width: 440px; }
.hero-pair > .phone { grid-area: 1 / 1; }
.hero-back { width: 62%; justify-self: end; align-self: start; }
.hero-front { width: 62%; justify-self: start; margin-top: 22%; position: relative; z-index: 1;
  box-shadow: 0 30px 70px -18px rgba(13, 42, 56, .55); }
.badges { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 14px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 10px; text-decoration: none;
  background: var(--text); color: var(--bg); font-weight: 600; font-size: 15px; line-height: 1.2;
}
.store-btn small { display: block; font-weight: 400; font-size: 11px; opacity: .8; }
.store-btn svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
.badges { align-items: center; }
.store-badge { display: inline-block; line-height: 0; }
.store-badge img { height: 48px; width: auto; }
/* Google-Badge hat transparenten Rand eingebaut: größer zeichnen, Rand wegschieben */
.store-badge-play img { height: 62.5px; margin: -7.25px 0; }
.facts { display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 15px; color: var(--muted); padding: 0; margin: 0; list-style: none; }
.facts li::before { content: "✓ "; color: var(--teal); font-weight: 700; }

/* ── Phone frame ────────────────────────────────────── */
.phone {
  border-radius: 34px; padding: 9px; background: #0c171c;
  box-shadow: 0 24px 60px -20px rgba(13, 42, 56, .45);
}
.phone img { border-radius: 26px; }

/* ── Cards ──────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin-bottom: .35em; }
.card .step { font-size: 13px; font-weight: 700; color: var(--teal-strong); text-transform: uppercase; letter-spacing: .08em; }
.card p:last-child { margin-bottom: 0; }

/* ── Split (USP) ────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: center; }
.split.reverse { grid-template-columns: 300px 1fr; }
.checks { list-style: none; padding: 0; margin: 20px 0; }
.checks li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px;
  border-radius: 50%; background: var(--teal);
}

/* ── Gallery ────────────────────────────────────────── */
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr);
  gap: 22px; overflow-x: auto; padding: 8px 4px 20px; margin-top: 28px;
  scroll-snap-type: x mandatory;
}
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery figcaption { font-size: 15px; font-weight: 600; margin-top: 12px; text-align: center; }

/* ── Pricing ────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.pricing .card ul { padding-left: 20px; margin: 12px 0 0; }
.pricing .card li { margin-bottom: 6px; }
.price-list { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.price-list td { padding: 7px 0; border-top: 1px solid var(--line, rgba(0,0,0,.08)); vertical-align: baseline; }
.price-list td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 12px; }
.price-list .muted { font-size: 13px; }
.tag {
  display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 99px;
  background: var(--bg-alt); color: var(--teal-strong); margin-bottom: 10px;
}
.card.pro { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal) inset; }

/* ── FAQ ────────────────────────────────────────────── */
.faq { max-width: 760px; margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style-position: outside; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ── Prose (legal, explainer) ───────────────────────── */
.prose { max-width: 760px; padding: 48px 0 72px; }
.prose h1 { font-size: clamp(30px, 5vw, 42px); hyphens: auto; }
.prose h2 { font-size: 24px; margin-top: 2em; }
.prose h3 { font-size: 19px; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-alt); }
.prose code, .prose pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; }
.prose pre { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; overflow-x: auto; }
.version {
  display: inline-block; font-size: 14px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; margin-bottom: 24px;
}
.note { background: var(--bg-alt); border-left: 4px solid var(--teal); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 20px 0; }

/* ── CTA + Footer ───────────────────────────────────── */
.cta { text-align: center; }
.cta .badges { justify-content: center; }
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer .trademarks { flex-basis: 100%; margin: 0; font-size: 12px; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 860px) {
  section { padding: 56px 0; }
  .hero .wrap, .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 2; }
  .hero-shot, .split .phone { max-width: 260px; justify-self: center; margin: 0 auto; }
  .hero-pair { max-width: 340px; }
  .grid-3, .pricing { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .site-nav { gap: 14px; font-size: 14px; }
  .gallery { grid-auto-columns: 72%; }
}
