/* Essblick Landingpage (NOTE-152, NOTE-173). Reines CSS, keine Abhaengigkeiten. Die Schrift Inter liegt lokal bei
   (SIL OFL 1.1), damit keine Anfrage an einen fremden Server geht. Gilt fuer die Startseite (Endkunden) und die
   Seite fuer Coaches unter coaches/. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #F4F7F5;
  --panel: #FFFFFF;
  --line: #E2E9E4;
  --field-line: #C9D4CD;
  --text: #10231B;
  --text2: #3D4E46;
  --text3: #51625A;
  --brand: #0A7F54;
  --brand-strong: #075E3E;
  --brand-soft: #E7F4ED;
  --deep: #0B3D2C;
  --deep-edge: #06241A;
  --on-deep: #F1F5F3;
  --on-deep2: #D6F0E3;
  --mint: #7BE8BF;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--panel); padding: 10px 14px; border-radius: 10px; }

/* Knoepfe */
.button {
  min-height: 52px; padding: 0 22px; border-radius: 14px; text-decoration: none; font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px; border: 1px solid transparent;
}
.button.soon { opacity: 0.6; cursor: default; }
.button.small { min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 15px; }
.button.dark { background: var(--text); color: #FFFFFF; }
.button.dark:hover { background: #1E3A2E; color: #FFFFFF; }
.button.light { background: var(--panel); color: var(--text); border-color: var(--field-line); }
.button.light:hover { border-color: var(--text3); color: var(--text); }
.button.brand { background: var(--brand); color: #FFFFFF; }
.button.brand:hover { background: var(--brand-strong); color: #FFFFFF; }
.button.white { background: #FFFFFF; color: var(--brand-strong); font-weight: 700; }
.button.white:hover { background: var(--brand-soft); color: var(--brand-strong); }
.button.ghost { color: #FFFFFF; border-color: #5FA88A; }
.button.ghost:hover { border-color: #FFFFFF; color: #FFFFFF; }

/* Kopf */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); margin-right: auto; min-height: 44px; }
.logo:hover { color: var(--text); }
.logo img { width: 40px; height: 40px; flex: none; }
.logo b { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.logo small { font-size: 20px; font-weight: 500; color: var(--text3); letter-spacing: -0.02em; }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 15px; font-weight: 500; }
.menu a { color: var(--text); text-decoration: none; min-height: 44px; display: flex; align-items: center; gap: 6px; }
.menu a:hover { color: var(--brand); }
/* Wechsel auf die andere Seite: eigener Abschnitt der Navigation, mit Pfeil. */
.menu .other { padding-left: 24px; border-left: 1px solid var(--line); font-weight: 600; color: var(--brand); }
.menu .other svg { flex: none; }

/* Einstieg */
.hero { padding-top: 72px; padding-bottom: 80px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.hero .copy { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero .shot { flex: 1 1 300px; display: flex; justify-content: center; }
.pill { padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); font-size: 14px; font-weight: 600; }
h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
.lead { font-size: 20px; color: var(--text2); max-width: 34em; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.note { font-size: 14px; color: var(--text3); }
.note a { font-weight: 600; }

.phone { width: 300px; border-radius: 44px; border: 9px solid var(--text); box-shadow: 0 30px 60px rgba(16, 35, 27, 0.18); }
/* Zugeschnittener Screenshot: laeuft unten weich aus, statt mit der Tab-Leiste zu enden. */
.phone.cut {
  box-shadow: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 74%, transparent 99%);
}

/* Abschnitte */
.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section { padding-top: 84px; padding-bottom: 84px; display: flex; flex-direction: column; gap: 40px; }
.intro { display: flex; flex-direction: column; gap: 12px; max-width: 40em; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.intro p { color: var(--text2); }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }

.cards { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.card {
  flex: 1 1 300px; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 26px;
  display: flex; flex-direction: column; gap: 12px;
}
.card.white { background: var(--panel); }
.card p { font-size: 16px; color: var(--text2); }
.icon { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); display: grid; place-items: center; color: var(--brand); }
.step { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; color: var(--brand); line-height: 1; }
.code {
  align-self: flex-start; margin-top: 4px; padding: 8px 14px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong);
  font: 600 20px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.08em;
}

/* Text neben einem Screenshot */
.split { padding-top: 84px; padding-bottom: 84px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.split .shot { flex: 1 1 300px; display: flex; justify-content: center; }
.split .copy { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.split .copy > p { color: var(--text2); max-width: 36em; }

.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--text2); }
.checks svg { flex: none; margin-top: 3px; color: var(--brand); }
.checks b { display: block; color: var(--text); }

/* Dunkles Band: Einstieg der Coach-Seite */
.deep { background: var(--deep); color: var(--on-deep); }
.deep .kicker { color: var(--mint); }
.deep .pill { background: rgba(123, 232, 191, 0.14); color: var(--mint); }
.deep .lead { color: var(--on-deep2); }
.deep .phone { border-color: var(--deep-edge); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35); }

/* Kontrolle */
.trust { background: var(--brand-soft); border-radius: 22px; padding: 26px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 20px; }
.trust svg { flex: none; margin-top: 2px; color: var(--brand-strong); }
.trust div { flex: 999 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.trust h3 { color: var(--deep-edge); }
.trust p { font-size: 16px; color: #1F3A2E; }

/* Preise */
.price { background: var(--panel); flex: 1 1 320px; min-width: 0; max-width: 560px; border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.price.main { border: 2px solid var(--brand); }
/* Eine einzelne Preiskarte steht neben der Ueberschrift statt allein links. */
.section.side { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.section.side .intro { flex: 1 1 340px; }
.section.side .price { flex: 1 1 340px; background: var(--panel); }
.price .amount small { font-size: 17px; font-weight: 600; letter-spacing: 0; color: var(--text2); }
.price .amount { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; overflow-wrap: anywhere; }
.price p { font-size: 16px; color: var(--text2); }
.open { color: #8A5206; background: #FBF0DC; border-radius: 8px; padding: 0 6px; }

/* Hinweis auf die jeweils andere Seite */
.bridge { padding-top: 56px; padding-bottom: 56px; }
.bridge a {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 24px 26px; border-radius: 22px;
  background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none;
}
.bridge a:hover { border-color: var(--brand); color: var(--text); }
.bridge img { width: 56px; height: 56px; flex: none; }
.bridge .text { flex: 999 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bridge b { font-size: 20px; letter-spacing: -0.01em; }
.bridge small { font-size: 16px; color: var(--text2); }
.bridge .go { font-weight: 700; color: var(--brand); display: flex; align-items: center; gap: 6px; }

/* Coach-Seite: Beispiele aus der App nebeneinander (NOTE-175) */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px 32px; list-style: none; margin: 0; padding: 0; }
.gallery li { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.gallery .phone { width: 100%; max-width: 260px; margin-bottom: 10px; }
.gallery h3 { font-size: 19px; }
.gallery p { font-size: 16px; color: var(--text2); max-width: 22em; }

/* Coach-Seite: Web-Version in einem angedeuteten Browserfenster */
.browser { margin: 0; border-radius: 16px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(16, 35, 27, 0.14); }
.browser .bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #EAF0EC; border-bottom: 1px solid var(--line); }
.browser .dots { display: flex; gap: 6px; flex: none; }
.browser .dots i { width: 10px; height: 10px; border-radius: 50%; background: #C9D4CD; }
.browser .url { flex: 0 1 360px; margin: 0 auto; padding: 3px 12px; border-radius: 8px; background: var(--panel); color: var(--text3); font-size: 13px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; }

/* Coach-Seite: zwei Telefone versetzt nebeneinander */
.split .shot.duo { flex: 1 1 520px; gap: 20px; align-items: flex-start; }
.duo .phone { width: 46%; max-width: 250px; }
.duo .phone + .phone { margin-top: 56px; }

.deep .note { color: var(--on-deep2); }
.deep .note a { color: var(--mint); }

/* Abschluss der Coach-Seite */
.cta { background: var(--deep); color: var(--on-deep); }
.cta .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.cta .wrap > div { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cta p { color: var(--on-deep2); }

/* Rechtstexte (Datenschutz, NOTE-258): eine schmale Textspalte */
.prose { max-width: 760px; padding-top: 48px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 14px; }
.prose h1 { font-size: clamp(32px, 4.4vw, 44px); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 8px; }
.prose h2 { font-size: 24px; letter-spacing: -0.01em; margin-top: 28px; scroll-margin-top: 16px; }
.prose h3 { font-size: 19px; margin-top: 12px; scroll-margin-top: 16px; }
.prose h4 { font-size: 17px; margin: 6px 0 0; }
.prose p, .prose li { color: var(--text2); overflow-wrap: anywhere; }
.prose ul, .prose ol { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 6px; }
.prose code { font-size: 15px; background: var(--brand-soft); border-radius: 6px; padding: 0 5px; }
.prose .draft { background: #FBF0DC; color: #6B4005; border-radius: 14px; padding: 14px 18px; }
.prose .toc { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; }
.prose .toc li { color: var(--text); }

/* Fuss */
.foot { background: var(--text); color: #D6E2DB; }
.foot .wrap { padding-top: 44px; padding-bottom: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; font-size: 15px; }
.foot b { font-size: 18px; font-weight: 800; color: #FFFFFF; margin-right: auto; }
.foot a { color: #D6E2DB; min-height: 44px; display: flex; align-items: center; }
.foot a:hover { color: #FFFFFF; }
.foot small { flex-basis: 100%; color: #A9B6B0; font-size: 14px; }

@media (max-width: 720px) {
  .hero { padding-top: 44px; padding-bottom: 56px; }
  .section, .split, .cta .wrap { padding-top: 56px; padding-bottom: 56px; }
  .menu { order: 3; flex-basis: 100%; gap: 0 20px; }
  .menu .other { padding-left: 0; border-left: 0; }
  .phone { width: 260px; }
  .top .button { display: none; }
}
