/* ==========================================================================
   Landingpage "Robotik-Reinigung Gummersbach" – seitenspezifisch (baut auf landing-base.css auf)
   Hero-Navigation, Hero-Lichteffekt, Handy-Mockup, animierte Szenen, Sticky-CTA
   ========================================================================== */

/* ---------- Hero ---------- */
.lp-hero { position: relative; background: var(--lp-night); padding: 96px 0 120px; overflow: hidden; }
.lp-hero > * { position: relative; z-index: 1; }
.lp-hero-copy { position: relative; z-index: 2; }
.lp-stage > *:not(.lp-hero-fx) { z-index: 1; }
.lp-hero-inner { padding-top: 88px; }
/* ---------- Navigation (eigenes Widget lp-nav): schwebende Pille, nicht über die volle Breite ---------- */
.lp-nav-wrap { position: relative; z-index: 100; padding: 16px clamp(12px, 3.125vw, 60px) 0; pointer-events: none;
  --nav-ink: #000924; --nav-muted: #000924b3; --nav-line: #00092426; --nav-chip: #1154a614; --nav-logo: #1154a6;
  --nav-bg: #ffffffeb; --nav-edge: #00092440; --nav-shadow: 0 8px 20px -14px #00092440;
  --nav-cta-bg: #1154a6; --nav-cta-ink: #fff; }
.lp-nav-wrap.is-fixed { position: fixed; top: 0; left: 0; right: 0; }
body.admin-bar .lp-nav-wrap.is-fixed { top: 32px; }
@media (max-width: 782px) { body.admin-bar .lp-nav-wrap.is-fixed { top: 46px; } }
.lp-nav-wrap[data-tone="dark"] { --nav-ink: #fff; --nav-muted: #ffffffb3; --nav-line: #ffffff40; --nav-chip: #ffffff1a; --nav-logo: #fff;
  --nav-bg: #050a1ae0; --nav-edge: #ffffff2e; --nav-shadow: 0 8px 20px -14px #00000099; --nav-cta-bg: #fff; --nav-cta-ink: #000924; }
.lp-nav { pointer-events: auto; position: relative; isolation: isolate; max-width: 1240px; margin: 0 auto; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 10px 0 26px; border-radius: 56px; box-shadow: inset 0 0 0 1.5px var(--nav-edge), var(--nav-shadow); transition: box-shadow .25s; }
/* Glas-Hintergrund der Pille: Blur stärker oben, zum unteren Rand hin ausklingend */
.lp-nav::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--nav-bg); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  -webkit-mask-image: linear-gradient(to bottom, #000000 0%, #000000 45%, rgba(0,0,0,.9) 100%); mask-image: linear-gradient(to bottom, #000000 0%, #000000 45%, rgba(0,0,0,.9) 100%);
  transition: background-color .25s; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.lp-nav-left { display: flex; align-items: center; gap: 20px; min-width: 0; }
.lp-nav-logo { display: block; line-height: 0; color: var(--nav-logo); transition: color .25s; }
.lp-nav-logo img, .lp-nav-logo svg { display: block; height: 26px; width: auto; }
.lp-nav-site { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 56px; background: var(--nav-chip); box-shadow: inset 0 0 0 1px var(--nav-line); color: var(--nav-ink); font-family: var(--lp-font-ui); font-size: 13px; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.lp-nav-site:hover { background: var(--lp-blue); color: #fff; }
.lp-nav-links { display: flex; align-items: center; gap: 28px; font-family: var(--lp-font-ui); font-size: 14px; }
.lp-nav-links a { color: var(--nav-muted); text-decoration: none; transition: color .25s; }
.lp-nav-links a:hover { color: var(--nav-ink); }
.lp-nav-links a:not(.lp-nav-cta) { position: relative; padding: 8px 14px; margin: 0 -14px; border-radius: 56px; transition: color .25s, background-color .25s; }
.lp-nav-links a.is-active:not(.lp-nav-cta) { color: var(--nav-ink); font-weight: 600; background-color: var(--nav-chip); box-shadow: inset 0 0 0 1px var(--nav-line); }
.lp-nav-links a.is-active:not(.lp-nav-cta)::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; opacity: .6; }
.lp-nav-links a.lp-nav-cta { color: var(--nav-cta-ink); background: var(--nav-cta-bg); display: inline-flex; align-items: center; gap: 10px; padding: 11px 22px; border-radius: 56px; font-family: var(--lp-font-button); font-weight: 800; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; transition: background .25s, color .25s, transform .15s; }
.lp-nav-links a.lp-nav-cta:hover { color: var(--nav-cta-ink); transform: translateY(-1px); }
.lp-nav-cta .lp-dot { width: 9px; height: 9px; }
@media (max-width: 560px) { .lp-nav { padding-left: 16px; gap: 12px; } .lp-nav-left { gap: 10px; } .lp-nav-site { padding: 7px 12px; } .lp-nav-site svg { display: none; } .lp-nav-links a.lp-nav-cta { padding: 9px 14px; } }


.lp-hero-fx { position: absolute; left: 50%; top: -560px; width: max(1920px, 135vw); height: 1300px; transform: translateX(-50%); pointer-events: none; z-index: 0 !important; opacity: .68;
  /* weich auslaufen lassen, damit auf breiten Bildschirmen keine harte Kante entsteht */
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 44.6%, #000 38%, rgba(0,0,0,.55) 66%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 44.6%, #000 38%, rgba(0,0,0,.55) 66%, transparent 100%); }
.lp-hero-fx > span { position: absolute; inset: 0; }
.lp-fx-glow { background: radial-gradient(60% 48.5% at 50% 44.6%, #5cc4ff 0%, #1b8cf0 22%, #0a5fc8e6 40%, #08399acc 56%, #06215566 72%, #01040d00 90%); animation: lp-fx-breathe 8s ease-in-out infinite; }
.lp-fx-rays { background: repeating-linear-gradient(90deg, #d6f1ff00 0 6px, #d6f1ff66 6px 7px, #d6f1ff00 7px 12px, #d6f1ff30 12px 13px); -webkit-mask-image: radial-gradient(42% 46% at 50% 44.6%, #000 0%, #0009 50%, transparent 90%); mask-image: radial-gradient(42% 46% at 50% 44.6%, #000 0%, #0009 50%, transparent 90%); mix-blend-mode: screen; }
.lp-fx-warm { background: radial-gradient(34% 18.5% at 50% 43.8%, #ffb28f 0%, #fc734d 30%, #fc734d99 55%, #fc734d00 85%); filter: blur(14px); animation: lp-fx-warm 8s ease-in-out infinite; }
.lp-fx-core { background: radial-gradient(14% 7% at 50% 43.5%, #fff6ef 0%, #ffe0d0aa 45%, #ffe0d000 100%); filter: blur(8px); }
@keyframes lp-fx-breathe { 0%, 100% { opacity: .9; } 50% { opacity: 1; } }
@keyframes lp-fx-warm { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }

.lp-stage { position: relative; width: 100%; padding-bottom: 40px; }
.lp-stage > .lp-frame { max-width: 1440px; margin: 0 auto; }

/* ---------- Handy-Mockup ---------- */
.lp-phone { position: absolute; right: max(16px, calc((100% - 1180px) / 2 + 24px)); bottom: -40px; width: 210px; max-width: 100%; text-align: left; z-index: 2; }
.lp-phone-body { border-radius: 46px; background: #0b0f18; padding: 9px; box-shadow: inset 0 0 0 1.5px #ffffff33, 0 50px 100px -30px #000000cc, 0 0 0 1px #00000080; }
.lp-phone-screen { border-radius: 38px; background: var(--lp-surface); color: var(--lp-navy); overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: 18px 14px 16px; }
.lp-phone-notch { height: 22px; width: 90px; margin: -6px auto 2px; border-radius: 20px; background: #0b0f18; }
.lp-phone-top { display: flex; flex-direction: column; gap: 8px; padding: 8px 8px 0; }
.lp-phone-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-family: var(--lp-font-ui); font-size: 11px; color: #000924a6; }
.lp-phone-live { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px #00092414; font-size: 11px; font-weight: 500; color: var(--lp-navy); }
.lp-phone-live i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: lp-pulse 1.6s ease-in-out infinite; }
.lp-phone-title { font-size: 15px; font-weight: 600; line-height: 1.2; }
.lp-phone-map { background: #fff; border-radius: 22px; padding: 8px; box-shadow: 0 6px 20px -10px #00092433; }
.lp-phone-map svg { width: 100%; height: auto; }
.lp-phone-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lp-phone-stats div { background: #fff; border-radius: 14px; padding: 9px 10px; }
.lp-phone-stats small { display: block; font-family: var(--lp-font-ui); font-size: 10px; color: #000924a6; }
.lp-phone-stats b { display: block; font-size: 12px; font-weight: 600; }
.lp-phone-cta { display: block; text-align: center; padding: 12px; border-radius: 16px; background: var(--lp-blue); color: #fff; font-size: 13px; font-weight: 600; }
.lp-phone-bar { height: 4px; width: 100px; margin: 0 auto -4px; border-radius: 4px; background: #0009244d; }
@media (max-width: 1000px) { .lp-phone { position: static; width: 100%; max-width: 210px; margin: 24px auto 0; } }

/* ---------- Animierte Szenen (SVG über Foto) ---------- */
.lp-scene { position: relative; width: 100%; aspect-ratio: 1344 / 752; overflow: hidden; background: #061226; }
.lp-scene > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-scene > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-frame--sm .lp-scene { border-radius: 22px; }
.lp-tcard .lp-scene { border-radius: 0; }

/* ---------- Sticky-CTA ---------- */
.lp-fab { position: fixed; right: 24px; bottom: 24px; z-index: 50; }
.lp-fab .lp-btn { background: var(--lp-blue); color: #fff; box-shadow: 0 18px 40px -12px #0d3f7d99; }
.lp-fab .lp-btn:hover { background: var(--lp-blue-hover); color: #fff; }
@media (max-width: 720px) { .lp-fab { display: none; } }

@media (prefers-reduced-motion: reduce) { .lp-fx-glow, .lp-fx-warm, .lp-phone-live i { animation: none; } }

/* ==========================================================================
   Smartphone-Optimierung (≤ 700px): Hero, Navigation, Sticky-Leiste
   ========================================================================== */
@media (max-width: 700px) {
  .lp-hero { padding: 84px 0 48px; }
  .lp-hero-inner { padding-top: 24px; gap: 36px; }
  .lp-hero-copy { gap: 20px; }
  .lp-hero-copy > .lp-eyebrow + .lp-h1 { margin-top: -10px; }
  .lp-checks { gap: 6px 18px; font-size: 13px; }
  .lp-phone { display: none; }
  .lp-stage { padding-bottom: 0; }

  .lp-nav-wrap { padding: 10px var(--lp-gutter) 0; }
  .lp-nav { height: 56px; padding: 0 8px 0 18px; gap: 10px; }
  .lp-nav-logo img, .lp-nav-logo svg { height: 22px; }
  .lp-nav-site { padding: 8px 14px; font-size: 12px; }
  .lp-nav-left { flex: 1; min-width: 0; gap: 12px; }
  }
@media (max-width: 380px) { .lp-nav-site svg { display: none; } }


/* ---------- Mobiles Menü (Sprungmarken als aufklappbares Panel) ---------- */
.lp-nav-toggle { display: none; }
.lp-nav-wrap { --nav-panel: #fffffff5; }
.lp-nav-wrap[data-tone="dark"] { --nav-panel: #070d22f5; }
@media (max-width: 700px) {
  .lp-nav-toggle { all: unset; box-sizing: border-box; flex: none; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
    background: var(--nav-chip); box-shadow: inset 0 0 0 1px var(--nav-line); color: var(--nav-ink); transition: background-color .2s; }
  .lp-nav-toggle:focus-visible { outline: 2px solid var(--lp-blue); outline-offset: 2px; }
  .lp-nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .28s cubic-bezier(.22,.61,.36,1), opacity .2s; }
  .lp-nav-wrap.is-open .lp-nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .lp-nav-wrap.is-open .lp-nav-toggle span:nth-child(2) { opacity: 0; }
  .lp-nav-wrap.is-open .lp-nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .lp-nav-links { position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; border-radius: 24px;
    background: var(--nav-panel); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--nav-edge), 0 18px 40px -16px #000000aa;
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top center; pointer-events: none; transition: opacity .22s, transform .28s cubic-bezier(.22,.61,.36,1), visibility 0s .28s; }
  .lp-nav-wrap.is-open .lp-nav-links { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
  .lp-nav-links a:not(.lp-nav-cta) { display: flex; align-items: center; margin: 0; padding: 14px 16px; font-size: 16px; border-radius: 14px; color: var(--nav-ink); }
  .lp-nav-links a:not(.lp-nav-cta).is-active { background-color: var(--nav-chip); box-shadow: none; }
  .lp-nav-links a:not(.lp-nav-cta).is-active::after { left: auto; right: 16px; bottom: 50%; margin: 0; transform: translateY(50%); width: 7px; height: 7px; opacity: 1; background: var(--lp-blue); }
  .lp-nav-links a.lp-nav-cta { display: inline-flex; justify-content: center; margin-top: 8px; padding: 15px 22px; }
}


/* ---------- Mobile Leiste unten (nur Smartphone): klein, schwebend, Glas mit Blur ---------- */
.lp-mobilebar { display: none; }
@media (max-width: 700px) {
  .lp-mobilebar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 90; gap: 8px; padding: 6px; border-radius: 56px;
    background: #050a1ab8; -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: inset 0 0 0 1px #ffffff2e, 0 12px 30px -12px #000000b3; }
  .lp-mobilebar a { flex: 1; min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 56px; text-decoration: none; font-family: var(--lp-font-button); font-weight: 800; font-size: 12.5px; letter-spacing: .02em; text-transform: uppercase; color: #fff; box-shadow: inset 0 0 0 1px #ffffff40; transition: background-color .2s, transform .15s; }
  .lp-mobilebar a:active { transform: scale(.97); }
  .lp-mobilebar a.is-primary { flex: 1.5; background: var(--lp-blue); color: #fff; box-shadow: none; }
  .lp-mobilebar a.is-primary:hover { background: var(--lp-blue-hover); }
  .lp-mobilebar .lp-dot { width: 8px; height: 8px; }
  /* Platz für die Leiste, damit das Footer-Logo nicht verdeckt/abgeschnitten wird */
  .lp-footer { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* Smartphone: kein dunkler Streifen unter dem Hero-Video – das Video schließt bündig mit dem Hero ab */
@media (max-width: 700px) {
  .lp-hero { padding-bottom: 0; }
  .lp .lp-stage { padding-bottom: 0; }
}
