/* ==========================================================================
   APRO.CON – App-Landingpages
   Übernommen aus vorlage/templates/app-landingpage/landingpage.css (sechste Fassung, 18.09.2026), nur die gewählten
   Varianten: Hero mit Foto-Diashow und Bild unter der Headline (.lp-hero--bild-unten, .lp-hero--foto) · Funktionen als
   Reiter (.lp-funktionen--tabs) · Integration als eine Plattform (.lp-integration--system). Ergänzungen für den Build
   sind mit „Build:“ gekennzeichnet (beliebige Anzahl Fotos, Reiter, Bausteine und Hinweise).
   Alle Werte über var(--…) aus design/styles.css. Funktioniert ohne JavaScript; landingpage.js ergänzt Einblenden,
   Zählen, Vorschau-Wechsel im Hero, die Gerätewahl im Einblick und das Vergrößern der Demo. Das Aussehen des App-Mocks kommt aus
   content/mocks/<app>/app-mock.css und templates/app-mock/am.css.
   ========================================================================== */
:root { --lp-section-pad: 88px; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: none; box-shadow: var(--ring-focus); border-radius: var(--radius-sm); }
/* --- Hilfsklassen ---------------------------------------------------------- */
.apro-display { font-size: var(--fs-display); font-weight: var(--weight-light); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); color: var(--text-strong); margin: 0 0 22px; text-wrap: balance; }
.apro-lead { font-size: var(--text-lead); line-height: var(--leading-relaxed); color: var(--text-muted); max-width: 560px; margin: 0 0 30px; }
.apro-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.apro-icon { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; width: 24px; height: 24px; }
.apro-eyebrow { display: block; margin-bottom: 14px; }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* --- Button ---------------------------------------------------------------- */
.apro-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 20px; font-family: var(--font-body); font-size: 15px; font-weight: var(--weight-heavy); letter-spacing: 0.01em; line-height: 1; text-decoration: none; border: 1px solid transparent; border-radius: var(--radius-md); cursor: pointer; transition: var(--transition-base); background: var(--brand-primary); color: var(--text-on-brand); box-shadow: var(--shadow-brand); }
.apro-btn:focus-visible { box-shadow: var(--ring-focus); border-radius: var(--radius-md); }
.apro-btn .apro-icon { width: 18px; height: 18px; stroke-width: 2; }
.apro-btn--sm { min-height: 34px; padding: 7px 14px; font-size: 13px; }
.apro-btn--lg { min-height: 50px; padding: 13px 28px; font-size: 16px; }
.apro-btn--primary:hover { background: var(--brand-primary-hover); color: var(--text-on-brand); }
.apro-btn--primary:active { background: var(--brand-primary-active); }
.apro-btn--accent { background: var(--brand-accent); box-shadow: none; }
.apro-btn--accent:hover { background: var(--brand-accent-hover); color: var(--text-on-brand); }
.apro-btn--outline { background: transparent; color: var(--brand-primary); border-color: var(--border-brand); box-shadow: none; }
.apro-btn--outline:hover { background: var(--surface-wash); color: var(--brand-primary); }
.apro-btn--on-dark { background: var(--apro-white); color: var(--brand-primary); box-shadow: none; }
.apro-btn--on-dark:hover { background: var(--apro-hellblau-100); color: var(--brand-primary); }
.apro-btn--ghost-dark { background: transparent; color: var(--text-on-brand); border-color: rgba(255,255,255,0.45); box-shadow: none; }
.apro-btn--ghost-dark:hover { background: rgba(255,255,255,0.1); color: var(--text-on-brand); }
/* --- Kopf ------------------------------------------------------------------ */
.apro-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-subtle); }
.apro-header__inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.apro-header__logo { height: 30px; width: auto; display: block; }
.apro-nav { display: flex; gap: 4px; align-items: center; }
.apro-nav a { padding: 10px 14px; font-size: 17px; color: var(--text-body); border-radius: var(--radius-sm); }
.apro-nav a:hover { color: var(--brand-primary); }
.lp-menue { display: none; position: relative; }
.lp-menue summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius-md); color: var(--brand-primary); cursor: pointer; }
.lp-menue summary::-webkit-details-marker { display: none; }
.lp-menue__liste { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; display: flex; flex-direction: column; padding: 8px; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.lp-menue__liste a { padding: 10px 12px; color: var(--text-body); border-radius: var(--radius-sm); }
.lp-menue__liste a:hover { background: var(--surface-subtle); color: var(--brand-primary); }
/* Build: Kontakt im mobilen Menü (in der Vorlage als style-Attribut) */
.lp-menue__liste .lp-menue__kontakt { color: var(--brand-accent); font-weight: var(--weight-heavy); }
/* --- Abschnitte: Rhythmus & Flächen ---------------------------------------- */
.lp-abschnitt { padding-block: var(--lp-section-pad); background: var(--surface-page); }
main > .lp-abschnitt:nth-of-type(even):not([data-abschnitt="cta"]) { background: var(--surface-subtle); }
.lp-abschnitt[data-abschnitt="cta"] { background: var(--surface-brand); color: var(--text-on-brand); padding-block: 72px; }
.lp-kopf { max-width: 680px; margin-bottom: var(--space-8); }
.lp-kopf--zentriert { text-align: center; margin-inline: auto; }
.lp-kopf h2 { margin-bottom: var(--space-3); text-wrap: balance; }
.lp-kopf p { font-size: var(--text-body-lg); line-height: var(--leading-relaxed); color: var(--text-muted); margin: 0; }
/* --- Hero ------------------------------------------------------------------ */
.lp-hero { position: relative; overflow: hidden; background: var(--surface-page); padding-block: var(--lp-section-pad); }
.lp-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 85% -10%, var(--surface-brand-soft) 0%, rgba(215,218,239,0) 55%); pointer-events: none; }
.lp-hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lp-hero__grid > * { min-width: 0; }
.apro-kpis { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border-subtle); }
.apro-kpi__value { font-family: var(--font-display); font-weight: var(--weight-light); font-size: 34px; line-height: 1; color: var(--brand-primary); font-variant-numeric: tabular-nums; }
.apro-kpi__label { font-size: 13px; color: var(--text-muted); margin-top: 6px; }
/* Variante B: Bild unter der Headline */
.lp-hero--bild-unten .lp-hero__grid { grid-template-columns: 1fr; gap: 56px; justify-items: center; text-align: center; }
.lp-hero--bild-unten .apro-lead { margin-inline: auto; max-width: 640px; }
.lp-hero--bild-unten .apro-actions { justify-content: center; }
.lp-hero--bild-unten .apro-kpis { justify-content: center; }
.lp-hero--bild-unten .lp-hero__bild { width: min(100%, 880px); }
.lp-hero--bild-unten .lp-hero__text { max-width: 760px; }
/* --- Bildrahmen (festes Seitenverhältnis) ---------------------------------- */
.lp-bild { margin: 0; }
.lp-bild__rahmen { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--border-subtle); background: var(--surface-wash); box-shadow: var(--shadow-xl); }
.lp-bild--breit .lp-bild__rahmen { aspect-ratio: 16 / 10; }
.lp-bild__rahmen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-bild__platzhalter { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-muted); font-size: var(--text-sm); }
.lp-bild figcaption { margin-top: var(--space-3); font-size: var(--text-sm); font-style: italic; font-weight: var(--weight-medium); color: var(--text-muted); }
/* Statische Ansicht (Vorschau im Hero): Zeile aufgeklappt ohne Schalter */
.lp-einblick__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
.lp-hinweise { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); /* Build: zwei oder drei */ gap: var(--space-5); }
.lp-hinweise li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-body); color: var(--text-body); }
.lp-hinweise .apro-icon { color: var(--brand-primary); width: 22px; height: 22px; margin-top: 1px; }
/* --- Geräterahmen (Hero und Einblick) ---------------------------------------
   Die Form des Bildschirms bestimmt die Darstellung des App-Mocks: Querformat zeigt die Desktop-Ansicht der App,
   Hochformat die Handyansicht. Der Mock füllt .lp-geraet__screen (position: absolute; inset: 0) und fragt seine
   eigene Fläche ab – ein Mock für beide Formen, kein zweites Exemplar. */
.lp-geraet { --lp-geraet-rand: clamp(8px, 1.3vw, 16px); position: relative; width: 100%; padding: var(--lp-geraet-rand); background: var(--apro-ink); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl), inset 0 0 0 1px rgba(255,255,255,0.08); }
.lp-geraet__kamera { position: absolute; top: calc(var(--lp-geraet-rand) / 2 - 3px); left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: var(--radius-pill); background: var(--apro-grey-700); }
.lp-geraet__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-md); background: var(--apro-grey-100); }
/* --- Hero: Vorschau mit wechselnden statischen Ansichten, Klick führt zur Demo ---
   <!--MOCK-HERO--> sind die Folien: je Ansicht ein .lp-vorschau__folie (statisches HTML oder <img>), ohne Bedienelemente. */
.lp-vorschau-demo { position: relative; margin: 0; }
.lp-vorschau { position: absolute; inset: 0; }
.lp-vorschau__folie { position: absolute; inset: 0; opacity: 0; transition: opacity 900ms var(--ease-in-out); }
.lp-vorschau__folie--aktiv { opacity: 1; }
.lp-vorschau__folie > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.lp-vorschau-demo .lp-geraet { transition: transform var(--duration-slow) var(--ease-out); }
.lp-vorschau-demo .lp-geraet__screen::after { content: ""; position: absolute; inset: 0; background: var(--brand-primary); opacity: 0; transition: opacity var(--duration-slow) var(--ease-out); pointer-events: none; }
.lp-vorschau-demo:hover .lp-geraet { transform: translateY(-4px); }
.lp-vorschau-demo:hover .lp-geraet__screen::after { opacity: 0.14; }
.lp-hero--foto .lp-geraet { box-shadow: 0 30px 60px -20px rgba(27,37,54,0.6), inset 0 0 0 1px rgba(255,255,255,0.12); }
/* Die ganze Vorschau ist Klickfläche; der Link liegt darüber, damit die Folien kein Inhalt eines Links sind */
.lp-vorschau-demo__link { position: absolute; inset: 0; z-index: 2; border-radius: var(--radius-xl); text-decoration: none; }
.lp-vorschau-demo__link:focus-visible { box-shadow: none; }
.lp-demo-marke { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); transform-origin: 50% 50%; display: inline-flex; align-items: center; gap: var(--space-2); padding: 6px 6px 6px 16px; white-space: nowrap; background: var(--surface-card); border-radius: var(--radius-pill); box-shadow: var(--shadow-xl); transition: var(--transition-base); }
.lp-demo-marke__titel { font-size: 12px; font-weight: var(--weight-heavy); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--brand-primary); }
.lp-demo-marke__text { padding-left: var(--space-3); border-left: 1px solid var(--border-subtle); font-size: 14px; color: var(--text-body); }
.lp-demo-marke__pfeil { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-pill); background: var(--brand-primary); color: var(--text-on-brand); transition: var(--transition-base); }
.lp-demo-marke__pfeil .apro-icon { width: 18px; height: 18px; stroke-width: 2; transform: rotate(90deg); }
.lp-vorschau-demo:hover .lp-demo-marke { transform: translate(-50%, calc(50% - 4px)) scale(1.12); box-shadow: var(--shadow-xl), var(--shadow-brand); }
.lp-vorschau-demo:hover .lp-demo-marke__pfeil { background: var(--brand-primary-hover); }
.lp-vorschau-demo__link:focus-visible .lp-demo-marke { box-shadow: var(--ring-focus), var(--shadow-xl); }
/* Statuspunkt „live": einziger Rot-Akzent der Marke */
.lp-puls { position: relative; flex: none; width: 10px; height: 10px; border-radius: var(--radius-pill); background: var(--brand-accent); }
.lp-puls::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--brand-accent); animation: lp-puls 1.8s var(--ease-out) infinite; }
@keyframes lp-puls { from { transform: scale(1); opacity: 0.5; } to { transform: scale(2.6); opacity: 0; } }
/* --- Einblick: Demo mit Umschalter Tablet / Smartphone ------------------------
   Ohne Auswahl gilt Tablet, auf schmalen Bildschirmen Smartphone (landingpage.js setzt die Auswahl entsprechend).
   --lp-demo-h: Rahmenhöhe für beide Formen – die Bühne springt beim Umschalten nicht, und nach dem Sprung aus dem
   Hero passen Umschalter und Gerät in das Fenster. */
.lp-demo { --lp-demo-h: clamp(420px, calc(100svh - 190px), 720px); margin: 0; }
.lp-demo__leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-3) var(--space-6); margin-bottom: var(--space-5); }
.lp-demo__hinweis { display: inline-flex; align-items: center; gap: var(--space-3); margin: 0; font-size: var(--text-body); color: var(--text-muted); }
.lp-umschalter { display: inline-flex; gap: 4px; margin: 0; padding: 4px; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--surface-card); box-shadow: var(--shadow-sm); }
.lp-umschalter label { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 40px; padding: 8px 16px; border-radius: var(--radius-md); font-size: 15px; font-weight: var(--weight-heavy); color: var(--text-muted); cursor: pointer; transition: var(--transition-base); }
.lp-umschalter label:hover { color: var(--brand-primary); background: var(--surface-wash); }
.lp-umschalter .apro-icon { width: 20px; height: 20px; }
.lp-umschalter input:focus-visible + label { box-shadow: var(--ring-focus); }
.lp-umschalter input:checked + label,
.lp-umschalter:not(:has(:checked)) [data-geraet="tablet"] + label { background: var(--brand-primary); color: var(--text-on-brand); }
.lp-demo__buehne { display: grid; justify-items: center; align-items: center; min-height: var(--lp-demo-h); }
/* Vergrößern: die Demo legt sich über die Seite und nutzt die volle Fensterhöhe; auf Smartphones zusätzlich echtes Vollbild (landingpage.js) */
.lp-demo__voll { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 48px; padding: 8px 16px; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--surface-card); box-shadow: var(--shadow-sm); font: inherit; font-size: 15px; font-weight: var(--weight-heavy); color: var(--text-muted); cursor: pointer; transition: var(--transition-base); }
.lp-demo__voll:hover { color: var(--brand-primary); background: var(--surface-wash); }
.lp-demo__voll:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.lp-demo__voll .apro-icon { width: 20px; height: 20px; }
.lp-demo__voll [data-aus], .lp-demo--voll .lp-demo__voll [data-an] { display: none; }
.lp-demo--voll .lp-demo__voll [data-aus] { display: inline-flex; }
.lp-demo--voll { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; margin: 0; padding: var(--space-4) var(--space-5); overflow: auto; background: var(--apro-white); --lp-demo-h: min(calc(100svh - 120px), calc((100vw - 48px) * 16 / 9 + 56px)); animation: lp-geraet-quer var(--duration-slow) var(--ease-out); }
.lp-demo--voll .lp-demo__leiste { margin-bottom: var(--space-4); }
.lp-demo--voll .lp-demo__buehne { flex: 1; min-height: 0; }
.lp-demo--voll figcaption { display: none; }
.lp-demo--voll .lp-geraet { max-width: 100%; }
body.lp-voll-offen { overflow: hidden; }
.lp-demo .lp-geraet { width: min(100%, calc((var(--lp-demo-h) - 2 * var(--lp-geraet-rand)) * 1.6 + 2 * var(--lp-geraet-rand))); animation: lp-geraet-quer var(--duration-slow) var(--ease-out); }
/* Smartphone: Hochformat 9:16, gleiche Höhe wie das Tablet */
.lp-demo:has([data-geraet="handy"]:checked) .lp-geraet { --lp-geraet-rand: 10px; width: auto; padding-block: 28px; border-radius: calc(var(--radius-xl) * 2); animation-name: lp-geraet-hoch; }
.lp-demo:has([data-geraet="handy"]:checked) .lp-geraet__kamera { top: 11px; width: 44px; margin-left: -22px; }
.lp-demo:has([data-geraet="handy"]:checked) .lp-geraet__screen { height: calc(var(--lp-demo-h) - 56px); aspect-ratio: 9 / 16; border-radius: var(--radius-lg); }
@keyframes lp-geraet-quer { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes lp-geraet-hoch { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
.lp-demo figcaption { margin-top: var(--space-5); text-align: center; font-size: var(--text-sm); font-style: italic; font-weight: var(--weight-medium); color: var(--text-muted); }
/* --- Nutzen ---------------------------------------------------------------- */
.lp-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.lp-karte { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); transition: var(--transition-base); }
.lp-karte:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-brand); }
.lp-karte h3 { font-size: var(--text-h4); letter-spacing: 0; margin: 0 0 var(--space-2); }
.lp-karte p { font-size: var(--text-body); line-height: var(--leading-relaxed); color: var(--text-muted); margin: 0; }
.apro-icon-tile { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--surface-brand-soft); color: var(--brand-primary); display: grid; place-items: center; margin-bottom: var(--space-4); }
/* --- Listen ----------------------------------------------------------------- */
.lp-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.lp-liste li { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--text-body); color: var(--text-body); line-height: var(--leading-snug); }
.lp-liste .apro-icon { width: 20px; height: 20px; color: var(--brand-primary); margin-top: 1px; }
/* --- Funktionen: Reiter (rein CSS) ------------------------------------------ */
.lp-tabs { position: relative; }
.lp-tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.lp-tabs__leiste { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); /* Build: Spalten je Reiter */ gap: var(--space-2); border-bottom: 1px solid var(--border-subtle); margin-bottom: var(--space-8); }
.lp-tabs__tab { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-3); font-size: var(--text-body-lg); font-weight: var(--weight-heavy); color: var(--text-muted); border-bottom: 3px solid transparent; margin-bottom: -1px; cursor: pointer; transition: var(--transition-base); }
.lp-tabs__tab:hover { color: var(--brand-primary); }
.lp-tabs__nr { font-weight: var(--weight-light); font-size: var(--text-h4); color: var(--brand-secondary); font-variant-numeric: tabular-nums; }
.lp-tabs__panel { display: none; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); align-items: center; animation: lp-einblenden 320ms var(--ease-out); }
.lp-tabs__text h3 { font-size: var(--text-h3); font-weight: var(--weight-light); letter-spacing: var(--tracking-tight); margin: 0 0 var(--space-4); }
.lp-tabs__text .apro-btn { margin-top: var(--space-5); }
.lp-tabs__bild { margin: 0; }
.lp-tabs__bild .lp-bild__rahmen { container-type: inline-size; box-shadow: var(--shadow-xl); border-radius: var(--radius-xl); }
.lp-tabs:has([data-tab="0"]:checked) .lp-tabs__panel--0, .lp-tabs:has([data-tab="1"]:checked) .lp-tabs__panel--1, .lp-tabs:has([data-tab="2"]:checked) .lp-tabs__panel--2, .lp-tabs:has([data-tab="3"]:checked) .lp-tabs__panel--3 { display: grid; }
.lp-tabs:has([data-tab="0"]:checked) .lp-tabs__tab--0, .lp-tabs:has([data-tab="1"]:checked) .lp-tabs__tab--1, .lp-tabs:has([data-tab="2"]:checked) .lp-tabs__tab--2, .lp-tabs:has([data-tab="3"]:checked) .lp-tabs__tab--3 { color: var(--text-strong); border-bottom-color: var(--brand-accent); }
.lp-tabs:has([data-tab="0"]:checked) .lp-tabs__tab--0 .lp-tabs__nr, .lp-tabs:has([data-tab="1"]:checked) .lp-tabs__tab--1 .lp-tabs__nr, .lp-tabs:has([data-tab="2"]:checked) .lp-tabs__tab--2 .lp-tabs__nr, .lp-tabs:has([data-tab="3"]:checked) .lp-tabs__tab--3 .lp-tabs__nr { color: var(--brand-primary); }
/* --- Integration ------------------------------------------------------------ */
.lp-integration__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-9); align-items: center; }
.lp-text { font-size: var(--text-body-lg); line-height: var(--leading-relaxed); color: var(--text-body); margin: 0 0 var(--space-5); }
/* --- Diashow: weicher Zoom + Wechsel, rein CSS ----------------------------- */
.lp-diashow { position: absolute; inset: 0; overflow: hidden; background: var(--apro-ink); }
.lp-diashow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1); animation: lp-dia 27s linear infinite both; }
.lp-diashow img:nth-child(1) { animation-delay: 0s; }
.lp-diashow img:nth-child(2) { animation-delay: 9s; }
.lp-diashow img:nth-child(3) { animation-delay: 18s; }
/* je Bild 9 s: 1,5 s einblenden, dabei durchgehend von 1,0 auf 1,16 zoomen, 1,5 s ausblenden */
@keyframes lp-dia { 0% { opacity: 0; transform: scale(1); } 5.5% { opacity: 1; } 33.3% { opacity: 1; transform: scale(1.14); } 38.9% { opacity: 0; transform: scale(1.16); } 100% { opacity: 0; transform: scale(1); } }
/* dieselbe Taktung, nur ohne Zoom – fuer prefers-reduced-motion */
@keyframes lp-dia-ohne-zoom { 0% { opacity: 0; } 5.5% { opacity: 1; } 33.3% { opacity: 1; } 38.9% { opacity: 0; } 100% { opacity: 0; } }
/* Build: zwei Fotos (18 s, gleiche Taktung je Bild), ein Foto steht still */
.lp-diashow img:nth-child(2):last-child, .lp-diashow img:first-child:nth-last-child(2) { animation-name: lp-dia-2; animation-duration: 18s; }
.lp-diashow img:only-child { animation: none; opacity: 1; }
@keyframes lp-dia-2 { 0% { opacity: 0; transform: scale(1); } 8.3% { opacity: 1; } 50% { opacity: 1; transform: scale(1.14); } 58.3% { opacity: 0; transform: scale(1.16); } 100% { opacity: 0; transform: scale(1); } }
@keyframes lp-dia-2-ohne-zoom { 0% { opacity: 0; } 8.3% { opacity: 1; } 50% { opacity: 1; } 58.3% { opacity: 0; } 100% { opacity: 0; } }
/* 4a · Fotos als Hero-Hintergrund */
.lp-hero--foto { color: var(--text-on-brand); }
.lp-hero--foto::before { background: radial-gradient(60% 55% at 50% 30%, rgba(27,37,54,0.55) 0%, rgba(27,37,54,0) 100%), linear-gradient(180deg, rgba(27,37,54,0.78) 0%, rgba(51,87,141,0.74) 50%, rgba(27,37,54,0.90) 100%); z-index: 1; }
.lp-hero--foto .lp-hero__text { text-shadow: 0 1px 2px rgba(27,37,54,0.45), 0 8px 32px rgba(27,37,54,0.35); }
.lp-hero--foto .lp-diashow img { filter: saturate(0.85); }
.lp-diashow--hintergrund { z-index: 0; }
.lp-hero--foto .lp-hero__grid { z-index: 2; }
.lp-hero--foto .apro-display, .lp-hero--foto .apro-lead, .lp-hero--foto .apro-kpi__value, .lp-hero--foto .apro-kpi__label { color: var(--text-on-brand); }
.lp-hero--foto .apro-lead { opacity: 0.9; }
.lp-hero--foto .apro-eyebrow { color: var(--apro-hellblau); }
.lp-hero__text .apro-eyebrow { display: inline-flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-5); padding: 8px 16px; border-radius: var(--radius-pill); background: var(--brand-primary); color: var(--text-on-brand); font-size: 14px; font-weight: var(--weight-heavy); letter-spacing: var(--tracking-wide); text-transform: uppercase; box-shadow: var(--shadow-brand); text-shadow: none; }
.lp-hero--foto .apro-kpis { border-top-color: rgba(255,255,255,0.25); }
.lp-hero--foto .apro-btn--primary { background: var(--apro-white); color: var(--brand-primary); box-shadow: none; }
.lp-hero--foto .apro-btn--primary:hover { background: var(--apro-hellblau-100); color: var(--brand-primary); }
.lp-hero--foto .apro-btn--outline { color: var(--text-on-brand); border-color: rgba(255,255,255,0.5); }
.lp-hero--foto .apro-btn--outline:hover { background: rgba(255,255,255,0.1); color: var(--text-on-brand); }
/* --- Foto der Kundenstimme ------------------------------------------------ */
.lp-foto__rahmen { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 3 / 2; background: var(--surface-wash); box-shadow: var(--shadow-md); }
.lp-foto__rahmen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 55% 45%; transition: transform 900ms var(--ease-out); }
/* --- Integration: eine Plattform aus zwei oder drei Bausteinen -------------- */
.lp-integration--system .lp-integration__grid { grid-template-columns: 1fr; gap: var(--space-8); }
.lp-integration--system .lp-integration__text { max-width: 760px; }
.lp-plattform { display: flex; /* Build: zwei oder drei Bausteine */ align-items: center; gap: var(--space-5); padding: var(--space-7) var(--space-8); background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }
.lp-plattform__teil { flex: 1 1 0; min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-2); }
.lp-plattform__teil .apro-icon-tile { margin: 0 0 var(--space-2); width: 56px; height: 56px; background: var(--brand-primary); color: var(--text-on-brand); }
.lp-plattform__teil strong { font-weight: var(--weight-heavy); font-size: var(--text-h4); color: var(--text-strong); letter-spacing: 0; }
.lp-plattform__teil small { font-size: var(--text-body); color: var(--text-muted); line-height: var(--leading-snug); max-width: 240px; }
.lp-plattform__plus { font-size: var(--fs-h2); font-weight: var(--weight-light); color: var(--brand-secondary); line-height: 1; }
.lp-plattform__teil--optional .apro-icon-tile { background: var(--surface-brand-soft); color: var(--brand-primary); }
.lp-plattform__badge { display: inline-block; padding: 2px 10px; border-radius: var(--radius-pill); background: var(--surface-brand-soft); color: var(--brand-primary); font-size: var(--text-xs); font-weight: var(--weight-heavy); letter-spacing: var(--tracking-wide); text-transform: uppercase; margin-bottom: var(--space-1); }
/* --- Stimme ---------------------------------------------------------------- */
.lp-stimme { max-width: 880px; margin: 0 auto; text-align: center; }
.lp-stimme--mit-bild { max-width: 1040px; text-align: left; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-8); align-items: center; }
.lp-stimme--mit-bild blockquote { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem); line-height: 1.5; }
.lp-stimme--mit-bild blockquote::before { font-size: 3rem; margin-bottom: var(--space-3); }
.lp-stimme__bild { aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.lp-stimme--mit-bild figcaption { justify-content: flex-start; }
.lp-stimme blockquote { margin: 0 0 var(--space-6); font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); font-weight: var(--weight-light); line-height: 1.45; color: var(--text-strong); text-wrap: balance; }
.lp-stimme blockquote::before { content: "„"; display: block; font-size: 4rem; line-height: 0.6; color: var(--brand-secondary); margin-bottom: var(--space-4); }
.lp-stimme figcaption { display: flex; align-items: center; justify-content: center; gap: 12px; }
.apro-avatar { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: var(--weight-heavy); font-size: 16px; background: var(--brand-secondary); color: var(--apro-white); }
.apro-quote__name { display: block; font-weight: var(--weight-heavy); font-size: 14.5px; color: var(--text-strong); }
.apro-quote__org { font-size: 13px; color: var(--text-muted); }
/* --- FAQ ------------------------------------------------------------------- */
.lp-faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-3); }
.lp-faq details { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); transition: border-color var(--duration-base) var(--ease-out); interpolate-size: allow-keywords; }
.lp-faq details[open] { border-color: var(--border-brand); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); font-weight: var(--weight-heavy); font-size: var(--text-body-lg); color: var(--text-strong); border-radius: var(--radius-lg); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary .apro-icon { color: var(--brand-primary); width: 22px; height: 22px; transition: transform var(--duration-slow) var(--ease-out); }
.lp-faq details[open] summary .apro-icon { transform: rotate(180deg); }
.lp-faq details::details-content { height: 0; overflow: clip; transition: height var(--duration-slow) var(--ease-out), content-visibility var(--duration-slow) allow-discrete; }
.lp-faq details[open]::details-content { height: auto; }
.lp-faq details p { margin: 0; padding: 0 var(--space-5) var(--space-5); line-height: var(--leading-relaxed); color: var(--text-body); }
/* --- CTA / Kontakt: Band mit zwei Knöpfen, dahinter zwei Dialoge ---------------------------------------------
   Das Band bleibt schlank (Eyebrow, Headline, zwei Knöpfe, eine Zeile Hinweis). „Vorführung anfragen“ öffnet den
   Dialog #anfrage mit dem Formular, „Fachhändler vor Ort finden“ den Dialog #partner mit der Postleitzahlsuche
   (landingpage.js 8–10). Ohne JS führen die Knöpfe per Anker zum Dialog, der dann unter dem Band in der Fläche steht. */
.lp-band { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; }
.lp-band__text { flex: 1 1 420px; max-width: 640px; }
.lp-band .apro-eyebrow { color: var(--apro-hellblau); margin-bottom: 12px; }
.lp-band h2 { color: var(--text-on-brand); margin: 0; text-wrap: balance; }
.lp-band__aktionen { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.lp-band__hinweis { margin: 0; font-size: var(--text-sm); color: rgba(255,255,255,0.7); }
.lp-band__hinweis a { white-space: nowrap; color: var(--text-on-brand); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.35); }
.lp-band__hinweis a:hover { border-bottom-color: var(--apro-white); }

/* Dialog: weiße Karte über der Seite */
.lp-ueberlagerung { width: min(620px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: var(--radius-xl); background: var(--surface-card); color: var(--apro-grey-900); box-shadow: var(--shadow-xl); overflow: auto; overscroll-behavior: contain; }
.lp-ueberlagerung::backdrop { background: rgba(27, 37, 54, 0.55); backdrop-filter: blur(3px); }
.lp-ueberlagerung[open] { animation: lp-dialog-auf 240ms var(--ease-out); }
@keyframes lp-dialog-auf { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
body:has(.lp-ueberlagerung[open]) { overflow: hidden; }
.lp-ueberlagerung__kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); padding: var(--space-6) var(--space-6) 0; }
.lp-ueberlagerung__kopf h3 { margin: 0 0 6px; font-size: var(--text-h3); letter-spacing: 0; color: var(--text-strong); }
.lp-ueberlagerung__kopf p { margin: 0; font-size: 15px; line-height: var(--leading-relaxed); color: var(--text-muted); }
.lp-ueberlagerung__zu { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin: -6px -8px 0 0; padding: 0; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--text-muted); cursor: pointer; transition: var(--transition-base); }
.lp-ueberlagerung__zu:hover { background: var(--surface-subtle); color: var(--brand-primary); }
.lp-ueberlagerung__zu:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.lp-ueberlagerung__zu .apro-icon { width: 22px; height: 22px; }
.lp-ueberlagerung__inhalt { padding: var(--space-5) var(--space-6) var(--space-6); }
/* Ohne JS: der angesprungene Dialog steht in der Fläche unter dem Band */
html:not(.lp-js) .lp-ueberlagerung:target { display: block; position: static; margin: var(--space-7) auto 0; }

/* Formular */
.lp-formular__zeile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.lp-formular__zeile--ort { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.lp-formular__feld { display: flex; flex-direction: column; gap: 5px; }
.lp-formular__feld > span { font-size: 13px; font-weight: var(--weight-heavy); letter-spacing: 0.01em; color: var(--text-strong); }
.lp-formular__feld i, .lp-formular__pflicht i { font-style: normal; color: var(--brand-accent); }
.lp-formular__feld input, .lp-formular__feld textarea { width: 100%; padding: 10px 12px; font-family: var(--font-body); font-size: 15px; line-height: 1.4; color: var(--apro-grey-900); background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-md); box-shadow: var(--shadow-inset); transition: var(--transition-base); }
.lp-formular__feld textarea { resize: vertical; min-height: 84px; }
.lp-formular__feld input::placeholder, .lp-formular__feld textarea::placeholder { color: var(--text-subtle); }
.lp-formular__feld input:hover, .lp-formular__feld textarea:hover { border-color: var(--border-strong); }
.lp-formular__feld input:focus-visible, .lp-formular__feld textarea:focus-visible { outline: none; border-color: var(--brand-secondary); box-shadow: var(--ring-focus); }
.lp-formular.lp-geprueft :is(input, textarea):invalid { border-color: var(--apro-rot); }

/* Wunsch: drei Kacheln als Radiogruppe */
.lp-wahl { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.lp-wahl legend { padding: 0; margin-bottom: 5px; font-size: 13px; font-weight: var(--weight-heavy); letter-spacing: 0.01em; color: var(--text-strong); }
.lp-wahl__kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lp-wahl label { position: relative; display: block; cursor: pointer; }
.lp-wahl input { position: absolute; opacity: 0; width: 0; height: 0; }
.lp-wahl label > span { display: flex; flex-direction: column; gap: 1px; height: 100%; padding: 9px 12px; border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--surface-card); transition: var(--transition-base); }
.lp-wahl label > span b { font-size: 14px; font-weight: var(--weight-heavy); color: var(--text-strong); }
.lp-wahl label > span small { font-size: 12px; line-height: 1.35; color: var(--text-muted); }
.lp-wahl label:hover > span { border-color: var(--border-strong); }
.lp-wahl label:has(input:checked) > span { border-color: var(--brand-primary); background: var(--surface-wash); box-shadow: inset 0 0 0 1px var(--brand-primary); }
.lp-wahl label:has(input:focus-visible) > span { box-shadow: var(--ring-focus); }

/* Nachricht nur auf Wunsch */
.lp-formular__mehr { margin-bottom: 14px; }
.lp-formular__mehr summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; font-size: 14px; font-weight: var(--weight-heavy); color: var(--brand-primary); border-radius: var(--radius-sm); }
.lp-formular__mehr summary::-webkit-details-marker { display: none; }
.lp-formular__mehr summary .apro-icon { width: 18px; height: 18px; transition: transform var(--duration-slow) var(--ease-out); }
.lp-formular__mehr[open] summary .apro-icon { transform: rotate(180deg); }
.lp-formular__mehr[open] summary { margin-bottom: 8px; }

/* Häkchen (Datenschutz) */
.lp-formular__haken { position: relative; display: flex; align-items: flex-start; gap: 10px; cursor: pointer; margin-bottom: var(--space-5); font-size: 13px; line-height: 1.5; color: var(--text-muted); }
/* Das echte Feld liegt unsichtbar über dem gezeichneten Kasten, mit seiner Größe: So kann der Browser die Pflichtfeld-Meldung dort anzeigen. */
.lp-formular__haken input { position: absolute; left: 0; top: 0; width: 20px; height: 20px; margin: 0; opacity: 0; cursor: pointer; }
.lp-formular__kasten { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface-card); transition: var(--transition-base); }
.lp-formular__kasten .apro-icon { width: 13px; height: 13px; stroke-width: 3.2; color: var(--apro-white); opacity: 0; }
.lp-formular__haken input:checked + .lp-formular__kasten { border-color: var(--brand-primary); background: var(--brand-primary); }
.lp-formular__haken input:checked + .lp-formular__kasten .apro-icon { opacity: 1; }
.lp-formular__haken input:focus-visible + .lp-formular__kasten { box-shadow: var(--ring-focus); }
.lp-formular.lp-geprueft input:invalid + .lp-formular__kasten { border-color: var(--apro-rot); box-shadow: 0 0 0 3px rgba(229, 46, 19, 0.18); }
.lp-formular.lp-geprueft input:invalid ~ span:last-child { color: var(--apro-rot); }
.lp-formular__haken a { color: var(--text-link); }

/* Honigtopf: für Menschen unsichtbar, für Skripte ein normales Feld */
.lp-formular__falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.lp-formular__fuss { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-3) var(--space-5); }
.lp-formular__pflicht { font-size: 13px; color: var(--text-muted); }
.lp-formular__meldung { margin: var(--space-4) 0 0; padding: 12px 14px; border-radius: var(--radius-md); border: 1px solid var(--apro-orange); background: #fdf1ec; font-size: 14px; line-height: 1.5; color: var(--apro-grey-900); }
.lp-formular[data-sendet-jetzt] .apro-btn { opacity: 0.6; pointer-events: none; }

/* Danke-Zustand ersetzt das Formular im Dialog */
.lp-danke { text-align: center; padding: var(--space-8) var(--space-6); animation: lp-einblenden 320ms var(--ease-out); }
.lp-danke:focus-visible { outline: none; box-shadow: none; }
.lp-danke__symbol { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: var(--space-4); border-radius: 50%; background: var(--surface-brand-soft); color: var(--brand-primary); }
.lp-danke__symbol .apro-icon { width: 30px; height: 30px; stroke-width: 2.5; }
.lp-danke h3 { margin: 0 0 var(--space-2); font-size: var(--text-h3); letter-spacing: 0; color: var(--text-strong); }
.lp-danke p { margin: 0 0 var(--space-5); color: var(--text-muted); line-height: var(--leading-relaxed); }

/* Partnersuche im Dialog */
.lp-plz { display: flex; gap: 10px; }
.lp-plz__feld { flex: 1 1 160px; min-width: 0; min-height: 50px; padding: 12px 16px; font-family: var(--font-body); font-size: 17px; letter-spacing: 0.04em; color: var(--apro-grey-900); background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-md); box-shadow: var(--shadow-inset); transition: var(--transition-base); }
.lp-plz__feld::placeholder { color: var(--text-subtle); letter-spacing: 0; }
.lp-plz__feld:focus-visible { outline: none; border-color: var(--brand-secondary); box-shadow: var(--ring-focus); }
.lp-plz .apro-btn { min-height: 50px; padding-inline: 22px; white-space: nowrap; }
.lp-plz__hinweis { margin: 8px 0 0; font-size: 13px; color: var(--text-muted); }

/* Ergebnis: Karte eines Partners */
.lp-partner { margin-top: var(--space-4); padding: var(--space-5); background: var(--surface-wash); border: 1px solid var(--border-brand); border-radius: var(--radius-lg); animation: lp-einblenden 320ms var(--ease-out); }
.lp-partner__vorspann { display: block; margin-bottom: 6px; font-size: var(--text-xs); font-weight: var(--weight-heavy); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--brand-primary); }
.lp-partner__name { display: block; font-size: var(--text-h4); font-weight: var(--weight-heavy); letter-spacing: 0; color: var(--text-strong); }
.lp-partner__gebiet { display: block; margin-top: 2px; font-size: 13px; color: var(--text-muted); }
.lp-partner__adresse { display: block; margin-top: var(--space-3); font-size: 15px; color: var(--apro-grey-900); }
.lp-partner__kontakt { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; font-size: 15px; }
.lp-partner__kontakt a { color: var(--text-link); }

/* Alle Partner: aufklappbare Liste, ohne JS der einzige Weg */
.lp-partner__alle { margin-top: var(--space-4); }
.lp-partner__alle summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; font-size: 14px; font-weight: var(--weight-heavy); color: var(--brand-primary); border-radius: var(--radius-sm); }
.lp-partner__alle summary::-webkit-details-marker { display: none; }
.lp-partner__alle summary .apro-icon { width: 18px; height: 18px; transition: transform var(--duration-slow) var(--ease-out); }
.lp-partner__alle[open] summary .apro-icon { transform: rotate(180deg); }
.lp-partner__liste { list-style: none; margin: var(--space-3) 0 0; padding: 0; }
.lp-partner__liste li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2px var(--space-4); padding: 10px 0; border-top: 1px solid var(--border-subtle); font-size: 13px; }
.lp-partner__liste .lp-partner__name { grid-column: 1; grid-row: 1; font-size: 15px; }
.lp-partner__liste .lp-partner__adresse { grid-column: 1; grid-row: 2; margin: 0; font-size: 13px; color: var(--text-muted); }
.lp-partner__liste .lp-partner__gebiet { grid-column: 2; grid-row: 1; margin: 0; align-self: center; }
.lp-partner__liste .lp-partner__kontakt { grid-column: 2; grid-row: 2; margin: 0; gap: 2px 12px; font-size: 13px; }

/* Kontaktabschnitt mit Foto (Variante 6a der Vorlage): rechts angeschnitten, sanfter Zoom, Verlauf ins Markenblau */
.lp-cta-foto { position: relative; overflow: hidden; isolation: isolate; padding-block: 96px; }
.lp-cta-foto__bild { position: absolute; inset: 0 0 0 auto; width: 46%; z-index: -1; overflow: hidden; margin: 0; }
.lp-cta-foto__bild img { width: 100%; height: 100%; object-fit: cover; animation: lp-cta-zoom 20s var(--ease-out) infinite alternate; }
.lp-cta-foto__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--surface-brand) 0%, rgba(51,87,141,0.55) 30%, rgba(51,87,141,0) 65%); }
@keyframes lp-cta-zoom { from { transform: scale(1); } to { transform: scale(1.1); } }
.lp-cta-foto .lp-band { flex-direction: column; align-items: flex-start; gap: var(--space-5); }
.lp-cta-foto .lp-band > * { max-width: 52%; }
.lp-cta-foto .lp-band__text { flex: none; }
.lp-cta-foto .lp-band__aktionen { align-items: flex-start; }

/* --- Fuß ------------------------------------------------------------------- */
.apro-footer { background: var(--surface-inverted); color: rgba(255,255,255,0.78); }
.apro-footer__grid { padding-block: 64px 32px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.apro-footer__logo { height: 28px; width: auto; display: block; margin-bottom: 18px; }
.apro-footer__text { font-size: 14px; line-height: var(--leading-relaxed); max-width: 300px; margin: 0; }
.apro-footer__heading { font-size: var(--text-xs); font-weight: var(--weight-heavy); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--apro-white); margin-bottom: 14px; }
.apro-footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.apro-footer a { color: rgba(255,255,255,0.78); font-size: 14px; }
.apro-footer a:hover { color: var(--apro-white); }
.apro-footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-block: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.lp-rechtliches { display: flex; gap: 20px; }
/* --- Bewegung (nur mit JS: html.lp-js) -------------------------------------- */
html.lp-js .lp-reveal { opacity: 0; transform: translateY(18px); transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); }
html.lp-js .lp-reveal.lp-sichtbar { opacity: 1; transform: none; }
html.lp-js .lp-reveal[data-verzoegerung="1"] { transition-delay: 90ms; }
html.lp-js .lp-reveal[data-verzoegerung="2"] { transition-delay: 180ms; }
html.lp-js .lp-reveal[data-verzoegerung="3"] { transition-delay: 270ms; }
html.lp-js .lp-reveal[data-verzoegerung="4"] { transition-delay: 360ms; }
html.lp-js .lp-reveal[data-verzoegerung="5"] { transition-delay: 450ms; }
@keyframes lp-einblenden { from { opacity: 0; } to { opacity: 1; } }
/* --- Schmale Bildschirme --------------------------------------------------- */
@media (max-width: 1024px) {
  .lp-hero__grid, .lp-integration__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .lp-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-tabs__panel { grid-template-columns: 1fr; }
  .lp-tabs__panel { display: none; }
  .lp-tabs:has([data-tab="0"]:checked) .lp-tabs__panel--0, .lp-tabs:has([data-tab="1"]:checked) .lp-tabs__panel--1, .lp-tabs:has([data-tab="2"]:checked) .lp-tabs__panel--2, .lp-tabs:has([data-tab="3"]:checked) .lp-tabs__panel--3 { display: flex; flex-direction: column; align-items: stretch; }
  .lp-tabs__leiste { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-stimme--mit-bild { grid-template-columns: 1fr; }
  .lp-band__aktionen { align-items: flex-start; }
}
@media (max-width: 900px) {
  :root { --lp-section-pad: 56px; }
  html { scroll-padding-top: 72px; }
  .apro-nav { display: none; }
  .lp-menue { display: block; }
  .apro-header__inner .apro-btn { display: none; }
  .lp-hinweise { grid-auto-flow: row; grid-template-columns: 1fr; }
  .apro-footer__grid { grid-template-columns: 1fr 1fr; }
  .lp-cta-foto { padding-block: 0 72px; }
  .lp-cta-foto__bild { position: relative; width: 100%; height: 220px; margin-bottom: var(--space-6); }
  .lp-cta-foto__bild::after { background: linear-gradient(0deg, var(--surface-brand) 0%, rgba(51,87,141,0) 60%); }
  .lp-cta-foto .lp-band > * { max-width: none; }
}
@media (max-width: 600px) {
  .apro-display { font-size: clamp(2rem, 1.4rem + 4vw, 2.75rem); }
  .apro-lead { font-size: var(--text-body-lg); }
  .apro-actions .apro-btn { flex: 1 1 100%; }
  .apro-kpis { gap: 24px; }
  .apro-kpi__value { font-size: 28px; }
  .lp-karten { grid-template-columns: 1fr; }
  .lp-tabs__leiste { grid-template-columns: 1fr; border-bottom: 0; gap: 0; }
  .lp-tabs__tab { border-bottom: 1px solid var(--border-subtle); border-left: 3px solid transparent; padding-left: var(--space-3); }
  .lp-tabs:has([data-tab="0"]:checked) .lp-tabs__tab--0, .lp-tabs:has([data-tab="1"]:checked) .lp-tabs__tab--1, .lp-tabs:has([data-tab="2"]:checked) .lp-tabs__tab--2, .lp-tabs:has([data-tab="3"]:checked) .lp-tabs__tab--3 { border-left-color: var(--brand-accent); border-bottom-color: var(--border-subtle); }
  .lp-plattform { flex-direction: column; align-items: stretch; padding: var(--space-6); gap: var(--space-4); }
  .lp-plattform__plus { text-align: center; }
  .apro-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .lp-band__aktionen { width: 100%; }
  .lp-band .apro-actions { width: 100%; }
  .lp-ueberlagerung__kopf { padding: var(--space-5) var(--space-5) 0; }
  .lp-ueberlagerung__inhalt { padding: var(--space-4) var(--space-5) var(--space-5); }
  .lp-formular__zeile, .lp-formular__zeile--ort, .lp-wahl__kacheln { grid-template-columns: 1fr; }
  .lp-formular__fuss .apro-btn { width: 100%; }
  .lp-plz { flex-direction: column; }
  .lp-plz__feld { flex-basis: auto; }
  .lp-partner__liste li { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
  /* Tablet bleibt Desktop-Ansicht, auch auf dem Smartphone – die Form des Rahmens entscheidet */
  .lp-demo-marke { gap: var(--space-2); padding-left: 16px; }
  .lp-demo-marke__text { display: none; }
  .lp-demo__buehne { min-height: 0; }
  .lp-demo--voll .lp-demo__hinweis { display: none; }
  .lp-demo__hinweis { display: block; text-align: center; }
  .lp-demo__hinweis .lp-puls { display: inline-block; margin-right: var(--space-2); vertical-align: 1px; }
  .lp-umschalter:not(:has(:checked)) [data-geraet="tablet"] + label { background: transparent; color: var(--text-muted); }
  .lp-umschalter:not(:has(:checked)) [data-geraet="handy"] + label { background: var(--brand-primary); color: var(--text-on-brand); }
  .lp-demo:not(:has([data-geraet]:checked)) .lp-geraet { --lp-geraet-rand: 10px; width: auto; padding-block: 28px; border-radius: calc(var(--radius-xl) * 2); animation-name: lp-geraet-hoch; }
  .lp-demo:not(:has([data-geraet]:checked)) .lp-geraet__kamera { top: 11px; width: 44px; margin-left: -22px; }
  .lp-demo:not(:has([data-geraet]:checked)) .lp-geraet__screen { height: calc(var(--lp-demo-h) - 56px); aspect-ratio: 9 / 16; border-radius: var(--radius-lg); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Ueberblendung bleibt, nur der Zoom entfaellt. Hoehere Spezifitaet als die Pauschalregel darunter. */
  .lp-diashow img { animation: lp-dia-ohne-zoom 27s linear infinite both !important; }
  .lp-diashow img:nth-child(1) { animation-delay: 0s !important; }
  .lp-diashow img:nth-child(2) { animation-delay: 9s !important; }
  .lp-diashow img:nth-child(3) { animation-delay: 18s !important; }
  .lp-diashow img:nth-child(2):last-child, .lp-diashow img:first-child:nth-last-child(2) { animation-name: lp-dia-2-ohne-zoom !important; animation-duration: 18s !important; }
  .lp-diashow img:only-child { animation: none !important; opacity: 1; }
  /* Vorschau im Hero: Überblendung bleibt wie bei der Diashow */
  .lp-vorschau__folie { transition: opacity 900ms var(--ease-in-out) !important; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.lp-js .lp-reveal { opacity: 1; transform: none; }
}
/* --- Build: Übersicht der lokalen Vorschau ---------------------------------- */
.lp-uebersicht h1 { margin-bottom: var(--space-5); }
