/* Startseite: feste Bühne mit echter Web-Version und App, kurze Kapitel, Einbau in drei Schritten, Box, Mieten. */

/* Bühne: links Kapitel, rechts die Geräte, die beim Scrollen stehen bleiben */
.buehne-abschnitt { position: relative; }
.buehne-abschnitt::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(60% 45% at 75% 18%, var(--schein), transparent 70%), radial-gradient(40% 30% at 10% 0%, color-mix(in srgb, var(--knopf) 10%, transparent), transparent 70%); }
.buehne-raster { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); }
.kapitel-spalte { min-width: 0; }
.kapitel { min-height: 76vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.kapitel:not(.an) :is(h2, p, .marke) { color: var(--leise); transition: color .45s ease; }
.kapitel:not(.an) .knopf { opacity: .7; }
.kapitel.an { opacity: 1; }
.kapitel h2 { font-size: clamp(34px, 3.6vw, 52px); }
.kapitel p:not(.marke) { color: var(--mittel); font-size: calc(var(--grund) + 2px); max-width: 24em; }
.kapitel .knopf { align-self: flex-start; }
.kopf-kapitel { min-height: calc(100svh - 66px); gap: 24px; padding-block: 24px 48px; opacity: 1; }
.kopf-kapitel h1 { font-size: clamp(42px, 4.5vw, 70px); line-height: .94; }
.kopf-kapitel h1 .zwei { display: inline-flex; align-items: flex-end; gap: .14em; white-space: nowrap; }
.hero-unter { font-size: clamp(18px, 1.6vw, 22px); color: var(--mittel); max-width: 22em; }
.phasen { display: inline-flex; align-items: flex-end; gap: .07em; height: .74em; margin-bottom: .06em; }
.phasen i { display: block; width: .15em; border-radius: .03em; background: var(--l1); height: 60%; animation: balken 2.4s ease-in-out infinite; }
.phasen i:nth-child(2) { background: var(--l2); animation-delay: -.8s; height: 85%; }
.phasen i:nth-child(3) { background: var(--l3); animation-delay: -1.6s; height: 45%; }
@keyframes balken { 0%, 100% { height: 45%; } 30% { height: 95%; } 60% { height: 62%; } }
.live { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font: 500 13.5px/1.4 var(--f-zahl); color: var(--leise); }
.live b { color: var(--text); font-weight: 500; }
.punkt { display: inline-block; vertical-align: middle; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--knopf); animation: puls 2s infinite; }
.live[data-stand="alt"] .punkt { background: var(--leise); animation: none; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--knopf) 60%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.buehne-fest { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 82px); height: calc(100svh - 104px); min-height: 520px; display: grid; place-items: center; }
.buehne-geraete { position: relative; width: 100%; max-width: 920px; padding: 0 9% 9% 0; }
.buehne-geraete .pc-rahmen { width: 100%; }
.buehne-geraete .handy-rahmen { position: absolute; right: 0; bottom: 0; width: 25%; }
.buehne-geraete:not(.bedienbar) iframe, .live-geraet.einzeln:not(.bedienbar) iframe { pointer-events: none; }
.live-geraet.einzeln:not(.bedienbar) { cursor: pointer; }
.einzeln-knopf { position: absolute; z-index: 6; left: 50%; bottom: 3%; transform: translateX(-50%); white-space: nowrap; padding: 9px 14px; border-radius: 999px; border: 1px solid #2E403C;
  background: rgba(12,19,17,.82); color: #EEF3F0; font: 600 12.5px/1 var(--f-text); cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.live-geraet.einzeln.bedienbar .einzeln-knopf { opacity: .55; }
.buehne-geraete:not(.bedienbar) .live-geraet { cursor: pointer; }
.selbst-knopf { position: absolute; z-index: 6; left: 40%; bottom: 0; transform: translate(-50%, 50%); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  padding: 11px 16px; border-radius: 999px; border: 1px solid var(--linie-stark); background: var(--glas); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--text); font: 600 13.5px/1 var(--f-text); cursor: pointer; box-shadow: var(--schatten); }
.selbst-knopf:hover { border-color: var(--akzent); }
.bedienbar .selbst-knopf { border-color: var(--akzent); }

/* Gerät: echte App im Rahmen, verkleinert auf Rahmenbreite */
.live-geraet { position: relative; max-width: 100%; background: #020303; }
.handy-rahmen { aspect-ratio: 390 / 844; border-radius: 13% / 6%; border: 3px solid #26302E; box-shadow: 0 0 0 6px #0B100F, 0 30px 70px rgba(0,0,0,.55); }
.handy-rahmen::after { content: ""; position: absolute; top: 1.2%; left: 50%; width: 28%; height: 2.6%; transform: translateX(-50%); border-radius: 999px; background: #000; z-index: 3; pointer-events: none; }
.pc-rahmen { aspect-ratio: 1280 / 832; border-radius: 14px; border: 1px solid #26302E; box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.03); }
.leiste-pc { display: flex; align-items: center; gap: 7px; height: 32px; padding-inline: 14px; border-bottom: 1px solid #1B2523; background: #0B1110; border-radius: 13px 13px 0 0; }
.leiste-pc i { width: 9px; height: 9px; border-radius: 50%; background: #26302E; }
.leiste-pc span { margin-inline: auto; font: 500 11px/1 var(--f-zahl); color: #8B9893; background: #111917; border: 1px solid #1E2A28; border-radius: 999px; padding: 5px 14px; }
.live-inhalt { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.pc-rahmen .live-inhalt { top: 32px; border-radius: 0 0 13px 13px; }
.live-inhalt img.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .6s ease; }
.live-inhalt iframe { position: absolute; left: 0; top: 0; border: 0; max-width: none; transform-origin: 0 0; background: #020303; opacity: 0; transition: opacity .6s ease; }
.live-geraet.bereit iframe { opacity: 1; }
.live-geraet.bereit img.poster { opacity: 0; }
.live-zustand { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); z-index: 4; display: grid; justify-items: center; gap: 8px; width: 86%; text-align: center; font: 600 12.5px/1.4 var(--f-text); color: #DDE5E1; text-shadow: 0 1px 8px #000; }
.live-geraet.bereit .live-zustand { display: none; }
.lade-punkte { display: inline-flex; gap: 5px; }
.lade-punkte i { width: 7px; height: 7px; border-radius: 50%; background: #31FF3F; animation: lade 1.2s ease-in-out infinite; }
.lade-punkte i:nth-child(2) { animation-delay: .15s; } .lade-punkte i:nth-child(3) { animation-delay: .3s; }
@keyframes lade { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }
.live-geraet.ersatz .lade-punkte { display: none; }
.handy-rahmen .live-zustand { font-size: 11px; }

@media (max-width: 999px) {
  .buehne-raster { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .kapitel-spalte { display: contents; }
  .kopf-kapitel { order: 0; min-height: 0; padding-block: 28px 32px; }
  .buehne-fest { order: 1; top: calc(env(safe-area-inset-top, 0px) + 64px); height: 58svh; min-height: 380px; z-index: 2; padding-block: 10px 26px;
    background: linear-gradient(180deg, var(--bg) 86%, transparent); }
  .kapitel:not(.kopf-kapitel) { order: 2; min-height: 48svh; justify-content: flex-start; padding-top: 4svh; }
  .buehne-geraete { padding: 0; height: 100%; display: grid; place-items: center; }
  .buehne-geraete .pc-rahmen { display: none; }
  .buehne-geraete .handy-rahmen { position: relative; width: auto; height: calc(100% - 24px); }
  .selbst-knopf { left: 50%; bottom: 8px; transform: translate(-50%, 50%); }
}

/* Einbau: große Animation, drei Schritte, läuft von selbst */
.kopf-block.mitte { margin-inline: auto; text-align: center; justify-items: center; }
.einbau-raster { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.einbau-schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.einbau-schritte li { counter-increment: s; }
.einbau-schritte li > button { width: 100%; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 16px; align-items: center; text-align: left; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--linie); background: var(--flaeche); color: var(--text); font: inherit; transition: border-color .3s, transform .3s; cursor: pointer; }
.einbau-schritte li > button::before { content: counter(s); grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 800 20px/1 var(--f-anzeige); background: var(--flaeche-2); border: 1px solid var(--linie-stark); }
.einbau-schritte li b { font: 800 22px/1.1 var(--f-anzeige); }
.einbau-schritte li span { color: var(--mittel); font-size: 15.5px; }
.einbau-schritte li:not(.an) :is(b, span) { color: var(--leise); }
.einbau-schritte li.an > button { border-color: var(--akzent); transform: translateX(-6px); }
.einbau-schritte li.an > button::before { background: var(--knopf); color: var(--knopf-text); border-color: var(--knopf); }
@media (max-width: 900px) { .einbau-raster { grid-template-columns: minmax(0, 1fr); } .einbau-schritte li.an > button { transform: none; } }

.einbau-bild { width: 100%; height: auto; }
.einbau-bild .schrank { fill: var(--flaeche); stroke: var(--linie-stark); stroke-width: 2; }
.einbau-bild .leiter { stroke-width: 10; stroke-linecap: round; }
.einbau-bild .l1 { stroke: var(--l1); } .einbau-bild .l2 { stroke: var(--l2); } .einbau-bild .l3 { stroke: var(--l3); } .einbau-bild .n { stroke: var(--nl); }
.einbau-bild .schild { fill: var(--text); font: 700 16px var(--f-anzeige); text-anchor: middle; }
.einbau-bild .fluss line { stroke: var(--flaeche); stroke-width: 3; stroke-dasharray: 2 26; animation: fliessen 1.1s linear infinite; opacity: 0; transition: opacity .6s; }
@keyframes fliessen { to { stroke-dashoffset: -28; } }
.einbau-bild .w ellipse { fill: none; stroke-width: 7; }
.einbau-bild .w1 ellipse { stroke: var(--l1); } .einbau-bild .w2 ellipse { stroke: var(--l2); } .einbau-bild .w3 ellipse { stroke: var(--l3); }
.einbau-bild .w { transform: translateX(-140px); opacity: 0; transition: transform .9s cubic-bezier(.2,.9,.2,1), opacity .5s; }
.einbau-bild .w2 { transition-delay: .12s; } .einbau-bild .w3 { transition-delay: .24s; }
.einbau-bild .li { fill: none; stroke-width: 3; stroke-dasharray: 7 6; opacity: 0; transition: opacity .8s ease .5s; }
.einbau-bild .lu { fill: none; stroke-width: 3; stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 1.2s ease .2s; }
.einbau-bild .klemme { fill: var(--text); opacity: 0; transition: opacity .4s 1s; }
.einbau-bild .box-koerper { fill: #121212; stroke: #2A3533; stroke-width: 2; }
.einbau-bild .box-band { fill: #31FF3F; }
.einbau-bild .box-schrift { fill: #EEF3F0; font: 900 30px var(--f-anzeige); text-anchor: middle; }
.einbau-bild .box-schrift tspan { fill: #31FF3F; }
.einbau-bild .anschluesse circle { stroke: #000; stroke-width: 2; }
.einbau-bild .a1 { fill: #87FA70; } .einbau-bild .a2 { fill: #F59E0B; } .einbau-bild .a3 { fill: #39F6CA; } .einbau-bild .an { fill: #9AA6A2; }
.einbau-bild .led { fill: #1D2523; }
.einbau-bild .funk .welle { fill: none; stroke: #F59E0B; stroke-width: 3; stroke-linecap: round; opacity: 0; }
.einbau-bild .live-schild { opacity: 0; transform: translateY(14px); transition: all .6s ease .4s; }
.einbau-bild .live-schild rect { fill: var(--flaeche); stroke: var(--akzent); }
.einbau-bild .ls-k { fill: var(--leise); font: 500 12px var(--f-zahl); }
.einbau-bild .ls-w { fill: var(--akzent); font: 600 22px var(--f-zahl); }
.einbau-bild:not([data-e="0"]) .w { transform: none; opacity: 1; }
.einbau-bild:not([data-e="0"]) .li { opacity: 1; }
.einbau-bild[data-e="2"] .lu, .einbau-bild[data-e="3"] .lu { stroke-dashoffset: 0; }
.einbau-bild[data-e="2"] .klemme, .einbau-bild[data-e="3"] .klemme { opacity: 1; }
.einbau-bild[data-e="3"] .fluss line { opacity: 1; }
.einbau-bild[data-e="3"] .led-gruen { fill: #31FF3F; filter: drop-shadow(0 0 6px #31FF3F); animation: led-puls 2s steps(1) infinite; }
.einbau-bild[data-e="3"] .led-gelb { animation: led-blitz 1s linear infinite; }
.einbau-bild[data-e="3"] .welle { animation: welle 1.8s ease-out infinite; }
.einbau-bild[data-e="3"] .welle.w2 { animation-delay: .3s; } .einbau-bild[data-e="3"] .welle.w3 { animation-delay: .6s; }
.einbau-bild[data-e="3"] .live-schild { opacity: 1; transform: none; }
@keyframes led-puls { 0% { fill: #31FF3F; } 90% { fill: #1D2523; } }
@keyframes led-blitz { 0%, 10% { fill: #FFC21A; } 14%, 100% { fill: #1D2523; } }
@keyframes welle { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }

/* Box */
.box { overflow: hidden; }
.box-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.box-bild { position: relative; display: grid; place-items: center; }
.box-bild::before { content: ""; position: absolute; inset: 0 -6%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--knopf) 30%, transparent), color-mix(in srgb, var(--netz) 10%, transparent) 55%, transparent 74%); filter: blur(10px); }
.box-bild img { position: relative; width: 100%; max-width: 520px; filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); }
.box-text { display: grid; gap: 26px; min-width: 0; }
.fakten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.fakten div { padding: 18px 18px 20px; border-radius: 18px; background: var(--flaeche); border: 1px solid var(--linie); display: grid; gap: 6px; }
.fakten dt { font: 600 11px/1.3 var(--f-tech); letter-spacing: .1em; text-transform: uppercase; color: var(--leise); }
.fakten dd { margin: 0; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; color: var(--akzent); }
@media (max-width: 900px) { .box-raster { grid-template-columns: minmax(0, 1fr); } .box-bild img { max-width: 320px; } }

/* Mieten */
.mieten { background: var(--flaeche-2); }
.hero-preis { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14.5px; color: var(--mittel); }
.hero-preis a { color: var(--text); font-weight: 700; text-underline-offset: 3px; }
.hero-preis span::before { content: "✓ "; color: var(--akzent); font-weight: 800; }
.mehr-schritte li b em { font: 500 14px var(--f-zahl); font-style: normal; color: var(--akzent); margin-left: 6px; white-space: nowrap; }
.rechner { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 32px); padding: clamp(20px, 3vw, 36px); border-radius: 26px; background: var(--flaeche); border: 1px solid var(--linie-stark); box-shadow: var(--schatten); }
.rechner-wahl, .rechner-ergebnis { display: grid; gap: 14px; align-content: start; min-width: 0; }
.rechner-summe { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.rechner-summe b { font-size: clamp(40px, 6vw, 64px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.rechner-summe span { color: var(--mittel); }
.rechner-rechnung { color: var(--mittel); font-size: 15px; }
.rechner-tipp { min-height: 1.5em; font-weight: 600; color: var(--akzent); }
.vorteile { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.vorteile li { display: grid; gap: 2px; padding: 16px 18px; border-radius: 16px; background: var(--flaeche); border: 1px solid var(--linie); }
.vorteile b { font: 800 18px/1.2 var(--f-anzeige); }
.vorteile span { color: var(--mittel); font-size: 14.5px; }
.mieten-klein { margin-top: 16px; max-width: 70em; }
.mehr-knoepfe { margin-top: 18px; justify-content: center; }
.einbau-wlan { margin-top: 18px; text-align: center; }
.rechner-anruf { font-size: 14.5px; color: var(--mittel); }
.rechner-anruf a { color: var(--text); font-weight: 600; }
.beratung { margin-top: 26px; border-top: 1px solid var(--linie); padding-top: 18px; }
.beratung summary { cursor: pointer; font: 700 18px var(--f-anzeige); padding: 8px 0; }
.beratung[open] summary { margin-bottom: 14px; }
@media (max-width: 900px) { .rechner { grid-template-columns: minmax(0, 1fr); } .vorteile { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Mehr Boxen: jede Box gibt einem Stromkreis einen Namen; darunter der Kreislauf */
:root { --k-rosa: #FF7AB6; --k-lila: #B392FF; }
:root[data-theme="light"] { --k-rosa: #C2276B; --k-lila: #6B47D6; }
.mehr-raster { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.mehr-bild { margin: 0; display: grid; gap: 18px; padding: clamp(16px, 3vw, 32px); border-radius: 26px; background: var(--flaeche); border: 1px solid var(--linie-stark); box-shadow: var(--schatten); }
.mehr-kopf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mehr-kopf div { display: grid; gap: 6px; }
.mehr-kopf b { font-size: clamp(22px, 3vw, 34px); font-weight: 600; }
#mehrAnteil { color: var(--akzent); }
.mehr-summe { position: relative; display: flex; height: 44px; border-radius: 12px; overflow: hidden; }
.mehr-summe i { position: relative; flex: 0 0 calc(var(--a) * 1%); background: var(--f); }
.mehr-summe i::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, var(--nl) 0 8px, var(--linie-stark) 8px 16px); transition: opacity .7s; }
.mehr-summe i.benannt { box-shadow: inset -2px 0 0 var(--flaeche); }
.mehr-summe i.benannt::before { opacity: 0; }
.mehr-summe .frage { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 800 18px var(--f-anzeige); color: var(--text); transition: opacity .5s; }
.mehr-bild[data-m="3"] .mehr-summe .frage { opacity: 0; }
.kreise { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kreis { display: grid; grid-template-columns: 22px minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--flaeche-2); border: 1px solid var(--linie); transition: border-color .5s; }
.kreis.haupt { grid-template-columns: 22px minmax(0, 1fr) auto; }
.kreis.haupt .k-wert { min-width: 0; }
.kreis.benannt { border-color: color-mix(in srgb, var(--f) 45%, var(--linie)); }
.k-box { position: relative; width: 22px; height: 22px; border-radius: 6px; background: #121212; border: 1px solid #2A3533; overflow: hidden; opacity: .3; transition: opacity .5s, box-shadow .5s; }
.k-box::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; background: #31FF3F; }
.kreis.benannt .k-box, .mehr-bild:not([data-m="0"]) .haupt .k-box { opacity: 1; box-shadow: 0 0 12px rgba(49, 255, 63, .45); }
.k-name { min-width: 0; font-weight: 600; overflow-wrap: break-word; hyphens: auto; }
.k-name em { font-style: normal; font-weight: 500; color: var(--leise); }
.kreis:not(.benannt):not(.haupt) .k-name b, .kreis.benannt .k-name em { display: none; }
.k-balken { height: 10px; border-radius: 6px; background: var(--linie); overflow: hidden; }
.k-balken i { display: block; height: 100%; width: calc(var(--a) * 1%); min-width: 6px; border-radius: 6px; background: var(--f); transform-origin: left; transform: scaleX(0); transition: transform .9s cubic-bezier(.2, .9, .2, 1); }
.kreis.benannt .k-balken i { transform: none; }
.k-wert { font-size: 13.5px; color: var(--mittel); white-space: nowrap; min-width: 14.5ch; text-align: right; }
.kreis:not(.benannt):not(.haupt) .k-wert { visibility: hidden; }
.mehr-hinweis { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--gelb) 55%, transparent); background: color-mix(in srgb, var(--gelb) 10%, var(--flaeche)); opacity: 0; transform: translateY(12px); transition: opacity .5s ease .5s, transform .5s ease .5s; }
.mehr-hinweis[aria-hidden="false"] { opacity: 1; transform: none; }
.mehr-hinweis p { display: grid; gap: 4px; min-width: 0; }
.mehr-hinweis p span { color: var(--mittel); font-size: 14.5px; }
.h-punkt { flex: none; width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; background: var(--gelb); animation: puls-gelb 1.8s infinite; }
@keyframes puls-gelb { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gelb) 60%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.mehr-quelle { margin-top: 20px; max-width: 62em; }
.kreislauf { margin-top: clamp(56px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.kl-bild { width: 100%; max-width: 440px; height: auto; justify-self: center; }
.kl-ring { fill: none; stroke: var(--linie-stark); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }
.kl-pfeile path { fill: none; stroke: var(--leise); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.kl-dreh { transform-box: view-box; transform-origin: 50% 50%; transition: transform 1.1s cubic-bezier(.5, 0, .3, 1); }
.kl-dreh circle { fill: var(--knopf); filter: drop-shadow(0 0 8px var(--knopf)); }
.kl-punkt circle { fill: var(--flaeche); stroke: var(--linie-stark); stroke-width: 2; transition: stroke .4s .8s, fill .4s .8s; }
.kl-punkt text { fill: var(--mittel); font: 800 16px var(--f-anzeige); text-anchor: middle; transition: fill .4s .8s; }
.kl-punkt.an circle { stroke: var(--akzent); stroke-width: 3; fill: color-mix(in srgb, var(--akzent) 16%, var(--flaeche)); }
.kl-punkt.an text { fill: var(--text); }
.kl-mitte-1 { fill: var(--text); font: 900 26px var(--f-anzeige); text-anchor: middle; letter-spacing: -.02em; }
.kl-mitte-2 { fill: var(--leise); font: 600 12px var(--f-tech); text-anchor: middle; letter-spacing: .08em; }
.kl-text { display: grid; gap: 14px; }
.kl-liste { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.kl-liste li { display: grid; gap: 2px; padding: 10px 16px; border-left: 3px solid var(--linie-stark); transition: border-color .4s .8s; }
.kl-liste li:not(.an) :is(b, span) { color: var(--leise); }
.kl-liste li b { font: 800 18px/1.2 var(--f-anzeige); }
.kl-liste li span { color: var(--mittel); font-size: 15px; }
.kl-liste li.an, .kreislauf.ruhig .kl-liste li { border-color: var(--akzent); }
.kreislauf.ruhig .kl-liste li :is(b, span) { color: inherit; }
.kreislauf.ruhig .kl-liste li span { color: var(--mittel); }
@media (max-width: 900px) { .mehr-raster, .kreislauf { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .kreis { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 6px 10px; }
  .kreis[data-ab] .k-name { grid-row: 1; grid-column: 2 / -1; }
  .kreis[data-ab] .k-balken { grid-row: 2; grid-column: 2; }
  .kreis[data-ab] .k-wert { grid-row: 2; grid-column: 3; min-width: 0; font-size: 12.5px; }
  .mehr-kopf { grid-template-columns: repeat(3, auto); justify-content: space-between; }
  .mehr-kopf b { font-size: 20px; white-space: nowrap; }
}

/* Echte App auf der App-Seite */
.app-demo { justify-items: center; padding-bottom: 20px; }
.app-demo .live-geraet { width: min(340px, 100%); }
