.gen50-page {
  --ink-muted: #4b5a6d;
  font-size: 18px;
}

.gen50-page section[id] {
  scroll-margin-top: 86px;
}

.gen50-page .eyebrow {
  font-size: 14px;
}

.gen50-page .timeline span {
  font-size: 15px;
}

.gen50-page .hero-stage {
  min-height: 720px;
}

.gen50-page .hero-stage .wrap {
  align-items: center;
}

.gen50-page .hero-copy {
  max-width: 620px;
}

.h1-sub {
  display: block;
  margin-top: 6px;
  color: #a13f31;
  font-size: 0.45em;
  font-weight: 400;
}

.hero-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 24px 0 0;
  color: var(--ink-muted);
  font-size: 16px;
  font-weight: 700;
}

.hero-reassurance span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-reassurance span::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--green);
  border-radius: 50%;
}

.gen50-page .board-note {
  max-width: none;
  font-size: 16px;
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefit-row article {
  min-width: 0;
  padding: 25px 24px;
  border-right: 1px solid var(--line);
}

.benefit-row article:last-child {
  border-right: 0;
}

.benefit-row strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 20px;
}

.benefit-row p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 16px;
}

.learning-core-copy {
  max-width: 980px;
  margin: 0 0 36px;
  padding-left: 26px;
  border-left: 6px solid var(--blue);
  color: var(--ink);
  font-size: 23px;
  line-height: 1.65;
}

.learning-summary {
  margin: 34px 0 0;
  padding: 24px 28px;
  background: var(--ink);
  border-radius: 6px;
  color: #fff;
  font-size: 23px;
  font-weight: 800;
}

.memory-summary {
  max-width: 800px;
  margin: 30px auto 0;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
}

.level-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0 18px;
}

.level-step {
  min-width: 0;
  padding: 17px 8px;
  background: #fff;
  border: 1px solid #abc3b3;
  border-radius: 6px;
  text-align: center;
}

.level-step strong {
  display: block;
  color: #25543c;
  font-size: 22px;
}

.level-step span {
  display: block;
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 15px;
}

.plain-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.plain-point {
  padding-top: 20px;
  border-top: 4px solid var(--blue);
}

.plain-point:nth-child(2) {
  border-top-color: var(--green);
}

.plain-point:nth-child(3) {
  border-top-color: var(--coral);
}

.plain-point p {
  margin-bottom: 0;
}

.insight-box {
  margin-top: 34px;
  padding: 25px 28px;
  background: var(--gold-soft);
  border-left: 6px solid var(--gold);
  border-radius: 6px;
}

.insight-box h3 {
  color: var(--gold-dark);
}

.insight-box p:last-child {
  margin-bottom: 0;
}

.use-case {
  display: block;
  margin-top: 14px;
  color: #23543d;
  font-size: 15px;
  font-weight: 800;
}

.actions-center {
  margin: 40px 0 6px;
  text-align: center;
}

.advantages-band {
  background: #f5f7fa;
}

.advantages-grid .feature {
  min-height: 250px;
  padding: 28px;
  border-top: 4px solid var(--blue);
}

.advantages-grid .feature:nth-child(3n + 2) {
  border-top-color: var(--green);
}

.advantages-grid .feature:nth-child(3n + 3) {
  border-top-color: var(--coral);
}

.advantages-grid .feature-mark {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

.advantages-grid .feature-mark img {
  display: block;
  width: 28px;
  height: 28px;
}

.advantages-grid .feature h3 {
  font-size: 22px;
}

.advantages-grid .feature p {
  font-size: 17px;
  line-height: 1.62;
}

.advantages-actions {
  margin-top: 34px;
}

.showcase {
  background: #f5f7fa;
}

.app-gallery {
  display: grid;
  /* 4 nebeneinander, 2 Reihen (Owner 29.07.): Reihe 1 = die Startseite in
     vier Themes, Reihe 2 = vier App-Bereiche. Unter 980px greift die
     2-Spalten-Regel weiter unten. */
  grid-template-columns: repeat(4, minmax(0, 220px));
  gap: 20px;
  justify-content: center;
}

.app-gallery figure {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.app-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 515 / 1120;
  object-fit: cover;
  object-position: top;
}

.app-gallery figcaption {
  padding: 13px 15px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.finance-band {
  background: #fff5cf;
}

.finance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 28px;
}

.finance-item {
  padding-top: 20px;
  border-top: 4px solid #c98c12;
}

.finance-item h3 {
  font-size: 20px;
}

.finance-item p {
  margin: 0;
}

.faq-shell {
  max-width: 900px;
  margin: 0 auto;
}

.faq-topic {
  margin: 42px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
  font-size: 24px;
}

.faq-topic:first-of-type {
  margin-top: 0;
}

.gen50-page .faq-answer p:last-child {
  margin-bottom: 0;
}

.download-band {
  background: var(--ink);
  color: #fff;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 52px;
  align-items: center;
}

.download-band h2 {
  color: #fff;
}

.download-band .section-intro {
  color: #d8e2ed;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.store-link {
  min-width: 220px;
  padding: 13px 18px;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 7px;
  color: #111;
  text-decoration: none;
}

/* Noch nicht veroeffentlicht: sieht wie ein Knopf aus, ist aber bewusst
   nicht anklickbar — sonst weckt es eine Erwartung, die der Store nicht
   einloest. Kein Hover-Effekt, gedaempft, mit Hinweiszeiger. */
.store-link--soon {
  display: inline-block;
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.55);
  color: #3a3a3a;
  cursor: default;
}

.store-link--soon:hover,
.store-link--soon:focus-visible {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.55);
  color: #3a3a3a;
}

.store-link:hover,
.store-link:focus-visible {
  background: #ffd45c;
  border-color: #ffd45c;
}

.store-link small,
.store-link strong {
  display: block;
}

.store-link small {
  margin-bottom: 1px;
  font-size: 12px;
}

.store-link strong {
  font-size: 19px;
}

.trust-line {
  margin: 16px 0 0;
  color: #b9c7d6;
  font-size: 15px;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.06em;
}

.download-device {
  padding: 30px;
  background: #142d4c;
  border: 1px solid #53667e;
  border-radius: 8px;
}

.download-device img {
  display: block;
  width: 150px;
  margin: 0 auto 20px;
  border-radius: 28px;
}

.download-device p {
  margin: 0;
  color: #d8e2ed;
  text-align: center;
}

.fine-print {
  margin-top: 18px;
  color: var(--ink-muted);
  font-size: 14px;
}

/* Sprachumschalter (Flaggen) – in der Desktop-Navigation und im mobilen Menü */
.lang-item {
  display: flex;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  border-color: var(--blue);
}

.lang-btn[aria-pressed="true"] {
  background: var(--blue-soft);
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
}

/* Zwischen 821 und 1180px wird die Zeile eng: Navigation darf umbrechen */
@media (min-width: 821px) and (max-width: 1180px) {
  .gen50-page .nav-links {
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 10px 0;
  }

  .gen50-page .nav-row {
    min-height: 0;
    padding-top: 4px;
    padding-bottom: 4px;
  }
}

@media (max-width: 820px) {
  /* Im aufgeklappten mobilen Menü: Flaggenreihe wie ein Menüeintrag */
  .gen50-page .nav-links .lang-item {
    padding: 10px;
    border-top: 1px solid var(--line);
    margin-top: 6px;
  }

  .gen50-page .lang-switch {
    gap: 8px;
  }
}

/* Fixe Download-Leiste am unteren Rand (site.js blendet sie via .visible ein) */
.sticky-download {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: var(--blue-soft);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(11, 31, 58, 0.14);
  visibility: hidden;
  transform: translateY(110%);
  transition: transform 0.25s ease, visibility 0.25s;
}

.sticky-download.visible {
  visibility: visible;
  transform: translateY(0);
}

.sticky-download-link {
  min-height: 46px;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--blue);
  border-radius: 6px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.sticky-download-link:hover,
.sticky-download-link:focus-visible {
  background: var(--blue-dark);
}

.sticky-download-close {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.sticky-download-close:hover,
.sticky-download-close:focus-visible {
  background: var(--gray-soft);
}

@media (max-width: 980px) {
  /* Hero untereinander stapeln, damit sich Text und Brett bei 821-980px nicht überlagern */
  .gen50-page .hero-stage {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .gen50-page .hero-stage::after {
    display: none;
  }

  .gen50-page .hero-stage .wrap {
    height: auto;
    display: block;
  }

  .gen50-page .hero-copy {
    width: 100%;
    padding: 50px 0 28px;
  }

  .gen50-page .hero-board {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 46px;
    transform: rotate(1deg);
  }

  .benefit-row,
  .plain-points,
  .finance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-row article:nth-child(2) {
    border-right: 0;
  }

  .benefit-row article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .download-layout {
    grid-template-columns: 1fr;
  }

  .app-gallery {
    grid-template-columns: repeat(2, minmax(190px, 1fr));
    overflow-x: auto;
    padding-bottom: 10px;
  }
}

@media (max-width: 680px) {
  .gen50-page .hero-stage {
    min-height: auto;
  }

  .learning-core-copy {
    padding-left: 18px;
    font-size: 19px;
  }

  .learning-summary,
  .memory-summary {
    font-size: 20px;
  }

  .benefit-row,
  .plain-points,
  .finance-grid {
    grid-template-columns: 1fr;
  }

  .benefit-row article,
  .benefit-row article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefit-row article:last-child {
    border-bottom: 0;
  }

  .level-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .store-links,
  .store-link {
    width: 100%;
  }

  .download-device {
    padding: 24px 18px;
  }
}
