/* Pleppo Veranstaltung — öffentliche Landingpage */

.pe-app.pe-landing {
  padding: 0;
  max-width: none;
  background: var(--pe-lp-bg, #f4f2ed);
  background-image: none;
  min-height: 100dvh;
  color-scheme: light;
}

/* Landing bleibt markenhell — unabhängig vom App-Dark-Mode */
html[data-pe-theme="dark"] .pe-app.pe-landing,
html[data-pe-theme="dark"] .pe-lp {
  --pe-bg: #f4f2ed;
  --pe-surface: #ffffff;
  --pe-text: #202124;
  color: #202124;
}

.pe-lp {
  --pe-lp-bg: #f4f2ed;
  --pe-lp-surface: #ffffff;
  --pe-lp-ink: #292a2d;
  --pe-lp-text: #202124;
  --pe-lp-muted: #5c5d61;
  --pe-lp-gold: #c7a879;
  --pe-lp-gold-soft: #eadcc5;
  --pe-lp-red: #a84138;
  --pe-lp-border: #ded9cf;
  --pe-lp-radius: 10px;
  --pe-lp-radius-sm: 8px;
  color: var(--pe-lp-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}

.pe-lp *,
.pe-lp *::before,
.pe-lp *::after { box-sizing: border-box; }

.pe-lp h1,
.pe-lp h2,
.pe-lp h3,
.pe-lp p,
.pe-lp ol,
.pe-lp ul { margin: 0; }

.pe-lp-container {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.75rem);
}

.pe-lp-section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.pe-lp-section-cream { background: var(--pe-lp-bg); }
.pe-lp-section-white { background: var(--pe-lp-surface); }
.pe-lp-section-ink {
  background: var(--pe-lp-ink);
  color: #f5f3ee;
}

/* Header */
.pe-lp-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--pe-lp-surface);
  border-bottom: 1px solid var(--pe-lp-border);
}

.pe-lp-top-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.5rem;
  padding-top: .55rem;
  padding-bottom: .55rem;
}

.pe-lp-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: var(--pe-lp-ink);
  flex: 0 0 auto;
}

.pe-lp-brand:hover { color: var(--pe-lp-ink); text-decoration: none; }

.pe-lp-brand-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.pe-lp-brand-name {
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -.02em;
}

.pe-lp-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .85rem;
  margin-left: auto;
  margin-right: .5rem;
}

.pe-lp-nav a {
  color: var(--pe-lp-muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
}

.pe-lp-nav a:hover {
  color: var(--pe-lp-ink);
  border-bottom-color: var(--pe-lp-gold);
  text-decoration: none;
}

.pe-lp-top-cta {
  flex: 0 0 auto;
  padding: .55rem 1rem !important;
  font-size: .9rem !important;
  min-height: 40px;
}

.pe-lp-station-note {
  margin: 1rem 0 0;
  max-width: 42rem;
}

/* Type */
.pe-lp-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pe-lp-red);
  margin-bottom: .75rem;
}

.pe-lp-h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.15;
  color: var(--pe-lp-ink);
  max-width: 22ch;
  margin-bottom: .85rem;
}

.pe-lp-h2-light { color: #f5f3ee; max-width: 28ch; }

.pe-lp-h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pe-lp-ink);
  margin-bottom: .75rem;
}

.pe-lp-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--pe-lp-muted);
  max-width: 42rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.pe-lp-lead-light { color: rgba(245, 243, 238, .78); }

.pe-lp-bullets {
  list-style: none;
  padding: 0;
  margin-top: 1.25rem;
  display: grid;
  gap: .65rem;
  max-width: 36rem;
}

.pe-lp-bullets li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--pe-lp-text);
  font-size: 1.02rem;
}

.pe-lp-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .45rem;
  height: .45rem;
  border-radius: 1px;
  background: var(--pe-lp-gold);
}

/* Buttons */
.pe-lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 48px;
  padding: .75rem 1.35rem;
  border-radius: var(--pe-lp-radius-sm);
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.2;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.pe-lp-btn:hover { text-decoration: none; }

.pe-lp-btn-primary {
  background: var(--pe-lp-ink);
  color: #fff;
  border-color: var(--pe-lp-ink);
}
.pe-lp-btn-primary:hover {
  background: #1c1d20;
  color: #fff;
}

.pe-lp-btn-secondary {
  background: var(--pe-lp-surface);
  color: var(--pe-lp-ink);
  border-color: var(--pe-lp-border);
}
.pe-lp-btn-secondary:hover {
  border-color: var(--pe-lp-ink);
  color: var(--pe-lp-ink);
}

/* Hero */
.pe-lp-hero {
  padding-top: clamp(2.25rem, 4vw, 3.25rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
  border-bottom: 1px solid var(--pe-lp-border);
}

.pe-lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.pe-lp-hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 780;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: var(--pe-lp-ink);
  max-width: 14ch;
  margin-bottom: 1rem;
}

.pe-lp-hero-desc {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--pe-lp-muted);
  max-width: 38rem;
  line-height: 1.65;
}

.pe-lp-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

.pe-lp-hero-visual {
  position: relative;
  min-height: 280px;
}

.pe-lp-hero-visual .pe-lp-ui-kasse {
  width: min(100%, 340px);
}

.pe-lp-hero-visual .pe-lp-ui-station {
  width: min(92%, 300px);
  position: absolute;
  right: 0;
  bottom: 0;
}

.pe-lp-ui-offset { transform: translate(4%, 8%); }

/* UI screenshot surfaces (no fake device mockups) */
.pe-lp-ui {
  background: var(--pe-lp-surface);
  border: 1px solid var(--pe-lp-border);
  border-radius: var(--pe-lp-radius);
  box-shadow: 0 1px 2px rgba(41, 42, 45, .06);
  overflow: hidden;
  color: var(--pe-lp-text);
}

.pe-lp-ui-full { width: 100%; }

.pe-lp-ui-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .55rem .75rem;
  background: var(--pe-lp-ink);
  color: #f5f3ee;
  font-size: .78rem;
  font-weight: 650;
}

.pe-lp-ui-pill {
  display: inline-flex;
  align-items: center;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-size: .7rem;
}

.pe-lp-ui-pill-accent {
  background: color-mix(in srgb, var(--pe-lp-gold) 35%, transparent);
  color: #fff;
}

.pe-lp-ui-body,
.pe-lp-ui-panel {
  padding: .85rem .9rem;
  display: grid;
  gap: .55rem;
}

.pe-lp-ui-scan {
  border: 1px dashed var(--pe-lp-border);
  border-radius: var(--pe-lp-radius-sm);
  padding: .7rem .75rem;
  color: var(--pe-lp-muted);
  font-size: .88rem;
  background: var(--pe-lp-bg);
}

.pe-lp-ui-row {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  font-size: .9rem;
  padding: .2rem 0;
  border-bottom: 1px solid var(--pe-lp-border);
}

.pe-lp-ui-row:last-child { border-bottom: none; }
.pe-lp-ui-total strong { color: var(--pe-lp-red); }

.pe-lp-ui-cta {
  margin-top: .25rem;
  background: var(--pe-lp-ink);
  color: #fff;
  text-align: center;
  border-radius: var(--pe-lp-radius-sm);
  padding: .65rem .75rem;
  font-size: .9rem;
  font-weight: 650;
}

.pe-lp-ui-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
  padding: .65rem;
}

.pe-lp-ui-cols > div,
.pe-lp-ui-col {
  background: var(--pe-lp-bg);
  border: 1px solid var(--pe-lp-border);
  border-radius: var(--pe-lp-radius-sm);
  padding: .5rem .4rem;
  display: grid;
  gap: .3rem;
  min-height: 4.5rem;
}

.pe-lp-ui-cols em,
.pe-lp-ui-col em {
  font-style: normal;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--pe-lp-muted);
  font-weight: 700;
}

.pe-lp-ui-cols b,
.pe-lp-ui-col b {
  font-size: .85rem;
  font-weight: 700;
  color: var(--pe-lp-ink);
}

.pe-lp-ui-grid2 {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: .65rem;
  padding: .65rem;
}

.pe-lp-ui-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--pe-lp-muted);
}

.pe-lp-ui-chips {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
}

.pe-lp-ui-chips span {
  border: 1px solid var(--pe-lp-border);
  border-radius: var(--pe-lp-radius-sm);
  padding: .4rem .65rem;
  font-size: .85rem;
  font-weight: 650;
}

.pe-lp-ui-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
}

.pe-lp-ui-tiles span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  background: var(--pe-lp-bg);
  border: 1px solid var(--pe-lp-border);
  border-radius: var(--pe-lp-radius-sm);
  font-size: .85rem;
  font-weight: 650;
}

.pe-lp-ui-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .45rem;
  padding: .65rem;
}

.pe-lp-frame {
  border: 1px solid var(--pe-lp-border);
  border-radius: 12px;
  padding: .55rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(41, 42, 45, .05);
}

.pe-lp-frame-plain {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  background: var(--pe-lp-bg);
}

/* Flow */
.pe-lp-flow {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .65rem;
  counter-reset: none;
}

.pe-lp-flow li {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1rem .85rem;
  border-top: 3px solid var(--pe-lp-gold);
  background: var(--pe-lp-bg);
  border-radius: 0 0 var(--pe-lp-radius-sm) var(--pe-lp-radius-sm);
}

.pe-lp-flow-n {
  font-size: .75rem;
  font-weight: 800;
  color: var(--pe-lp-red);
  letter-spacing: .04em;
}

.pe-lp-flow-t {
  font-size: .95rem;
  font-weight: 650;
  color: var(--pe-lp-ink);
  line-height: 1.35;
}

/* Splits */
.pe-lp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.pe-lp-split-rev .pe-lp-split-copy { order: 2; }
.pe-lp-split-rev .pe-lp-split-visual { order: 1; }

.pe-lp-split-copy p {
  font-size: 1.05rem;
  color: var(--pe-lp-muted);
  max-width: 36rem;
  line-height: 1.65;
}

.pe-lp-photo {
  margin: 0;
}

.pe-lp-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--pe-lp-border);
}

.pe-lp-photo figcaption {
  margin-top: .65rem;
  font-size: .88rem;
  color: var(--pe-lp-muted);
}

.pe-lp-card-stack {
  position: relative;
  width: min(260px, 80%);
  height: 170px;
}

.pe-lp-card-face {
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  border-radius: var(--pe-lp-radius);
  border: 1px solid var(--pe-lp-border);
  background: var(--pe-lp-ink);
  color: var(--pe-lp-gold-soft);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

.pe-lp-card-face span { font-size: .8rem; font-weight: 650; }
.pe-lp-card-face strong { font-size: 1.6rem; letter-spacing: -.02em; }

.pe-lp-card-face-2 {
  inset: 0 12% auto auto;
  width: 78%;
  background: #3a3b40;
  transform: rotate(-4deg);
  z-index: 1;
}

.pe-lp-card-face:first-child { z-index: 2; }

/* Offline */
.pe-lp-offline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
}

.pe-lp-offline-col {
  background: var(--pe-lp-bg);
  border: 1px solid var(--pe-lp-border);
  border-radius: var(--pe-lp-radius);
  padding: 1.35rem 1.4rem;
}

.pe-lp-offline-local {
  border-color: color-mix(in srgb, var(--pe-lp-gold) 55%, var(--pe-lp-border));
  background: color-mix(in srgb, var(--pe-lp-gold-soft) 35%, #fff);
}

.pe-lp-offline-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  color: var(--pe-lp-muted);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  min-width: 3rem;
}

.pe-lp-offline-arrow {
  font-size: 1.4rem;
  color: var(--pe-lp-gold);
  line-height: 1;
}

/* Why / dark */
.pe-lp-why {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin-top: .5rem;
}

.pe-lp-why li {
  padding: 1.1rem 0 1.1rem 1rem;
  border-left: 3px solid var(--pe-lp-gold);
}

.pe-lp-why strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: .35rem;
}

.pe-lp-why span {
  display: block;
  color: rgba(245, 243, 238, .72);
  font-size: .98rem;
  line-height: 1.55;
  max-width: 34rem;
}

/* Links */
.pe-lp-links {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 1.25rem;
}

.pe-lp-links a {
  display: grid;
  gap: .2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--pe-lp-border);
  text-decoration: none;
  color: var(--pe-lp-text);
}

.pe-lp-links a:hover { color: var(--pe-lp-ink); text-decoration: none; }
.pe-lp-links a:hover strong { color: var(--pe-lp-red); }

.pe-lp-links strong {
  font-size: 1.05rem;
  color: var(--pe-lp-ink);
}

.pe-lp-links span {
  font-size: .92rem;
  color: var(--pe-lp-muted);
}

/* CTA */
.pe-lp-cta { border-top: 1px solid var(--pe-lp-border); }
.pe-lp-cta-inner { max-width: 40rem; }
.pe-lp-cta .pe-lp-h2 { max-width: 18ch; }
.pe-lp-cta-text {
  font-size: 1.1rem;
  color: var(--pe-lp-muted);
  max-width: 36rem;
  margin-bottom: .25rem;
  line-height: 1.65;
}
.pe-lp-cta-btns { margin-top: 1.5rem; }

/* Footer */
.pe-lp-footer {
  background: var(--pe-lp-ink);
  color: rgba(245, 243, 238, .55);
  padding: 1.35rem 0;
  font-size: .88rem;
}

.pe-lp-footer-inner { text-align: left; }
.pe-lp-footer-sep { margin: 0 .4rem; opacity: .5; }

.pe-lp-footer a {
  color: var(--pe-lp-gold-soft);
  text-decoration: none;
}
.pe-lp-footer a:hover { text-decoration: underline; }

.pe-lp-admin-hint {
  margin-top: .45rem;
  font-size: .8rem;
  color: rgba(245, 243, 238, .4);
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .pe-lp-ui {
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .pe-lp-split-visual:hover .pe-lp-ui,
  .pe-lp-hero-visual:hover .pe-lp-ui-kasse {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(41, 42, 45, .08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pe-lp-ui,
  .pe-lp-btn { transition: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .pe-lp-nav { display: none; }
  .pe-lp-top-inner { justify-content: space-between; }
  .pe-lp-hero-grid,
  .pe-lp-split,
  .pe-lp-offline,
  .pe-lp-flow,
  .pe-lp-why,
  .pe-lp-links {
    grid-template-columns: 1fr;
  }
  .pe-lp-split-rev .pe-lp-split-copy,
  .pe-lp-split-rev .pe-lp-split-visual { order: initial; }
  .pe-lp-hero-visual {
    min-height: 240px;
    margin-top: .5rem;
  }
  .pe-lp-hero-visual .pe-lp-ui-station {
    position: relative;
    margin-top: .75rem;
    width: min(100%, 340px);
  }
  .pe-lp-ui-offset { transform: none; }
  .pe-lp-offline-mid {
    flex-direction: row;
    min-height: auto;
    padding: .25rem 0;
  }
  .pe-lp-offline-arrow { transform: rotate(0deg); }
  .pe-lp-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pe-lp-ui-grid2 { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .pe-lp-section { padding: 2.5rem 0; }
  .pe-lp-hero-title { max-width: none; }
  .pe-lp-h2 { max-width: none; }
  .pe-lp-flow { grid-template-columns: 1fr; }
  .pe-lp-top-cta { padding: .5rem .85rem !important; }
  .pe-lp-btn { width: 100%; }
  .pe-lp-hero-btns,
  .pe-lp-cta-btns { width: 100%; }
}

/* Admin bar offset for sticky header */
body.admin-bar .pe-lp-top { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .pe-lp-top { top: 46px; }
}
