/* IT-Hilfe (Kundenseite). Nur Firmenfarben – kein app-akzente-intern.css (keine Lavendel-/Apricot-Töne).
   Grundlage: cd/app/app-oberflaeche.css und vorschau-it-hilfe.html. Warnungen: helles Gelb. */

.kunde-mitte { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.kunde-karte { width: min(560px, 100%); border-radius: 24px; padding: 34px 34px 28px; }
.kunde-breit { width: min(820px, 100%); }
.kunde-karte .app-logo { padding: 0; margin-bottom: 22px; }
.kunde-karte h1 { font-size: 30px; font-weight: 600; line-height: 1.15; }
.kunde-karte .einleitung { color: var(--app-text-leise); margin: 10px 0 24px; font-size: 16px; }
.kunde-karte .hinweis { margin-bottom: 16px; }
.code input { font-size: 26px; text-align: center; font-variant-numeric: tabular-nums; min-height: 62px; }
.knopf-gross { width: 100%; min-height: 54px; font-size: 17px; margin-top: 16px; text-align: center; line-height: 1.3; padding-block: 10px; }
.kunde-fuss { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(184, 223, 237, .14); font-size: 13px; color: var(--app-text-sehr-leise); display: grid; gap: 4px; }
.kunde-fuss a { color: var(--app-text-leise); display: inline-block; padding: 5px 0; }   /* Klickfläche ≥ 24 px (WCAG 2.5.8, Prüfung 23.10.2026) */
.test-hinweis { display: inline-block; margin-bottom: 14px; padding: 3px 10px; border-radius: 999px; font-size: 12px; border: 1px solid rgba(255, 224, 138, .4); color: #ffe9a8; }

/* Schrittanzeige */
.schritte { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; counter-reset: s; }
.schritte li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--app-text-sehr-leise); }
.schritt-nr { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--app-feld-rand); font-variant-numeric: tabular-nums; }
.schritte li.erledigt .schritt-nr { background: rgba(24, 218, 204, .14); border-color: rgba(71, 244, 213, .45); color: #bff8ee; }
.schritte li.aktuell { color: #F4FBFF; font-weight: 600; }
.schritte li.aktuell .schritt-nr { background: var(--tuerkis, #18DACC); border-color: transparent; color: #06131D; }

/* Auftrag */
.auftrag-inhalt { display: grid; gap: 4px; }
.parteien { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 16px 18px; border-radius: 14px; background: rgba(7, 25, 35, .45); border: 1px solid rgba(184, 223, 237, .14); margin-bottom: 18px; font-size: 14px; }
.etikett-klein { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--app-text-sehr-leise); margin-bottom: 4px; }
.abschnitt { margin-bottom: 22px; }
.abschnitt h2, .freigabe h2 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.abschnitt p { margin-bottom: 8px; color: #d7e9ef; }
.fakten { display: grid; gap: 0; margin: 0; }
.fakten div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(184, 223, 237, .1); }
.fakten dt { color: var(--app-text-leise); font-size: 14px; }
.fakten dd { margin: 0; }
.klein { font-size: 13px; color: var(--app-text-sehr-leise); }
.hinweis-abschnitt { padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255, 224, 138, .35); background: rgba(255, 224, 138, .06); }
.hinweis-abschnitt p { color: #fff2cc; }

/* Kurzfassung vor dem Bestätigen (23.10.2026): das Wesentliche oben, der volle Wortlaut zum Aufklappen */
.kurzfassung { padding: 18px 20px 12px; border-radius: 16px; background: rgba(7, 25, 35, .45); border: 1px solid rgba(184, 223, 237, .16); margin-bottom: 14px; }
.kurzfassung h2 { font-size: 19px; font-weight: 600; margin-bottom: 6px; text-wrap: balance; }
.kurzfassung .fakten div:last-child { border-bottom: 0; }
.kurzfassung .fakten dd { text-wrap: pretty; }
.kurzfassung .klein { margin-top: 6px; }
.kurz-hinweis { margin: 8px 0 4px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 224, 138, .35); background: rgba(255, 224, 138, .06); color: #fff2cc; font-size: 14px; }
.bedingungen { display: grid; gap: 0; }
.alle-bedingungen > .auftrag-inhalt { padding-top: 8px; }
.alle-bedingungen details.dokument { background: rgba(7, 25, 35, .45); }

/* Dokumente zum Aufklappen */
details.dokument { border: 1px solid rgba(184, 223, 237, .18); border-radius: 12px; padding: 0 16px; margin-bottom: 10px; background: rgba(7, 25, 35, .35); }
details.dokument summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; font-weight: 500; }
details.dokument[open] { padding-bottom: 14px; }
.rechtstext { font-size: 14px; color: #d7e9ef; }
.rechtstext h2, .rechtstext h3 { font-size: 15px; margin: 14px 0 6px; }
.rechtstext ul { margin: 0 0 8px; padding-left: 20px; }
.vorlage-hinweis { display: inline-block; margin: 6px 0 10px; padding: 4px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; color: #06131D; background: #FFE08A; }

/* Freigabe */
.freigabe { margin-top: 16px; padding: 22px; border-radius: 18px; border: 1px solid rgba(71, 244, 213, .28); background: rgba(24, 218, 204, .05); display: grid; gap: 16px; }
.erklaerung-wahl { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.erklaerung-wahl input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: #18DACC; cursor: pointer; }
.erklaerung-wahl label { font-size: 15px; line-height: 1.5; cursor: pointer; }
.erklaerung-wahl .hilfe { grid-column: 2; font-size: 13px; color: var(--app-text-sehr-leise); }
.erklaerung-frage { grid-column: 1 / -1; font-weight: 600; color: #F4FBFF; margin-bottom: 2px; }
.abmelden { margin-top: 20px; }

@media (max-width: 640px) {
  .kunde-karte { padding: 24px 18px 20px; }
  .kunde-karte h1 { font-size: 25px; }
  .schritte { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .schritt-text { display: none; }
  .schritte li.aktuell .schritt-text { display: inline; }
  .parteien { grid-template-columns: 1fr; }
  .fakten div { grid-template-columns: 1fr; gap: 2px; }
  .freigabe { padding: 16px 14px; }
  .kurzfassung { padding: 14px 14px 8px; }
  .kurzfassung .fakten div { padding: 7px 0; }
}

/* Unterlagen zum Herunterladen */
.unterlagen-liste { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 12px; }
.unterlagen-liste li { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(184, 223, 237, .18); background: rgba(7, 25, 35, .35); }

/* Widerrufsfunktion (§ 356a BGB): Link gut sichtbar, Feldfehler */
.kunde-fuss .widerruf-link { color: #d3e6ee; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.feld .hilfe.feld-fehler { color: #ffc2b5; }

/* RustDesk-Anleitung (Fernwartung vorbereiten) */
.fernwartung-anleitung { margin: 12px 0; }
.fernwartung-anleitung .hinweis-abschnitt { margin: 10px 0; }
.anleitung-schritte { margin: 10px 0 4px; padding-left: 22px; display: grid; gap: 10px; list-style: decimal; }
.anleitung-schritte li { display: list-item; color: #d7e9ef; line-height: 1.55; padding-left: 4px; overflow-wrap: anywhere; text-wrap: pretty; }
.anleitung-schritte strong { color: #fff; }

/* ---------------------------------------------------------------------------------------------
   Fernwartungsportal und Code-Seite (18.10.2026). Stil-Vorbild: „Glassy Login Form“ (Glas, Neon-Leuchten,
   ruhige Bewegung) – umgesetzt nur mit Firmenfarben Mint/Türkis/Cyan/Azur, Orange ist im Corporate Design ausgeschlossen.
   Bewegung NUR über transform/opacity (Design-Check 18.10.2026: kein Neuzeichnen je Bild, ältere Geräte der Kunden),
   Schleifen pausieren außerhalb des Bildes (it-hilfe.js, Klasse .ruht), aus bei prefers-reduced-motion.
   --------------------------------------------------------------------------------------------- */

/* Leuchtender Rand: Code-Karte und Statuskasten – zwei feste Lichtringe, die sich abwechselnd ein- und ausblenden */
.kunde-karte:has(.code-formular), .glas-leuchten { position: relative; isolation: isolate; }
.kunde-karte:has(.code-formular)::before, .glas-leuchten::before,
.kunde-karte:has(.code-formular)::after, .glas-leuchten::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: licht-a 8s ease-in-out infinite;
}
.kunde-karte:has(.code-formular)::before, .glas-leuchten::before {
  background: conic-gradient(from 20deg, transparent 0deg, rgba(71, 244, 213, .85) 70deg, rgba(17, 199, 239, .7) 130deg, transparent 200deg, transparent 360deg);
}
.kunde-karte:has(.code-formular)::after, .glas-leuchten::after {
  background: conic-gradient(from 200deg, transparent 0deg, rgba(17, 199, 239, .75) 70deg, rgba(71, 244, 213, .8) 130deg, transparent 200deg, transparent 360deg);
  animation-name: licht-b;
}
@keyframes licht-a { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes licht-b { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
.ruht::before, .ruht::after, .ruht .signal::after { animation-play-state: paused; }

/* Code-Eingabe: großes Glasfeld mit Neon-Fokus */
.code-formular .code input {
  letter-spacing: .18em; font-size: 30px; min-height: 68px; border-radius: 16px;
  background: rgba(6, 19, 29, .55); border: 1px solid rgba(71, 244, 213, .35);
  box-shadow: inset 0 1px 0 rgba(244, 251, 255, .06), 0 0 0 0 rgba(71, 244, 213, 0); transition: box-shadow .2s ease-out, border-color .2s ease-out;
}
.code-formular .code input::placeholder { color: rgba(166, 193, 205, .35); }
.code-formular .code input:focus-visible { outline: none; border-color: #47F4D5; box-shadow: 0 0 0 3px rgba(71, 244, 213, .22), 0 0 28px rgba(24, 218, 204, .35); }
.code-formular .knopf-haupt { box-shadow: 0 8px 30px rgba(24, 218, 204, .28); }

/* Wann kostet es etwas? */
.kosten-info {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 24px; padding: 16px 18px; border-radius: 16px;
  border: 1px solid rgba(71, 244, 213, .4); background: linear-gradient(135deg, rgba(24, 218, 204, .12), rgba(8, 120, 239, .08));
}
.kosten-info h2 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.kosten-info p { color: #d7e9ef; font-size: 15px; line-height: 1.55; text-wrap: pretty; }
.kosten-info strong { color: #fff; }
.kosten-symbol { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 20px; color: #06131D; background: linear-gradient(135deg, #47F4D5, #11C7EF); box-shadow: 0 0 22px rgba(71, 244, 213, .45); }

/* Ablauf in vier Schritten */
.ablauf { margin-top: 26px; }
.ablauf h2 { font-size: 17px; font-weight: 600; margin-bottom: 12px; }
.ablauf-schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: ab; }
.ablauf-schritte li { counter-increment: ab; position: relative; display: grid; gap: 2px; padding: 0 0 16px 46px; }
.ablauf-schritte li::before {
  content: counter(ab); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: #bff8ee; border: 1px solid rgba(71, 244, 213, .45); background: rgba(24, 218, 204, .1);
}
.ablauf-schritte li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 1px; background: linear-gradient(rgba(71, 244, 213, .45), rgba(71, 244, 213, .05)); }
.ablauf-schritte strong { color: #F4FBFF; font-weight: 600; }
.ablauf-schritte span { color: var(--app-text-leise); font-size: 14px; line-height: 1.5; text-wrap: pretty; }
.offline-hinweis { margin-top: 4px; padding: 12px 14px; border-radius: 12px; font-size: 14px; color: #d7e9ef; border: 1px dashed rgba(166, 193, 205, .3); }

/* Statuskasten im Portal */
.portal-status { margin: 4px 0 24px; padding: 20px 22px; border-radius: 18px; background: rgba(7, 25, 35, .55); border: 1px solid rgba(184, 223, 237, .14); }
.portal-kopf { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 14px; align-items: start; }
.portal-kopf h2 { font-size: 20px; font-weight: 600; margin-bottom: 4px; text-wrap: balance; }
.portal-kopf p { color: #d7e9ef; text-wrap: pretty; }
.signal { position: relative; width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; background: #47F4D5; box-shadow: 0 0 12px rgba(71, 244, 213, .55); }
/* Puls als eigener Ring: nur transform + opacity */
.signal::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; opacity: .55; animation: signal 2s ease-out infinite; }
.portal-status[data-licht="pause"] .signal { background: #FFE08A; box-shadow: 0 0 14px rgba(255, 224, 138, .5); }
.portal-status[data-licht="fertig"] .signal { background: #18DACC; box-shadow: 0 0 14px rgba(24, 218, 204, .5); }
.portal-status[data-licht="pause"] .signal::after, .portal-status[data-licht="fertig"] .signal::after { display: none; }
.portal-status[data-licht="bereit"] .signal { background: #11C7EF; }
@keyframes signal { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
.portal-werte { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.portal-werte > div { padding: 12px 14px; border-radius: 14px; background: rgba(6, 19, 29, .5); border: 1px solid rgba(71, 244, 213, .18); }
.portal-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--app-text-sehr-leise); }
.portal-zahl { font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; color: #F4FBFF; line-height: 1.2; }
.portal-preis { margin-top: 12px; font-size: 14px; color: #d7e9ef; }
.portal-neu { margin-top: 12px; font-size: 14px; color: #ffe9a8; }
.portal-neu a { color: #fff; font-weight: 600; }
.portal-liste { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 4px; color: #d7e9ef; }
.portal-summe { font-size: 22px; font-variant-numeric: tabular-nums; }
.portal-rechnung p + p { margin-top: 4px; }
.portal-danke { padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(71, 244, 213, .35); background: rgba(24, 218, 204, .07); }
.speicher-hilfe ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.download-knopf { display: flex; width: fit-content; margin: 12px 0 4px; min-height: 48px; align-items: center; gap: 8px; }

/* Sterne-Bewertung (rechts nach links, damit :hover/:checked die vorderen Sterne mitfärbt) */
.sterne { position: relative; border: 0; margin: 0; padding: 0; display: inline-flex; gap: 4px; }
.sterne input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sterne label { font-size: 34px; line-height: 1; cursor: pointer; color: rgba(166, 193, 205, .35); padding: 4px; border-radius: 8px; transition: color .15s ease-out, transform .15s ease-out; }
/* Leuchten bis zum gewählten bzw. überfahrenen Stern (Reihenfolge 1 → 5 im HTML, ohne row-reverse) */
.sterne label:has(~ input:checked), .sterne input:checked + label, .sterne:has(label:hover) label { color: #47F4D5; text-shadow: 0 0 14px rgba(71, 244, 213, .5); }
.sterne label:hover ~ label { color: rgba(166, 193, 205, .35); text-shadow: none; }
.sterne input:focus-visible + label { outline: 2px solid #47F4D5; outline-offset: 2px; }
.sterne label:active { transform: scale(.92); }
.betreuung { padding: 14px; border-radius: 14px; border: 1px solid rgba(184, 223, 237, .18); background: rgba(7, 25, 35, .35); }

@media (max-width: 640px) {
  .portal-werte { grid-template-columns: 1fr; }
  .portal-zahl { font-size: 26px; }
  .code-formular .code input { font-size: 26px; letter-spacing: .12em; }
}
@media (prefers-reduced-motion: reduce) {
  .kunde-karte:has(.code-formular)::before, .glas-leuchten::before, .kunde-karte:has(.code-formular)::after, .glas-leuchten::after, .signal::after { animation: none; }
  .kunde-karte:has(.code-formular)::after, .glas-leuchten::after { opacity: 0; }
  .code-formular .code input, .sterne label { transition: none; }
}

/* Abstände im Portal */
.speicher-hilfe { margin-top: 12px; }
.portal-rueckmeldung { margin-bottom: 16px; }
.portal-rechnung { margin-bottom: 22px; }

/* Reel-Stil „Glassy“: schwebende Lichtkugeln hinter der Glaskarte (nur Firmenfarben, nur transform-Animation) */
.kunde-mitte { position: relative; isolation: isolate; }
.kunde-mitte > .kunde-karte { position: relative; z-index: 1; }
.kunde-mitte::before, .kunde-mitte::after {
  content: ""; position: fixed; z-index: 0; pointer-events: none; border-radius: 50%;   /* ohne blur(): der Verlauf ist selbst weich */
}
.kunde-mitte::before { width: 520px; height: 520px; left: calc(50% - 540px); top: 12vh; background: radial-gradient(circle, rgba(71, 244, 213, .38) 0%, rgba(24, 218, 204, .16) 32%, rgba(24, 218, 204, .05) 52%, transparent 70%); animation: schweben-a 22s ease-in-out infinite alternate; }
.kunde-mitte::after { width: 580px; height: 580px; left: calc(50% - 20px); top: 42vh; background: radial-gradient(circle, rgba(8, 120, 239, .42) 0%, rgba(17, 199, 239, .16) 32%, rgba(17, 199, 239, .05) 52%, transparent 70%); animation: schweben-b 26s ease-in-out infinite alternate; }
@keyframes schweben-a { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(90px, -60px) scale(1.12); } 100% { transform: translate(30px, 80px) scale(.95); } }
@keyframes schweben-b { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-110px, 40px) scale(.9); } 100% { transform: translate(-40px, -90px) scale(1.1); } }

/* Lichtschimmer über dem Hauptknopf der Code-Seite */
.code-formular .knopf-haupt { position: relative; overflow: hidden; }
.code-formular .knopf-haupt::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  transform: translateX(-120%); animation: schimmer 4.5s ease-in-out 1.2s infinite;
}
@keyframes schimmer { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

@media (max-width: 640px) {
  .kunde-mitte::before { width: 360px; height: 360px; left: -120px; }
  .kunde-mitte::after { width: 400px; height: 400px; left: auto; right: -150px; }
}
@media (prefers-reduced-motion: reduce) {
  .kunde-mitte::before, .kunde-mitte::after, .code-formular .knopf-haupt::after { animation: none; }
  .code-formular .knopf-haupt::after { display: none; }
}

/* Datenschutz bei der Fernwartung – sichtbar vor dem Verbinden, ohne Häkchen */
.datenschutz-info { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; margin: 18px 0; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(17, 199, 239, .35); background: rgba(8, 120, 239, .08); }
.datenschutz-info h2 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.datenschutz-info ul { margin: 0 0 8px; padding-left: 18px; display: grid; gap: 4px; color: #d7e9ef; font-size: 15px; line-height: 1.5; }
.datenschutz-info li { text-wrap: pretty; }
.datenschutz-info .klein { color: var(--app-text-leise); }
.datenschutz-info a { color: #F4FBFF; }
.ds-symbol { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #06131D; background: linear-gradient(135deg, #11C7EF, #0878EF); box-shadow: 0 0 22px rgba(17, 199, 239, .4); }

/* Abmelden im Portal: Hinweis, dass danach ein neuer Code nötig ist */
.abmelden .hilfe { display: block; margin-top: 8px; font-size: 13px; color: var(--app-text-sehr-leise); }
/* Vor dem Abschluss: schlichtes „Abmelden“ ohne Glasfläche (Handy-Test 20.10.2026), Trefferfläche bleibt 44 px */
.abmelden .knopf-klein { min-height: 44px; padding: 0 16px; font-size: 14px; background: transparent; box-shadow: none; }

/* „Dieses Fenster bitte geöffnet lassen“ (Wunsch Sebastian 18.10.2026: übersichtlich und transparent für den Kunden) */
.fenster-symbol { position: relative; display: inline-block; flex: none; width: 20px; height: 16px; border: 2px solid currentColor; border-radius: 4px; vertical-align: -3px; }
.fenster-symbol::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
.fenster-symbol-gross { width: 26px; height: 21px; color: #47F4D5; margin-top: 3px; }
.fenster-tipp { display: flex; gap: 10px; align-items: flex-start; margin-top: 4px; font-size: 14px; line-height: 1.5; color: #bff8ee; }
.fenster-tipp .fenster-symbol { margin-top: 2px; color: #47F4D5; }
.fenster-hinweis { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: start; margin: 0 0 18px; padding: 16px 18px; border-radius: 16px;
  border: 1px solid rgba(71, 244, 213, .45); background: linear-gradient(135deg, rgba(24, 218, 204, .14), rgba(8, 120, 239, .07)); }
.fenster-hinweis h2 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.fenster-hinweis p { color: #d7e9ef; font-size: 15px; line-height: 1.5; }
.fenster-hinweis p + p { margin-top: 6px; }
.fenster-hinweis .klein { color: var(--app-text-leise); font-size: 13px; }

/* Wechsel-Effekt nach dem Reel „Glassy Login Form“ (Sebastians Bildschirmaufnahme, 18.10.2026): Die zwei Glasbänder des Logos
   sitzen als Glas-Ecken in der Karte. Beim Wechsel blendet der Inhalt aus, die Bänder fliegen in die Mitte und setzen sich zum
   Zeichen zusammen, ein Lichtring pulsiert; auf der neuen Seite lösen sie sich zurück in die Ecken und der Inhalt blendet ein.
   Ablauf in it-hilfe.js (Web Animations, nur transform/opacity); CSS hier = Grundzustand und Rückfall ohne JavaScript. */
.glas-ecken { position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; }
.ecke { position: absolute; top: 18px; right: 18px; width: 64px; height: auto; opacity: .6; }   /* beide Bänder übereinander = vollständiges Zeichen */
.wechsel-ring { position: fixed; left: 50%; top: 50%; width: 190px; height: 190px; margin: -95px 0 0 -95px; border-radius: 50%; z-index: 50; pointer-events: none;
  border: 2px solid rgba(71, 244, 213, .7); box-shadow: 0 0 40px rgba(24, 218, 204, .45), inset 0 0 30px rgba(17, 199, 239, .3); opacity: 0; }
/* Ausblenden als eigene Animation – eine laufende/abgeschlossene Einblend-Animation würde einen Übergang überdecken */
.kunde-karte.wechsel-aus > :not(.glas-ecken) { animation: maske-aus .2s ease-out forwards !important; }
@keyframes maske-aus { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-8px); } }
html.wechsel-ein .kunde-karte > :not(.glas-ecken), body[data-oeffnen] .kunde-karte > :not(.glas-ecken) { animation: maske-inhalt .45s ease-out both; animation-delay: .8s; }
html.wechsel-ein .kunde-karte > :nth-child(3), body[data-oeffnen] .kunde-karte > :nth-child(3) { animation-delay: .84s; }
html.wechsel-ein .kunde-karte > :nth-child(4), body[data-oeffnen] .kunde-karte > :nth-child(4) { animation-delay: .88s; }
html.wechsel-ein .kunde-karte > :nth-child(5), body[data-oeffnen] .kunde-karte > :nth-child(5) { animation-delay: .92s; }
html.wechsel-ein .kunde-karte > :nth-child(6), body[data-oeffnen] .kunde-karte > :nth-child(6) { animation-delay: .97s; }
html.wechsel-ein .kunde-karte > :nth-child(7), body[data-oeffnen] .kunde-karte > :nth-child(7) { animation-delay: 1.02s; }
html.wechsel-ein .kunde-karte > :nth-child(8), body[data-oeffnen] .kunde-karte > :nth-child(8) { animation-delay: 1.08s; }
html.wechsel-ein .kunde-karte > :nth-child(9), body[data-oeffnen] .kunde-karte > :nth-child(9) { animation-delay: 1.14s; }
html.wechsel-ein .kunde-karte > :nth-child(n+10), body[data-oeffnen] .kunde-karte > :nth-child(n+10) { animation-delay: 1.2s; }
html.wechsel-ein .ecke, body[data-oeffnen] .ecke { animation: ecke-ein .4s ease-out .7s both; }
@keyframes maske-inhalt { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ecke-ein { from { opacity: 0; } to { opacity: .6; } }
@media (max-width: 640px) {
  .ecke { width: 48px; top: 14px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html.wechsel-ein .kunde-karte > *, body[data-oeffnen] .kunde-karte > *, html.wechsel-ein .ecke, body[data-oeffnen] .ecke { animation: none !important; }
  .kunde-karte.wechsel-aus > :not(.glas-ecken) { animation: none !important; }
}

/* Signal-Orange – bewusste AUSNAHME vom Corporate Design (dort ist Orange ausgeschlossen), Entscheidung Sebastian 18.10.2026:
   nur für „hier etwas tun / wichtig“ im Kundenbereich der Fernwartung (Download-Knopf, Anleitungen, Fenster offen lassen,
   !!wichtig!!-Stellen). Nicht für Flächen, Logo oder allgemeine Gestaltung – auffällig, weil selten. */
:root { --signal-orange: #FFB570; --signal-orange-hell: #FFC995; --signal-orange-flaeche: rgba(255, 181, 112, .1); --signal-orange-rand: rgba(255, 181, 112, .5); }
.wichtig { color: var(--signal-orange-hell); }
.knopf.knopf-haupt.download-knopf { background: var(--signal-orange); color: #2A1503; box-shadow: 0 8px 26px rgba(255, 160, 80, .3), inset 0 1px #ffffff66; }
.knopf.knopf-haupt.download-knopf:hover { background: var(--signal-orange-hell); }
.knopf.knopf-haupt.download-knopf:focus-visible { outline: 2px solid var(--signal-orange-hell); outline-offset: 3px; }
details.fernwartung-anleitung { border-color: var(--signal-orange-rand); background: linear-gradient(135deg, var(--signal-orange-flaeche), rgba(7, 25, 35, .35) 60%); }
details.fernwartung-anleitung > summary { color: var(--signal-orange-hell); font-weight: 600; }
.anleitung-schritte li::marker { color: var(--signal-orange-hell); font-weight: 700; }
.fenster-hinweis { border-color: var(--signal-orange-rand); background: linear-gradient(135deg, rgba(255, 181, 112, .13), rgba(8, 120, 239, .05)); }
.fenster-hinweis h2 { color: var(--signal-orange-hell); }
.fenster-symbol-gross, .fenster-tipp .fenster-symbol { color: var(--signal-orange); }
.fenster-tipp { color: #ffe2c4; }

/* Weniger Text auf einmal (18.10.2026): Kurzfassung sichtbar, Details per Klick/Tippen – nie per Hover (Handy, Tastatur) */
details.mehr { margin-top: 8px; }
details.mehr > summary { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: 14px; font-weight: 600; color: #bfe9f3; list-style: none; }
details.mehr > summary::-webkit-details-marker { display: none; }
details.mehr > summary::before { content: "+"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid currentColor; font-size: 13px; line-height: 1; }
details.mehr[open] > summary::before { content: "–"; }
details.mehr > summary:focus-visible { outline: 2px solid #47F4D5; outline-offset: 3px; border-radius: 6px; }
details.mehr ul { margin: 8px 0; }
.datenschutz-info > div > p { color: #d7e9ef; font-size: 15px; line-height: 1.5; }
.fenster-hinweis details.mehr > summary { color: var(--signal-orange-hell); }

/* Ablauf: nur Überschriften, Erklärung zum Antippen */
.ablauf-schritte details > summary { cursor: pointer; list-style: none; color: #F4FBFF; font-weight: 600; min-height: 30px; display: flex; align-items: center; gap: 8px; }
.ablauf-schritte details > summary::-webkit-details-marker { display: none; }
.ablauf-schritte details > summary::after { content: "+"; font-weight: 400; color: var(--app-text-leise); }
.ablauf-schritte details[open] > summary::after { content: "–"; }
.ablauf-schritte details > summary:focus-visible { outline: 2px solid #47F4D5; outline-offset: 3px; border-radius: 6px; }
.ablauf-schritte details > span { display: block; margin-top: 2px; }
.ablauf-schritte li { padding-bottom: 10px; }

/* RustDesk-Anleitung Schritt für Schritt */
.anleitung-schritte.stufenweise li { font-size: 17px; line-height: 1.6; }
.anleitung-schritte li[hidden] { display: none; }
.schritt-fortschritt { height: 4px; margin: 12px 0 4px; border-radius: 999px; background: rgba(255, 181, 112, .18); overflow: hidden; }
.schritt-fortschritt span { display: block; height: 100%; background: var(--signal-orange); transform-origin: left center; transform: scaleX(.1); transition: transform .2s ease-out; }
.schritt-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 6px; }
.schritt-anzeige { margin-right: auto; font-weight: 600; color: var(--signal-orange-hell); font-variant-numeric: tabular-nums; }
.knopf.knopf-haupt.schritt-weiter { background: var(--signal-orange); color: #2A1503; min-width: 130px; box-shadow: 0 6px 20px rgba(255, 160, 80, .25), inset 0 1px #ffffff66; }
.knopf.knopf-haupt.schritt-weiter:hover:not(:disabled) { background: var(--signal-orange-hell); }
.schritt-leiste .knopf:disabled { opacity: .45; cursor: default; }
.schritt-alle { background: none; border: 0; padding: 6px 0; color: var(--app-text-leise); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.schritt-alle:focus-visible { outline: 2px solid #47F4D5; outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .schritt-fortschritt span { transition: none; } }
@media (max-width: 640px) {
  .schritt-anzeige { flex-basis: 100%; }
  .schritt-leiste .knopf { flex: 1; min-width: 0; }
}
/* Neuer Code im Portal (Erweiterung des Kostenrahmens) */
.neuer-code > summary { color: var(--signal-orange-hell); }
.code-formular-klein { display: grid; gap: 10px; padding-bottom: 6px; }
.code-formular-klein .code input { font-size: 22px; text-align: center; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
