/* ==========================================================================
   Leistungsseiten B (hell): Smart Home, Videoüberwachung
   Baut auf css/app.css auf. Keine Änderungen am gemeinsamen System.
   ========================================================================== */

/* ---------- Hero Unterseite ---------- */
.lp-hero { position: relative; padding: calc(var(--header-h) + clamp(28px, 4vw, 64px)) 0 clamp(72px, 8vw, 128px); background: var(--white); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: clamp(14px, 2vw, 28px); font-size: .9375rem; color: var(--text-2); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.crumbs a:hover { color: var(--anthracite); text-decoration-color: currentColor; }
.crumbs [aria-current] { color: var(--anthracite); font-weight: 500; }
.lp-copy .h1 { font-size: clamp(2.3rem, 3.2vw + .6rem, 4.25rem); hyphens: manual; }
.lp-copy .lead { margin-top: 24px; max-width: 44ch; }
.lp-copy .btn-row { margin-top: 32px; }
.lp-copy .hero-facts { margin-top: 32px; display: grid; gap: 8px; }

.lp-visual { position: relative; }
.lp-photo { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.lp-schild { position: absolute; z-index: 2; }
@media (max-width: 1020px) {
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-visual { margin-inline: calc(var(--gutter) * -1); }
  .lp-photo { border-radius: 0; box-shadow: none; }
  .lp-schild { position: relative; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; margin: -56px var(--gutter) 0 auto; width: max-content; max-width: min(320px, calc(100% - var(--gutter) * 2)); }
}

/* ---------- Anwendungen (Smart Home) ---------- */
.uses { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 5vw, 72px) clamp(24px, 3.5vw, 56px); align-items: start; }
.use-media { position: relative; }
.use .st-photo { aspect-ratio: 16 / 10; }
.use--big .st-photo > img { object-position: 60% 50%; }
.use .h3 { margin: 24px 0 8px; }
.use p { color: var(--text); max-width: 52ch; }
.use-schild { position: absolute; right: 16px; bottom: 16px; z-index: 2; }
.use-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(20px, 2.5vw, 40px); }
.use-list li { padding-top: 20px; border-top: 1px solid var(--line-2); }
.use-list .h3 { font-size: 1.3rem; margin-bottom: 8px; }
.use-list p { color: var(--text); font-size: 1rem; }
.use-list .link { margin-top: 10px; display: flex; width: max-content; }
@media (max-width: 1100px) { .use-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .uses { grid-template-columns: minmax(0, 1fr); }
  .use-schild { position: relative; right: auto; bottom: auto; margin: -48px 12px 0 auto; width: max-content; max-width: calc(100% - 24px); }
}
@media (max-width: 560px) { .use-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Signatur Smart Home: Szenen-Taster + Raumfoto ---------- */
.scene { background: linear-gradient(var(--white), var(--render)); }
.scene-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "head main" "ctrl main";
  grid-template-rows: auto 1fr;
  gap: clamp(28px, 3vw, 44px) clamp(32px, 5vw, 88px); align-items: start;
}
.scene-head { grid-area: head; }
.scene-head .lead { margin-top: 20px; }
.scene-main { grid-area: main; }
.scene-ctrl { grid-area: ctrl; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px; align-items: end; }

.scene-stage { --tilt: .12; --slats: 0; --shade: #FFF6EA; --glow: .35; --sky: .45; --sat: 1;
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-l); overflow: hidden; background: var(--estrich); isolation: isolate; box-shadow: var(--shadow); }
.scene-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(var(--sat)); transition: filter 1.4s var(--ease-io); }
.scene-stage .sky { position: absolute; inset: 0; background: linear-gradient(180deg, #FFD9A8, #FFE9CC); mix-blend-mode: screen; opacity: var(--sky); transition: opacity 1.4s var(--ease-io); pointer-events: none; }
.scene-stage .sky.w1 { clip-path: polygon(5.2% 35.5%, 31.6% 39.2%, 31.6% 67.2%, 5.2% 70.2%); }
.scene-stage .sky.w2 { clip-path: polygon(32.2% 38.8%, 49.4% 34.2%, 49.4% 70%, 32.2% 68%); }
.scene-stage .blinds { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.scene-stage .blinds g { opacity: var(--slats); transition: opacity .5s var(--ease-io); }
.scene-stage .slat { fill: url(#slat-g); transform-box: fill-box; transform-origin: 50% 0%; transform: scaleY(var(--tilt)); transition: transform .7s var(--ease-io); transition-delay: calc(var(--i, 0) * 16ms); }
.scene-stage .shade { position: absolute; inset: 0; background: var(--shade); mix-blend-mode: multiply; transition: background-color 1.4s var(--ease-io); pointer-events: none; }
.scene-stage .lamps { position: absolute; inset: 0; mix-blend-mode: screen; opacity: var(--glow); transition: opacity 1.4s var(--ease-io); pointer-events: none;
  background:
    radial-gradient(5.5% 6.5% at 50.7% 47%, rgba(255, 226, 180, .7), transparent 75%),
    radial-gradient(9% 10% at 80% 45.5%, rgba(255, 226, 180, .7), transparent 75%),
    radial-gradient(22% 15% at 56% 76%, rgba(255, 186, 112, .6), transparent 72%),
    radial-gradient(26% 16% at 80% 82%, rgba(255, 186, 112, .6), transparent 72%),
    radial-gradient(40% 30% at 66% 62%, rgba(255, 176, 96, .3), transparent 75%);
}
.scene-stage[data-scene="abwesend"] { --tilt: .5; --slats: 1; --shade: #FFFFFF; --glow: 0; --sky: .12; --sat: .72; }
.scene-stage[data-scene="abend"] { --tilt: 1; --slats: 1; --shade: #737B98; --glow: 1; --sky: 0; --sat: 1.1; }
.scene-stage[data-scene="nacht"] { --tilt: 1; --slats: 1; --shade: #262C3F; --glow: 0; --sky: 0; --sat: .8; }

.scene-tag { position: absolute; left: 14px; bottom: 14px; z-index: 3; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--anthracite); font-size: .8125rem; font-weight: 600; box-shadow: 0 0 0 1px var(--line); }
.scene-schild { position: absolute; left: 16px; top: 16px; z-index: 3; width: 292px; max-width: calc(100% - 32px); }
.scene-schild .s-title { transition: opacity .3s; }
.scene-schild .s-temp { margin-top: 6px; font-family: var(--f-display); font-size: 2.25rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; display: flex; align-items: baseline; gap: 2px; flex-wrap: wrap; }
.scene-schild .s-temp small { flex-basis: 100%; margin-top: 4px; font-family: var(--f-text); font-size: .8125rem; font-weight: 500; letter-spacing: 0; color: var(--text-2); }
.scene-schild dd { transition: color .4s; }
.scene-schild dd.is-changed { color: var(--signal-deep); }
.scene-desc { margin-top: 20px; color: var(--text); max-width: 60ch; min-height: 3.2em; }
.scene-desc strong { color: var(--anthracite); font-weight: 600; }
.scene-note { margin-top: 6px; font-size: .875rem; color: var(--text-2); max-width: 60ch; }

/* Taster im Stil eines Loxone Touch: weißes Glas, vier Tastflächen */
.taster {
  position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 300px;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  padding: 10px; border-radius: 14px;
  background: linear-gradient(150deg, #FFFFFF 0%, #F6F5F2 55%, #ECEAE5 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(38, 41, 42, .05), 0 0 0 1px rgba(38, 41, 42, .1), 0 2px 3px rgba(38, 41, 42, .08), 0 28px 44px -24px rgba(38, 41, 42, .45);
}
.taster::before, .taster::after { content: ""; position: absolute; background: rgba(38, 41, 42, .08); pointer-events: none; }
.taster::before { left: 50%; top: 18%; bottom: 18%; width: 1px; }
.taster::after { top: 50%; left: 18%; right: 18%; height: 1px; }
.t-zone { position: relative; display: grid; place-content: center; justify-items: center; gap: 10px; border-radius: 10px; color: var(--text-2); overflow: hidden; transition: color .3s, background-color .3s, transform .3s var(--ease-out); -webkit-tap-highlight-color: transparent; }
.t-zone svg { width: 30px; height: 30px; transition: transform .5s var(--ease-out); }
.t-zone span { font-size: .9375rem; font-weight: 600; }
.t-zone:hover { color: var(--anthracite); background: rgba(38, 41, 42, .03); }
.t-zone:active { transform: scale(.97); }
.t-zone[aria-pressed="true"] { color: var(--anthracite); }
.t-zone[aria-pressed="true"] svg { transform: translateY(-2px); }
.t-led { position: absolute; left: 50%; bottom: 14%; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px; background: rgba(38, 41, 42, .12); transition: background-color .3s, box-shadow .3s; }
.t-zone[aria-pressed="true"] .t-led { background: var(--signal); box-shadow: 0 0 8px rgba(141, 198, 63, .8); }
.t-zone .ripple { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: rgba(141, 198, 63, .35); pointer-events: none; animation: t-ripple .7s var(--ease-out) forwards; }
@keyframes t-ripple { from { transform: scale(0); opacity: 1; } to { transform: scale(18); opacity: 0; } }

.taster-ref img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 40% 50%; border-radius: var(--r); background: var(--estrich); }
.taster-ref figcaption { margin-top: 10px; font-size: .875rem; line-height: 1.45; color: var(--text-2); }

@media (max-width: 1180px) { .scene-ctrl { grid-template-columns: minmax(0, 1fr); } .taster-ref { max-width: 300px; } }
@media (max-width: 900px) {
  .scene-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; grid-template-rows: none; gap: 20px; }
  .scene-head, .scene-main, .scene-ctrl { grid-area: auto; }
  .scene-head { margin-bottom: 12px; }
  .scene-main { display: contents; }
  .scene-stage { order: 1; }
  .scene-ctrl { display: contents; }
  .taster { order: 2; }
  .scene-desc { order: 3; margin-top: 4px; min-height: 0; }
  .scene-note { order: 4; margin-top: -12px; }
  .taster-ref { order: 5; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; max-width: 520px; margin-top: 8px; }
  .taster-ref figcaption { margin: 0; }
  .scene-schild { min-width: 0; padding: 12px 14px 10px; }
  .scene-schild dl { display: none; }
  .scene-schild .s-temp { font-size: 1.75rem; }
}
@media (max-width: 560px) {
  .scene-stage { border-radius: var(--r); }
  .scene-ctrl .taster { max-width: none; aspect-ratio: auto; height: 112px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 1fr; padding: 8px; }
  .taster::before, .taster::after { display: none; }
  .t-zone { gap: 6px; }
  .t-zone + .t-zone { box-shadow: -1px 0 0 rgba(38, 41, 42, .08); border-radius: 0 10px 10px 0; }
  .t-zone svg { width: 26px; height: 26px; }
  .t-zone span { font-size: .8438rem; }
  .t-led { bottom: 8px; }
  .taster-ref { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .scene-schild { width: auto; min-width: 150px; left: 12px; top: 12px; padding: 10px 14px 10px 12px; }
  .scene-schild .s-top { margin-bottom: 4px; }
  .scene-schild .s-top img { display: none; }
  .scene-schild .s-title { font-size: 1.0625rem; }
  .scene-schild .s-temp { font-size: 1.5rem; margin-top: 2px; }
  .scene-schild .s-temp small { display: none; }
}

/* ---------- Produkt-Schiene ---------- */
.rail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 4vw, 56px); }
.rail-head .lead { margin-top: 20px; }
.rail-ctrl { display: flex; gap: 8px; flex: none; }
.rail-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow .3s, opacity .3s, transform .4s var(--ease-out); }
.rail-btn svg { width: 18px; height: 18px; }
.rail-btn:hover { box-shadow: inset 0 0 0 1.5px var(--anthracite); }
.rail-btn:active { transform: scale(.94); }
.rail-btn[aria-disabled="true"] { opacity: .35; cursor: default; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.rail-track {
  display: flex; gap: clamp(12px, 1.5vw, 20px); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px max(var(--gutter), calc((100vw - var(--maxw)) / 2)) 24px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-track:focus-visible { outline-offset: -3px; border-radius: 0; }
.prod { flex: 0 0 clamp(272px, 27vw, 360px); scroll-snap-align: start; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-l); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.prod-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--estrich); }
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); user-select: none; }
.prod-media--cut { background: linear-gradient(180deg, var(--white), var(--render)); }
.prod-media--cut img { object-fit: contain; padding: 10% 18%; }
.prod:hover .prod-media--cut img { transform: scale(1.04); }
.prod-body { padding: 22px 24px 26px; }
.prod-kind { font-size: .875rem; font-weight: 600; color: var(--oak-text); margin-bottom: 6px; }
.prod-body .h3 { margin-bottom: 8px; hyphens: manual; }
.prod-body p { color: var(--text); font-size: 1rem; }
.prod-specs { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.prod-specs li { padding: 5px 10px; border-radius: 999px; background: var(--render); box-shadow: 0 0 0 1px var(--line); font-size: .8438rem; font-weight: 500; font-variant-numeric: tabular-nums; hyphens: manual; }
.rail-foot { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.rail-progress { position: relative; flex: 1 1 200px; max-width: 360px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rail-progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; background: var(--anthracite); border-radius: 2px; }
.rail-foot-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.rail-logo { height: 22px; width: auto; }
.rail-logo--round { height: 32px; }
.rail-badge { padding: 5px 12px; border-radius: 999px; background: linear-gradient(135deg, #F1F1EF, #D9DBDC); box-shadow: inset 0 0 0 1px rgba(38, 41, 42, .12); font-size: .875rem; font-weight: 600; }
@media (max-width: 700px) { .rail-head { flex-direction: column; align-items: flex-start; } .rail-ctrl { display: none; } }

/* ---------- Tabs: Neubau / Sanierung / Nachrüsten ---------- */
.sys-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 16px; background: var(--estrich); margin-bottom: clamp(24px, 3vw, 40px); max-width: 100%; }
.sys-tabs [role="tab"] { min-height: 48px; padding: 0 20px; border-radius: 12px; font-weight: 600; color: var(--text); transition: background-color .3s, color .3s, box-shadow .3s; }
.sys-tabs [role="tab"]:hover { color: var(--anthracite); }
.sys-tabs [role="tab"][aria-selected="true"] { background: var(--white); color: var(--anthracite); box-shadow: 0 1px 2px rgba(38, 41, 42, .08), 0 6px 16px -8px rgba(38, 41, 42, .3); }
.sys-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.sys-panel[hidden] { display: none; }
.sys-panel:focus-visible { outline-offset: 8px; border-radius: var(--r-l); }
.sys-fig { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3; background: var(--estrich); }
.sys-fig img { width: 100%; height: 100%; object-fit: cover; }
.sys-fig--cut { background: linear-gradient(180deg, var(--white), var(--render)); box-shadow: 0 0 0 1px var(--line); }
.sys-fig--cut img { object-fit: contain; padding: 6% 20%; }
.sys-copy .h3 { font-size: clamp(1.5rem, 1.4vw + 1rem, 2.25rem); letter-spacing: -0.025em; }
.sys-sub { margin-top: 12px; color: var(--text); font-size: var(--t-lead); line-height: 1.5; max-width: 40ch; }
.checks { margin-top: 24px; border-top: 1px solid var(--line-2); }
.checks li { display: block; position: relative; padding: 13px 0 13px 34px; border-bottom: 1px solid var(--line); color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: 15px; width: 24px; height: 24px; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%238DC63F' stroke-width='3'%3E%3Cpath d='m5 10.5 3.2 3.2L15 6.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 900px) { .sys-panel { grid-template-columns: minmax(0, 1fr); } .sys-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; } .sys-tabs [role="tab"] { padding: 6px 8px; line-height: 1.2; font-size: .9375rem; } }

/* ---------- Signatur Video: Live-Ansicht im UniFi-Protect-Stil (hell) ---------- */
.live-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.protect { background: var(--white); border-radius: var(--r-l); padding: 10px; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.pr-bar { display: flex; align-items: center; gap: 10px; padding: 6px 8px 12px; }
.pr-bar img { width: 22px; height: 22px; }
.pr-bar strong { font-weight: 600; }
.pr-meta { margin-left: auto; font-size: .875rem; color: var(--text-2); }
.pr-tile { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #0E1011; }
.pr-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zones { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: inset(0% 0% 0% 0%); }
.z-lines polygon { fill: none; stroke: #fff; stroke-width: 1.5; stroke-dasharray: 5 4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.zone-tags { position: absolute; inset: 0; pointer-events: none; }
.zone-tag { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 8px; background: #fff; color: var(--anthracite); font-size: .8125rem; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .5); }
.zone-tag svg { width: 15px; height: 15px; flex: none; color: var(--text-2); }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 36%; opacity: 0; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .16) 85%, rgba(255, 255, 255, .7) 100%); }
.hud { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 5px 9px; border-radius: 7px; background: rgba(14, 16, 17, .72); color: #fff; font-size: .8125rem; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1.3; }
.hud-tl { left: 10px; top: 10px; } .hud-tr { right: 10px; top: 10px; } .hud-bl { left: 10px; bottom: 10px; background: rgba(255, 255, 255, .92); color: var(--anthracite); font-weight: 600; } .hud-br { right: 10px; bottom: 10px; }
.hud .rec { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.hud .rec i { width: 8px; height: 8px; border-radius: 50%; background: #E0442E; animation: blink 1.4s steps(2) infinite; }
.pr-ctrl { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; padding: 14px 8px 12px; }
.pz-switch { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; border-radius: 10px; }
.pz-switch .track { position: relative; width: 46px; height: 28px; border-radius: 999px; background: var(--estrich-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .3s; flex: none; }
.pz-switch .thumb { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .45s var(--ease-out); }
.pz-switch[aria-checked="true"] .track { background: var(--signal); box-shadow: none; }
.pz-switch[aria-checked="true"] .thumb { transform: translateX(18px); }
.pz-note { flex: 1 1 220px; font-size: .875rem; color: var(--text-2); line-height: 1.45; }
.cam-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 4px 0 0; border-top: 1px solid var(--line); padding-top: 10px; }
.cam-list [role="tab"] { display: grid; gap: 6px; padding: 4px; border-radius: 10px; text-align: left; transition: background-color .25s; }
.cam-list .th { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 7px; overflow: hidden; background: #0E1011; }
.cam-list .th img { width: 100%; height: 100%; object-fit: cover; opacity: .72; filter: saturate(.7); transition: opacity .3s, filter .3s, transform .8s var(--ease-out); }
.cam-list .th::after { content: ""; position: absolute; inset: 0; border-radius: 7px; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .3s; }
.cam-list .nm { font-size: .8438rem; font-weight: 600; color: var(--text-2); padding: 0 2px 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cam-list [role="tab"]:hover { background: var(--render); }
.cam-list [role="tab"]:hover .th img { opacity: 1; }
.cam-list [role="tab"][aria-selected="true"] .th img { opacity: 1; filter: none; }
.cam-list [role="tab"][aria-selected="true"] .th::after { box-shadow: inset 0 0 0 2px var(--signal); }
.cam-list [role="tab"][aria-selected="true"] .nm { color: var(--anthracite); }

.dsgvo .h3 { font-size: clamp(1.5rem, 1.2vw + 1rem, 2rem); letter-spacing: -0.025em; margin-bottom: 14px; }
.dsgvo > p { color: var(--text); max-width: 48ch; }
.dsgvo-list { margin-top: 24px; border-top: 1px solid var(--line-2); }
.dsgvo-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.dsgvo-list svg { width: 20px; height: 20px; margin-top: 3px; color: var(--signal-deep); }
.dsgvo-list strong { display: block; font-weight: 600; }
.dsgvo-list span span, .dsgvo-list li > span { color: var(--text); font-size: 1rem; }
.dsgvo-list strong { color: var(--anthracite); }
.dsgvo .btn-row { margin-top: 28px; }
@media (max-width: 1020px) { .live-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .protect { padding: 6px; margin-inline: calc(var(--gutter) * -1 + 8px); }
  .pr-meta { display: none; }
  .hud { font-size: .75rem; padding: 4px 7px; }
  .hud-tr { display: none; }
  .cam-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cam-list::-webkit-scrollbar { display: none; }
  .cam-list [role="tab"] { flex: 0 0 104px; scroll-snap-align: start; }
}

/* ---------- Funktionen + Nachtsicht (dunkle Akzent-Sektion) ---------- */
.fn-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.fn-visual { position: sticky; top: calc(var(--header-h) + 32px); }
.fn-list { border-top: 1px solid var(--line-dusk); }
.fn-list li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line-dusk); }
.fn-val { font-family: var(--f-display); font-size: clamp(1.2rem, .8vw + .9rem, 1.6rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; color: var(--on-dusk); }
.fn-list li > span:last-child { color: var(--on-dusk-2); font-size: 1rem; }
.fn-list strong { display: block; color: var(--on-dusk); font-weight: 600; margin-bottom: 2px; }
.dusk .sec-head .lead { color: var(--on-dusk-2); }
@media (max-width: 900px) { .fn-grid { grid-template-columns: minmax(0, 1fr); } .fn-visual { position: static; } }
@media (max-width: 480px) { .fn-list li { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* ---------- Für wen ---------- */
.aud { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 72px); border-top: 1px solid var(--line-2); }
.aud li { display: grid; grid-template-columns: minmax(0, 1fr) 132px; grid-template-areas: "t f" "p f"; gap: 6px 24px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.aud .h3 { grid-area: t; hyphens: manual; }
.aud p { grid-area: p; color: var(--text); max-width: 46ch; }
.aud figure { grid-area: f; text-align: center; }
.aud figure img { width: 132px; height: 92px; object-fit: contain; border-radius: 12px; background: linear-gradient(180deg, var(--white), var(--render)); box-shadow: 0 0 0 1px var(--line); padding: 8px 14px; }
.aud figcaption { margin-top: 6px; font-size: .8125rem; white-space: nowrap; color: var(--text-2); line-height: 1.3; }
@media (max-width: 900px) { .aud { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .aud li { grid-template-columns: minmax(0, 1fr) 96px; gap: 6px 14px; } .aud figure img { width: 96px; height: 72px; padding: 6px 10px; } .aud figcaption { white-space: normal; } }

/* ---------- Abschluss mit Ansprechpartner ---------- */
.close-photo--person { aspect-ratio: 4 / 5; max-width: 460px; justify-self: end; width: 100%; }
.close-photo--person img { object-position: 50% 20%; }
@media (max-width: 900px) { .close-photo--person { justify-self: start; max-width: 400px; } }
.scene-stage.no-trans, .scene-stage.no-trans * { transition: none !important; }

.forest .checks li::before { background-color: var(--signal); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2312392B' stroke-width='3'%3E%3Cpath d='m5 10.5 3.2 3.2L15 6.5'/%3E%3C/svg%3E"); }
.forest .checks li::before { background-color: transparent; box-shadow: inset 0 0 0 1.5px var(--signal); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%238DC63F' stroke-width='3'%3E%3Cpath d='m5 10.5 3.2 3.2L15 6.5'/%3E%3C/svg%3E"); }
