/* Jendaro Startseite (start.jendaro.de). Statisch, ohne Skripte und ohne fremde Quellen. */
@font-face {
  font-family: "Jendaro Geist";
  src: url("assets/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --schrift: "Jendaro Geist", -apple-system, "Segoe UI Variable Text", system-ui, sans-serif;
  --grund: #f5f5f7;
  --flaeche: #ffffff;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --haarlinie: rgba(60, 60, 67, .12);
  --akzent: #6a3df5;
  --akzent-gedrueckt: #5a2fe0;
  --akzent-text: #ffffff;
  --schatten: 0 1px 1px rgba(0, 0, 0, .03), 0 2px 12px rgba(0, 0, 0, .04);
  --glas: rgba(245, 245, 247, .78);
  --radius: 16px;
  --breite: 1080px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --grund: #000000;
    --flaeche: #1c1c1e;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --haarlinie: rgba(255, 255, 255, .08);
    --akzent: #9a80ff;
    --akzent-gedrueckt: #b3a0ff;
    --akzent-text: #000000;
    --schatten: none;
    --glas: rgba(0, 0, 0, .72);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--akzent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; border-radius: 8px; }

/* Kopfleiste */
.leiste {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--glas);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--haarlinie);
}
.leiste-innen {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 10px max(16px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.marke { display: flex; }
.marke img { height: 36px; width: auto; display: block; }

/* Knöpfe */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--akzent);
  color: var(--akzent-text);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: background-color .15s ease;
}
.knopf:hover { text-decoration: none; background: var(--akzent-gedrueckt); }
.knopf-klein { min-height: 34px; padding: 0 16px; font-size: 15px; }
.textlink { font-size: 17px; font-weight: 500; }

/* Logo-Intro: Film aus Google Flow; bei reduzierter Bewegung das Logo als Standbild */
.intro {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 0;
}
.intro-film,
.intro-standbild {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 5;
}
.intro-film {
  object-fit: cover;
  background: var(--grund);
  /* Filmgrund weich und ohne Ecken in den Seitengrund überblenden */
  -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent);
  mask-image: radial-gradient(closest-side, #000 58%, transparent);
}
.intro-standbild { display: none; place-items: center; }
.intro-standbild img { width: 33.4%; height: auto; }
@media (prefers-reduced-motion: reduce) {
  .intro-film { display: none; }
  .intro-standbild { display: grid; }
}

/* Einstieg */
.held {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 24px 16px 40px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 48px;
}
.vorzeile {
  margin: 0 0 12px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
}
h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 700;
}
.einleitung {
  margin: 20px 0 0;
  max-width: 30ch;
  color: var(--text-2);
  font-size: clamp(19px, 2.4vw, 22px);
  line-height: 1.4;
}
.aktionen {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

/* Geräte: Flow-Aufnahmen mit echten Jendaro-Screenshots, Grund passend zur Seite */
.geraet { display: flex; justify-content: center; }
.geraet img { display: block; width: min(100%, 400px); height: auto; }
.geraet-gross { display: block; max-width: 980px; margin: 12px auto 0; }
.geraet-gross img { display: block; width: 100%; height: auto; }

/* Abschnitte */
.abschnitt {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 16px 0;
  scroll-margin-top: 56px;
}
.abschnitt-breit { max-width: var(--breite); }
.abschnitt > h2, .abschnitt > .abschnitt-text { text-align: center; margin-left: auto; margin-right: auto; }
h2 {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 700;
}
.abschnitt-text {
  margin: 12px 0 0;
  color: var(--text-2);
  font-size: 19px;
  max-width: 46ch;
}

/* Gruppenliste wie in den iOS-Einstellungen */
.gruppe {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  border-radius: var(--radius);
  background: var(--flaeche);
  box-shadow: var(--schatten);
  overflow: hidden;
}
.gruppe li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
}
.gruppe li + li::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 64px;
  border-top: 1px solid var(--haarlinie);
}
.gruppe li > div { display: flex; flex-direction: column; min-width: 0; }
.gruppe strong { font-weight: 600; }
.gruppe li > div > span { color: var(--text-2); font-size: 15px; line-height: 1.35; }
.symbol {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #fff;
}
.symbol svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.symbol.lila { background: #6a3df5; }
.symbol.blau { background: #0a7aff; }
.symbol.rot { background: #ff3b30; }
.symbol.orange { background: #f08a00; }
.symbol.gruen { background: #28a745; }
.symbol.grau { background: #8e8e93; }
.symbol.indigo { background: #3e47b8; }
.symbol.tuerkis { background: #0a9fb0; }
.symbol.pink { background: #e6336e; }

/* Schritte */
.schritte {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.schritte li { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.schritte li > div { display: flex; flex-direction: column; gap: 4px; }
.schritte strong { font-size: 19px; font-weight: 600; }
.schritte li > div > span { color: var(--text-2); }
.nummer {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--flaeche);
  box-shadow: var(--schatten), inset 0 0 0 1px var(--haarlinie);
  color: var(--akzent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Handy-Anleitung */
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.gruppe-block { min-width: 0; }
.gruppe-titel {
  margin: 20px 18px 0;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.gruppe-block .gruppe { margin-top: 8px; counter-reset: schritt; }
.nummeriert li { counter-increment: schritt; }
.nummeriert li::after {
  content: counter(schritt);
  order: -1;
  flex: none;
  width: 22px;
  color: var(--text-2);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.nummeriert li + li::before { left: 54px; }
.nummeriert b { font-weight: 600; color: var(--text); }
.nummeriert li > div > span { color: var(--text-2); font-size: 16px; }

/* Hilfe */
.hilfe { padding-bottom: 8px; }

/* Fuß */
.fuss {
  margin-top: 72px;
  border-top: 1px solid var(--haarlinie);
}
.fuss-innen {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 20px 16px max(28px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-size: 13px;
}
.fuss-innen img { border-radius: 5px; }
.fuss-links { margin-left: auto; display: flex; gap: 18px; }
.fuss-links a { color: var(--text-2); }
.fuss-links a[aria-current="page"] { color: var(--text); }

/* Impressum und Datenschutz */
.rechtstext {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 16px 0;
  overflow-wrap: anywhere;
}
.rechtstext h1 { font-size: clamp(34px, 6vw, 48px); }
.rechtstext h2 { margin-top: 36px; font-size: 21px; letter-spacing: -.02em; }
.rechtstext p, .rechtstext li { color: var(--text-2); }
.rechtstext p { margin: 10px 0 0; }
.rechtstext ul { margin: 10px 0 0; padding-left: 1.2em; }
.rechtstext li + li { margin-top: 4px; }
.einleitung-klein { font-size: 19px; }
.stand { margin-top: 40px !important; font-size: 14px; }
/* Fehlende Angaben; vor dem Schalten müssen alle ersetzt sein. */
.platzhalter {
  padding: 0 4px;
  border-radius: 4px;
  background: rgba(255, 159, 10, .2);
  color: var(--text);
}

@media (max-width: 820px) {
  .held { grid-template-columns: 1fr; padding-top: 16px; gap: 32px; text-align: left; }
  .geraet img { width: min(100%, 340px); }
  .zwei { grid-template-columns: 1fr; gap: 0; }
  .schritte { grid-template-columns: 1fr; gap: 22px; }
  .schritte li { flex-direction: row; align-items: flex-start; gap: 16px; text-align: left; }
  .abschnitt { padding-top: 56px; }
}

@media (max-width: 380px) {
  .gruppe li { padding: 12px 14px; }
  .gruppe li + li::before { left: 60px; }
}
