:root {
  --blau: #1F5FA8; --blau-hell: #E8F0FA; --gruen: #2E7D4F; --gruen-hell: #E6F3EB; --rot: #B23A2A;
  --orange: #C46A0A; --orange-hell: #FBEFE0; --lila: #6B3FA0; --lila-hell: #F0EAF8;
  --text: #1B2330; --leise: #5B6470; --linie: #E3E7ED; --flaeche: #F4F6F9; --karte: #FFFFFF;
  --radius: 12px; --schatten: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; } /* sonst überstimmt z. B. display:grid das hidden-Attribut */
html, body { margin: 0; height: 100%; }
body { font-family: "Segoe UI", system-ui, -apple-system, sans-serif; background: var(--flaeche); color: var(--text); font-size: 15px; line-height: 1.45; }
h2 { margin: 0 0 4px; font-size: 19px; } h3 { margin: 0 0 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--leise); }
.kopf { display: flex; align-items: center; gap: 24px; padding: 12px 24px; background: var(--karte); border-bottom: 1px solid var(--linie); position: sticky; top: 0; z-index: 5; }
.marke { display: flex; gap: 10px; align-items: center; } .marke b { display: block; font-size: 16px; } .marke small { color: var(--leise); }
.logo { width: 36px; height: 36px; border-radius: 9px; background: var(--blau); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 19px; }
.schritte { display: flex; gap: 6px; justify-content: center; }
.navi + .schritte { flex: none; }
.schritte span { padding: 6px 14px; border-radius: 999px; background: var(--flaeche); color: var(--leise); font-size: 13px; font-weight: 600; }
.schritte span.an { background: var(--blau); color: #fff; } .schritte span.fertig { background: var(--blau-hell); color: var(--blau); }
.kopf-rechts { display: flex; gap: 10px; align-items: center; }
.hinweis-vorfuehrung { font-size: 12px; color: var(--orange); background: var(--orange-hell); padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.chip { font-size: 12px; color: var(--leise); border: 1px solid var(--linie); padding: 3px 9px; border-radius: 999px; }
.raster { display: grid; grid-template-columns: minmax(330px, 30%) 1fr minmax(290px, 24%); gap: 18px; padding: 18px 24px; align-items: start; }
.spalte { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.karte { background: var(--karte); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--schatten); }
.leise { color: var(--leise); margin: 0; font-size: 13px; } .leer { color: var(--leise); font-size: 13px; margin: 0; }
.leer-gross { color: var(--leise); font-size: 16px; padding: 40px 30px; text-align: center; }
.teilnehmer { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.person { display: flex; align-items: center; gap: 8px; background: var(--flaeche); padding: 5px 10px 5px 5px; border-radius: 999px; font-size: 13px; }
.person i { width: 26px; height: 26px; border-radius: 50%; background: var(--blau); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 12px; }
.person.kunde i { background: var(--lila); }
button, .datei { font: inherit; border: 0; border-radius: 9px; padding: 9px 14px; cursor: pointer; font-weight: 600; }
button:disabled { opacity: .45; cursor: default; }
.haupt { background: var(--blau); color: #fff; } .haupt:hover:not(:disabled) { background: #194f8c; }
.gruen { background: var(--gruen); color: #fff; } .still { background: var(--flaeche); color: var(--text); } .still:hover:not(:disabled) { background: var(--linie); }
.gross { padding: 13px 20px; font-size: 16px; } .klein { padding: 7px 12px; font-size: 13px; margin-top: 6px; }
.einwilligung { display: flex; gap: 8px; font-size: 13px; color: var(--leise); margin-bottom: 12px; align-items: flex-start; }
.einwilligung input { margin-top: 3px; width: 16px; height: 16px; }
.aufnahme-zeile { display: flex; align-items: center; gap: 14px; }
.aufnahme-zeile .haupt.laeuft { background: var(--rot); }
.uhr { font-variant-numeric: tabular-nums; font-size: 22px; font-weight: 600; min-width: 64px; }
.pegel { flex: 1; height: 8px; background: var(--flaeche); border-radius: 4px; overflow: hidden; } .pegel i { display: block; height: 100%; width: 0; background: var(--gruen); transition: width .08s; }
.neben-wege { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; } .neben-wege .still { font-size: 13px; padding: 7px 11px; }
textarea, input:not([type=checkbox]) { width: 100%; font: inherit; border: 1px solid var(--linie); border-radius: 9px; padding: 9px 11px; margin-top: 10px; }
.status { font-size: 13px; color: var(--blau); margin: 10px 0 0; min-height: 1em; } .status.fehler { color: var(--rot); }
.zeile-zwischen { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.transkript { max-height: 46vh; overflow: auto; font-size: 13.5px; }
.transkript p { margin: 0 0 8px; } .transkript .z { color: var(--blau); font-variant-numeric: tabular-nums; font-weight: 600; margin-right: 6px; }
.transkript .wer { font-weight: 700; } .transkript p.markiert { background: #FFF6CC; border-radius: 6px; transition: background 1.5s; }
.sprecher { display: grid; gap: 6px; margin-bottom: 10px; padding: 10px; background: var(--blau-hell); border-radius: 9px; font-size: 13px; }
.sprecher select { font: inherit; padding: 4px 6px; border-radius: 6px; border: 1px solid var(--linie); }
.aktionen { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.abschnitt h3 { display: flex; align-items: center; gap: 8px; } .abschnitt h3 .zahl { background: var(--flaeche); border-radius: 999px; padding: 1px 8px; color: var(--text); font-size: 12px; }
.abschnitt.nebenbei { border-left: 5px solid var(--orange); } .abschnitt.chancen { border-left: 5px solid var(--lila); }
.punkt { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 10px 0; border-top: 1px solid var(--linie); align-items: center; }
.punkt:first-of-type { border-top: 0; }
.punkt .text { font-size: 15px; } .punkt .info { font-size: 12.5px; color: var(--leise); display: flex; gap: 10px; flex-wrap: wrap; }
.punkt .info a { color: var(--blau); text-decoration: none; font-weight: 600; cursor: pointer; }
.punkt button { font-size: 13px; padding: 7px 11px; white-space: nowrap; }
.punkt .erledigt { font-size: 12.5px; color: var(--gruen); font-weight: 600; white-space: nowrap; }
.art { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--orange-hell); color: var(--orange); }
.zusammenfassung h4 { margin: 12px 0 4px; font-size: 14px; } .zusammenfassung ul { margin: 0; padding-left: 18px; } .zusammenfassung p { margin: 0 0 6px; }
.liste { display: flex; flex-direction: column; gap: 8px; }
.eintrag { background: var(--flaeche); border-radius: 9px; padding: 9px 11px; font-size: 13.5px; }
.eintrag .oben { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--leise); margin-bottom: 2px; }
.eintrag.neu { animation: neu 1.6s ease; }
@keyframes neu { 0% { background: #DCEBFF; transform: translateX(12px); } 100% { background: var(--flaeche); transform: none; } }
.eintrag.erledigt .text { text-decoration: line-through; color: var(--leise); }
.gruppe { font-size: 12px; font-weight: 700; color: var(--blau); margin: 4px 0 0; }
.wert { color: var(--lila); font-weight: 700; }
dialog { border: 0; border-radius: var(--radius); padding: 0; width: min(720px, 94vw); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(20,28,40,.45); }
.mail-form { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.lade { display: inline-block; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: dreh .8s linear infinite; vertical-align: -2px; margin-right: 6px; }
@keyframes dreh { to { transform: rotate(360deg); } }
.zurueck-knopf { white-space: nowrap; font-size: 13px; padding: 7px 11px; }
.navi { display: flex; gap: 4px; flex: 1; justify-content: center; }
.navi a { white-space: nowrap; padding: 6px 12px; border-radius: 8px; color: var(--leise); text-decoration: none; font-weight: 600; font-size: 13.5px; }
.navi a:hover { background: var(--flaeche); } .navi a.an { background: var(--blau-hell); color: var(--blau); }
.raster-2 { grid-template-columns: 1fr minmax(320px, 28%); }
.zaehler { display: flex; gap: 22px; margin-left: auto; }
.zaehler div { text-align: center; } .zaehler b { display: block; font-size: 26px; line-height: 1.1; } .zaehler span { font-size: 12px; color: var(--leise); }
.zaehler .rot b { color: var(--rot); }
.tabelle { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabelle th { text-align: left; font-size: 12px; color: var(--leise); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--linie); }
.tabelle td { padding: 8px; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.tabelle .r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tabelle tr.neu { animation: ein .35s ease; } .tabelle a { color: var(--blau); text-decoration: none; font-weight: 600; }
@keyframes ein { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; } }
.tabelle tr.zeile-rot { background: #FDECEA; } .tabelle tr.zeile-orange { background: #FFF4E5; }
.art { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--flaeche); color: var(--leise); }
.art-rechnung { background: var(--blau-hell); color: var(--blau); } .art-mahnung { background: #FDECEA; color: var(--rot); }
.art-lieferschein { background: var(--gruen-hell); color: var(--gruen); } .art-gutschrift { background: var(--lila-hell); color: var(--lila); }
.gut { color: var(--gruen); font-weight: 700; } .marke-rot { color: var(--rot); font-weight: 700; } .marke-orange { color: var(--orange); font-weight: 700; }
.fehlertext { color: var(--rot); font-size: 12.5px; }
.befund { border-radius: 10px; padding: 12px 14px; animation: neu-befund .5s ease both; }
.befund b { display: block; font-size: 15px; } .befund p { margin: 4px 0 6px; font-size: 13.5px; } .befund a { font-size: 12.5px; color: var(--blau); font-weight: 600; text-decoration: none; }
.befund-rot { background: #FDECEA; border-left: 5px solid var(--rot); } .befund-orange { background: #FFF4E5; border-left: 5px solid var(--orange); }
@keyframes neu-befund { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.gross-zahl { font-size: 20px; margin: 0 0 12px; }
.gespraech-karte { display: flex; flex-direction: column; gap: 10px; } .gespraech-karte audio { width: 100%; }
/* Fall 2 – Kalender, Termin finden, PDF in der Mail */
.woche { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.tag-kopf { font-size: 11px; font-weight: 700; color: var(--leise); text-align: center; margin-bottom: 4px; }
.tag-raster { position: relative; background: repeating-linear-gradient(to bottom, var(--flaeche) 0, var(--flaeche) 19px, #fff 19px, #fff 20px); border-radius: 6px; }
.k-eintrag { position: absolute; left: 2px; right: 2px; border-radius: 4px; font-size: 9.5px; line-height: 1.15; padding: 2px 3px; overflow: hidden; }
.k-eintrag.belegt { background: #DDE2E8; color: var(--leise); }
.k-eintrag.neu-termin { background: var(--blau); color: #fff; font-weight: 600; box-shadow: 0 2px 6px rgba(31,95,168,.35); }
.k-eintrag.blitz { animation: blitz 1.6s ease; } @keyframes blitz { 0% { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(31,95,168,.35); } 100% { transform: none; } }
.termin-zeile { margin-top: 6px; font-size: 12.5px; font-weight: 600; } .termin-zeile.ok { color: var(--blau); } .termin-zeile.warte { color: var(--orange); }
.termin-knopf { margin-top: 8px; }
dialog.termin-dialog { width: min(560px, 94vw); }
.termin-wahl { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 14px; }
.termin-option { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; background: var(--flaeche); border: 2px solid transparent; font-weight: 500; }
.termin-option.an { border-color: var(--blau); background: var(--blau-hell); } .termin-option b { font-size: 15px; }
.hinweis-gespraech { color: var(--blau); font-weight: 700; font-size: 13px; }
dialog.mail-pdf-dialog { width: min(1200px, 96vw); }
.mail-pdf { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .mail-links { display: flex; flex-direction: column; gap: 4px; }
.mail-vorschau { width: 100%; height: 520px; border: 1px solid var(--linie); border-radius: 8px; margin-top: 10px; background: #fff; }
.pdf-anhang { display: inline-block; margin-top: 8px; background: var(--blau-hell); color: var(--blau); font-weight: 600; font-size: 13px; padding: 7px 12px; border-radius: 8px; text-decoration: none; }
/* Handy-Ansicht (Fall 2 unterwegs) */
dialog.handy-dialog { width: min(900px, 96vw); background: var(--flaeche); }
.handy-buehne { display: flex; gap: 36px; align-items: center; padding: 28px 34px; }
.handy-rahmen { position: relative; width: 340px; height: 690px; border-radius: 46px; background: #11151C; padding: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.35); flex: none; }
.handy-rahmen iframe { width: 100%; height: 100%; border: 0; border-radius: 34px; background: #fff; }
.handy-kerbe { position: absolute; top: 22px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 14px; background: #11151C; z-index: 2; }
.handy-seite { display: flex; flex-direction: column; gap: 10px; } .handy-seite h3 { font-size: 22px; color: var(--text); text-transform: none; letter-spacing: 0; margin: 0; }
.handy-seite p { margin: 0; font-size: 15px; } .qr.klein-qr { max-width: 170px; margin: 6px 0 0; }
body.app { background: #fff; } .app-kopf { display: flex; gap: 10px; align-items: center; padding: 34px 16px 12px; background: var(--blau); color: #fff; }
.app-kopf .logo { background: #fff; color: var(--blau); } .app-kopf b { display: block; } .app-kopf small { opacity: .85; }
.aufnahme-handy { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.rund { width: 96px; height: 96px; border-radius: 50%; background: #fff; border: 4px solid var(--rot); display: grid; place-items: center; padding: 0; }
.rund span { width: 64px; height: 64px; border-radius: 50%; background: var(--rot); transition: all .2s; }
.rund.laeuft span { width: 34px; height: 34px; border-radius: 8px; } .rund.laeuft { animation: puls 1.6s ease infinite; }
@keyframes puls { 0%, 100% { box-shadow: 0 0 0 0 rgba(178,58,42,.45); } 50% { box-shadow: 0 0 0 14px rgba(178,58,42,0); } }
.uhr-gross { font-size: 34px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wellen { display: flex; gap: 5px; align-items: center; height: 60px; } .wellen i { width: 6px; height: 8px; border-radius: 3px; background: var(--blau); transition: height .09s; }
.mitte { text-align: center; } .vorfuehrung { font-size: 12.5px; color: var(--orange); background: var(--orange-hell); padding: 8px 10px; border-radius: 8px; margin: 0; }
.lade-gross { width: 46px; height: 46px; margin: 10px auto; border: 4px solid var(--blau-hell); border-top-color: var(--blau); border-radius: 50%; animation: dreh .9s linear infinite; }
/* Fall 4 – Abgleich */
.raster-abgleich { grid-template-columns: minmax(0, 1100px); justify-content: center; }
.raster-abgleich > .spalte:first-child { position: static; max-height: none; overflow: visible; }
.quellen-reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.zahl-karte b { display: block; font-size: 32px; color: var(--blau); } .zahl-karte span { color: var(--leise); }
.fortschritt { flex: 1; height: 6px; background: var(--linie); border-radius: 3px; overflow: hidden; } .fortschritt i { display: block; height: 100%; width: 0; background: var(--blau); transition: width .2s; }
.summe-karte b { font-size: 44px; color: var(--rot); } .summe-karte p { margin: 6px 0 0; color: var(--leise); }
/* Fall 5 – Markt */
.raster-markt { grid-template-columns: minmax(320px, 30%) 1fr; }
.briefing h4 { margin: 18px 0 8px; font-size: 15px; color: var(--blau); } .briefing h4:first-child { margin-top: 0; }
.meldung { padding: 10px 0; border-top: 1px solid var(--linie); } .meldung p { margin: 2px 0; font-size: 14px; } .meldung .uns { color: var(--gruen); }
.meldung a { font-size: 12.5px; color: var(--blau); font-weight: 600; text-decoration: none; }
.themen-liste { margin: 10px 0 16px; padding-left: 20px; } .themen-liste li { margin: 5px 0; }
.vorschlaege-liste { margin: 0; padding-left: 20px; } .vorschlaege-liste li { margin: 4px 0; }
/* Fall 3 – Herkunft der Daten: Protokoll (lila), Preisliste (blau), Regeln (grün) */
.quellen-stapel { display: flex; flex-direction: column; gap: 10px; } .quellen-titel { margin: 2px 2px 0; }
.raster.raster-angebot > .spalte:first-child { overflow-x: hidden; overflow-y: auto; padding-right: 8px; }
.knopf-karte { display: flex; flex-direction: column; gap: 8px; } .knopf-zeile { display: flex; gap: 8px; } .knopf-zeile button { flex: 1; font-size: 14.5px; padding: 11px 8px; white-space: nowrap; }
.knopf-karte .status:empty { display: none; }
.quelle { padding: 12px 14px; border: 2px solid transparent; transition: border-color .3s, box-shadow .3s, transform .3s; }
.quelle.aktiv { transform: translateX(6px); box-shadow: 0 6px 20px rgba(16,24,40,.14); }
.q-protokoll.aktiv { border-color: var(--lila); } .q-preis.aktiv { border-color: var(--blau); } .q-regel.aktiv { border-color: var(--gruen); }
.q-kopf { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; } .q-kopf b { flex: 1; font-size: 14px; }
.q-punkt { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.q-protokoll .q-punkt { background: var(--lila); } .q-preis .q-punkt { background: var(--blau); } .q-regel .q-punkt { background: var(--gruen); }
.quelle small { display: block; white-space: normal; font-size: 12px; }
.q-link { font-size: 12px; color: var(--blau); text-decoration: none; font-weight: 600; }
.q-liste { margin: 0 0 6px; padding-left: 18px; font-size: 12.5px; } .q-liste li { margin: 2px 0; }
#q-preis-liste { list-style: none; padding: 0; max-height: 150px; overflow: auto; }
#q-preis-liste li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; gap: 6px; padding: 2px 4px; border-radius: 5px; color: var(--leise); }
#q-preis-liste li.benutzt { background: var(--blau-hell); color: var(--text); } .q-code { font-weight: 700; } .q-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .q-preis { white-space: nowrap; }
.q-marke { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; vertical-align: 1px; white-space: nowrap; }
.q-m-protokoll { background: var(--lila-hell); color: var(--lila); } .q-m-preis { background: var(--blau-hell); color: var(--blau); } .q-m-regel { background: var(--gruen-hell); color: var(--gruen); }
.markiert-block { border-left: 3px solid var(--lila); padding-left: 12px; margin-bottom: 10px; } .markiert-block .q-marke { margin-bottom: 6px; }
@media print { .q-marke { display: none !important; } .markiert-block { border: 0; padding: 0; } }
/* Fall 3 – Angebot */
.raster-angebot { grid-template-columns: minmax(320px, 26%) 1fr; }
.knopf-stapel { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.qr { width: 100%; max-width: 320px; margin: 0 auto; } .qr svg { width: 100%; height: auto; display: block; }
.klein-umbruch { word-break: break-all; font-size: 11.5px; text-align: center; }
.warte { text-align: center; color: var(--blau); font-weight: 600; margin: 8px 0 0; }
.unterschrift-bild { max-width: 100%; border: 1px solid var(--linie); border-radius: 8px; background: #fff; }
.blatt { background: #fff; box-shadow: 0 4px 18px rgba(16,24,40,.12); border-radius: 4px; padding: 48px 56px; max-width: 860px; margin: 0 auto; width: 100%; font-size: 14px; line-height: 1.5; }
.blatt p { margin: 0 0 10px; }
.blatt-kopf { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 3px solid var(--blau); padding-bottom: 14px; }
.blatt-logo { display: flex; gap: 10px; align-items: center; } .blatt-logo b { display: block; font-size: 17px; } .blatt-logo small { color: var(--leise); }
.blatt-adresse { text-align: right; font-size: 12px; color: var(--leise); }
.blatt-meta { display: flex; justify-content: space-between; margin: 28px 0 22px; gap: 20px; }
.blatt-meta small { display: block; margin-bottom: 4px; font-size: 10.5px; }
.meta-rechts { display: grid; gap: 4px; min-width: 220px; } .meta-rechts div { display: flex; justify-content: space-between; gap: 16px; } .meta-rechts span { color: var(--leise); }
.blatt-titel { font-size: 19px; margin: 0 0 14px; color: var(--blau); }
.pos-tabelle { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13.5px; }
.pos-tabelle th { text-align: left; border-bottom: 1.5px solid var(--text); padding: 6px; font-size: 12px; }
.pos-tabelle td { padding: 7px 6px; border-bottom: 1px solid var(--linie); vertical-align: top; } .pos-tabelle .r { text-align: right; white-space: nowrap; }
.pos-tabelle tfoot td { border: 0; padding: 4px 6px; } .pos-tabelle tr.summe td { font-weight: 700; font-size: 15px; border-top: 1.5px solid var(--text); padding-top: 8px; }
.optionen { background: var(--flaeche); border-radius: 8px; padding: 10px 14px; margin: 6px 0 14px; } .optionen h4 { margin: 0 0 6px; font-size: 13px; }
.option { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; padding: 3px 0; } .option .r { white-space: nowrap; }
.foerder { border-left: 4px solid var(--gruen); background: var(--gruen-hell); padding: 10px 14px; border-radius: 6px; margin: 0 0 14px; } .foerder p { margin: 4px 0 0; }
.unterschrift-feld { margin-top: 26px; border-top: 1px solid var(--text); padding-top: 6px; width: 320px; font-size: 12px; color: var(--leise); }
.unterschrift-feld.fertig { border-top-color: var(--gruen); } .unterschrift-feld img { max-width: 300px; max-height: 110px; display: block; margin-bottom: 4px; animation: ein .6s ease; }
.blatt-fuss { margin-top: 30px; font-size: 10.5px; color: var(--leise); text-align: center; }
@media print { .kopf, .raster-angebot > .spalte:first-child, dialog { display: none !important; } body { background: #fff; } .raster { display: block; padding: 0; } .blatt { box-shadow: none; padding: 0; max-width: none; } }
/* Handy-Seite */
body.handy { background: var(--flaeche); } .handy-kopf { display: flex; gap: 10px; align-items: center; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--linie); }
.handy-kopf b { display: block; } .handy-kopf small { color: var(--leise); }
.handy-inhalt { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; max-width: 520px; margin: 0 auto; }
.handy-inhalt h2 { font-size: 18px; margin: 4px 0 10px; }
.handy-pos { list-style: none; margin: 0; padding: 0; font-size: 14px; } .handy-pos li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--linie); } .handy-pos b { white-space: nowrap; }
.handy-summe { display: flex; justify-content: space-between; padding-top: 10px; font-size: 16px; }
.feld { display: block; font-size: 13px; color: var(--leise); } .feld input { font-size: 16px; }
.flaeche { width: 100%; height: 170px; border: 1.5px dashed var(--leise); border-radius: 10px; background: #fff; touch-action: none; display: block; margin: 6px 0; }
.breit { width: 100%; } .erfolg { text-align: center; } .haken { font-size: 54px; color: var(--gruen); line-height: 1; }
.raster-wissen { grid-template-columns: 1fr minmax(360px, 36%); }
.chip.lokal { color: var(--gruen); border-color: #BFDCC9; background: var(--gruen-hell); font-weight: 600; }
.frage-zeile { display: flex; gap: 10px; } .frage-zeile input { margin: 0; font-size: 17px; padding: 12px 14px; } .frage-zeile button { padding: 12px 22px; font-size: 16px; }
.vorschlaege { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; } .chip-knopf { font-size: 13px; font-weight: 500; padding: 7px 11px; text-align: left; }
.verlauf { display: flex; flex-direction: column; gap: 14px; }
.paar { display: flex; flex-direction: column; gap: 8px; animation: ein .3s ease; }
.blase { border-radius: 14px; padding: 12px 16px; max-width: 85%; font-size: 16px; }
.blase.frage { align-self: flex-end; background: var(--blau); color: #fff; border-bottom-right-radius: 4px; }
.blase.antwort { align-self: flex-start; background: var(--karte); box-shadow: var(--schatten); border-bottom-left-radius: 4px; }
.blase.antwort p { margin: 0 0 8px; } .blase.nicht-gefunden { border-left: 4px solid var(--orange); }
.quelle { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; align-items: center; }
.quelle a { color: var(--blau); font-weight: 600; cursor: pointer; } .quelle .nicht { color: var(--orange); font-weight: 600; }
.handbuch { font-size: 13.5px; } .hb-abschnitt { padding: 8px 10px; border-radius: 8px; transition: background .4s; }
.hb-abschnitt ul { margin: 4px 0 0; padding-left: 18px; color: var(--leise); } .hb-abschnitt.treffer { background: #FFF6CC; }
.hb-abschnitt.treffer ul { color: var(--text); }
.weiter-spalte, .raster:not(.raster-2) > .spalte:first-child { position: sticky; top: 78px; max-height: calc(100vh - 96px); overflow: auto; }
@media (max-width: 1200px) { .raster { grid-template-columns: 1fr; } .weiter-spalte, .raster > .spalte:first-child { position: static; max-height: none; } }
/* Preisliste in Fall 3: wo steht die Zeile im Angebot */
.q-wo { margin-left: 6px; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 6px; background: var(--blau, #1F5FA8); color: #fff; white-space: nowrap; }
#q-preis-liste li.als-option { background: #F1F4F8; }
#q-preis-liste li.als-option .q-wo { background: #fff; color: var(--blau, #1F5FA8); border: 1px solid var(--blau, #1F5FA8); }
