/* LPV Admin – Vertriebswebsite. Markenwerte aus der LPV-Admin-Anwendung (frontend/src/styles/globals.css),
   Komponentenkonzept nach den EasyWear-/inordo-Websites (Eyebrow, große Headlines, Browserrahmen-Demo, Schrittliste). */
:root {
  --lpv-action: #347657;
  --lpv-action-hover: #2a6248;
  --lpv-brand: #1f7a4c;
  --lpv-brand-soft: #eaf6ef;
  --lpv-leaf: #0b481f;
  --lpv-navy: #14283d;
  --lpv-navy-deep: #0c1a29;
  --lpv-text: #182331;
  --lpv-text-2: #65707d;
  --lpv-text-3: #929aa5;
  --lpv-border: rgb(20 40 61 / 0.105);
  --lpv-border-strong: rgb(20 40 61 / 0.18);
  --lpv-panel: #ffffff;
  --lpv-panel-muted: #f6f7f8;
  --lpv-panel-subtle: #fbfcfd;
  --lpv-danger: #b91c1c;
  --lpv-danger-bg: #fef2f2;
  --lpv-success-bg: #ecfdf5;
  --lpv-success-text: #065f46;
  --shadow-sm: 0 1px 2px rgb(20 40 61 / 0.06), 0 1px 1px rgb(20 40 61 / 0.04);
  --shadow-md: 0 10px 30px -12px rgb(20 40 61 / 0.18), 0 2px 6px rgb(20 40 61 / 0.05);
  --shadow-lg: 0 40px 80px -30px rgb(20 40 61 / 0.35), 0 12px 24px -12px rgb(20 40 61 / 0.12);
  --radius-sm: 0.625rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --container: 1200px;
  --focus: 0 0 0 3px #ffffff, 0 0 0 5px var(--lpv-action);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--lpv-text); background: #fff; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--lpv-action); text-underline-offset: 3px; }
a:hover { color: var(--lpv-action-hover); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
button { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lpv-navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 650; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s ease, transform .15s ease, box-shadow .15s ease, color .15s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--lpv-action); color: #fff; box-shadow: 0 10px 24px -10px rgb(52 118 87 / 0.65); }
.btn-primary:hover { background: var(--lpv-action-hover); color: #fff; transform: translateY(-1px); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-ghost { background: transparent; color: var(--lpv-text); border-color: var(--lpv-border-strong); }
.btn-ghost:hover { background: var(--lpv-panel-muted); color: var(--lpv-text); }
.btn-on-dark { background: rgb(255 255 255 / 0.06); color: #fff; border-color: rgb(255 255 255 / 0.22); }
.btn-on-dark:hover { background: rgb(255 255 255 / 0.12); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* Eyebrow + Headlines (EasyWear-/inordo-Konzept) */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lpv-action); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .8; }
.eyebrow.center { justify-content: center; }
.on-dark .eyebrow { color: #7fd1a4; }
h1, h2, h3 { color: var(--lpv-text); margin: 0; letter-spacing: -0.035em; line-height: 1.04; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.display { font-size: clamp(40px, 6.2vw, 76px); font-weight: 800; }
.h2 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; }
.h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--lpv-text-2); line-height: 1.55; margin: 22px 0 0; }
.on-dark .lead { color: rgb(255 255 255 / 0.74); }
.muted { color: var(--lpv-text-2); }
.accent { color: #8fd8ae; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; padding: 14px 0; transition: background .2s ease; }
.site-header.scrolled { background: rgb(255 255 255 / 0.82); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--lpv-border); }
.site-header.dark:not(.scrolled) .nav-shell { background: rgb(12 26 41 / 0.55); border-color: rgb(255 255 255 / 0.12); }
.site-header.dark:not(.scrolled) .brand-name, .site-header.dark:not(.scrolled) .nav-links a { color: #fff; }
.site-header.dark:not(.scrolled) .brand-sub { color: rgb(255 255 255 / 0.62); }
.site-header.dark:not(.scrolled) .menu-toggle { color: #fff; border-color: rgb(255 255 255 / 0.25); }
.nav-shell { display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 14px; border-radius: 999px; border: 1px solid var(--lpv-border); background: rgb(255 255 255 / 0.9); box-shadow: var(--shadow-sm); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--lpv-text); min-width: 0; }
.brand img { width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--lpv-border); }
.brand-name { display: block; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; line-height: 1.1; }
.brand-sub { display: block; font-size: 10.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--lpv-text-3); }
.nav-links { display: flex; gap: 4px; margin: 0 auto; padding: 0; list-style: none; }
.nav-links a { display: block; padding: 9px 14px; border-radius: 999px; color: var(--lpv-text); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { background: rgb(20 40 61 / 0.06); }
.site-header.dark:not(.scrolled) .nav-links a:hover { background: rgb(255 255 255 / 0.1); }
.nav-cta { margin-left: auto; }
.nav-links + .nav-cta { margin-left: 0; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--lpv-border-strong); background: transparent; color: var(--lpv-text); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-menu { display: none; }
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-shell .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu.open { display: block; position: absolute; left: 20px; right: 20px; top: calc(100% - 4px); background: #fff; border: 1px solid var(--lpv-border); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 14px; }
  .mobile-menu ul { list-style: none; margin: 0 0 12px; padding: 0; }
  .mobile-menu a:not(.btn) { display: block; padding: 14px 12px; border-radius: 12px; color: var(--lpv-text); text-decoration: none; font-weight: 650; font-size: 17px; }
  .mobile-menu a:not(.btn):hover { background: var(--lpv-panel-muted); }
}

/* Hero */
.hero { position: relative; margin-top: -78px; padding: 150px 0 110px; background: radial-gradient(1100px 600px at 85% 10%, rgb(52 118 87 / 0.35), transparent 60%), radial-gradient(900px 500px at 0% 100%, rgb(31 122 76 / 0.18), transparent 60%), linear-gradient(180deg, var(--lpv-navy-deep), var(--lpv-navy)); color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin: 14px 0 0; font-size: 14px; font-weight: 600; color: rgb(255 255 255 / 0.7); }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 15px; color: rgb(255 255 255 / 0.82); }
.trust-list li { display: inline-flex; align-items: center; gap: 8px; }
.trust-list svg { width: 18px; height: 18px; color: #8fd8ae; }
.hero-visual { position: relative; }
.hero-visual .browser { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.hero-visual-cta { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); }
@media (max-width: 960px) {
  .hero { padding: 130px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual .browser { transform: none; }
}

/* Browserrahmen (wie EasyWear-Demoeinbettung) */
.browser { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--lpv-border); box-shadow: var(--shadow-lg); overflow: hidden; }
.on-dark .browser { border-color: rgb(255 255 255 / 0.16); }
.browser-bar { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 16px; background: var(--lpv-panel-subtle); border-bottom: 1px solid var(--lpv-border); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; background: #d7dbe0; }
.browser-url { flex: 1; text-align: center; font-size: 12.5px; color: var(--lpv-text-2); }
.browser-url span { display: inline-block; padding: 4px 16px; border-radius: 999px; background: rgb(20 40 61 / 0.05); }
.browser-tag { font-size: 12px; font-weight: 650; color: var(--lpv-text-2); display: inline-flex; align-items: center; gap: 7px; }
.browser-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lpv-action); box-shadow: 0 0 0 3px rgb(52 118 87 / 0.18); }
.browser img { width: 100%; height: auto; }

/* Zahlenleiste / Nutzenspalten */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--lpv-border); border-bottom: 1px solid var(--lpv-border); margin-top: 72px; }
.benefit { padding: 36px 36px 40px; }
.benefit + .benefit { border-left: 1px solid var(--lpv-border); }
.benefit .num { font-size: 12.5px; font-weight: 800; color: var(--lpv-action); letter-spacing: .08em; }
.benefit h3 { margin-top: 22px; }
.benefit p { margin: 12px 0 0; color: var(--lpv-text-2); }
@media (max-width: 860px) { .benefits { grid-template-columns: 1fr; } .benefit + .benefit { border-left: 0; border-top: 1px solid var(--lpv-border); } .benefit { padding: 28px 4px; } }

/* Modulkarten */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.module-card { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--lpv-border); background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.module-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: rgb(52 118 87 / 0.35); }
.module-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--lpv-brand-soft); color: var(--lpv-brand); }
.module-icon svg { width: 22px; height: 22px; }
.module-card h3 { font-size: 21px; margin-top: 18px; letter-spacing: -0.02em; }
.module-card p { margin: 10px 0 0; color: var(--lpv-text-2); font-size: 15.5px; }
.module-card ul { margin: 14px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--lpv-text); }
.module-card li { display: flex; gap: 8px; padding: 4px 0; }
.module-card li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--lpv-action); }
.module-open { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--lpv-action); background: none; border: 0; cursor: pointer; padding-left: 0; text-align: left; }
.module-open::after { content: "→"; transition: transform .15s ease; }
.module-card:hover .module-open::after { transform: translateX(3px); }
.module-pkg { position: absolute; top: 22px; right: 22px; font-size: 11.5px; font-weight: 700; color: var(--lpv-text-2); background: var(--lpv-panel-muted); border-radius: 999px; padding: 4px 10px; }
@media (max-width: 1020px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .modules { grid-template-columns: 1fr; } }

/* Demo-Bereich */
.demo-section { background: linear-gradient(180deg, var(--lpv-panel-muted), #fff); }
.demo-shell { margin-top: 44px; }
.demo-areas { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.demo-areas button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--lpv-border-strong); background: #fff; color: var(--lpv-text); font-weight: 650; font-size: 14.5px; cursor: pointer; }
.demo-areas button:hover { border-color: var(--lpv-action); color: var(--lpv-action); }
.demo-areas button[aria-current="true"] { background: var(--lpv-navy); color: #fff; border-color: var(--lpv-navy); }
.demo-frame-wrap { position: relative; background: #fff; }
.demo-frame { display: block; width: 100%; height: min(780px, 82vh); min-height: 560px; border: 0; background: #fff; }
.demo-frame.full { height: calc(100vh - 210px); min-height: 520px; }
.demo-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--lpv-text-2); font-weight: 600; background: #fff; }
.demo-loading[hidden] { display: none; }
.demo-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 16px; font-size: 14px; color: var(--lpv-text-2); }
.demo-meta button { background: none; border: 0; color: var(--lpv-action); font-weight: 650; cursor: pointer; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; }
.demo-hint { display: flex; align-items: center; gap: 8px; }
.demo-hint svg { width: 16px; height: 16px; color: var(--lpv-action); }
@media (max-width: 640px) { .demo-frame { height: 78vh; min-height: 520px; } .browser-url { display: none; } }

/* Schrittliste (EasyWear „Fünf Schritte“) */
.steps-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lpv-border); }
.step { border-bottom: 1px solid var(--lpv-border); }
.step button { width: 100%; display: grid; grid-template-columns: 64px 1fr 28px; gap: 8px; align-items: start; padding: 28px 0; background: none; border: 0; text-align: left; cursor: pointer; color: inherit; }
.step .num { font-size: 12.5px; font-weight: 800; color: var(--lpv-action); padding-top: 8px; letter-spacing: .06em; }
.step .title { font-size: 26px; font-weight: 750; letter-spacing: -0.03em; line-height: 1.2; }
.step .summary { display: block; margin-top: 6px; color: var(--lpv-text-2); font-size: 16px; font-weight: 400; letter-spacing: 0; }
.step .plus { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--lpv-border-strong); display: grid; place-items: center; margin-top: 6px; transition: transform .2s ease; }
.step button[aria-expanded="true"] .plus { transform: rotate(45deg); }
.step-panel { padding: 0 0 26px 72px; color: var(--lpv-text); }
.step-panel ul { margin: 0; padding-left: 18px; }
.step-panel li { margin: 4px 0; color: var(--lpv-text-2); }
@media (max-width: 960px) { .steps-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) { .step button { grid-template-columns: 40px 1fr 28px; } .step-panel { padding-left: 48px; } .step .title { font-size: 22px; } }

/* Feldarbeit / Split-Sektion */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.feature-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: var(--radius-md); background: var(--lpv-panel-muted); }
.feature-list .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--lpv-action); box-shadow: var(--shadow-sm); }
.feature-list .ico svg { width: 20px; height: 20px; }
.feature-list strong { display: block; font-size: 16.5px; }
.feature-list span { color: var(--lpv-text-2); font-size: 15px; }
.phone { width: min(360px, 100%); margin-inline: auto; border-radius: 36px; padding: 10px; background: var(--lpv-navy); box-shadow: var(--shadow-lg); }
.phone img { border-radius: 28px; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 44px; } }

/* Rollen-Tabelle */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.role { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--lpv-border); background: #fff; }
.role .badge { display: inline-block; font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--lpv-brand-soft); color: var(--lpv-brand); }
.role h3 { margin-top: 16px; font-size: 21px; letter-spacing: -0.02em; }
.role p { margin: 8px 0 0; color: var(--lpv-text-2); font-size: 15.5px; }
@media (max-width: 860px) { .roles { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; margin: 48px auto 0; border-top: 1px solid var(--lpv-border); }
.faq details { border-bottom: 1px solid var(--lpv-border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 4px; font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--lpv-border-strong); display: grid; place-items: center; font-weight: 500; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 4px 24px; color: var(--lpv-text-2); max-width: 720px; }

/* CTA-Band */
.cta-band { background: radial-gradient(800px 400px at 15% 0%, rgb(52 118 87 / 0.45), transparent 60%), var(--lpv-navy-deep); color: #fff; border-radius: var(--radius-xl); padding: clamp(40px, 7vw, 84px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-band .actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* Kontaktformular */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.card { background: #fff; border: 1px solid var(--lpv-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(22px, 4vw, 36px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.field .opt { font-weight: 500; color: var(--lpv-text-2); }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 15px; border-radius: 12px; border: 1px solid var(--lpv-border-strong); background: var(--lpv-panel-subtle); font: inherit; font-size: 16px; color: var(--lpv-text); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--lpv-action); box-shadow: 0 0 0 3px rgb(52 118 87 / 0.18); background: #fff; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--lpv-danger); }
.field .hint { margin: 6px 0 0; font-size: 13px; color: var(--lpv-text-2); }
.field .error { margin: 6px 0 0; font-size: 13.5px; color: var(--lpv-danger); font-weight: 600; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14.5px; color: var(--lpv-text-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--lpv-action); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.form-status.ok { background: var(--lpv-success-bg); color: var(--lpv-success-text); }
.form-status.err { background: var(--lpv-danger-bg); color: var(--lpv-danger); }
.form-status[hidden] { display: none; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* Lead-Dialog (Vorbild EasyWear-Testinstanz-Dialog) */
.gate-backdrop { position: fixed; inset: 0; z-index: 200; background: rgb(12 26 41 / 0.62); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.gate-backdrop[hidden] { display: none; }
.gate { position: relative; width: min(560px, 100%); background: #fff; border-radius: 28px; padding: clamp(26px, 5vw, 44px); box-shadow: var(--shadow-lg); margin: auto; }
.gate-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--lpv-text); cursor: pointer; display: grid; place-items: center; }
.gate-close:hover { background: var(--lpv-panel-muted); }
.gate-close svg { width: 20px; height: 20px; }
.gate-logo { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 16px; display: grid; place-items: center; background: var(--lpv-brand-soft); }
.gate-logo img { width: 44px; height: 44px; border-radius: 50%; }
.gate .eyebrow { display: flex; justify-content: center; font-size: 11.5px; text-align: center; }
.gate h2 { text-align: center; font-size: clamp(28px, 4.4vw, 38px); font-weight: 800; }
.gate .gate-text { text-align: center; color: var(--lpv-text-2); margin: 14px 0 24px; font-size: 16px; }
.gate .gate-target { color: var(--lpv-text); font-weight: 700; }
.gate form { display: grid; gap: 14px; }
.gate .secondary { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--lpv-text-2); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.site-footer { border-top: 1px solid var(--lpv-border); padding: 56px 0 40px; background: var(--lpv-panel-subtle); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--lpv-text-2); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--lpv-text); text-decoration: none; }
.site-footer a:hover { color: var(--lpv-action); text-decoration: underline; }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--lpv-border); color: var(--lpv-text-2); font-size: 13.5px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile Sticky-CTA */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; }
.sticky-cta .btn { width: 100%; box-shadow: 0 16px 40px -12px rgb(12 26 41 / 0.55); }
@media (max-width: 760px) { .sticky-cta.visible { display: block; } body.has-sticky { padding-bottom: 76px; } }

/* Rechtstexte */
.legal { max-width: 820px; padding: 64px 0 96px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; margin-bottom: 28px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--lpv-text); }

/* Demo-Seite */
.demo-page-head { padding: 28px 0 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.demo-page-head h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.demo-page-head p { margin: 8px 0 0; color: var(--lpv-text-2); }

/* Statistik-Einwilligung */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: min(440px, calc(100% - 32px)); padding: 18px 20px; }
.consent[hidden] { display: none; }
@media (max-width: 760px) { .consent { bottom: 84px; } }
.demo-unlocked .gate-hint-locked { display: none; }
section[id] { scroll-margin-top: 92px; }
.hero { margin-top: -96px; padding-top: 168px; }
@media (max-width: 960px) { .hero { padding-top: 150px; } }
@media (max-width: 640px) {
  .demo-frame, .demo-frame.full { height: calc(100svh - 96px); min-height: 480px; }
  .demo-areas { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .demo-areas button { flex: none; }
  .demo-shell .browser { border-radius: 16px; }
  .demo-shell .browser-bar, .demo-page-head + .demo-areas + .browser .browser-bar { height: 36px; }
  .demo-page-head { padding: 16px 0 10px; }
  .demo-page-head p { font-size: 15px; }
}
.demo-frame-wrap { scroll-margin-top: 84px; }
@media (max-width: 520px) {
  .brand-sub { display: none; }
  .consent { left: 8px; right: 8px; width: auto; bottom: 8px; padding: 12px 14px; }
  .consent p { font-size: 13.5px !important; margin-bottom: 8px !important; }
  .consent .btn { min-height: 40px; padding: 0 14px; font-size: 14.5px; }
  .consent div { flex-wrap: nowrap !important; }
}
.field label.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-weight: 500; font-size: 14.5px; color: var(--lpv-text-2); margin: 0; }
@media (max-width: 520px) {
  .gate .eyebrow { font-size: 10.5px; letter-spacing: .1em; }
  .gate .eyebrow::before { display: none; }
  .gate .gate-text { font-size: 15px; margin: 10px 0 18px; }
}

/* ===== Hero-Widget: animierte LPV-Anwendungsfälle (Vorbild: LPV-Animation im BuildCycle-Auftritt) ===== */
.hero-player { position: relative; width: 100%; max-width: 520px; margin-left: auto; }
.hp-glow { position: absolute; inset: -40px -30px -30px -30px; z-index: 0; pointer-events: none; background: radial-gradient(closest-side, rgb(63 179 118 / 0.35), transparent 70%); filter: blur(10px); }
.hp-leaves { position: absolute; inset: -30px; z-index: 0; pointer-events: none; }
.hp-leaves span { position: absolute; width: 22px; height: 22px; border: 1.5px solid rgb(143 216 174 / 0.75); border-radius: 0 70% 0 70%; animation: hpFloat 9s ease-in-out infinite; }
.hp-leaves span:nth-child(1) { left: 2%; top: 12%; animation-delay: -1s; }
.hp-leaves span:nth-child(2) { right: 0; top: 4%; width: 16px; height: 16px; animation-delay: -3s; }
.hp-leaves span:nth-child(3) { left: -2%; bottom: 22%; width: 28px; height: 28px; animation-delay: -5s; }
.hp-leaves span:nth-child(4) { right: -3%; bottom: 30%; animation-delay: -2s; }
.hp-leaves span:nth-child(5) { left: 46%; top: -3%; width: 14px; height: 14px; animation-delay: -6s; }
.hp-leaves span:nth-child(6) { right: 18%; bottom: -2%; width: 20px; height: 20px; animation-delay: -4s; }
@keyframes hpFloat { 0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: .55; } 50% { transform: translate(8px, -14px) rotate(25deg); opacity: 1; } }
.hp-frame { position: relative; z-index: 1; border-radius: 26px; padding: 10px; background: linear-gradient(160deg, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0.04)); border: 1px solid rgb(255 255 255 / 0.18); box-shadow: 0 50px 90px -40px rgb(0 0 0 / 0.7); }
.hp-stage { position: relative; height: 470px; border-radius: 18px; overflow: hidden; background: #f6f7f8; color: var(--lpv-text); perspective: 900px; }
.hp-appbar { display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 14px; background: #fff; border-bottom: 1px solid var(--lpv-border); }
.hp-appbar img { width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 1px var(--lpv-border); }
.hp-appbar b { font-size: 14px; letter-spacing: -0.01em; }
.hp-appbar .hp-org { margin-left: auto; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lpv-text-3); }
.hp-screen { position: absolute; inset: 46px 0 0 0; padding: 14px; overflow: hidden; }
.hp-surface { display: grid; gap: 8px; font-size: 12.5px; line-height: 1.35; }
.hp-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hp-module { font-size: 16px; font-weight: 750; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-label { font-size: 10px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--lpv-text-2); margin-top: 2px; }
.hp-chip { display: inline-flex; align-items: center; flex: none; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; white-space: nowrap; background: rgb(20 40 61 / 0.06); color: var(--lpv-text-2); }
.hp-chip-green { background: var(--lpv-brand-soft); color: var(--lpv-brand); }
.hp-chip-dark { background: var(--lpv-navy); color: #fff; }
.hp-chip-amber { background: #fffbeb; color: #92400e; }
.hp-chip-red { background: #fef2f2; color: #b91c1c; }
.hp-card { display: grid; gap: 4px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--lpv-border); box-shadow: 0 1px 2px rgb(20 40 61 / 0.05); font: inherit; color: inherit; }
button.hp-card { cursor: pointer; grid-template-columns: 1fr auto; }
button.hp-card small, button.hp-card .hp-label { grid-column: 1 / -1; }
.hp-card b { font-size: 13px; font-weight: 700; }
.hp-card small, .hp-surface small { color: var(--lpv-text-2); font-size: 11px; }
.hp-accent { border: 2px solid var(--lpv-brand); }
.hp-dashed { border-style: dashed; background: transparent; box-shadow: none; }
.hp-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 7px 10px; border-radius: 10px; background: #fff; border: 1px solid transparent; font: inherit; color: inherit; text-align: left; font-size: 12px; }
.hp-row-main { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
button.hp-row { cursor: pointer; border-color: var(--lpv-border); }
.hp-row.is-on, .hp-card.is-on { border-color: var(--lpv-brand); background: var(--lpv-brand-soft); }
.hp-row.is-done { opacity: .75; }
.hp-hl { background: var(--lpv-brand-soft); }
.hp-sub { margin-left: 14px; width: calc(100% - 14px); }
.hp-num { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.hp-btn { min-height: 34px; padding: 0 12px; border-radius: 9px; border: 0; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; background: var(--lpv-action); color: #fff; white-space: nowrap; }
.hp-btn-outline { background: #fff; color: var(--lpv-brand); border: 2px solid var(--lpv-brand); }
.hp-btn[disabled] { opacity: .4; cursor: default; }
.hp-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.hp-inline > * { flex: 1 1 110px; }
.hp-inline > .hp-btn { flex: 0 0 auto; }
.hp-field { display: grid; gap: 3px; font-size: 10.5px; font-weight: 700; color: var(--lpv-text-2); }
.hp-input { display: flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid rgb(20 40 61 / 0.16); background: #fbfcfd; color: var(--lpv-text); font-size: 12.5px; font-weight: 600; }
.hp-input em { font-style: normal; font-weight: 500; color: var(--lpv-text-3); }
.hp-caret { display: none; width: 1.5px; height: 15px; margin-left: 2px; background: var(--lpv-action); animation: hpBlink 0.9s steps(2) infinite; }
.hero-player .hp-cursor.is-typing ~ .hp-screen .hp-caret { display: inline-block; }
@keyframes hpBlink { 50% { opacity: 0; } }
.hp-split { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.hp-total { padding: 6px 10px; font-size: 12.5px; }
.hp-banner { padding: 9px 12px; border-radius: 10px; background: var(--lpv-brand); color: #fff; font-weight: 700; font-size: 12px; }
.hp-alert { padding: 9px 12px; border-radius: 10px; border: 0; background: #fef2f2; color: #b91c1c; font: inherit; font-weight: 750; font-size: 12px; text-align: left; cursor: pointer; }
.hp-file { padding: 8px 10px; border-radius: 10px; border: 1px dashed var(--lpv-brand); background: #fff; font-weight: 700; font-size: 12px; }
.hp-path { font-size: 11.5px; font-weight: 650; color: var(--lpv-text-2); }
.hp-drop { padding: 16px 10px; border-radius: 12px; border: 2px dashed rgb(20 40 61 / 0.22); background: #fff; font: inherit; font-weight: 700; color: var(--lpv-text-2); cursor: pointer; }
.hp-pick { padding: 10px 12px; border-radius: 10px; border: 1.5px dashed rgb(20 40 61 / 0.22); background: #fff; font: inherit; font-weight: 650; text-align: left; cursor: pointer; color: var(--lpv-text); }
.hp-pick.is-on { border-style: solid; border-color: var(--lpv-brand); background: var(--lpv-brand-soft); color: var(--lpv-brand); }
.hp-suggest { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--lpv-border); background: #fff; font: inherit; font-weight: 700; cursor: pointer; text-align: left; box-shadow: 0 8px 18px -10px rgb(20 40 61 / 0.4); }
.hp-steps, .hp-chain { display: flex; flex-wrap: wrap; gap: 4px; }
.hp-steps span, .hp-chain span { padding: 3px 8px; border-radius: 999px; background: rgb(20 40 61 / 0.06); font-size: 10.5px; font-weight: 700; color: var(--lpv-text-3); }
.hp-steps .hp-done, .hp-chain .hp-done { background: var(--lpv-brand-soft); color: var(--lpv-brand); }
.hp-steps .hp-cur, .hp-chain .hp-cur { background: var(--lpv-navy); color: #fff; }
.hp-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; color: var(--lpv-text-2); }
.hp-route { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; }
.hp-route i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--lpv-brand) 0 6px, transparent 6px 10px); }
.hp-bar { height: 9px; border-radius: 999px; background: rgb(20 40 61 / 0.08); overflow: hidden; }
.hp-bar span { display: block; height: 100%; border-radius: inherit; background: var(--lpv-action); transition: width .6s ease; }
.hp-bar-warn span { background: linear-gradient(90deg, #f59e0b, #dc2626); }
.hp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hp-kpis div { padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--lpv-border); }
.hp-kpis b { display: block; font-size: 16px; letter-spacing: -0.02em; }
.hp-note { text-align: center; }
.hp-tree b { font-size: 13px; }
.hp-enter { animation: hpEnter .45s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes hpEnter { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

/* Szenenübergänge (wechselnd wie im Vorbild) */
.hp-screen.hp-out { animation: hpOut .26s ease-in both; }
.hp-stage[data-trans="flip"] .hp-screen.hp-in { animation: hpFlip .5s cubic-bezier(.2, .8, .2, 1) both; }
.hp-stage[data-trans="zoom"] .hp-screen.hp-in { animation: hpZoom .5s cubic-bezier(.2, .8, .2, 1) both; }
.hp-stage[data-trans="slide"] .hp-screen.hp-in { animation: hpSlide .5s cubic-bezier(.2, .8, .2, 1) both; }
.hp-stage[data-trans="iris"] .hp-screen.hp-in { animation: hpIris .55s ease-out both; }
.hp-stage[data-trans="blur"] .hp-screen.hp-in { animation: hpBlur .5s ease-out both; }
@keyframes hpOut { to { opacity: 0; transform: scale(.97); filter: blur(2px); } }
@keyframes hpFlip { from { opacity: 0; transform: rotateX(-24deg) translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes hpZoom { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
@keyframes hpSlide { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: none; } }
@keyframes hpIris { from { clip-path: circle(0% at 70% 30%); } to { clip-path: circle(150% at 70% 30%); } }
@keyframes hpBlur { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: none; } }

/* Demo-Cursor: rein visuell, empfängt keine Eingaben */
.hp-cursor { position: absolute; left: 0; top: 0; z-index: 5; width: 22px; height: 22px; pointer-events: none; opacity: 0; transform: translate(260px, 380px); transition: transform .62s cubic-bezier(.3, .7, .2, 1), opacity .25s ease; }
.hp-cursor.is-on { opacity: 1; }
.hp-cursor svg { width: 22px; height: 22px; filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.35)); transition: transform .15s ease; }
.hp-cursor.is-press svg { transform: scale(.82); }
.hp-cursor::after { content: ""; position: absolute; left: -10px; top: -10px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--lpv-action); opacity: 0; }
.hp-cursor.is-press::after { animation: hpRing .5s ease-out; }
@keyframes hpRing { from { opacity: .9; transform: scale(.4); } to { opacity: 0; transform: scale(1.6); } }

/* Steuerleiste */
.hp-controls { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; margin-top: 14px; color: #fff; }
.hp-caption { min-width: 0; }
.hp-caption .hp-title { display: block; font-weight: 750; font-size: 16px; letter-spacing: -0.01em; }
.hp-caption .hp-hint { display: block; font-size: 13.5px; color: rgb(255 255 255 / 0.72); }
.hp-buttons { display: flex; gap: 6px; align-items: center; }
.hp-buttons button { min-width: 40px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.25); background: rgb(255 255 255 / 0.08); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.hp-buttons button:hover { background: rgb(255 255 255 / 0.16); }
.hp-pick-wrap { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; }
.hp-select { flex: 1; min-height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid rgb(255 255 255 / 0.25); background: rgb(12 26 41 / 0.6); color: #fff; font: inherit; font-size: 14px; }
.hp-select option { color: #182331; }
.hp-count { font-size: 13px; font-weight: 700; color: rgb(255 255 255 / 0.7); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hero-player:not(.hp-ready) .hp-controls, .hero-player:not(.hp-ready) .hp-cursor { display: none; }
.hp-fallback { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
@media (max-width: 960px) { .hero-player { margin: 0 auto; } }
@media (max-width: 520px) {
  .hp-stage { height: 440px; }
  .hp-surface { font-size: 12px; }
  .hp-controls { grid-template-columns: 1fr; }
  .hp-buttons { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-leaves span, .hp-caret { animation: none; }
  .hp-cursor { display: none; }
}
figure.hero-player { margin: 0 0 0 auto; }
@media (max-width: 960px) { figure.hero-player { margin: 0 auto; } }
.hp-appbar b { white-space: nowrap; }
.hp-appbar .hp-org { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) { .hp-appbar .hp-org { font-size: 9.5px; letter-spacing: .06em; } }
.hp-card { grid-template-columns: minmax(0, 1fr) auto; }
.hp-card > * { grid-column: 1 / -1; }
.hp-card > b { grid-column: 1; }
.hp-card > .hp-chip { grid-column: 2; justify-self: end; align-self: start; }
.hp-surface { grid-template-columns: minmax(0, 1fr); }
.hp-head { min-width: 0; }
.hp-module { min-width: 0; }
