/* Conto Remote – gemeinsame Gestaltung (Farben wie das Ticketsystem von Conto IT) */
@font-face { font-family: 'Sora'; font-weight: 600; font-display: swap; src: url('schrift/sora-600.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-weight: 800; font-display: swap; src: url('schrift/sora-800.woff2') format('woff2'); }
:root { --grund: #f5f7fb; --flaeche: #fff; --flaeche-2: #f0f3f8; --rand: #e5e9f0; --rand-2: #d5dbe5; --text: #111827; --leise: #5b6576; --leiser: #8a93a3;
  --akzent: #e8791f; --akzent-2: #d36a12; --akzent-weich: #fdf1e6; --blau: #2f6fed; --blau-weich: #e9f0fe; --gruen: #12915f; --gruen-weich: #e5f6ee;
  --gelb: #a96800; --gelb-weich: #fdf4dc; --rot: #c8352b; --rot-weich: #fdecea; --nacht: #0e1420; --nacht-2: #161e2e; --nacht-3: #222c40; --r: 14px;
  --schrift: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif; --kopf: 'Sora', var(--schrift); --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }
* { box-sizing: border-box; } html, body { margin: 0; } [hidden] { display: none !important; }
body { background: var(--grund); color: var(--text); font: 15px/1.5 var(--schrift); -webkit-font-smoothing: antialiased; }
a { color: var(--blau); } h1, h2, h3 { margin: 0; font-family: var(--kopf); letter-spacing: -.02em; }
.leise { color: var(--leise); } .leiser { color: var(--leiser); } .klein { font-size: 13px; } .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 11px; border: 1px solid var(--rand-2); background: var(--flaeche); color: var(--text);
  font: 600 14.5px var(--schrift); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .12s, transform .06s; }
.knopf:hover { background: var(--flaeche-2); } .knopf:active { transform: translateY(1px); } .knopf:disabled { opacity: .5; pointer-events: none; }
.knopf.akzent { background: var(--akzent); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(232,121,31,.28); } .knopf.akzent:hover { background: var(--akzent-2); }
.knopf.rot { background: var(--rot); border-color: transparent; color: #fff; } .knopf.gross { height: 54px; padding: 0 26px; font-size: 17px; border-radius: 14px; }
.knopf.klein { height: 32px; padding: 0 11px; font-size: 13px; border-radius: 9px; } .knopf.flach { border-color: transparent; background: transparent; }
input, select, textarea { width: 100%; border: 1px solid var(--rand-2); border-radius: 10px; padding: 9px 11px; font: 14.5px var(--schrift); color: var(--text); background: var(--flaeche); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--akzent); box-shadow: 0 0 0 3px rgba(232,121,31,.15); }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--akzent); padding: 0; flex: none; }
.karte { background: var(--flaeche); border: 1px solid var(--rand); border-radius: 20px; box-shadow: 0 20px 50px rgba(17,24,39,.06); }
.etikett { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--flaeche-2); color: var(--leise); }
.etikett.gruen { background: var(--gruen-weich); color: var(--gruen); } .etikett.blau { background: var(--blau-weich); color: var(--blau); } .etikett.gelb { background: var(--gelb-weich); color: var(--gelb); }
.punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--rand-2); flex: none; } .punkt.an { background: var(--gruen); box-shadow: 0 0 0 3px var(--gruen-weich); } .punkt.sitzung { background: var(--akzent); box-shadow: 0 0 0 3px var(--akzent-weich); }
.meldung { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--text); color: #fff; padding: 11px 18px; border-radius: 12px; z-index: 90; box-shadow: 0 12px 30px rgba(0,0,0,.25); max-width: min(560px, 92vw); font-size: 14px; }
.meldung.fehler { background: var(--rot); }
.marke { display: inline-flex; align-items: center; gap: 10px; font: 800 18px var(--kopf); color: var(--text); text-decoration: none; letter-spacing: -.02em; } .marke img { width: 30px; height: 30px; } .marke b { color: var(--akzent); font-weight: 800; }

/* ---------------------------------------------------------------- Startseite (Soforthilfe) */
.start { min-height: 100vh; background: radial-gradient(1000px 520px at 85% -10%, #fde3cb, transparent 60%), radial-gradient(700px 420px at -10% 110%, #e3ecfd, transparent 60%), var(--grund); }
.start-kopf { display: flex; align-items: center; justify-content: space-between; padding: 20px clamp(16px, 4vw, 48px); }
.start-haupt { max-width: 1080px; margin: 0 auto; padding: clamp(20px, 5vw, 60px) clamp(16px, 4vw, 48px) 60px; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.start-haupt h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.05; font-weight: 800; } .start-haupt h1 em { font-style: normal; color: var(--akzent); }
.start-haupt .unter { font-size: 18px; color: var(--leise); margin: 18px 0 28px; max-width: 30em; }
.start-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.start-bild { width: 100%; border-radius: 24px; box-shadow: 0 30px 70px rgba(17,24,39,.16); display: block; background: var(--flaeche); aspect-ratio: 4/3; object-fit: cover; }
.schritte3 { max-width: 1080px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px) 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.schritt { padding: 22px; } .schritt .nr { width: 34px; height: 34px; border-radius: 10px; background: var(--akzent-weich); color: var(--akzent-2); display: grid; place-items: center; font: 800 16px var(--kopf); margin-bottom: 12px; }
.schritt h3 { font-size: 17px; margin-bottom: 4px; }
.sicher { max-width: 1080px; margin: 0 auto 50px; padding: 0 clamp(16px, 4vw, 48px); } .sicher .karte { padding: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; background: var(--nacht); color: #e7ecf5; border-color: transparent; }
.sicher h3 { font-size: 16px; margin-bottom: 4px; color: #fff; } .sicher p { margin: 0; color: #a9b4c8; font-size: 14px; }
.fuss { text-align: center; padding: 26px 16px 40px; color: var(--leiser); font-size: 13px; } .fuss a { color: var(--leise); }
@media (max-width: 860px) { .start-haupt, .schritte3, .sicher .karte { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Geräteseite (Freigabe, Agent, QuickSupport) */
.geraet { min-height: 100vh; display: grid; place-items: start center; padding: 26px 16px; background: radial-gradient(900px 500px at 80% -10%, #fde7d3, transparent 60%), var(--grund); }
.geraet-karte { width: min(460px, 100%); padding: 26px; }
.geraet-kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
#status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--leise); }
#status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--rand-2); }
#status[data-art=ok]::before { background: var(--gruen); box-shadow: 0 0 0 3px var(--gruen-weich); } #status[data-art=aktiv]::before { background: var(--akzent); box-shadow: 0 0 0 3px var(--akzent-weich); }
#status[data-art=fehler]::before { background: var(--rot); } #status[data-art=warte]::before { background: var(--gelb); animation: puls 1.2s infinite; }
@keyframes puls { 50% { opacity: .35; } }
.nummer-feld { background: var(--nacht); color: #fff; border-radius: 18px; padding: 22px; text-align: center; margin: 14px 0; }
.nummer-feld small { display: block; color: #a9b4c8; font-size: 13px; margin-bottom: 6px; } #nummer { font: 800 clamp(30px, 8vw, 40px) var(--mono); letter-spacing: .06em; }
.nummer-feld .knopf { margin-top: 12px; background: var(--nacht-3); color: #fff; border-color: transparent; }
.optionen { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rand); }
.optionen label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; } .optionen small { display: block; color: var(--leiser); }
.dialog-grund { position: fixed; inset: 0; background: rgba(14,20,32,.55); backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 80; padding: 16px; }
.dialog { width: min(440px, 100%); padding: 26px; } .dialog h2 { font-size: 21px; margin-bottom: 8px; } .dialog .reihe { display: flex; gap: 10px; margin-top: 20px; } .dialog .reihe .knopf { flex: 1; }
.warnung { background: var(--gelb-weich); color: #6b4300; border-radius: 12px; padding: 10px 12px; font-size: 13px; margin-top: 14px; }
.sas-feld { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--gruen-weich); color: #0b5e3e; border-radius: 14px; padding: 12px 14px; margin: 12px 0; }
.sas-feld b { font: 800 22px var(--mono); letter-spacing: .08em; } .sas-feld small { display: block; font-size: 12px; }
#vorschau { width: 100%; border-radius: 12px; background: #000; aspect-ratio: 16/9; object-fit: contain; }
.chat { border: 1px solid var(--rand); border-radius: 14px; margin-top: 12px; overflow: hidden; }
.chat-liste { height: 150px; overflow-y: auto; padding: 10px 12px; display: grid; gap: 8px; align-content: start; background: var(--flaeche-2); }
.chat-zeile { max-width: 85%; } .chat-zeile.ich { justify-self: end; text-align: right; } .chat-wer { font-size: 11px; color: var(--leiser); }
.chat-zeile p { margin: 2px 0 0; background: var(--flaeche); border: 1px solid var(--rand); border-radius: 12px; padding: 7px 10px; display: inline-block; text-align: left; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-zeile.ich p { background: var(--akzent); border-color: transparent; color: #fff; }
.chat form { display: flex; gap: 8px; padding: 8px; border-top: 1px solid var(--rand); } .chat form input { border-radius: 9px; }
.datei-zeile { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border: 1px solid var(--rand); border-radius: 10px; font-size: 13px; overflow: hidden; margin-top: 6px; }
.datei-zeile i { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--akzent); transition: width .2s; } .datei-zeile[data-stand=fertig] i { background: var(--gruen); } .datei-zeile[data-stand=fehler] i { background: var(--rot); }
.datei-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .datei-stand { color: var(--leise); flex: none; }
body[data-art=fest] .nur-browser, body[data-art=schnell] .nur-browser { display: none; }

/* ---------------------------------------------------------------- Anmeldung */
.anm { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(900px 500px at 80% -10%, #fde7d3, transparent 60%), var(--grund); }
.anm-karte { width: min(420px, 100%); padding: 30px; } .anm-karte h1 { font-size: 22px; margin: 16px 0 4px; } .anm-karte form { display: grid; gap: 12px; margin-top: 18px; }
.code-eingabe { font: 600 24px var(--mono); letter-spacing: .3em; text-align: center; height: 54px; }
.qr { display: grid; place-items: center; padding: 12px; background: #fff; border: 1px solid var(--rand); border-radius: 14px; } .qr canvas { image-rendering: pixelated; width: 190px; height: 190px; }

/* ---------------------------------------------------------------- Konsole */
.rahmen { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.seite { background: var(--nacht); color: #c9d2e3; padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.seite .marke { color: #fff; padding: 4px 10px 18px; } .seite a.nav { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: #c9d2e3; text-decoration: none; font-weight: 600; font-size: 14px; }
.seite a.nav:hover { background: var(--nacht-2); } .seite a.nav.an { background: var(--nacht-3); color: #fff; } .seite .unten { margin-top: auto; padding: 10px 12px; font-size: 13px; }
.seite .unten button { background: none; border: 0; color: #8a97b0; cursor: pointer; padding: 0; font: inherit; } .seite .unten button:hover { color: #fff; }
.inhalt { padding: 26px clamp(16px, 3vw, 36px); max-width: 1180px; width: 100%; }
.inhalt-kopf { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; } .inhalt-kopf h1 { font-size: 26px; }
.verbinden-leiste { display: flex; gap: 10px; padding: 16px; margin-bottom: 20px; align-items: center; flex-wrap: wrap; }
.verbinden-leiste input { max-width: 240px; font: 600 18px var(--mono); letter-spacing: .06em; height: 46px; } .verbinden-leiste .knopf { height: 46px; }
.gruppe { margin-bottom: 22px; } .gruppe h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--leiser); font-family: var(--schrift); margin: 0 4px 8px; }
.liste { background: var(--flaeche); border: 1px solid var(--rand); border-radius: 16px; overflow: hidden; }
.zeile { display: grid; grid-template-columns: 22px minmax(140px, 1.4fr) minmax(90px, 1fr) 130px auto; gap: 12px; align-items: center; padding: 11px 14px; border-top: 1px solid var(--rand); }
.zeile:first-child { border-top: 0; } .zeile:hover { background: #fafbfd; } .zeile .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zeile .aktionen { display: flex; gap: 6px; justify-content: flex-end; }
.leer { padding: 30px; text-align: center; color: var(--leise); }
table.tab { width: 100%; border-collapse: collapse; } table.tab th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--leiser); padding: 10px 14px; }
table.tab td { padding: 10px 14px; border-top: 1px solid var(--rand); font-size: 14px; vertical-align: top; }
.formzeile { display: grid; gap: 6px; margin-bottom: 12px; } .formzeile label { font-size: 13px; font-weight: 600; color: var(--leise); }
.befehl { background: var(--nacht); color: #e7ecf5; border-radius: 12px; padding: 12px 14px; font: 13px/1.5 var(--mono); overflow-x: auto; white-space: pre-wrap; word-break: break-all; }
@media (max-width: 820px) { .rahmen { grid-template-columns: 1fr; } .seite { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; } .seite .unten { margin: 0 0 0 auto; } .zeile { grid-template-columns: 22px 1fr auto; } .zeile .nr, .zeile .os { display: none; } }

/* ---------------------------------------------------------------- Fernwartungs-Ansicht */
.fern { position: fixed; inset: 0; background: #05080e; z-index: 60; display: grid; grid-template-rows: auto 1fr; color: #dfe6f3; }
.fern-leiste { display: flex; align-items: center; gap: 6px; padding: 7px 10px; background: var(--nacht); border-bottom: 1px solid #1d2638; flex-wrap: wrap; }
.fern-leiste .titel { font-weight: 700; color: #fff; margin: 0 8px 0 4px; display: flex; flex-direction: column; line-height: 1.2; } .fern-leiste .titel small { font-weight: 500; color: #8a97b0; font-size: 12px; }
.fern-leiste .lueke { flex: 1; }
.fk { height: 34px; padding: 0 11px; border-radius: 9px; border: 1px solid transparent; background: var(--nacht-2); color: #dfe6f3; font: 600 13px var(--schrift); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.fk:hover { background: var(--nacht-3); } .fk.an { background: var(--akzent); color: #fff; } .fk.rot { background: var(--rot); color: #fff; } .fk:disabled { opacity: .4; pointer-events: none; }
select.fk { width: auto; appearance: none; padding-right: 26px; background-image: linear-gradient(45deg, transparent 50%, #8a97b0 50%), linear-gradient(135deg, #8a97b0 50%, transparent 50%); background-position: calc(100% - 14px) 15px, calc(100% - 9px) 15px; background-size: 5px 5px; background-repeat: no-repeat; }
.sas-klein { display: inline-flex; align-items: center; gap: 7px; background: #0f2b20; color: #7be0b0; border-radius: 9px; padding: 0 11px; height: 34px; font: 700 14px var(--mono); cursor: help; } .sas-klein.warn { background: #3a1512; color: #ff9c92; }
.fern-mitte { display: grid; grid-template-columns: 1fr auto; min-height: 0; }
.buehne { position: relative; min-width: 0; min-height: 0; display: grid; place-items: center; overflow: hidden; outline: none; }
.buehne video { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; background: #05080e; } .buehne.steuert video { cursor: none; } .buehne.steuert.zeiger video { cursor: default; }
.buehne .warte { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #a9b4c8; background: #05080e; padding: 20px; } .warte h2 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.kreis { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #26324a; border-top-color: var(--akzent); animation: dreh 1s linear infinite; margin: 0 auto 18px; } @keyframes dreh { to { transform: rotate(360deg); } }
.tafel { width: 320px; background: var(--nacht); border-left: 1px solid #1d2638; display: flex; flex-direction: column; min-height: 0; }
.tafel h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #8a97b0; font-family: var(--schrift); padding: 12px 14px 6px; }
.tafel .chat-liste { flex: 1; height: auto; background: transparent; } .tafel .chat-zeile p { background: var(--nacht-2); border-color: #26324a; color: #e7ecf5; } .tafel .chat-zeile.ich p { background: var(--akzent); color: #fff; }
.tafel form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #1d2638; } .tafel input, .tafel textarea { background: var(--nacht-2); border-color: #26324a; color: #fff; }
.tafel .dateien { padding: 0 10px 10px; max-height: 34%; overflow-y: auto; } .tafel .datei-zeile { border-color: #26324a; } .tafel .datei-stand { color: #8a97b0; }
.ablage { margin: 6px 10px 10px; border: 1.5px dashed #33415c; border-radius: 12px; padding: 14px; text-align: center; font-size: 13px; color: #8a97b0; cursor: pointer; } .ablage.drueber { border-color: var(--akzent); color: #fff; background: #2a1c10; }
.fern .abschluss { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5,8,14,.85); z-index: 5; padding: 16px; } .abschluss .karte { color: var(--text); width: min(460px, 100%); padding: 26px; }
@media (max-width: 900px) { .tafel { position: absolute; right: 0; top: 0; bottom: 0; z-index: 4; box-shadow: -20px 0 40px rgba(0,0,0,.5); } }
