/* Handy-Ansicht: weniger Text, mehr Bild. Gilt nur bis 760 px Breite.
   Prinzip: Überschrift + Bild + ein Satz. Details klappen per Tipp auf (Skript js/mobile.js). */

.m-only { display: none; }
.m-bar { display: none; }

@media (max-width: 760px) {
  .m-only { display: block; }
  .d-only { display: none !important; }

  /* ---------- Rhythmus: kompaktere Abschnitte ---------- */
  section { padding: 44px 0; }
  .wrap { padding: 0 20px; }
  h2 { font-size: clamp(25px, 7.2vw, 30px); line-height: 1.16; letter-spacing: -0.02em; }
  .sec-head { margin-bottom: 22px; }
  .sec-head .lede, .sec-head > p:not(.eyebrow), .split .lede, .strip-sec .lede, #app .lede { display: none; }
  .eyebrow { font-size: 12.5px; padding: 5px 12px; margin-bottom: 12px; }
  .ticker { display: none; }
  .btn-row { gap: 10px; }
  .btn-row .btn, .split .btn, .steps ~ .btn-row .btn { width: 100%; justify-content: center; text-align: center; }

  /* ---------- Hero der Startseite ---------- */
  .hero-xl { padding-top: 26px; }
  .hero-xl .hx-wrap { padding-bottom: 8px; }
  .hx-kicker { font-size: 11.5px; letter-spacing: .16em; gap: 10px; margin-bottom: 16px; }
  .hx-kicker i { width: 28px; }
  .hero-xl h1 { font-size: clamp(35px, 10.4vw, 42px); line-height: 1.04; margin-bottom: 14px; }
  .hero-xl .m-lede { font-size: 18px; line-height: 1.4; color: var(--ink-2); margin: 0 0 22px; }
  .hero-xl .hx-proofs, .hero-xl .hero-phone, .hero-xl .hx-scroll { display: none; }
  .hero-xl .hx-visual { margin-top: 18px; }
  .hero-xl .hx-cta { width: 100%; justify-content: center; }
  .hero-xl .hx-link { margin-top: 4px; }
  .hx-founder { padding: 10px 16px 10px 10px; border-radius: 18px; }
  .hx-founder img { width: 48px; height: 48px; }
  .hx-founder strong { font-size: 15px; }
  .hx-founder span { font-size: 12.5px; }
  /* Dein Weg als Mini-Route: UL → PPL → ATPL */
  .m-route.m-only { display: flex; align-items: center; margin: 26px 0 4px; }
  .m-route span { flex: 0 0 auto; font-size: 15px; font-weight: 800; letter-spacing: .02em; color: var(--blue-dark); background: #fff; border: 1.5px solid #c6d8f3; border-radius: 999px; padding: 9px 18px; box-shadow: 0 6px 18px rgba(21, 101, 216, .12); }
  .m-route span:last-child { background: var(--blue); border-color: var(--blue); color: #fff; }
  .m-route i { flex: 1 1 auto; min-width: 18px; height: 2px; margin: 0 4px; background: repeating-linear-gradient(90deg, var(--blue) 0 6px, transparent 6px 11px); transform-origin: 0 50%; animation: mRoute 1.1s cubic-bezier(.2, .8, .2, 1) .6s both; }
  @keyframes mRoute { from { transform: scaleX(0); } to { transform: none; } }

  /* ---------- Zahlen: zwei mal zwei, knapp ---------- */
  .stats { padding: 4px 0 28px; }
  .stat { padding: 16px 14px; }
  .stat b { font-size: 30px; }
  .stat span.lbl { font-size: 13px; margin-top: 4px; line-height: 1.3; }

  /* ---------- Kartenreihen: seitlich wischen statt endlos scrollen ---------- */
  .grid-3 { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 14px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .grid-3::-webkit-scrollbar { display: none; }
  .grid-3 > * { flex: 0 0 80%; max-width: 330px; scroll-snap-align: center; opacity: 1 !important; transform: none !important; translate: none !important; }
  .grid-3 > .card { padding: 22px 20px; }
  .grid-2 { gap: 14px; }
  .card { padding: 22px 20px; }
  .card .icon { width: 42px; height: 42px; margin-bottom: 12px; }
  .card h3 { font-size: 19px; line-height: 1.25; margin-bottom: 6px; }
  .card .myth { font-size: 14px; margin-bottom: 6px; }
  .way-card { padding: 0; }
  .way-card img { aspect-ratio: 16 / 10; }
  .way-body { padding: 16px 18px 18px; }
  .way-meta { margin: 8px 0 12px; padding-top: 10px; font-size: 14px; }
  .notice { font-size: 13px; margin-top: 4px; }

  /* Details klappen per Tipp auf (Skript setzt .m-fold und den Knopf .m-more) */
  .m-fold > p:not(.myth), .m-fold .way-body > p, .m-fold > .way-body > p { display: none; }
  .m-fold.open > p:not(.myth), .m-fold.open .way-body > p { display: block; }
  .step.m-fold > p { display: none; }
  .step.m-fold.open > p { display: block; }
  .m-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 0; background: none; border: 0; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--blue); cursor: pointer; }
  .m-more::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s ease; }
  .m-fold.open > .m-more::after, .m-fold.open .m-more::after { transform: rotate(225deg); }

  /* ---------- Ablauf: schmale Zeitleiste ---------- */
  .steps, .steps.three { gap: 0; }
  .steps:not(.vertical) .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .steps:not(.vertical) .step::before { grid-row: 1 / span 3; margin: 0; width: 40px; height: 40px; font-size: 17px; }
  .steps:not(.vertical) .step > * { grid-column: 2; }
  .steps:not(.vertical) .step h3 { font-size: 18px; margin: 8px 0 0; }
  .steps:not(.vertical) .step p { font-size: 15px; margin-top: 6px; }
  .steps:not(.vertical) .step:last-child { border-bottom: 0; }
  .steps:not(.vertical) .step.m-fold { position: relative; cursor: pointer; padding-right: 30px; }
  .steps:not(.vertical) .step.m-fold h3 { margin-bottom: 2px; }
  .steps:not(.vertical) .step.m-fold::after { content: ''; display: block; position: absolute; right: 8px; top: 24px; left: auto; width: 8px; height: 8px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); background: none; transform: rotate(45deg); transition: transform .25s ease; }
  .steps:not(.vertical) .step.m-fold.open::after { transform: rotate(225deg); top: 28px; }

  /* ---------- Bild-und-Text-Blöcke: Bild zuerst, Text knapp ---------- */
  .split { gap: 20px; }
  .split > :has(.px) { order: -1; }
  .split .px img { aspect-ratio: 16 / 10; }
  .split h2 { margin-bottom: 14px; }
  .checks { gap: 10px; margin-bottom: 18px; }
  .checks li { font-size: 16px; line-height: 1.35; }
  .checks li, .stat, .proof { translate: none !important; }

  /* ---------- App-Abschnitt: nur die Namen der Funktionen ---------- */
  #app .app-phone .phone { max-width: 230px; }
  #app .app-pin-sticky { padding: 30px 0 14px; }
  #app .store-note { display: none; }
  .app-features li .m-rest { display: none; }
  .app-features li { font-size: 17px; }

  /* ---------- Gründer und Fragen ---------- */
  .person { gap: 14px; }
  .person img { width: 96px; height: 96px; }
  .person p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; margin-bottom: 8px; }
  .faq-q { font-size: 16.5px; padding: 15px 0; }
  .faq-a-inner { font-size: 15.5px; }

  /* ---------- Unterseiten: Seitenköpfe schlanker ---------- */
  .page-hero { padding: 36px 0 40px; }
  .page-hero h1 { font-size: clamp(30px, 8.6vw, 36px); margin-bottom: 12px; }
  .page-hero .lede { font-size: 17px; margin-bottom: 18px; }
  .page-hero-grid { gap: 22px; }
  .page-hero-grid .px img, .page-hero-grid img { aspect-ratio: 16 / 10; }
  .cta p { font-size: 16.5px; }
  .band-dark { padding: 44px 0; }

  /* ---------- Fußzeile: kompakter ---------- */
  footer.site { padding: 40px 0 22px; }
  footer.site.has-tape { padding-top: 84px; }
  .foot-note { display: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 22px 18px; }

  /* ---------- Feste Aktionsleiste unten ---------- */
  .m-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 28px rgba(14, 34, 56, .1); transform: translateY(110%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
  .m-bar.on { transform: none; }
  .m-bar a { flex: 1 1 0; text-align: center; padding: 13px 10px; border-radius: 999px; font-weight: 700; font-size: 15.5px; text-decoration: none; }
  .m-bar .ghost { flex: 0 0 38%; color: var(--blue-dark); background: var(--blue-tint); }
  .m-bar .main { color: #fff; background: var(--blue); box-shadow: 0 6px 16px rgba(21, 101, 216, .35); }
}

@media (max-width: 760px) {
  .m-compare { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 14px; scrollbar-width: none; }
  .m-compare::-webkit-scrollbar { display: none; }
  .m-compare + .table-wrap { display: none; }
  .m-cmp-card { flex: 0 0 82%; max-width: 330px; scroll-snap-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
  .m-cmp-card h3 { font-size: 20px; margin-bottom: 6px; }
  .m-goal { font-size: 16px; color: var(--ink-2); margin: 0 0 14px; }
  .m-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
  .m-chips span { background: var(--blue-tint); border-radius: 12px; padding: 10px 12px; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.25; }
  .m-chips b { display: block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-dark); font-weight: 700; margin-bottom: 3px; }
  .m-role { font-size: 14.5px; color: var(--ink-2); margin: 0 0 12px; }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .m-route i { animation: none; }
  .m-bar { transition: none; }
}
