/* Ergänzungen zum gespiegelten onepage-CSS: Pop-ups, Cookie-Banner, Zähler. */
:root { --lp-marke: rgb(171, 31, 36); --lp-text-font: var(--font-kit-text-font, 'Work Sans', system-ui, sans-serif);
  --lp-head-font: var(--font-kit-header-font, var(--lp-text-font)); }

/* Zähler: Zielwert statt der onepage-Rolle anzeigen (lp.js zählt hoch) */
.con-kit-atom-number__value-animated { white-space: nowrap; }

/* ---------------------------------------------------------------- Pop-up */
html.lp-modal-offen { overflow: hidden; }
.lp-ov { position: fixed; inset: 0; z-index: 2147483000; background: rgba(0, 0, 0, .72); display: flex; align-items: center;
  justify-content: center; padding: 24px 16px; overflow-y: auto; animation: lp-ein .2s ease-out; }
@keyframes lp-ein { from { opacity: 0; } }
.lp-ov__zu { position: fixed; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: #3a3a3a; color: #fff; font-size: 26px; line-height: 40px; padding: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.lp-ov__zu:hover { background: #555; }
.lp-m { width: 100%; max-width: 580px; margin: auto; background: #2b2b2b; color: #fff; padding: 40px 36px 32px; border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45); font-family: var(--lp-text-font); }
.lp-m--hell { background: #fff; color: #191919; }
.lp-m__form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.lp-m__h { font-family: var(--lp-head-font); font-weight: 800; font-size: clamp(22px, 4vw, 30px); line-height: 1.2; margin: 0 0 4px;
  text-align: center; white-space: pre-line; color: inherit; }
.lp-m__p { margin: 0 auto 10px; text-align: center; font-size: 15px; line-height: 1.55; white-space: pre-line; max-width: 46ch; opacity: .85; }
.lp-m__p--l { font-size: 14px; }
.lp-m__bild { display: block; max-width: 160px; margin: 0 auto 4px; height: auto; }
.lp-m__haken { width: 84px; height: 84px; margin: 0 auto 6px; }
.lp-m__haken svg { width: 100%; height: 100%; fill: none; stroke: #4caf50; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lp-m__haken circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: lp-strich .6s ease-out forwards; }
.lp-m__haken path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: lp-strich .35s .5s ease-out forwards; }
@keyframes lp-strich { to { stroke-dashoffset: 0; } }
.lp-m__feld { position: relative; }
.lp-m__feld input, .lp-m__feld select { width: 100%; height: 54px; box-sizing: border-box; padding: 0 16px; border-radius: 4px;
  border: 1px solid #4a4a4a; background: #383838; color: #fff; font: inherit; font-size: 15px; }
.lp-m--hell .lp-m__feld input, .lp-m--hell .lp-m__feld select { background: #fff; color: #191919; border-color: #d4d4d8; }
.lp-m__feld input::placeholder { color: #9a9a9a; }
.lp-m__feld input:focus, .lp-m__feld select:focus { outline: 2px solid var(--lp-marke); outline-offset: 1px; border-color: transparent; }
.lp-m [aria-invalid="true"] { border-color: #ff6b6b !important; box-shadow: 0 0 0 1px #ff6b6b; }
.lp-m__feld--tel { display: flex; }
.lp-m__vorwahl { position: relative; flex: 0 0 auto; display: flex; align-items: center; }
.lp-m__vorwahl select { width: 64px; padding: 0 0 0 40px; border-right: 0; border-radius: 4px 0 0 4px; color: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none; }
.lp-m__vorwahl select option { color: #191919; }
.lp-m__flagge { position: absolute; left: 14px; font-size: 18px; pointer-events: none; }
.lp-m__feld--tel input { border-radius: 0 4px 4px 0; padding-left: 8px; }
.lp-m__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; opacity: .9; }
.lp-m__consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--lp-marke); }
.lp-m__consent a { color: inherit; text-decoration: underline; }
.lp-m__senden { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; min-height: 58px;
  border: 0; border-radius: 4px; padding: 10px 16px; cursor: pointer; text-decoration: none; text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--lp-marke) 82%, #fff), var(--lp-marke)); color: #fff;
  font-family: var(--lp-text-font); font-weight: 600; font-size: 15px; box-shadow: 0 6px 18px color-mix(in srgb, var(--lp-marke) 35%, transparent); }
.lp-m__senden small { font-weight: 400; font-size: 12px; opacity: .85; }
.lp-m__senden:hover { filter: brightness(1.06); }
.lp-m__senden:disabled { opacity: .6; cursor: wait; }
.lp-m__status { margin: 0; min-height: 1em; text-align: center; font-size: 13px; color: #ff8a8a; }
.lp-m--hell .lp-m__status { color: #c62828; }
.lp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lp-video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.con-kit-component-video { position: relative; }
@media (max-width: 480px) { .lp-m { padding: 32px 18px 24px; } }

/* ---------------------------------------------------------------- Cookie-Banner (Aufbau wie onepage) */
.lp-cb { position: fixed; z-index: 2147483100; right: 24px; bottom: 24px; width: min(860px, calc(100vw - 32px)); background: #fff; color: #191919;
  border-radius: 6px; box-shadow: 0 12px 48px rgba(0, 0, 0, .25); padding: 20px 22px; display: grid; grid-template-columns: 1fr auto;
  gap: 14px 24px; font: 13px/1.5 var(--lp-text-font); }
.lp-cb__text strong { display: block; font-size: 15px; margin-bottom: 6px; }
.lp-cb__text p { margin: 0; color: #555; font-size: 12px; }
.lp-cb__text a, .lp-cb__ds { color: inherit; }
.lp-cb__knoepfe { display: flex; flex-direction: column; gap: 8px; min-width: 170px; }
.lp-cb__btn { border: 0; border-radius: 4px; padding: 10px 14px; font: 600 13px var(--lp-text-font); cursor: pointer; background: #eee; color: #191919; }
.lp-cb__btn:hover { background: #e2e2e2; }
.lp-cb__btn--primaer { background: var(--lp-marke); color: #fff; }
.lp-cb__btn--primaer:hover { background: var(--lp-marke); filter: brightness(1.08); }
.lp-cb__btn--speichern { display: none; }
.lp-cb--details .lp-cb__btn--speichern { display: block; }
.lp-cb--details .lp-cb__btn--details { display: none; }
.lp-cb__opts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; border-top: 1px solid #eee; padding-top: 12px; }
.lp-cb__opt { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.lp-cb__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lp-cb__sw { width: 30px; height: 16px; border-radius: 8px; background: #ccc; position: relative; transition: background .15s; }
.lp-cb__sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform .15s; }
.lp-cb__opt input:checked + .lp-cb__sw { background: var(--lp-marke); }
.lp-cb__opt input:checked + .lp-cb__sw::after { transform: translateX(14px); }
.lp-cb__opt input:disabled + .lp-cb__sw { opacity: .6; }
.lp-cb__opt input:focus-visible + .lp-cb__sw { outline: 2px solid var(--lp-marke); outline-offset: 2px; }
.lp-cb__ds { margin-left: auto; font-size: 12px; color: #777; }
.lp-cb:not(.lp-cb--details) .lp-cb__opt input:not(:disabled) { pointer-events: none; }
@media (max-width: 640px) { .lp-cb { right: 16px; bottom: 16px; grid-template-columns: 1fr; padding: 16px; max-height: 80vh; overflow: auto; }
  .lp-cb__knoepfe { min-width: 0; } .lp-cb__ds { margin-left: 0; } }
.lp-cb-knopf { position: fixed; z-index: 2147482900; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: #3a3a3a; color: #fff; cursor: pointer; display: grid; place-items: center; opacity: .85; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.lp-cb-knopf:hover { opacity: 1; }

/* ---------------------------------------------------------------- Burger-Menü (wie onepage: weißes Vollbild) */
.lp-burger { position: fixed; inset: 0; z-index: 2147482000; background: #fff; color: #000; padding: 24px; overflow-y: auto;
  font-family: var(--lp-text-font); animation: lp-ein .2s ease-out; }
.lp-burger__kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.lp-burger__logo { height: 48px; width: auto; display: block; }
.lp-burger__zu { border: 0; background: none; font-size: 30px; line-height: 1; width: 44px; height: 44px; cursor: pointer; color: #191919; }
.lp-burger__nav { display: flex; flex-direction: column; }
.lp-burger__link { display: block; padding: 12px 0; font-size: 16px; color: #000; text-decoration: none; }
.lp-burger__link:hover, .lp-burger__link:focus-visible { color: var(--lp-marke); }
