/* Schulungsdeck PV und Wärmepumpe. Stil C: isometrische Zeichnungen, warmes Weiß, dunkle Akzentflächen. */
.schulung .folie { background: var(--weiss); }
.schulung .folie.dunkel { background: var(--schwedenblau); }
.schulung .innen { display: flex; flex-direction: column; padding: 70px 96px 104px; }
.schulung .fuss { left: 96px; right: 96px; bottom: 34px; font-size: 13px; }
.fuss-rechts { display: flex; align-items: center; gap: 26px; }
.fuss-quelle { max-width: 1000px; line-height: 1.35; }

/* Kopf jeder Inhaltsfolie */
.k .dachzeile { margin-bottom: 14px; color: var(--uferblau); }
.dunkel .k .dachzeile { color: var(--messing-hell); }
.k h2 { font-size: 52px; line-height: 1.04; max-width: 1360px; }
.k h2.lang { font-size: 46px; }
.k .fliess { font-size: 22px; margin-top: 16px; max-width: 1150px; }
.rumpf { flex: 1; min-height: 0; margin-top: 34px; position: relative; display: flex; flex-direction: column; justify-content: center; }
.rumpf > .zwei, .rumpf > .bild { flex: 1; min-height: 0; }

/* Raster */
.zwei { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); gap: 48px; height: 100%; }
.zwei.l { grid-template-columns: 1.25fr 1fr; }
.zwei.r { grid-template-columns: 1fr 1.25fr; }
.drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.vier { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fuenf { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.mitte { display: flex; flex-direction: column; justify-content: center; }
.bild { width: 100%; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; }
.bild svg { width: 100%; height: 100%; }
.bild.klein svg { max-height: 300px; }

/* Große Zahlen */
.zahl b { display: block; font: 900 84px/1 var(--kopf); letter-spacing: -.04em; color: var(--schwedenblau); }
.zahl b small { font-size: .45em; letter-spacing: -.01em; margin-left: 4px; }
.zahl span { display: block; margin-top: 12px; font-size: 20px; line-height: 1.4; color: var(--tinte-leise); max-width: 22em; }
.zahl.gold b { color: var(--messing-tief); }
.zahl.mittel b { font-size: 64px; }
.dunkel .zahl b { color: var(--hell); }
.dunkel .zahl.gold b { color: var(--messing-hell); }
.dunkel .zahl span { color: var(--hell-leise); }
.zahlreihe { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 40px; border-top: 2px solid var(--linie-dunkel); padding-top: 28px; }

/* Karten */
.karte { background: var(--papier); border-radius: 18px; padding: 26px 26px 24px; position: relative; }
.karte h3 { font-size: 25px; margin-bottom: 10px; }
.karte p, .karte li { font-size: 18px; line-height: 1.45; color: var(--tinte-leise); margin: 0; }
.karte ul { margin: 6px 0 0; padding-left: 20px; }
.karte .ic { width: 34px; height: 34px; color: var(--messing-tief); margin-bottom: 14px; display: block; }
.karte.dunkel-k { background: var(--schwedenblau); color: var(--hell); }
.karte.dunkel-k h3 { color: var(--hell); }
.karte.dunkel-k p, .karte.dunkel-k li { color: var(--hell-leise); }
.karte.rand { background: transparent; border: 2px solid var(--papier-tief); }
.karte.gold-k { background: #f3ead6; }
.karte .marke { margin-top: 12px; }
.nrk { position: absolute; top: 22px; right: 24px; font: 800 15px var(--kopf); color: var(--messing-tief); letter-spacing: .06em; }

/* Listen */
.liste { list-style: none; margin: 0; padding: 0; }
.liste li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 12px 0; border-top: 1.5px solid var(--linie-dunkel); font-size: 20px; line-height: 1.42; color: var(--tinte-leise); }
.liste li:first-child { border-top: 0; }
.liste li b { color: var(--schwedenblau); font-weight: 800; }
.liste .ic { width: 26px; height: 26px; color: var(--messing-tief); margin-top: 1px; }
.liste.eng li { padding: 8px 0; font-size: 18px; }
.dunkel .liste li { border-color: var(--linie-hell); color: var(--hell-leise); }
.dunkel .liste li b { color: var(--hell); }
.dunkel .liste .ic { color: var(--messing-hell); }
.punkte { margin: 0; padding-left: 22px; }
.punkte li { font-size: 20px; line-height: 1.45; color: var(--tinte-leise); margin: 6px 0; }
.punkte li::marker { color: var(--messing); }

/* Tabellen */
.tab { width: 100%; border-collapse: collapse; font-size: 18px; }
.tab th { text-align: left; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--tinte-leise); font-weight: 700; padding: 0 16px 12px 0; border-bottom: 2px solid var(--schwedenblau); }
.tab td { padding: 12px 16px 12px 0; border-bottom: 1.5px solid var(--linie-dunkel); color: var(--tinte-leise); vertical-align: top; line-height: 1.38; }
.tab td:first-child { color: var(--schwedenblau); font-weight: 800; }
.tab tr.hervor td { background: #f6efdf; }
.tab tr.hervor td:first-child { box-shadow: inset 4px 0 0 var(--messing); padding-left: 12px; }
.tab.klein { font-size: 16px; }
.tab.klein td { padding: 9px 14px 9px 0; }
.tab .r { text-align: right; }
.tab .ja { color: #3d7a4f; font-weight: 800; }

/* Hinweis */
.hinweis { border-left: 4px solid var(--messing); background: #f6efdf; padding: 18px 22px; border-radius: 0 14px 14px 0; font-size: 19px; line-height: 1.45; color: var(--schwedenblau); }
.hinweis b { font-weight: 800; }
.hinweis.blau { border-color: var(--uferblau); background: #e8eef4; }
.dunkel .hinweis { background: rgba(196, 162, 101, .12); color: var(--hell); }
.satz { font: 800 30px/1.25 var(--kopf); letter-spacing: -.02em; color: var(--schwedenblau); }
.satz em { font-style: normal; color: var(--messing-tief); }
.dunkel .satz { color: var(--hell); }
.dunkel .satz em { color: var(--messing-hell); }

/* Markierungen für Belegstatus */
.tag { display: inline-block; font: 700 12px/1 var(--leib); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px 4px; border-radius: 6px; vertical-align: middle; margin-left: 6px; }
.tag.s { background: #f3ead6; color: var(--messing-tief); }
.tag.e { background: #e8eef4; color: var(--uferblau); }
.tag.u { background: #f6e1dc; color: #9b3f2c; }

/* Marken-Chips */
.marken { display: flex; flex-wrap: wrap; gap: 10px; }
.marken span { font: 700 17px var(--leib); padding: 9px 14px; border-radius: 10px; background: var(--weiss); border: 1.5px solid var(--papier-tief); color: var(--schwedenblau); }
.marken span i { font-style: normal; font-weight: 500; color: var(--tinte-leise); font-size: 14px; margin-left: 6px; }
.karte .marken span { background: var(--weiss); }

/* Teil-Folien */
.kapitel .innen { justify-content: center; }
.kapitel .teil { font: 900 260px/0.8 var(--kopf); color: transparent; -webkit-text-stroke: 2px rgba(220, 193, 141, .55); letter-spacing: -.05em; margin-bottom: 30px; }
.kapitel h2 { font-size: 84px; line-height: .98; max-width: 760px; color: var(--hell); }
.kapitel .fliess { max-width: 640px; }
.kapitel .inhalt { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; max-width: 700px; }
.kapitel .inhalt span { font: 600 16px var(--leib); color: var(--hell); border: 1.5px solid var(--linie-hell); border-radius: 999px; padding: 8px 14px; }
.kapitel .seitenbild { position: absolute; right: 40px; top: 90px; bottom: 90px; width: 760px; display: flex; align-items: center; }
.kapitel .seitenbild svg { width: 100%; height: 100%; }
.kapitel .seitenbild .iso polygon { filter: none; }

/* Geteilte Folie: links dunkle Fläche */
.split .links { position: absolute; left: 0; top: 0; bottom: 0; width: 560px; background: var(--schwedenblau); color: var(--hell); padding: 76px 64px 110px 80px; display: flex; flex-direction: column; }
.split .links .dachzeile { color: var(--messing-hell); margin-bottom: 18px; }
.split .links h2 { font-size: 48px; line-height: 1.04; color: var(--hell); }
.split .links .fliess { color: var(--hell-leise); font-size: 21px; margin-top: 22px; }
.split .links .unten { margin-top: auto; }
.split .rechts { position: absolute; left: 560px; right: 0; top: 0; bottom: 0; padding: 70px 80px 100px; display: flex; flex-direction: column; }
.split .fuss { left: 640px; }
.split .fuss img { display: none; }
.split .links::after { content: ""; position: absolute; left: 80px; bottom: 36px; width: 98px; height: 44px; background: url(../marke/logo/logo-1-hell.svg) no-repeat left center / contain; }

/* Zeichnungen */
.iso { overflow: visible; }
.iso-nr text { font: 800 17px var(--kopf); fill: var(--schwedenblau-tief); }
.iso-label path { stroke: var(--schwedenblau); stroke-width: 1.5; fill: none; }
.iso-label circle { fill: var(--schwedenblau); }
.iso-label text { font: 700 19px var(--leib); fill: var(--schwedenblau); }
.flach text { font-family: var(--leib); }
.flach-label path { stroke: var(--schwedenblau); stroke-width: 1.5; fill: none; }
@keyframes fluss { to { stroke-dashoffset: -60; } }
.fluss { stroke-dasharray: 12 14; animation: fluss 1.8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .fluss { animation: none; } }

/* Diagramme */
.dia { width: 100%; height: 100%; overflow: visible; }
.dia-wert { font: 800 21px var(--kopf); fill: var(--schwedenblau); }
.dia-achse { font: 500 17px var(--leib); fill: var(--tinte-leise); }
.dia-in { font: 800 17px var(--kopf); }
.dia-klein { font: 500 15px var(--leib); fill: var(--tinte-leise); }
.dia-legende text { font: 600 16px var(--leib); fill: var(--tinte-leise); }
.folie.aktiv .balken { animation: wachsen .9s var(--sanft) both; animation-delay: calc(.25s + var(--v) * .07s); transform-origin: 50% 100%; transform-box: fill-box; }
.folie.aktiv .balken-q { animation: wachsenq .9s var(--sanft) both; animation-delay: calc(.25s + var(--v) * .07s); transform-origin: 0 50%; transform-box: fill-box; }
@keyframes wachsen { from { transform: scaleY(0); } }
@keyframes wachsenq { from { transform: scaleX(0); } }

/* Ablauf mit Symbolen */
.ablauf { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; position: relative; }
.ablauf::before { content: ""; position: absolute; left: 30px; right: 30px; top: 31px; height: 2px; background: var(--papier-tief); }
.ablauf > div { position: relative; padding-right: 14px; }
.ablauf .kreis { width: 62px; height: 62px; border-radius: 50%; background: var(--weiss); border: 2px solid var(--schwedenblau); display: grid; place-items: center; position: relative; z-index: 1; }
.ablauf .kreis .ic { width: 28px; height: 28px; color: var(--schwedenblau); }
.ablauf .kreis.gold { background: var(--messing); border-color: var(--messing); }
.ablauf .kreis.gold .ic { color: var(--schwedenblau-tief); }
.ablauf b { display: block; font: 800 18px/1.2 var(--kopf); color: var(--schwedenblau); margin-top: 14px; }
.ablauf small { display: block; font-size: 15px; color: var(--tinte-leise); margin-top: 6px; line-height: 1.35; }
.ablauf .n { font: 800 13px var(--kopf); color: var(--messing-tief); letter-spacing: .08em; display: block; margin-top: 12px; }
.ablauf .n + b { margin-top: 4px; }

/* Schritt-Folien im Ablauf: Fortschrittsleiste */
.etappen { display: flex; gap: 6px; margin-bottom: 18px; }
.etappen i { flex: 1; height: 6px; border-radius: 3px; background: var(--papier-tief); }
.etappen i.an { background: var(--messing); }
.etappen i.fertig { background: var(--uferblau); }

/* Angebot als Dokument */
.blatt { background: #fff; border-radius: 6px; box-shadow: 0 30px 60px rgba(11, 23, 38, .16), 0 2px 6px rgba(11, 23, 38, .08); padding: 34px 40px; font-size: 13px; color: #2a3646; position: relative; }
.blatt .bk { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid #14273e; padding-bottom: 14px; margin-bottom: 14px; }
.blatt .bk b { font: 900 20px var(--kopf); color: #14273e; letter-spacing: -.02em; }
.blatt .bk small { display: block; color: #6b7685; font-size: 12px; margin-top: 4px; }
.blatt h4 { font: 800 15px var(--kopf); margin: 0 0 8px; color: #14273e; }
.blatt table { width: 100%; border-collapse: collapse; }
.blatt td { padding: 5.5px 6px 5.5px 0; border-bottom: 1px solid #e6e3db; vertical-align: top; }
.blatt td.p { color: #8a93a0; width: 26px; }
.blatt td.e { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.blatt tr.summe td { border-bottom: 0; border-top: 2px solid #14273e; font-weight: 800; color: #14273e; font-size: 15px; padding-top: 9px; }
.blatt .marker { position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--messing); color: var(--schwedenblau-tief); font: 800 15px/30px var(--kopf); text-align: center; box-shadow: 0 0 0 5px rgba(196, 162, 101, .25); }

/* Telefon für Funnel-Fragen */
.handy { width: 300px; height: 610px; border-radius: 48px; background: #0a0f17; padding: 12px; box-shadow: 0 30px 60px rgba(11, 23, 38, .25); }
.handy .schirm { width: 100%; height: 100%; border-radius: 37px; background: var(--weiss); overflow: hidden; padding: 56px 20px 20px; position: relative; }
.handy .schirm::before { content: ""; position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 88px; height: 25px; border-radius: 20px; background: #05090f; }
.handy .fortschritt-f { height: 5px; border-radius: 3px; background: var(--papier-tief); margin-bottom: 22px; }
.handy .fortschritt-f i { display: block; height: 100%; width: 38%; background: var(--messing); border-radius: 3px; }
.handy .frage { font: 800 21px/1.2 var(--kopf); color: var(--schwedenblau); margin-bottom: 18px; }
.handy .antwort { border: 1.5px solid var(--papier-tief); border-radius: 12px; padding: 13px 14px; font-size: 15px; font-weight: 600; color: var(--schwedenblau); margin-bottom: 9px; background: #fff; }
.handy .antwort.an { border-color: var(--messing); background: #f6efdf; }

/* Ampel / Skala */
.skala { display: grid; gap: 12px; }
.skala > div { display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 14px; }
.skala b { font: 900 34px var(--kopf); letter-spacing: -.02em; }
.skala span { font-size: 19px; line-height: 1.4; }

/* Jahreskalender */
.jahr { display: grid; grid-template-columns: 210px repeat(12, 1fr); gap: 5px; font-size: 15px; }
.jahr > b { font: 700 13px var(--leib); color: var(--tinte-leise); text-align: center; letter-spacing: .05em; }
.jahr > span { font: 800 17px var(--kopf); color: var(--schwedenblau); align-self: center; }
.jahr > i { height: 46px; border-radius: 8px; }
.h0 { background: var(--papier); } .h1 { background: #e4e9ee; } .h2 { background: #b9cadb; } .h3 { background: #6f8fae; } .h4 { background: var(--uferblau); }

/* Zeitleiste */
.zeitleiste { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 3px solid var(--schwedenblau); }
.zeitleiste > div { padding: 22px 18px 0 0; position: relative; }
.zeitleiste > div::before { content: ""; position: absolute; top: -10px; left: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--weiss); border: 3px solid var(--schwedenblau); }
.zeitleiste > div.gold::before { background: var(--messing); border-color: var(--messing); }
.zeitleiste b { font: 900 26px var(--kopf); color: var(--schwedenblau); display: block; letter-spacing: -.02em; }
.zeitleiste p { font-size: 16px; line-height: 1.4; color: var(--tinte-leise); margin: 8px 0 0; }

/* Titel-Folie */
.titel .innen { justify-content: center; }
.titel h1 { font-size: 96px; max-width: 700px; line-height: .96; }
.titel .rhein { font-size: 1.25em; }
.titel .seitenbild { position: absolute; right: 20px; top: 40px; bottom: 60px; width: 900px; }
.titel .seitenbild svg { width: 100%; height: 100%; }

/* Druck: alle Folien untereinander, je eine Seite */
@media print {
  @page { size: 1600px 900px; margin: 0; }
  html, body { overflow: visible !important; height: auto !important; background: #fff; }
  .deck { position: static !important; transform: none !important; width: 1600px !important; height: auto !important; }
  .folie { position: relative !important; inset: auto !important; width: 1600px; height: 900px; opacity: 1 !important; visibility: visible !important; transform: none !important; break-after: page; transition: none !important; }
  [data-schritt], [data-bei] { opacity: 1 !important; transform: none !important; }
  .fortschritt, .tasten, .notiz-feld, .leiste { display: none !important; }
  .fluss { animation: none; }
}

/* Korrekturen nach Sichtprüfung */
.zahl span.tag, .zahl .tag { display: inline-block; margin-top: 0; font-size: 12px; }
.split .links .liste li { border-color: var(--linie-hell); color: var(--hell-leise); }
.split .links .liste li b { color: var(--hell); }
.split .links .nr { color: var(--messing-hell); }
.kapitel .seitenbild { width: 680px; right: 30px; }
.rumpf > .zwei:not(:has(.bild)):not(:has(.blatt)):not(:has(.handy)) { flex: 0 1 auto; height: auto; }
.rechnung { display: flex; align-items: center; justify-content: space-between; gap: 18px; white-space: nowrap; }
.rechnung .op { font: 800 34px var(--kopf); color: var(--messing-tief); }
.blatt { font-size: 15.5px; padding: 38px 44px; }
.blatt .bk b { font-size: 24px; }
.blatt .bk small { font-size: 13.5px; }
.blatt td { padding: 7px 8px 7px 0; }
.zahlreihe .zahl.mittel b { white-space: nowrap; }
.split .zahlreihe .zahl.mittel b { font-size: 50px; }
.ablauf[style*="grid-auto-flow:row"]::before { display: none; }
