/* Startseite. Getrennt vom Portal, damit angemeldete Benutzer nichts davon laden müssen. */
html:has(.lp) { scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html:has(.lp) { scroll-behavior: smooth; } }
.lp { --sun: #f5b13d; --mint: #5fd8c3; overflow-x: clip; font-size: 16px; }
.lp-wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 24px; }
.lp h2 { font-size: clamp(1.75rem, 3.6vw, 2.7rem); line-height: 1.1; letter-spacing: -.028em; font-weight: 750; text-wrap: balance; }
.lp h3 { font-size: 1.1rem; letter-spacing: -.012em; }
.lp p { margin: 0; }
.lp .btn-lg { padding: 13px 24px; font-size: 1.02rem; font-weight: 600; }

/* Immer dunkle Flächen, unabhängig vom gewählten Farbschema */
.lp-dark {
  --bg: #0d1413; --surface: #17211f; --surface-2: #1d2a27; --line: #2c3b37; --ink: #f0f4f2; --ink-2: #b4c0bb; --ink-3: #8a9792;
  --brand-soft: #123a35; --green: #6fd19b; --green-soft: #17322466; --amber: #eeb35c; --amber-soft: #38291266;
  background: var(--bg); color: var(--ink); color-scheme: dark;
}

/* Kopfleiste */
.lp-nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, #0d1413 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid #ffffff12; }
.lp-nav-in { display: flex; align-items: center; gap: 28px; height: 66px; }
.lp-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 720; font-size: 1.14rem; color: var(--ink); text-decoration: none; }
.lp-nav nav { display: flex; gap: 22px; min-width: 0; }
.lp-nav nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; white-space: nowrap; }
.lp-nav nav a:hover { color: var(--ink); }
.lp-nav-act { margin-left: auto; display: flex; gap: 8px; flex-shrink: 0; }
.lp-logo, .lp-nav-act .btn { white-space: nowrap; }
@media (max-width: 1200px) { .lp-nav-opt { display: none; } }

/* Kopfbereich mit Bauplan-Raster */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; }
.lp-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(#ffffff0a 1px, transparent 1px), linear-gradient(90deg, #ffffff0a 1px, transparent 1px), linear-gradient(#ffffff05 1px, transparent 1px), linear-gradient(90deg, #ffffff05 1px, transparent 1px); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; mask-image: linear-gradient(115deg, #000 30%, transparent 85%); }
.lp-hero::after { content: ''; position: absolute; z-index: -1; right: -10%; top: -30%; width: 760px; height: 760px; background: radial-gradient(closest-side, #0f766e66, transparent); }
.lp-hero-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.lp-kicker { display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: .02em; color: var(--sun); margin-bottom: 18px !important; }
.lp-hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.4rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; text-wrap: balance; }
.lp-hero h1 em { font-style: normal; color: var(--sun); }
.lp-lead { font-size: 1.16rem; line-height: 1.55; color: var(--ink-2); max-width: 35em; }
.lp-hero .lp-lead { margin-top: 22px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.lp-assure { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: .92rem; }
.lp-assure li { display: inline-flex; align-items: center; gap: 6px; } .lp-assure svg { color: var(--mint); }

/* Nachgebaute Projektansicht */
.lp-stage { position: relative; padding: 26px 0 30px; }
.lp-app { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 80px #0009; overflow: hidden; }
.lp-app-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.lp-app-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.lp-app-bar span { margin-left: 8px; color: var(--ink-3); font-size: .8rem; }
.lp-app-body { padding: 18px; display: grid; gap: 10px; }
.lp-app-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.lp-app-head b, .lp-trade b { display: block; font-weight: 650; }
.lp-app-head small, .lp-trade small, .lp-float small { display: block; color: var(--ink-3); font-size: .8rem; }
.lp-pill { flex: none; padding: 3px 10px; border-radius: 99px; font-size: .76rem; font-weight: 600; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.lp-pill-brand { background: var(--brand-soft); color: var(--mint); border-color: transparent; }
.lp-pill-green { background: var(--green-soft); color: var(--green); border-color: transparent; }
.lp-pill-amber { background: var(--amber-soft); color: var(--amber); border-color: transparent; }
.lp-prog { display: grid; gap: 6px; font-size: .8rem; color: var(--ink-3); margin: 4px 0; }
.lp-prog-bar { height: 7px; border-radius: 9px; background: var(--surface-2); overflow: hidden; }
.lp-prog-bar i { display: block; height: 100%; width: 68%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--mint)); }
.lp-trade { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: .92rem; }
.lp-dot { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--ink-2); }
.lp-t1 .lp-dot { background: var(--green-soft); color: var(--green); } .lp-t2 .lp-dot { background: var(--amber-soft); color: var(--amber); }
.lp-who { font-size: .78rem; color: var(--ink-3); text-align: right; padding-top: 2px; }
.lp-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; background: #fff; color: #17211f; border-radius: 12px; box-shadow: 0 14px 34px #0007; font-size: .88rem; }
.lp-float b { font-weight: 650; } .lp-float small { color: #5a6661; }
.lp-f1 { top: 0; left: -34px; } .lp-f2 { bottom: -6px; left: -22px; }
.lp-ic { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #0f766e; color: #fff; }
.lp-ic-amber { background: var(--sun); color: #2b1d04; }
@media (prefers-reduced-motion: no-preference) {
  .lp-float { animation: lp-pop .5s 1 both, lp-hover 6s ease-in-out .6s infinite; }
  .lp-f2 { animation-delay: .5s, 1.1s; }
  .lp-prog-bar i { animation: lp-grow 1.3s .2s cubic-bezier(.2, .8, .2, 1) both; }
}
/* Das Gewerke-Band läuft immer, auch bei ausgeschalteten Animationen: Es ist langsam und gehört zum Bild der Seite */
.lp-tape > div { animation: lp-run 42s linear infinite; }
@keyframes lp-pop { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@keyframes lp-hover { 50% { translate: 0 -6px; } }
@keyframes lp-grow { from { width: 0; } }
@keyframes lp-run { to { transform: translateX(-50%); } }

/* Laufband der Gewerke */
.lp-tape { border-top: 1px solid #ffffff12; overflow: hidden; padding: 14px 0; }
.lp-tape > div { display: flex; width: max-content; }
.lp-tape span { display: flex; }
.lp-tape b { padding: 0 26px; color: var(--ink-3); font-weight: 550; font-size: .95rem; white-space: nowrap; position: relative; }
.lp-tape b::after { content: ''; position: absolute; right: -2px; top: 50%; width: 4px; height: 4px; margin-top: -2px; background: var(--sun); transform: rotate(45deg); }

/* Abschnitte */
.lp-sec { padding: 92px 0; }
.lp-soft { background: var(--surface-2); border-block: 1px solid var(--line); }
.lp-title { max-width: 760px; margin-bottom: 44px; }
.lp-title p { margin-top: 12px; color: var(--ink-2); font-size: 1.12rem; }
.lp-tag { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 650; color: var(--brand); margin-bottom: 14px !important; }
:root[data-theme="dark"] .lp-tag { color: var(--mint); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]):not([data-theme="sand"]) .lp-tag { color: var(--mint); } }

/* Vorher, nachher */
.lp-versus { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.lp-vs-head, .lp-vs-row { display: grid; grid-template-columns: 1fr 1fr; }
.lp-vs-head span { padding: 14px 24px; font-weight: 650; font-size: .9rem; color: var(--ink-3); }
.lp-vs-head span + span { color: #fff; background: #0f766e; }
.lp-vs-row p { display: flex; gap: 10px; padding: 17px 24px; border-top: 1px solid var(--line); }
.lp-vs-row svg { flex: none; margin-top: 4px; }
.lp-old { color: var(--ink-2); } .lp-old svg { color: var(--red); }
.lp-new { background: var(--brand-soft); font-weight: 550; } .lp-new svg { color: var(--green); }

/* Schritte */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.lp-steps::before { content: ''; position: absolute; left: 22px; right: 22%; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 15px); }
.lp-steps li { position: relative; }
.lp-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #0f766e; color: #fff; font-weight: 750; font-size: 1.15rem; margin-bottom: 18px; box-shadow: 0 0 0 7px var(--surface-2); }
.lp-steps p { color: var(--ink-2); margin-top: 7px; }

/* Funktionen im Wechsel */
.lp-show { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.lp-show + .lp-show { margin-top: 104px; }
.lp-show-flip .lp-show-text { order: 2; }
.lp-show-text > p:not(.lp-tag) { color: var(--ink-2); margin-top: 14px; font-size: 1.08rem; }
.lp-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; }
.lp-list li { padding-left: 16px; border-left: 3px solid #0f766e; color: var(--ink-2); }
.lp-list b { color: var(--ink); font-weight: 650; }
.lp-mock { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: 0 18px 50px #0000001f; display: grid; gap: 10px; font-size: .94rem; }
.lp-mock-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; }
.lp-mock-head small { color: var(--ink-3); }
.lp-field { display: grid; grid-template-columns: 1fr 44%; gap: 8px; }
.lp-field span { padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-field span + span { background: var(--brand-soft); border-color: transparent; font-weight: 600; font-size: .86rem; }
.lp-field i { font-style: normal; font-size: .72rem; color: var(--ink-3); font-weight: 500; }
.lp-chat { gap: 12px; }
.lp-bubble { max-width: 84%; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: var(--surface-2); border: 1px solid var(--line); }
.lp-bubble small { display: block; color: var(--ink-3); font-size: .76rem; margin-bottom: 2px; }
.lp-me { justify-self: end; border-radius: 14px 14px 4px 14px; background: #0f766e; color: #fff; border-color: transparent; }
.lp-me small { color: #d6efea; }
.lp-input { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px 14px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink-3); margin-top: 4px; }
.lp-input i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: #0f766e; color: #fff; }
.lp-report { padding: 12px 14px; border-left: 3px solid var(--sun); background: var(--surface-2); border-radius: 0 10px 10px 0; }
.lp-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lp-photos i { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(135deg, #8d9b96, #4e5c57); display: grid; place-items: center; align-content: center; color: #fff; font-style: normal; }
.lp-photos i:nth-child(2) { background: linear-gradient(160deg, #c79a5e, #6e5233); }
.lp-photos i:nth-child(3) { background: linear-gradient(120deg, #6d8fa8, #35506a); }
.lp-photos i.lp-photo { background: none; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); } .lp-photo svg { display: block; width: 100%; height: 100%; }
.lp-photos i:nth-child(4) { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.lp-decide { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.lp-btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.lp-btn-go { background: #0f766e; color: #fff; border-color: transparent; }

/* Zahlen */
.lp-facts-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 52px; padding-bottom: 52px; }
.lp-facts b { display: block; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--sun); margin-bottom: 8px; }
.lp-facts span { color: var(--ink-2); }

/* Zielgruppen */
.lp-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lp-roles article { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; display: grid; gap: 10px; align-content: start; }
.lp-roles .lp-ic { width: 42px; height: 42px; margin-bottom: 6px; }
.lp-roles p { color: var(--ink-2); }
.lp-ticks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.lp-ticks li { position: relative; padding-left: 24px; }
.lp-ticks li::before { content: ''; position: absolute; left: 3px; top: .36em; width: 6px; height: 11px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(42deg); }

.lp-extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 34px; }
.lp-extra { display: flex; gap: 14px; }
.lp-extra p { color: var(--ink-2); margin-top: 3px; font-size: .96rem; }

/* Sicherheit */
.lp-safe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.lp-safe > div > p:not(.lp-tag) { color: var(--ink-2); margin-top: 14px; font-size: 1.08rem; }
.lp-safe ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lp-safe li { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.lp-safe li svg { flex: none; color: var(--brand); margin-top: 2px; }
.lp-safe b, .lp-safe li span { display: block; } .lp-safe li span { color: var(--ink-2); font-size: .9rem; }

/* Demo */
.lp-demo-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.lp-demo-roles form { display: contents; }
.lp-demo-roles button { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 22px; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; cursor: pointer; transition: transform .15s, border-color .15s; }
.lp-demo-roles button:hover { transform: translateY(-3px); border-color: var(--mint); }
.lp-demo-roles .lp-ic { margin-bottom: 8px; } .lp-demo-roles b { font-size: 1.05rem; font-weight: 650; }
.lp-demo-roles button > span:last-child { color: var(--ink-2); font-size: .92rem; }

/* Fragen */
.lp-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 56px; }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq summary { cursor: pointer; padding: 17px 34px 17px 0; font-weight: 620; list-style: none; position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; font-weight: 400; color: var(--ink-3); }
.lp-faq details[open] summary::after { content: '–'; }
.lp-faq details p { padding-bottom: 18px; color: var(--ink-2); }

/* Abschluss */
.lp-final { position: relative; }
.lp-final-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.lp-final h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -.035em; }
.lp-final .lp-lead { margin-top: 16px; }
.lp-final .lp-ticks { margin-top: 22px; }
.lp-form { box-shadow: 0 30px 80px #0008; }
.lp-form .card-body { padding: 26px; }

.lp-foot { border-top: 1px solid #ffffff12; font-size: .9rem; color: var(--ink-3); }
.lp-foot-in { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding-top: 26px; padding-bottom: 26px; }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-left: auto; min-width: 0; }
.lp-foot nav a { color: var(--ink-2); text-decoration: none; }
.lp-foot nav a:hover { color: var(--ink); }
.lp-foot small { flex-basis: 100%; }

/* Impressum */
.lp-legal .lp-wrap { max-width: 900px; }
.lp-legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -.035em; font-weight: 800; }
.lp-legal-sub { color: var(--ink-2); margin-top: 10px !important; }
.lp-legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 36px 0 48px; }
.lp-legal-grid section { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.lp-legal-grid h2, .lp-legal .lp-legal-h { font-size: 1.05rem; letter-spacing: -.01em; font-weight: 700; margin-bottom: 10px; }
.lp-legal .lp-legal-h { font-size: 1.25rem; margin: 30px 0 8px; }
.lp-legal p { color: var(--ink-2); line-height: 1.65; }
.lp-legal p b { color: var(--ink); }
.lp-legal a { color: var(--brand); }
.lp-legal dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.lp-legal dt { color: var(--ink-3); } .lp-legal dd { margin: 0; font-weight: 550; }
.lp-legal-note { margin-top: 10px !important; font-size: .9rem; }
.lp-legal p + p { margin-top: 12px; }
.lp-legal .lp-legal-dl { margin: 14px 0 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); gap: 10px 20px; }
.lp-legal .lp-legal-dl dt { font-family: ui-monospace, Consolas, monospace; font-size: .88rem; color: var(--ink); }
.lp-legal .lp-legal-dl dd { font-weight: 400; color: var(--ink-2); }
.lp-legal-strong { padding: 14px 16px; border-left: 3px solid var(--sun); background: var(--surface-2); border-radius: 0 10px 10px 0; }
.lp-form small a { color: inherit; }
@media (max-width: 640px) { .lp-legal-grid { grid-template-columns: minmax(0, 1fr); } .lp-legal dl { grid-template-columns: minmax(0, 1fr); gap: 0; } .lp-legal dd { margin-bottom: 8px; } }

/* Weiches Einblenden beim Scrollen, ohne Skript. Ältere Browser zeigen einfach alles sofort. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .lp-versus, .lp-steps li, .lp-show > *, .lp-roles article, .lp-extra, .lp-safe > *, .lp-demo-roles button { animation: lp-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  }
}
@keyframes lp-rise { from { opacity: 0; translate: 0 24px; } }

@media (max-width: 1040px) {
  .lp-nav nav { display: none; }
  .lp-hero-in, .lp-show, .lp-safe, .lp-faq, .lp-final-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lp-show-flip .lp-show-text { order: 0; }
  .lp-stage { max-width: 560px; }
  .lp-f1 { left: 8px; } .lp-f2 { left: auto; right: 8px; }
  .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-steps::before { display: none; }
  .lp-roles, .lp-demo-roles { grid-template-columns: minmax(0, 1fr); }
  .lp-extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-facts-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-sec { padding: 68px 0; }
}
@media (max-width: 640px) {
  .lp-wrap { padding: 0 16px; }
  .lp-nav-in { height: 58px; gap: 10px; }
  .lp-nav-act .btn { padding: 8px 11px; font-size: .88rem; }
  .lp-hero-in { padding-top: 40px; padding-bottom: 44px; }
  .lp-lead { font-size: 1.05rem; }
  .lp-cta .btn { flex: 1 1 100%; justify-content: center; }
  .lp-float { padding: 8px 12px 8px 8px; font-size: .8rem; }
  .lp-steps, .lp-extras { grid-template-columns: minmax(0, 1fr); }
  .lp-vs-head { display: none; }
  .lp-vs-row { grid-template-columns: minmax(0, 1fr); }
  .lp-vs-row + .lp-vs-row { border-top: 6px solid var(--bg); }
  .lp-vs-row p { padding: 13px 16px; }
  .lp-vs-row .lp-old { border-top: 0; }
  .lp-new { border-top: 1px solid var(--line); }
  .lp-show + .lp-show { margin-top: 68px; }
  .lp-field { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } .lp-field span { padding: 8px 10px; font-size: .84rem; white-space: normal; } .lp-field span + span { font-size: .8rem; }
  .lp-safe ul { grid-template-columns: minmax(0, 1fr); }
  .lp-form .card-body { padding: 18px; }
  .lp-foot nav { margin-left: 0; }
}

/* Rechnungsprogramm */
.lp-inv-row, .lp-inv-sum { display: flex; justify-content: space-between; gap: 12px; padding: 9px 2px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .92rem; }
.lp-inv-sum { border-bottom: 0; font-size: 1.02rem; }
.lp-inv-qr { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: .85rem; opacity: .85; }
.lp-qr { width: 58px; height: 58px; flex: none; border-radius: 4px; overflow: hidden; } .lp-qr svg { display: block; width: 100%; height: 100%; }
.lp-extras-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-price { display: grid; justify-items: center; }
.lp-price-card { width: min(460px, 100%); }
.lp-price-amount { font-size: 2rem; letter-spacing: -.02em; }
.lp-demo-one { display: flex; justify-content: center; }
.lp-demo-one button { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 20px 28px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: inherit; font: inherit; cursor: pointer; }
.lp-demo-one button:hover { border-color: var(--brand); }
.lp-demo-one button span:last-child { opacity: .75; font-size: .9rem; }
.lp-cta form { display: contents; }
@media (max-width: 900px) { .lp-extras-3 { grid-template-columns: minmax(0, 1fr); } }

@media (min-width: 901px) { .lp-inv ~ .lp-f2 { bottom: -34px; left: auto; right: -18px; } }

/* Kundenstimmen */
.lp-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.lp-quote { margin: 0; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.lp-quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; }
.lp-quote figcaption { display: grid; gap: 2px; } .lp-quote figcaption span { color: var(--ink-2); font-size: .9rem; }
.lp-stars { letter-spacing: 2px; font-size: 1.05rem; color: var(--line); } .lp-stars .on { color: #f2b01e; }

/* Tour mit Bildschirmfotos */
.lp-tour { display: grid; grid-template-columns: minmax(250px, 340px) minmax(0, 1fr); gap: 28px; align-items: start; }
.lp-tour-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lp-tour-steps button { position: relative; overflow: hidden; display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 9px 12px; text-align: left; font: inherit; color: var(--ink-2); background: transparent; border: 1px solid transparent; border-radius: 12px; cursor: pointer; }
.lp-tour-steps button:hover { background: var(--surface); }
.lp-tour-steps button[aria-selected="true"] { background: var(--surface); border-color: var(--line); color: var(--ink); box-shadow: 0 6px 18px rgba(0, 0, 0, .06); }
.lp-tour-steps b { display: block; font-weight: 650; } .lp-tour-steps small { display: none; margin-top: 3px; font-size: .88rem; line-height: 1.45; color: var(--ink-2); }
.lp-tour-steps button[aria-selected="true"] small { display: block; }
.lp-tour-num { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); font-size: .82rem; font-weight: 700; }
.lp-tour-steps button[aria-selected="true"] .lp-tour-num { background: var(--brand); border-color: var(--brand); color: #fff; }
.lp-tour-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--brand); }
.lp-tour-steps button.run .lp-tour-bar { animation: lp-tour-bar 6.5s linear forwards; }
@keyframes lp-tour-bar { to { width: 100%; } }
.lp-tour-stage { display: grid; gap: 12px; min-width: 0; position: sticky; top: 90px; }
.lp-tour-frame { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 24px 60px rgba(0, 0, 0, .18); }
.lp-tour-frame .lp-app-bar { border-bottom: 1px solid var(--line); }
.lp-tour-shot { display: block; cursor: zoom-in; } .lp-tour-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; animation: fade-in .3s ease-out; }
.lp-tour-nav { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.lp-tour-nav .btn-ghost { margin-right: auto; order: -1; }
.lp-tour-count { order: -1; font-size: .9rem; font-weight: 650; color: var(--ink-2); font-variant-numeric: tabular-nums; min-width: 4.5em; text-align: right; }
.lp-tour-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, .95); color: #1d2424; font-size: 28px; line-height: 1; display: grid; place-items: center; padding: 0 0 4px; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .15); opacity: 0; transition: opacity .15s, background .15s; }
.lp-tour-arrow.prev { left: 12px; } .lp-tour-arrow.next { right: 12px; }
.lp-tour-frame:hover .lp-tour-arrow, .lp-tour-arrow:focus-visible { opacity: 1; }
.lp-tour-arrow:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.lp-tour-zoom { position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; border-radius: 99px; background: rgba(0, 0, 0, .65); color: #fff; font-size: .8rem; pointer-events: none; opacity: 0; transition: opacity .15s; }
.lp-tour-frame:hover .lp-tour-zoom { opacity: 1; }
@media (hover: none) { .lp-tour-arrow, .lp-tour-zoom { display: none; } }
@media (max-width: 900px) {
  .lp-tour { grid-template-columns: minmax(0, 1fr); }
  .lp-tour-steps { grid-auto-flow: column; grid-auto-columns: minmax(220px, 75%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .lp-tour-steps li { scroll-snap-align: start; }
  .lp-tour-stage { order: -1; position: static; }
  .lp-tour-nav .btn-ghost { order: 5; margin-right: 0; width: 100%; justify-content: center; }
  .lp-tour-count { margin-right: auto; text-align: left; }
}

/* Ratgeber */
.lp-guide-head { padding-bottom: 10px; } .lp-guide-h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.02em; margin: 6px 0 12px; }
.lp-guide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.lp-guide-card { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.lp-guide-card:hover { border-color: var(--brand); transform: translateY(-2px); text-decoration: none; }
.lp-guide-card h2 { font-size: 1.18rem; line-height: 1.3; margin: 0; } .lp-guide-card p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.lp-guide-more { color: var(--brand); font-weight: 650; }
.lp-article { max-width: 760px; margin: 0 auto; padding: 40px 20px 60px; }
.lp-crumbs { font-size: .9rem; color: var(--ink-3); margin-bottom: 14px; } .lp-crumbs a { color: inherit; }
.lp-article h1 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 10px; }
.lp-article-meta { color: var(--ink-3); font-size: .9rem; margin: 0 0 26px; }
.lp-article-body { font-size: 1.06rem; line-height: 1.7; }
.lp-article-body h2 { font-size: 1.45rem; margin: 34px 0 10px; letter-spacing: -.01em; } .lp-article-body h3 { font-size: 1.12rem; margin: 22px 0 6px; }
.lp-article-body p { margin: 0 0 14px; } .lp-article-body ul { margin: 0 0 16px; padding-left: 22px; } .lp-article-body li { margin-bottom: 6px; }
.lp-article-lead { font-size: 1.18rem; color: var(--ink-2); }
.lp-guide-cta { display: grid; gap: 8px; justify-items: start; margin: 34px 0 18px; padding: 22px 24px; border-radius: 16px; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); }
.lp-guide-cta b { font-size: 1.12rem; } .lp-guide-cta span { color: var(--ink-2); }
.lp-guide-note { font-size: .9rem; color: var(--ink-3); }

/* Zusatzmodul neben dem Preis */
.lp-price:has(.lp-addon) { display: grid; gap: 16px; }
@media (min-width: 900px) { .lp-price:has(.lp-addon) { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lp-price:has(.lp-addon) > .lp-title { grid-column: 1 / -1; } }
.lp-addon { border-style: dashed; }
.lp-addon-title { font-size: 1.4rem !important; }
.lp-addon-price { font-size: 1.05rem; color: var(--brand); }

/* Preis: Grundpreis und so viele Zusatzmodule, wie der Betreiber gerade anbietet */
@media (min-width: 900px) {
  .lp-price.lp-price-2:has(.lp-addon) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-price.lp-price-4:has(.lp-addon) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.lp-price:has(.lp-addon) > .lp-price-card { width: 100%; }

/* Menü: die Seite, auf der man gerade ist */
.lp-nav nav a[aria-current="page"] { color: var(--ink); }

/* Bewertung schreiben, unter den Kundenstimmen */
.lp-sec-tight { padding: 56px 0; }
.lp-review { margin-top: 32px; }
.lp-review-solo { margin-top: 0; }
.lp-review-box { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.lp-review-box > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; }
.lp-review-box > summary::-webkit-details-marker { display: none; }
.lp-review-box > summary > span:first-child { display: grid; gap: 2px; }
.lp-review-box > summary small { color: var(--ink-3); }
.lp-review-box[open] > summary .btn { display: none; }
.lp-review-form { display: grid; gap: 14px; padding: 0 22px 22px; }
.lp-review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; align-items: start; }
.lp-review-grid .field small { color: var(--ink-3); font-size: .8rem; }
.lp-review-note { color: var(--ink-3); }
.lp-review-thanks { display: grid; gap: 4px; padding: 18px 22px; border: 1px solid color-mix(in srgb, var(--green, #16a34a) 45%, var(--line)); border-radius: 16px; background: var(--surface); }
.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lp-stars-pick { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.lp-stars-wrap { display: grid; gap: 4px; justify-items: start; }
.lp-stars-label { font-weight: 600; font-size: .9rem; }
.lp-stars-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lp-stars-pick label { font-size: 1.9rem; line-height: 1; color: var(--line); cursor: pointer; padding: 0 2px; }
.lp-stars-pick input:checked ~ label, .lp-stars-pick label:hover, .lp-stars-pick label:hover ~ label { color: var(--sun); }
.lp-stars-pick input:focus-visible + label { outline: 2px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 700px) { .lp-review-grid { grid-template-columns: minmax(0, 1fr); } }
