/* ============================================================================
   Landing /passkey (src/views/landing/passkey.php) – baut auf landing.css auf.
   ========================================================================== */

/* landing.css nutzt --radius/--radius-full, definiert sie aber nicht - hier fuer diese Seite. */
.pk { overflow: hidden; --radius: 10px; --radius-full: 50%; }

/* ---------------------------------------------------------------- Hero */
.pk-hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 32px);
  padding-bottom: 64px;
  isolation: isolate;
}
.pk-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  z-index: -2;
  animation: omRise 1.2s ease-out both;
}
.pk-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(11, 17, 27, .92) 34%, rgba(11, 17, 27, .35) 62%, rgba(11, 17, 27, 0) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11, 17, 27, 0) 30%);
}
.pk-hero__inner { width: 100%; }
.pk-hero__inner > * { max-width: 620px; }
.pk-hero .eyebrow { margin-bottom: 20px; }
.pk-hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin-bottom: 22px;
  animation: omRise .8s ease-out both;
}
.pk-hero__lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--muted);
  margin-bottom: 32px;
  animation: omRise .8s .1s ease-out both;
}
.pk-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; animation: omRise .8s .2s ease-out both; }
.pk-hero__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 32px;
  color: var(--dim);
  font-size: .9rem;
}
.pk-hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.pk-hero__facts svg { width: 16px; height: 16px; color: var(--accent); }

/* ---------------------------------------------------------------- Abschnitte */
.pk-section { padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); }
.pk-band { background: var(--surface); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.pk-section .eyebrow { margin-bottom: 16px; }
.pk-h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  margin-bottom: 20px;
}
.pk-section p { color: var(--muted); }
.pk-section p + p { margin-top: 14px; }
.pk-section strong { color: var(--text); font-weight: 600; }

.pk-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.pk-split--flip .pk-split__img { order: -1; }
.pk-split__img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: 0 30px 80px -30px rgba(77, 208, 255, .25);
}
.pk-split__img img { width: 100%; height: auto; transition: transform .8s ease; }
.pk-split__img:hover img { transform: scale(1.03); }

/* ---------------------------------------------------------------- Vergleich */
.pk-compare {
  margin-top: clamp(40px, 6vw, 64px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  background: var(--panel);
  padding: clamp(20px, 3vw, 32px);
}
.pk-compare__switch {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border-soft);
  margin-bottom: 24px;
}
.pk-compare__switch button {
  font: 600 .9rem/1 var(--font);
  color: var(--dim);
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  padding: 11px 18px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.pk-compare__switch button[aria-selected="true"] { background: var(--accent); color: var(--on-accent); }
.pk-compare__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px 28px;
}
.pk-compare__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--body); }
.pk-compare__list svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; }
.pk-compare__list--good svg { color: var(--accent); }
.pk-compare__list--bad svg { color: #ff8a7a; }
.pk-compare.is-js .pk-compare__list[hidden] { display: none; }
.pk-compare__list { animation: omRise .35s ease-out both; }
.pk-compare:not(.is-js) .pk-compare__switch { display: none; }
.pk-compare:not(.is-js) .pk-compare__list + .pk-compare__list { margin-top: 20px; }

/* ---------------------------------------------------------------- Speicherorte */
.pk-tabs { margin-top: clamp(40px, 6vw, 64px); }
.pk-tabs__list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 16px;
  scrollbar-width: thin;
}
.pk-tabs__tab {
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 .92rem/1.2 var(--font);
  color: var(--dim);
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.pk-tabs__tab:hover { color: var(--text); border-color: rgba(77, 208, 255, .4); }
.pk-tabs__tab[aria-selected="true"] {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(77, 208, 255, .08);
  box-shadow: inset 0 -2px 0 var(--accent);
}
.pk-tabs__tab svg { color: var(--accent); }
.pk-tabs:not(.is-js) .pk-tabs__list { display: none; }
.pk-tabs:not(.is-js) .pk-tabs__pane + .pk-tabs__pane { margin-top: 16px; }
.pk-tabs__pane {
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  background: var(--bg);
  padding: clamp(20px, 3vw, 32px);
}
.pk-tabs.is-js .pk-tabs__pane { animation: omRise .35s ease-out both; }
.pk-tabs__pane[hidden] { display: none; }
.pk-tabs__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}
.pk-tabs__head h3 { font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: 4px; }
.pk-tabs__head p { color: var(--muted); }
.pk-tabs__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: rgba(77, 208, 255, .1);
  color: var(--accent);
}
.pk-tabs__points { list-style: none; display: grid; gap: 10px; }
.pk-tabs__points li { position: relative; padding-left: 22px; color: var(--body); }
.pk-tabs__points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--accent);
}
.pk-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font: 600 .78rem/1 var(--font);
  padding: 8px 12px;
  border-radius: var(--radius);
}
.pk-badge svg { width: 15px; height: 15px; }
.pk-badge--sync { background: rgba(77, 208, 255, .14); color: var(--accent); }
.pk-badge--device { background: rgba(255, 196, 102, .12); color: #ffc466; }
.pk-hint {
  margin-top: 14px;
  font-size: .9rem;
  color: var(--dim);
}

/* ---------------------------------------------------------------- Schritte */
.pk-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
  counter-reset: none;
}
.pk-step {
  position: relative;
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px;
  transition: transform .25s ease, border-color .25s ease;
}
.pk-step:hover { transform: translateY(-4px); border-color: rgba(77, 208, 255, .45); }
.pk-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--on-accent);
  font: 700 .95rem/1 var(--mono);
  margin-bottom: 18px;
}
.pk-step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.pk-step p { font-size: .94rem; }
.pk-tip {
  margin-top: 24px;
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(77, 208, 255, .06);
  color: var(--body);
}
.pk-tip strong { color: var(--accent); }

.pk-checks { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.pk-checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--body); }
.pk-checks svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }

/* ---------------------------------------------------------------- Fragen */
.pk-faq { display: grid; gap: 10px; margin-top: 28px; max-width: 900px; }
.pk-faq__item {
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .2s;
}
.pk-faq__item[open] { border-color: rgba(77, 208, 255, .4); }
.pk-faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--text);
}
.pk-faq__item summary::-webkit-details-marker { display: none; }
.pk-faq__item summary::after {
  content: "+";
  font: 400 1.4rem/1 var(--mono);
  color: var(--accent);
  transition: transform .2s;
}
.pk-faq__item[open] summary::after { transform: rotate(45deg); }
.pk-faq__item p { padding: 0 22px 20px; }

.pk-end { text-align: center; }
.pk-end p { margin-bottom: 28px; }
.pk-end .pk-hero__cta { justify-content: center; }

@media (max-width: 860px) {
  .pk-split { grid-template-columns: 1fr; }
  .pk-split--flip .pk-split__img { order: 0; }
  .pk-hero { min-height: 0; }
  .pk-hero__bg { opacity: .45; object-position: 80% 50%; }
  .pk-tabs__head { grid-template-columns: auto 1fr; }
  .pk-badge { grid-column: 1 / -1; justify-self: start; }
  .pk-tabs__tab { flex: 0 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .pk *, .pk *::before, .pk *::after { animation: none !important; transition: none !important; }
}
