/* Türöffner-Landingpage – mobil zuerst. Baut auf stil.css auf (Farben, Fonts). */

.lp { background: #fff; }
.lp [hidden] { display: none !important; }  /* sonst überschreibt display:block das hidden-Attribut */
.lp main img { border-radius: 0; }
.lp-unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-klein { font-size: .88rem; color: var(--text-hell); }
.lp-mitte { text-align: center; }
.lp-schmal { max-width: 640px; }

/* Kopf: nur Logo + Telefon */
.lp-kopf { background: #fff; border-bottom: 1px solid var(--rand); position: sticky; top: 0; z-index: 50; }
.lp-kopf-zeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding-top: 6px; padding-bottom: 6px; }
.lp-kopf .logo img { width: 150px; height: auto; display: block; }
.lp-kopf .logo { order: 0; }
.lp-kopf .tel-knopf { order: 1; width: auto; margin: 0; border-radius: 6px; white-space: nowrap; font-size: .95rem; padding: 9px 12px; text-align: center; }
@media (max-width: 380px) {
  .lp-kopf .logo img { width: 118px; }
  .lp-kopf .tel-knopf { font-size: .85rem; padding: 8px 9px; }
}

/* Held */
.lp-held { background: var(--dunkel); color: #fff; }
.lp-held-raster { display: flex; flex-direction: column; padding: 0; }
/* Handy: Überschrift, Preis und Knopf zuerst (sofort sichtbar), Hochformat-Bild/Video darunter */
.lp-held-text { padding: 20px 20px 22px; order: 1; }
.lp-medium-rahmen { order: 2; margin: 0; position: relative; aspect-ratio: 4 / 5; max-height: 80vh; overflow: hidden; background: #222; }
.lp-medium { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.lp-dachzeile { font-size: .85rem; letter-spacing: .02em; color: #9fe6de; margin: 0 0 6px; }
.lp-held h1 { color: #fff; font-size: 1.9rem; margin: 0 0 8px; }
.lp-nutzen { font-size: 1.05rem; margin: 0 0 16px; color: #e8edf1; }
.lp-preis { margin: 0 0 18px; line-height: 1.35; }
.lp-preis-gross { display: block; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.65rem; color: #fff; }
.lp-preis-klein { font-size: .95rem; color: #cfd6dd; }
.lp-held .lp-klein { color: #aeb8c2; margin: 12px 0 0; }
.lp-cta { margin: 0; }
.lp-knopf { display: inline-block; font-size: 1.1rem; padding: 14px 28px; border-radius: 8px; text-align: center; border: 0; cursor: pointer; }
.lp-held .lp-cta { display: block; margin: 0; }
.lp-held .lp-knopf { width: 100%; }
.lp-breit { display: block; width: 100%; }
.knopf:disabled { opacity: .6; cursor: progress; transform: none; }

/* Abschnitte */
.lp-abschnitt { padding: 36px 0; }
.lp-abschnitt h2 { font-size: 1.45rem; }
.lp-karten { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lp-karten li { background: var(--hell); border: 1px solid var(--rand); border-radius: 12px; padding: 18px 18px 14px; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
.lp-karten h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.lp-karten p { margin: 0; grid-column: 2; font-size: .95rem; }
.lp-symbol { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--akzent); color: #fff; display: flex; align-items: center; justify-content: center; }
.lp-symbol svg { width: 24px; height: 24px; }

.lp-ablauf { background: var(--hell); }
.lp-schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: none; }
.lp-schritte li { display: flex; gap: 14px; align-items: flex-start; }
.lp-schritte h3 { margin: 4px 0 2px; font-size: 1.05rem; }
.lp-schritte p { margin: 0; font-size: .95rem; }
.lp-nr { flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--dunkel); color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Formular */
.lp-formular-bereich { scroll-margin-top: 70px; }
.lp-formular-bereich:focus { outline: none; }
.lp-fortschritt { list-style: none; padding: 0; margin: 0 0 20px; display: flex; gap: 6px; font-size: .82rem; }
.lp-fortschritt li { flex: 1; text-align: center; padding-top: 8px; border-top: 4px solid var(--rand); color: var(--text-hell); }
.lp-fortschritt li.aktiv { border-color: var(--akzent); color: var(--dunkel); font-weight: 600; }
.lp-fortschritt li.erledigt { border-color: var(--akzent-dunkel); }
.lp-formular { display: block; }
.lp-feld { margin-bottom: 14px; }
.lp-feld > label { display: block; font-weight: 600; margin-bottom: 4px; color: var(--dunkel); }
.lp-feld input[type=text], .lp-feld input[type=tel], .lp-feld input[type=email], .lp-feld textarea {
  width: 100%; font: inherit; font-size: 16px; /* iOS: kein Zoom */
  padding: 12px 14px; border: 1px solid #b9c3c3; border-radius: 8px; background: #fff;
}
.lp-feld input:focus, .lp-feld textarea:focus { outline: 2px solid var(--akzent); outline-offset: 1px; border-color: var(--akzent); }
.lp-feld input[aria-invalid=true] { border-color: var(--rot); }
.lp-feld-plz input { max-width: 160px; }
.lp-check label { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; font-weight: 400; }
.lp-check input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; }
.lp-feldfehler { display: block; color: var(--rot); font-size: .88rem; min-height: 0; }
.lp-feldfehler:empty { display: none; }
.lp-honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lp-fehlerbox { background: #fdecee; border: 1px solid #f3b8bf; color: #8c1220; padding: 10px 14px; border-radius: 8px; }
.lp-erfolg { background: #e6f8f5; border: 1px solid #9fe0d7; color: #0b6f64; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.lp-textknopf { background: none; border: 0; color: var(--akzent-dunkel); font: inherit; font-weight: 600; text-decoration: underline; padding: 14px; cursor: pointer; }

.lp-hinweise { background: var(--hell); border-radius: 10px; padding: 12px 16px; margin-bottom: 14px; }
.lp-hinweise p { margin: 0 0 6px; }
.lp-hinweise ul { margin: 0 0 6px; padding-left: 20px; }
.lp-upload-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.lp-knopf-hell { font-family: 'Montserrat', sans-serif; font-weight: 600; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; background: #fff; color: var(--dunkel); border: 2px solid var(--akzent); border-radius: 8px; padding: 12px 8px; font-size: .95rem; cursor: pointer; min-height: 52px; }
.lp-knopf-hell:hover { background: #effaf8; color: var(--dunkel); }
.lp-knopf-hell input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.lp-knopf-hell.lp-aus { opacity: .45; pointer-events: none; }
.lp-zaehler { font-size: .9rem; color: var(--text-hell); margin: 4px 0 8px; min-height: 1em; }
.lp-fotoliste { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.lp-foto { display: flex; gap: 10px; align-items: center; border: 1px solid var(--rand); border-radius: 8px; padding: 6px; }
.lp-foto-vorschau { flex: 0 0 52px; height: 52px; border-radius: 6px; background: var(--hell); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.lp-foto-vorschau img { width: 100%; height: 100%; object-fit: cover; }
.lp-foto-info { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: .88rem; }
.lp-foto-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-foto-status { color: var(--text-hell); }
.lp-foto progress { width: 100%; height: 6px; }
.lp-foto-ok .lp-foto-status { color: #0b6f64; font-weight: 600; }
.lp-foto-fehler { border-color: #f3b8bf; background: #fdf5f6; }
.lp-foto-fehler .lp-foto-status { color: var(--rot); }

.lp-danke { text-align: center; padding: 10px 0 0; }
.lp-danke:focus { outline: none; }
.lp-haken { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; background: var(--akzent); color: #fff; font-size: 2rem; display: flex; align-items: center; justify-content: center; }

/* FAQ */
.lp-faq details { border-bottom: 1px solid var(--rand); padding: 4px 0; }
.lp-faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; color: var(--dunkel); }
.lp-faq .lp-cta { margin-top: 24px; }

.lp-h1-klein { font-size: 1.6rem; }

/* Fuß */
.lp-fuss { margin-top: 0; }
.lp-fuss .innen { padding-top: 18px; padding-bottom: 18px; }
.lp-fuss .fuss-unten { border-top: 0; margin-top: 0; padding-top: 0; }

/* Ab Tablet/Desktop: Text links, Bild rechts (Querformat) */
@media (min-width: 900px) {
  .lp-kopf .logo img { width: 200px; }
  .lp-held-raster { flex-direction: row; align-items: center; gap: 40px; padding: 40px 20px; }
  .lp-held-text { order: 1; flex: 1 1 50%; padding: 0; }
  .lp-medium-rahmen { order: 2; flex: 1 1 50%; aspect-ratio: 3 / 2; max-height: none; border-radius: 14px; }
  .lp-held h1 { font-size: 2.6rem; }
  .lp-held .lp-knopf { width: auto; }
  .lp-karten { grid-template-columns: repeat(3, 1fr); }
  .lp-schritte { grid-template-columns: repeat(3, 1fr); }
  .lp-abschnitt { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* Optional-Hinweis am Feld Anmerkungen */
.lp-optional { font-weight: 400; color: var(--text-hell); }
