/* COGNIFLY – Startseite (cognifly.aero). Baut auf den Farben und Schriften aus app.css auf. */
.lp {
  --lp-max: 1180px;
  --lp-gut: clamp(16px, 4vw, 40px);
  --lp-sec: clamp(88px, 12vw, 168px);
  --lp-card: color-mix(in srgb, var(--panel) 72%, transparent);
  --lp-radius: 14px;
  --lp-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 30px 80px -30px rgba(0, 0, 0, .8);
  background: var(--bg);
  overflow-x: hidden;
}
:root[data-theme="light"] .lp { --lp-shadow: 0 1px 2px rgba(12, 24, 36, .05), 0 30px 70px -28px rgba(12, 24, 36, .28); --lp-card: var(--panel); }
html:has(.lp) { scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html:has(.lp) { scroll-behavior: auto; } }

.lp-wrap { max-width: var(--lp-max); margin: 0 auto; padding: 0 var(--lp-gut); }
.lp-eyebrow { font: 600 14px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.lp h2 { font-size: clamp(36px, 5.4vw, 68px); font-weight: 600; line-height: 1.02; letter-spacing: -.005em; }
.lp h3 { font-size: 22px; line-height: 1.15; }
.lp-sub { color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 46ch; }
.lp-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Navigation ---------- */
.lp-nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 60px; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.lp-nav-in { max-width: calc(var(--lp-max) + 2 * var(--lp-gut)); height: 100%; margin: 0 auto; padding: 0 var(--lp-gut); display: flex; align-items: center; gap: 32px; }
.lp-nav .brand { font-size: 19px; letter-spacing: .22em; }
.lp-nav .brand:hover { color: var(--ink); }
.lp-links { display: flex; gap: 28px; margin-left: auto; }
.lp-links a { color: var(--ink-2); font-size: 15px; transition: color .2s; }
.lp-links a:hover { color: var(--ink); }
.lp-nav.solid { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom-color: var(--line); }

.lp-login { position: relative; }
.lp-login-btn { font: 600 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; height: 36px; padding: 0 18px; border-radius: 18px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--panel) 50%, transparent); color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s; }
.lp-login-btn:hover, .lp-login-btn[aria-expanded="true"] { border-color: var(--ink-2); background: var(--panel-2); }
.lp-login-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 260px; padding: 6px; border-radius: 12px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--panel) 92%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: var(--lp-shadow); animation: lpMenu .18s var(--ease) both; }
.lp-login-menu[hidden] { display: none; }
.lp-login-menu a { display: flex; flex-direction: column; gap: 3px; padding: 11px 14px; border-radius: 8px; color: var(--ink); }
.lp-login-menu a:hover, .lp-login-menu a:focus-visible { background: var(--panel-3); color: var(--ink); outline: none; }
.lp-login-menu b { font: 600 16px/1.2 var(--display); letter-spacing: .02em; }
.lp-login-menu span { font-size: 13px; color: var(--muted); }
@keyframes lpMenu { from { opacity: 0; transform: translateY(-4px) scale(.98); } }

/* ---------- Buttons ---------- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 26px; border-radius: 24px; font: 600 15px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--line-2); background: color-mix(in srgb, var(--bg) 30%, transparent); transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.lp-btn:hover { color: var(--ink); border-color: var(--ink-2); }
.lp-btn:active { transform: scale(.98); }
.lp-btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.lp-btn.primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--accent-ink); }

/* ---------- Hero ---------- */
.lp-hero { position: relative; min-height: max(640px, 100svh); display: flex; justify-content: center; overflow: hidden; isolation: isolate; }
.lp-hero-media { position: absolute; inset: 0; z-index: -1; }
.lp-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; opacity: 0; transition: opacity .8s ease; animation: lpApproach 40s cubic-bezier(.25, .1, .25, 1) both; transform-origin: 49% 58%; }
.lp-hero-media .night { opacity: 1; }
:root[data-theme="light"] .lp-hero-media .day { opacity: 1; }
:root[data-theme="light"] .lp-hero-media .night { opacity: 0; }
/* Diashow: zufälliges erstes Foto, alle 10 s überblenden (landing.js); .lp-slide-m nur auf dem Handy.
   Bis das erste Foto geladen ist, bleibt der Bildbereich unsichtbar – ohne Skript erscheint er nach 2,5 s (Rückfall). */
.lp-hero-media:not(.ready) { opacity: 0; animation: lpShow .6s ease 2.5s forwards; }
.lp-hero-media.ready { opacity: 1; transition: opacity .7s ease; }
.lp-hero-media.instant img { transition: none !important; }
@keyframes lpShow { to { opacity: 1; } }
.lp-hero-media .day { transition: opacity 1.8s ease; }
.lp-hero-media .lp-slide img { animation: none; transition: opacity 1.8s ease; object-position: 50% 50%; transform-origin: 50% 50%; }
.lp-hero-media .lp-slide.on img { opacity: 1; animation: lpDrift 12s linear both; }
:root[data-theme="light"] .lp-hero-media .day.off { opacity: 0; }
.lp-slide-m { display: none; }
.lp-hero-wash { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(242, 244, 247, .55) 0%, rgba(242, 244, 247, .5) 52%, rgba(242, 244, 247, 0) 74%); opacity: 0; transition: opacity 1.8s ease; }
.lp-hero-media.alt .lp-hero-wash { opacity: 1; }
@keyframes lpDrift { from { transform: scale(1.03); } to { transform: scale(1.1); } }
.lp-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(6, 13, 22, .62) 0%, rgba(6, 13, 22, .5) 40%, rgba(6, 13, 22, .12) 64%, rgba(6, 13, 22, .3) 82%, var(--bg) 100%); }
:root[data-theme="light"] .lp-hero-media::after { background: linear-gradient(to bottom, rgba(242, 244, 247, .8) 0%, rgba(242, 244, 247, .62) 42%, rgba(242, 244, 247, .1) 66%, rgba(242, 244, 247, .3) 84%, var(--bg) 100%); }
@keyframes lpApproach { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.lp-hero-text { width: 100%; max-width: 1240px; padding: calc(60px + clamp(36px, 11vh, 130px)) var(--lp-gut) 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.lp-hero h1 { font-size: clamp(44px, 7.2vw, 100px); font-weight: 600; line-height: .98; letter-spacing: -.01em; animation: lpRise 1s var(--ease) .1s both; }
.lp-hero .lp-eyebrow { animation: lpRise 1s var(--ease) both; }
.lp-lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 36em; animation: lpRise 1s var(--ease) .2s both; }
.lp-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; animation: lpRise 1s var(--ease) .3s both; }
.lp-hero .lp-btn:not(.primary) { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@keyframes lpRise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Zahlen ---------- */
.lp-facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-facts-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.lp-facts-in div { padding: 36px 0 34px; display: flex; flex-direction: column; gap: 8px; text-align: center; }
.lp-facts-in div + div { border-left: 1px solid var(--line); }
.lp-facts b { font: 600 clamp(36px, 4.4vw, 56px)/1 var(--num); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.lp-facts span { font: 600 13px/1.3 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Abschnitte ---------- */
.lp-sec { padding: var(--lp-sec) 0; }
.lp-sec + .lp-sec { padding-top: 0; }
.lp-sec.lp-hw, .lp-sec.lp-pricing, .lp-hw + .lp-sec { padding-top: var(--lp-sec); }

/* Programme */
.lp-progs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, auto) 1fr; column-gap: 20px; }
.lp-prog { display: grid; grid-row: span 5; grid-template-rows: subgrid; align-content: start; row-gap: 14px; padding: 32px 30px 34px; border-radius: var(--lp-radius); background: var(--lp-card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lp-prog > p:not(.lp-tag):not(.lp-prog-meta) { color: var(--ink-2); font-size: 16px; }
.lp-tag { align-self: flex-start; justify-self: start; font: 600 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); padding: 7px 10px; border-radius: 4px; background: color-mix(in srgb, var(--accent) 10%, transparent); }
.lp-prog-meta { font-size: 15px; color: var(--muted); padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); align-self: end; }
.lp-prog-meta b { font: 600 22px/1 var(--num); color: var(--ink); font-variant-numeric: tabular-nums; }
.lp-prog-meta i { font-style: normal; color: var(--faint); margin: 0 6px; }
.lp-prog ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 15px; color: var(--muted); }

/* Module (Produktbilder) */
.lp-seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 26px; border: 1px solid var(--line); background: var(--panel); margin: 0 auto 36px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.lp-seg::-webkit-scrollbar { display: none; }
.lp-show .lp-wrap, .lp-pricing .lp-wrap { display: flex; flex-direction: column; }
.lp-show .lp-head, .lp-pricing .lp-head { align-items: center; text-align: center; }
.lp-seg button { flex: none; height: 40px; padding: 0 20px; border-radius: 20px; border: 0; background: transparent; color: var(--muted); font: 600 14px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s; }
.lp-seg button:hover { color: var(--ink); }
.lp-seg button[aria-selected="true"], .lp-seg button[aria-checked="true"] { background: var(--panel-3); color: var(--ink); }
:root[data-theme="light"] .lp-seg button[aria-selected="true"], :root[data-theme="light"] .lp-seg button[aria-checked="true"] { background: var(--ink); color: #fff; }
.lp-stage { display: grid; }
.lp-shot { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; gap: 22px; align-items: center; }
.lp-shot[hidden] { display: none; }
.lp-shot:not([hidden]) { animation: lpFade .5s var(--ease) both; }
@keyframes lpFade { from { opacity: 0; transform: translateY(8px); } }
.lp-shot figcaption { color: var(--muted); font-size: 17px; text-align: center; max-width: 52ch; }
.lp-frame { position: relative; width: 100%; border-radius: var(--lp-radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--lp-shadow); background: var(--bg-raise); aspect-ratio: 2160 / 1110; }
.lp-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lp-frame-wide { margin-bottom: clamp(48px, 6vw, 72px); }

/* Eingabegeräte */
.lp-hw { background: linear-gradient(180deg, var(--bg), var(--bg-raise) 30%, var(--bg-raise) 70%, var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-hw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.lp-hw-grid > div { padding: 34px 32px 8px 0; display: flex; flex-direction: column; gap: 12px; }
.lp-hw-grid > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.lp-hw-grid p { color: var(--muted); font-size: 16px; }
.lp-key { font-size: 13px; letter-spacing: .14em; color: var(--accent); }

/* Training */
.lp-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px); }
.lp-cols h3 { margin-bottom: 18px; }
.lp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.lp-list li { position: relative; padding: 12px 0 12px 26px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.lp-list li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Preise */
.lp-period { margin-bottom: 44px; }
.lp-save { margin-left: 6px; color: var(--ok); letter-spacing: .06em; }
.lp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(6, auto) 1fr; column-gap: 20px; }
.lp-plan { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 14px; padding: 34px 30px 30px; border-radius: var(--lp-radius); background: var(--lp-card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lp-price { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.lp-price b { font: 600 clamp(48px, 5vw, 64px)/1 var(--num); letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.lp-price span { color: var(--muted); font-size: 16px; }
.lp-price-note { color: var(--muted); font-size: 14px; min-height: 21px; }
.lp-plan .lp-list { margin: 6px 0 22px; }
.lp-plan .lp-list li { font-size: 15px; padding: 10px 0 10px 24px; }
.lp-plan .lp-list li::before { top: 16px; }
.lp-plan .lp-btn { align-self: end; }
.lp-group { margin-top: 36px; text-align: center; color: var(--muted); font-size: 16px; }
.lp-group a { white-space: nowrap; margin-left: 6px; }

/* Fußzeile */
.lp-foot { border-top: 1px solid var(--line); padding: 48px 0 56px; }
.lp-foot-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 32px; color: var(--muted); font-size: 14px; }
.lp-foot-logo { width: 92px; height: auto; }
.lp-foot-logo img { width: 100%; height: auto; }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.lp-foot nav a { color: var(--ink-2); }
.lp-foot nav a:hover { color: var(--ink); }
.lp-copy { grid-column: 2 / -1; color: var(--faint); font-size: 13px; }

/* Einblenden beim Scrollen (nur mit JavaScript aktiv) */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .lp-hero-media img { animation: none; }
}

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 960px) {
  .lp-progs, .lp-plans { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 20px; max-width: 560px; margin: 0 auto; width: 100%; }
  .lp-prog, .lp-plan { grid-row: auto; grid-template-rows: none; }
  .lp-hw-grid { grid-template-columns: 1fr; }
  .lp-hw-grid > div, .lp-hw-grid > div + div { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .lp-cols { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .lp-links { display: none; }
  .lp-hero-media { top: 36%; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 28%); mask-image: linear-gradient(to bottom, transparent, #000 28%); }
  .lp-hero-media img { object-position: 50% 40%; }
  .lp-slide-m { display: inline; }
  .lp-login { margin-left: auto; }
  .lp-facts-in { grid-template-columns: repeat(2, 1fr); }
  .lp-facts-in div:nth-child(3) { border-left: 0; }
  .lp-facts-in div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lp-seg { align-self: stretch; margin-left: 0; margin-right: 0; }
  .lp-foot-in { grid-template-columns: 1fr; }
  .lp-copy { grid-column: auto; }
  .lp-frame { border-radius: 10px; }
}
@media (max-width: 420px) {
  .lp-prog, .lp-plan { padding: 26px 22px; }
  .lp-cta { flex-direction: column; align-self: stretch; }
}

/* ---------- Kauf ---------- */
.lp-terms { margin-top: 32px; text-align: center; color: var(--muted); font-size: 15px; max-width: 62ch; align-self: center; }
.lp-terms + .lp-group { margin-top: 12px; }
.lp-dialog { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line-2); border-radius: 18px; background: var(--panel); color: var(--ink); box-shadow: var(--lp-shadow); overflow: auto; }
.lp-dialog[open] { animation: lpDlg .3s var(--ease) both; }
.lp-dialog:focus, .lp-dialog:focus-visible { outline: none; }
.lp-dialog::backdrop { background: rgba(3, 8, 14, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
:root[data-theme="light"] .lp-dialog::backdrop { background: rgba(12, 24, 36, .32); }
@keyframes lpDlg { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.lp-buy, .lp-done { display: flex; flex-direction: column; gap: 18px; padding: 28px 28px 24px; }
.lp-dlg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.lp-dlg-head .lp-eyebrow { font-size: 12px; line-height: 1.4; margin-bottom: 8px; }
.lp-dialog h3 { font-size: 26px; }
.lp-x { width: 34px; height: 34px; flex: none; border-radius: 17px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.lp-x:hover { color: var(--ink); border-color: var(--ink-2); }
.lp-buy-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px; border-radius: 10px; background: var(--panel-2); color: var(--ink-2); }
.lp-buy-sum b { font: 600 24px/1 var(--num); color: var(--ink); font-variant-numeric: tabular-nums; }
.lp-extend summary { cursor: pointer; color: var(--accent); font-size: 15px; list-style: none; }
.lp-extend summary::-webkit-details-marker { display: none; }
.lp-extend summary::before { content: "+"; display: inline-block; width: 16px; font-weight: 600; }
.lp-extend[open] summary::before { content: "−"; }
.lp-extend[open] summary { margin-bottom: 14px; }
.lp-extend input { font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.lp-check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.lp-check input { margin-top: 2px; }
.lp-buy .lp-btn { width: 100%; }
.lp-buy .lp-btn[disabled] { opacity: .6; pointer-events: none; }
.lp-buy .form-error:empty { display: none; }
.lp-buy-foot { text-align: center; color: var(--faint); font-size: 13px; }
.lp-done { text-align: center; align-items: center; padding: 36px 30px 30px; }
.lp-done-text { color: var(--ink-2); max-width: 36ch; }
.lp-code { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 22px; border-radius: 12px; border: 1px dashed var(--line-2); background: var(--panel-2); }
.lp-code b { font-size: 28px; letter-spacing: .14em; }
.lp-code .lp-btn { height: 38px; padding: 0 16px; font-size: 13px; }
.lp-facts-list { display: flex; gap: 32px; margin: 0; }
.lp-facts-list div { display: flex; flex-direction: column; gap: 4px; }
.lp-facts-list dt { font: 600 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lp-facts-list dd { margin: 0; font: 600 18px/1.2 var(--num); }
.lp-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.lp-spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--accent); animation: lpSpin 1s linear infinite; }
@keyframes lpSpin { to { transform: rotate(360deg); } }
@media (max-width: 420px) { .lp-buy, .lp-done { padding: 22px 20px 20px; } .lp-code b { font-size: 22px; } }

/* ---------- Programme: Gruppen, Suche, Karten ---------- */
.lp-filter { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.lp-filter .lp-seg { margin: 0; }
.lp-search { flex: 1 1 260px; max-width: 360px; height: 48px; padding: 0 18px; border-radius: 24px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-size: 16px; }
.lp-search:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.lp-pgroup + .lp-pgroup { margin-top: 56px; }
.lp-pgroup-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.lp-pgroup-title span { font: 400 16px/1.3 var(--body, inherit); color: var(--muted); letter-spacing: 0; }
.lp-plist { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.lp-pcard { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; border-radius: var(--lp-radius); background: var(--lp-card); border: 1px solid var(--line); scroll-margin-top: 80px; }
.lp-pcard:target { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.lp-pcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lp-pcard-price { font: 600 15px/1 var(--num); color: var(--ink-2); white-space: nowrap; }
.lp-pcard h4 { font-size: 19px; line-height: 1.2; }
.lp-pcard-air { font: 600 13px/1.4 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.lp-pcard-desc { color: var(--muted); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.lp-pcard:has(details[open]) .lp-pcard-desc { -webkit-line-clamp: unset; line-clamp: unset; }
.lp-pcard-mods { margin-top: auto; border-top: 1px solid var(--line); padding-top: 10px; font-size: 15px; color: var(--muted); }
.lp-pcard-mods summary { cursor: pointer; list-style-position: inside; padding: 4px 0; }
.lp-pcard-mods summary b { font: 600 17px/1 var(--num); color: var(--ink); }
.lp-pcard-mods summary i { font-style: normal; color: var(--faint); margin: 0 4px; }
.lp-pcard-mods ul { list-style: none; margin: 8px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lp-pcard-mods li { font-size: 13px; padding: 4px 9px; border-radius: 4px; background: var(--panel-2); color: var(--ink-2); }
.lp-pcard .lp-btn { align-self: flex-start; }
.lp-empty { margin-top: 24px; color: var(--muted); }
.lp-note { margin-top: 40px; font-size: 13px; line-height: 1.6; color: var(--faint); max-width: 90ch; }

/* ---------- Preise: Programmauswahl, Flugschulen, Laufzeit im Kaufdialog ---------- */
.lp-plan-pick { display: flex; flex-direction: column; gap: 6px; }
.lp-plan-pick span { font: 600 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lp-plan-pick select { width: 100%; }
.lp-schools { margin-top: 48px; padding: 28px 30px; border-radius: var(--lp-radius); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.lp-schools > p:last-child { color: var(--muted); font-size: 15px; }
.lp-schools a { white-space: nowrap; margin-left: 4px; }
.lp-schools-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .lp-schools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lp-schools-grid div { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 10px; background: var(--panel-2); }
.lp-schools-grid b { font: 600 15px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.lp-schools-grid span, .lp-schools-grid small { color: var(--muted); font-size: 14px; }
.lp-schools-grid strong { font: 600 28px/1.1 var(--num); font-variant-numeric: tabular-nums; margin-top: 6px; }
.lp-buy-period { margin: 0; align-self: stretch; justify-content: space-between; }
.lp-buy-period button { flex: 1; padding: 0 10px; }
@media (max-width: 760px) {
  .lp-filter { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 28px; }
  .lp-search { order: -1; flex: none; width: 100%; max-width: none; height: 46px; font-size: 16px; }
  .lp-filter .lp-cats { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; border: 0; border-radius: 0; background: transparent; overflow: visible; align-self: stretch; }
  .lp-filter .lp-cats button { height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); font-size: 12px; letter-spacing: .08em; }
  .lp-schools-grid { grid-template-columns: 1fr; }
  .lp-schools { padding: 22px 20px; }
}

/* ---------- Sprache DE / EN in der Navigation ---------- */
.lp-lang { display: inline-flex; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-left: 8px; }
.lp-lang a { padding: 7px 11px; font: 600 12px/1 var(--display); letter-spacing: .12em; color: var(--muted); }
.lp-lang a:hover { color: var(--ink); }
.lp-lang a[aria-current="true"] { background: var(--ink); color: #fff; }
@media (max-width: 760px) { .lp-lang { margin-left: auto; } }
.lp-foot nav .lp-foot-btn { padding: 0; border: 0; background: none; color: var(--ink-2); font: inherit; cursor: pointer; }
.lp-foot nav .lp-foot-btn:hover { color: var(--ink); }

/* ---------- Rechtliche Seiten (Datenschutz) ---------- */
.lp-legal-page .lp-nav { position: sticky; top: 0; }
.lp-legal-grow { flex: 1; }
.lp-legal { max-width: 780px; margin: 0 auto; padding: 48px 16px 72px; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.lp-legal h1 { margin: 8px 0 4px; color: var(--ink); font-size: clamp(32px, 5vw, 44px); }
.lp-legal h2 { margin: 36px 0 10px; color: var(--ink); font-size: 21px; line-height: 1.25; letter-spacing: .01em; }
.lp-legal p, .lp-legal ul { margin: 0 0 12px; }
.lp-legal ul { padding-left: 20px; }
.lp-legal li { margin: 4px 0; }
.lp-legal a { color: var(--accent); }
.lp-legal-meta { color: var(--muted); font-size: 14px; }
.lp-legal mark { background: #fff1a8; color: #3d3100; padding: 1px 4px; border-radius: 3px; }
.lp-legal-draft { padding: 10px 14px; border: 1px solid #e8c95c; border-radius: 8px; background: #fffbe6; color: #5c4700; font-size: 14px; }
.lp-legal-link { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Verlängerungsseite (/verlaengern) ---------- */
.lp-renew { max-width: 820px; }
.lp-renew h1 { margin-bottom: 12px; }
.lp-renew h2 { margin: 18px 0 0; font-size: 19px; }
.rn-lead { font-size: 18px; color: var(--ink-2); margin: 0 0 24px; }
.rn-form { display: flex; flex-direction: column; gap: 18px; }
.rn-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.rn-opts.two { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rn-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); color: var(--ink-2); font: inherit; font-size: 14px; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.rn-opt b { font: 600 17px/1.2 var(--display); color: var(--ink); }
.rn-opt:hover { border-color: var(--accent); }
.rn-opt[aria-checked="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--panel)); }
.rn-price s { color: var(--faint); }
.rn-price strong { font: 600 18px/1 var(--num); color: var(--ink); font-variant-numeric: tabular-nums; }
.rn-until { color: var(--muted); font-size: 13px; }
.rn-sum { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 10px; background: var(--panel-2); color: var(--ink); }
.rn-sum small { color: var(--muted); font-size: 13px; }
.rn-total { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.rn-total b { font: 600 26px/1 var(--num); font-variant-numeric: tabular-nums; }
.rn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rn-grid.three { grid-template-columns: 1fr 2fr 1fr; }
.rn-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rn-form .form-error:empty { display: none; }
.rn-form textarea { min-height: 80px; }
.rn-help { margin-top: 28px; color: var(--muted); font-size: 14px; }
@media (max-width: 640px) {
  .rn-grid, .rn-grid.three { grid-template-columns: 1fr; }
  .rn-sum { flex-direction: column; align-items: flex-start; }
  .rn-total { align-items: flex-start; text-align: left; }
  .rn-actions .lp-btn { width: 100%; }
}

/* AV-Vertrag auf der Verlängerungsseite */
.rn-dpa { border: 1px solid var(--line-2, #c9d2dc); border-radius: 6px; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.rn-dpa details summary { cursor: pointer; font-weight: 600; }
.rn-dpa .dpa-box { max-height: 340px; overflow-y: auto; margin-top: 10px; padding: 12px 14px; border: 1px solid var(--line-2, #c9d2dc); border-radius: 4px; }
